Skip to content

Commit

Permalink
Bumped the version
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Dec 10, 2015
1 parent 58cc8f6 commit aebf6be
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 45 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-dialog-service",
"description": "A service to handle common dialog types in a web application. Built on top of Angular-Bootstrap's modal",
"version": "5.2.10",
"version": "5.2.11",
"keywords": [
"angular",
"dialog",
Expand Down
2 changes: 1 addition & 1 deletion dist/dialogs-default-translations.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* angular-dialog-service - A service to handle common dialog types in a web application. Built on top of Angular-Bootstrap's modal
* @version v5.2.10
* @version v5.2.11
* @author Michael Conroy, [email protected]
* @license MIT, http://www.opensource.org/licenses/MIT
*/
Expand Down
27 changes: 14 additions & 13 deletions dist/dialogs.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* angular-dialog-service - A service to handle common dialog types in a web application. Built on top of Angular-Bootstrap's modal
* @version v5.2.10
* @version v5.2.11
* @author Michael Conroy, [email protected]
* @license MIT, http://www.opensource.org/licenses/MIT
*/
Expand Down Expand Up @@ -212,9 +212,9 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])

/**
* Use Backdrop
*
*
* Sets the use of the modal backdrop. Either to have one or not and
* whether or not it responds to mouse clicks ('static' sets the
* whether or not it responds to mouse clicks ('static' sets the
* backdrop to true and does not respond to mouse clicks).
*
* @param val mixed (true, false, 'static')
Expand All @@ -226,7 +226,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])

/**
* Use ESC Close
*
*
* Sets the use of the ESC (escape) key to close modal windows.
*
* @param val boolean
Expand All @@ -250,7 +250,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])

/**
* Use Copy
*
*
* Determines the use of angular.copy when sending data to the modal controller.
*
* @param val boolean
Expand All @@ -275,7 +275,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
/**
* Set Size
*
* Sets the modal size to use (sm,lg,md), requires Angular-ui-Bootstrap 0.11.0 and Bootstrap 3.1.0 +
* Sets the modal size to use (sm,lg,md)
*
* @param val string (sm,lg,md)
*/
Expand Down Expand Up @@ -305,7 +305,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])


this.$get = ['$uibModal',function ($uibModal){

return {
/**
* Error Dialog
Expand Down Expand Up @@ -337,7 +337,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
}
}); // end modal.open
}, // end error

/**
* Wait Dialog
*
Expand Down Expand Up @@ -370,7 +370,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
}
}); // end modal.open
}, // end wait

/**
* Notify Dialog
*
Expand Down Expand Up @@ -401,7 +401,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
}
}); // end modal.open
}, // end notify

/**
* Confirm Dialog
*
Expand Down Expand Up @@ -432,7 +432,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
}
}); // end modal.open
}, // end confirm

/**
* Create Custom Dialog
*
Expand All @@ -441,21 +441,22 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
* @param data object
* @param opts object
*/
create : function(url,ctrlr,data,opts){
create : function(url,ctrlr,data,opts,ctrlAs){
var copy = (opts && angular.isDefined(opts.copy)) ? opts.copy : _copy;
opts = _setOpts(opts);

return $uibModal.open({
templateUrl : url,
controller : ctrlr,
controllerAs : ctrlAs,
keyboard : opts.kb,
backdrop : opts.bd,
backdropClass: opts.bdc,
windowClass: opts.wc,
size: opts.ws,
animation: opts.anim,
resolve : {
data : function() {
data : function() {
if(copy)
return angular.copy(data);
else
Expand Down
2 changes: 1 addition & 1 deletion dist/dialogs.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/js/dialogs-default-translations.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* angular-dialog-service - A service to handle common dialog types in a web application. Built on top of Angular-Bootstrap's modal
* @version v5.2.10
* @version v5.2.11
* @author Michael Conroy, [email protected]
* @license MIT, http://www.opensource.org/licenses/MIT
*/
Expand Down
27 changes: 14 additions & 13 deletions example/js/dialogs.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* angular-dialog-service - A service to handle common dialog types in a web application. Built on top of Angular-Bootstrap's modal
* @version v5.2.10
* @version v5.2.11
* @author Michael Conroy, [email protected]
* @license MIT, http://www.opensource.org/licenses/MIT
*/
Expand Down Expand Up @@ -212,9 +212,9 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])

/**
* Use Backdrop
*
*
* Sets the use of the modal backdrop. Either to have one or not and
* whether or not it responds to mouse clicks ('static' sets the
* whether or not it responds to mouse clicks ('static' sets the
* backdrop to true and does not respond to mouse clicks).
*
* @param val mixed (true, false, 'static')
Expand All @@ -226,7 +226,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])

/**
* Use ESC Close
*
*
* Sets the use of the ESC (escape) key to close modal windows.
*
* @param val boolean
Expand All @@ -250,7 +250,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])

/**
* Use Copy
*
*
* Determines the use of angular.copy when sending data to the modal controller.
*
* @param val boolean
Expand All @@ -275,7 +275,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
/**
* Set Size
*
* Sets the modal size to use (sm,lg,md), requires Angular-ui-Bootstrap 0.11.0 and Bootstrap 3.1.0 +
* Sets the modal size to use (sm,lg,md)
*
* @param val string (sm,lg,md)
*/
Expand Down Expand Up @@ -305,7 +305,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])


this.$get = ['$uibModal',function ($uibModal){

return {
/**
* Error Dialog
Expand Down Expand Up @@ -337,7 +337,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
}
}); // end modal.open
}, // end error

/**
* Wait Dialog
*
Expand Down Expand Up @@ -370,7 +370,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
}
}); // end modal.open
}, // end wait

/**
* Notify Dialog
*
Expand Down Expand Up @@ -401,7 +401,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
}
}); // end modal.open
}, // end notify

/**
* Confirm Dialog
*
Expand Down Expand Up @@ -432,7 +432,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
}
}); // end modal.open
}, // end confirm

/**
* Create Custom Dialog
*
Expand All @@ -441,21 +441,22 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
* @param data object
* @param opts object
*/
create : function(url,ctrlr,data,opts){
create : function(url,ctrlr,data,opts,ctrlAs){
var copy = (opts && angular.isDefined(opts.copy)) ? opts.copy : _copy;
opts = _setOpts(opts);

return $uibModal.open({
templateUrl : url,
controller : ctrlr,
controllerAs : ctrlAs,
keyboard : opts.kb,
backdrop : opts.bd,
backdropClass: opts.bdc,
windowClass: opts.wc,
size: opts.ws,
animation: opts.anim,
resolve : {
data : function() {
data : function() {
if(copy)
return angular.copy(data);
else
Expand Down
2 changes: 1 addition & 1 deletion example/js/dialogs.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-dialog-service",
"description": "A service to handle common dialog types in a web application. Built on top of Angular-Bootstrap's modal",
"version": "5.2.10",
"version": "5.2.11",
"keywords": [
"angular",
"dialog",
Expand Down
2 changes: 1 addition & 1 deletion src/dialogs-services.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
/**
* Set Size
*
* Sets the modal size to use (sm,lg,md), requires Angular-ui-Bootstrap 0.11.0 and Bootstrap 3.1.0 +
* Sets the modal size to use (sm,lg,md)
*
* @param val string (sm,lg,md)
*/
Expand Down
25 changes: 13 additions & 12 deletions src/dialogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])

/**
* Use Backdrop
*
*
* Sets the use of the modal backdrop. Either to have one or not and
* whether or not it responds to mouse clicks ('static' sets the
* whether or not it responds to mouse clicks ('static' sets the
* backdrop to true and does not respond to mouse clicks).
*
* @param val mixed (true, false, 'static')
Expand All @@ -220,7 +220,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])

/**
* Use ESC Close
*
*
* Sets the use of the ESC (escape) key to close modal windows.
*
* @param val boolean
Expand All @@ -244,7 +244,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])

/**
* Use Copy
*
*
* Determines the use of angular.copy when sending data to the modal controller.
*
* @param val boolean
Expand All @@ -269,7 +269,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
/**
* Set Size
*
* Sets the modal size to use (sm,lg,md), requires Angular-ui-Bootstrap 0.11.0 and Bootstrap 3.1.0 +
* Sets the modal size to use (sm,lg,md)
*
* @param val string (sm,lg,md)
*/
Expand Down Expand Up @@ -299,7 +299,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])


this.$get = ['$uibModal',function ($uibModal){

return {
/**
* Error Dialog
Expand Down Expand Up @@ -331,7 +331,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
}
}); // end modal.open
}, // end error

/**
* Wait Dialog
*
Expand Down Expand Up @@ -364,7 +364,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
}
}); // end modal.open
}, // end wait

/**
* Notify Dialog
*
Expand Down Expand Up @@ -395,7 +395,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
}
}); // end modal.open
}, // end notify

/**
* Confirm Dialog
*
Expand Down Expand Up @@ -426,7 +426,7 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
}
}); // end modal.open
}, // end confirm

/**
* Create Custom Dialog
*
Expand All @@ -435,21 +435,22 @@ angular.module('dialogs.services',['ui.bootstrap.modal','dialogs.controllers'])
* @param data object
* @param opts object
*/
create : function(url,ctrlr,data,opts){
create : function(url,ctrlr,data,opts,ctrlAs){
var copy = (opts && angular.isDefined(opts.copy)) ? opts.copy : _copy;
opts = _setOpts(opts);

return $uibModal.open({
templateUrl : url,
controller : ctrlr,
controllerAs : ctrlAs,
keyboard : opts.kb,
backdrop : opts.bd,
backdropClass: opts.bdc,
windowClass: opts.wc,
size: opts.ws,
animation: opts.anim,
resolve : {
data : function() {
data : function() {
if(copy)
return angular.copy(data);
else
Expand Down

0 comments on commit aebf6be

Please sign in to comment.