Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
chore(release): cut the 2.3.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mgcrea committed Sep 24, 2015
1 parent d063b44 commit 60bca97
Show file tree
Hide file tree
Showing 85 changed files with 4,214 additions and 158 deletions.
2 changes: 1 addition & 1 deletion bower.json
@@ -1,7 +1,7 @@
{
"name": "angular-strap",
"description": "AngularStrap - AngularJS directives for Bootstrap",
"version": "2.3.2",
"version": "2.3.3",
"keywords": [
"angular",
"bootstrap"
Expand Down
4,053 changes: 4,053 additions & 0 deletions dist/angular-strap.compat.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/angular-strap.compat.min.js

Large diffs are not rendered by default.

130 changes: 65 additions & 65 deletions dist/angular-strap.js
@@ -1,6 +1,6 @@
/**
* angular-strap
* @version v2.3.2 - 2015-09-15
* @version v2.3.3 - 2015-09-24
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down Expand Up @@ -3611,70 +3611,6 @@
}
};
} ]);
angular.module('mgcrea.ngStrap.aside', [ 'mgcrea.ngStrap.modal' ]).provider('$aside', function() {
var defaults = this.defaults = {
animation: 'am-fade-and-slide-right',
prefixClass: 'aside',
prefixEvent: 'aside',
placement: 'right',
templateUrl: 'aside/aside.tpl.html',
contentTemplate: false,
container: false,
element: null,
backdrop: true,
keyboard: true,
html: false,
show: true
};
this.$get = [ '$modal', function($modal) {
function AsideFactory(config) {
var $aside = {};
var options = angular.extend({}, defaults, config);
$aside = $modal(options);
return $aside;
}
return AsideFactory;
} ];
}).directive('bsAside', [ '$window', '$sce', '$aside', function($window, $sce, $aside) {
var requestAnimationFrame = $window.requestAnimationFrame || $window.setTimeout;
return {
restrict: 'EAC',
scope: true,
link: function postLink(scope, element, attr, transclusion) {
var options = {
scope: scope,
element: element,
show: false
};
angular.forEach([ 'template', 'templateUrl', 'controller', 'controllerAs', 'contentTemplate', 'placement', 'backdrop', 'keyboard', 'html', 'container', 'animation' ], function(key) {
if (angular.isDefined(attr[key])) options[key] = attr[key];
});
var falseValueRegExp = /^(false|0|)$/i;
angular.forEach([ 'backdrop', 'keyboard', 'html', 'container' ], function(key) {
if (angular.isDefined(attr[key]) && falseValueRegExp.test(attr[key])) options[key] = false;
});
angular.forEach([ 'title', 'content' ], function(key) {
attr[key] && attr.$observe(key, function(newValue, oldValue) {
scope[key] = $sce.trustAsHtml(newValue);
});
});
attr.bsAside && scope.$watch(attr.bsAside, function(newValue, oldValue) {
if (angular.isObject(newValue)) {
angular.extend(scope, newValue);
} else {
scope.content = newValue;
}
}, true);
var aside = $aside(options);
element.on(attr.trigger || 'click', aside.toggle);
scope.$on('$destroy', function() {
if (aside) aside.destroy();
options = null;
aside = null;
});
}
};
} ]);
angular.module('mgcrea.ngStrap.button', []).provider('$button', function() {
var defaults = this.defaults = {
activeClass: 'active',
Expand Down Expand Up @@ -3794,6 +3730,70 @@
}
};
} ]);
angular.module('mgcrea.ngStrap.aside', [ 'mgcrea.ngStrap.modal' ]).provider('$aside', function() {
var defaults = this.defaults = {
animation: 'am-fade-and-slide-right',
prefixClass: 'aside',
prefixEvent: 'aside',
placement: 'right',
templateUrl: 'aside/aside.tpl.html',
contentTemplate: false,
container: false,
element: null,
backdrop: true,
keyboard: true,
html: false,
show: true
};
this.$get = [ '$modal', function($modal) {
function AsideFactory(config) {
var $aside = {};
var options = angular.extend({}, defaults, config);
$aside = $modal(options);
return $aside;
}
return AsideFactory;
} ];
}).directive('bsAside', [ '$window', '$sce', '$aside', function($window, $sce, $aside) {
var requestAnimationFrame = $window.requestAnimationFrame || $window.setTimeout;
return {
restrict: 'EAC',
scope: true,
link: function postLink(scope, element, attr, transclusion) {
var options = {
scope: scope,
element: element,
show: false
};
angular.forEach([ 'template', 'templateUrl', 'controller', 'controllerAs', 'contentTemplate', 'placement', 'backdrop', 'keyboard', 'html', 'container', 'animation' ], function(key) {
if (angular.isDefined(attr[key])) options[key] = attr[key];
});
var falseValueRegExp = /^(false|0|)$/i;
angular.forEach([ 'backdrop', 'keyboard', 'html', 'container' ], function(key) {
if (angular.isDefined(attr[key]) && falseValueRegExp.test(attr[key])) options[key] = false;
});
angular.forEach([ 'title', 'content' ], function(key) {
attr[key] && attr.$observe(key, function(newValue, oldValue) {
scope[key] = $sce.trustAsHtml(newValue);
});
});
attr.bsAside && scope.$watch(attr.bsAside, function(newValue, oldValue) {
if (angular.isObject(newValue)) {
angular.extend(scope, newValue);
} else {
scope.content = newValue;
}
}, true);
var aside = $aside(options);
element.on(attr.trigger || 'click', aside.toggle);
scope.$on('$destroy', function() {
if (aside) aside.destroy();
options = null;
aside = null;
});
}
};
} ]);
angular.module('mgcrea.ngStrap.alert', [ 'mgcrea.ngStrap.modal' ]).provider('$alert', function() {
var defaults = this.defaults = {
animation: 'am-fade',
Expand Down
8 changes: 4 additions & 4 deletions dist/angular-strap.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/angular-strap.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/angular-strap.tpl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/angular-strap.tpl.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/modules/affix.js
@@ -1,6 +1,6 @@
/**
* angular-strap
* @version v2.3.2 - 2015-09-15
* @version v2.3.3 - 2015-09-24
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/modules/affix.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/modules/alert.js
@@ -1,6 +1,6 @@
/**
* angular-strap
* @version v2.3.2 - 2015-09-15
* @version v2.3.3 - 2015-09-24
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/modules/alert.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/modules/alert.tpl.js
@@ -1,6 +1,6 @@
/**
* angular-strap
* @version v2.3.2 - 2015-09-15
* @version v2.3.3 - 2015-09-24
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/modules/alert.tpl.min.js
@@ -1,6 +1,6 @@
/**
* angular-strap
* @version v2.3.2 - 2015-09-15
* @version v2.3.3 - 2015-09-24
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/modules/aside.js
@@ -1,6 +1,6 @@
/**
* angular-strap
* @version v2.3.2 - 2015-09-15
* @version v2.3.3 - 2015-09-24
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/modules/aside.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/modules/aside.tpl.js
@@ -1,6 +1,6 @@
/**
* angular-strap
* @version v2.3.2 - 2015-09-15
* @version v2.3.3 - 2015-09-24
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/modules/aside.tpl.min.js
@@ -1,6 +1,6 @@
/**
* angular-strap
* @version v2.3.2 - 2015-09-15
* @version v2.3.3 - 2015-09-24
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/modules/button.js
@@ -1,6 +1,6 @@
/**
* angular-strap
* @version v2.3.2 - 2015-09-15
* @version v2.3.3 - 2015-09-24
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/modules/button.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/modules/collapse.js
@@ -1,6 +1,6 @@
/**
* angular-strap
* @version v2.3.2 - 2015-09-15
* @version v2.3.3 - 2015-09-24
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/modules/collapse.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/modules/compiler.js
@@ -1,6 +1,6 @@
/**
* angular-strap
* @version v2.3.2 - 2015-09-15
* @version v2.3.3 - 2015-09-24
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
4 changes: 2 additions & 2 deletions dist/modules/compiler.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 60bca97

Please sign in to comment.