aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMatias Niemelä2013-07-29 19:45:59 -0400
committerMisko Hevery2013-07-29 21:22:05 -0700
commite1fe2ac2691e319473ed2bbca501fc6b641024e5 (patch)
treed6900400222e74403fdc5bed1d5ce4c038bda2f0 /docs
parent33d45d8fafb5abf99e6fd811cad1dd57daab918b (diff)
downloadangular.js-e1fe2ac2691e319473ed2bbca501fc6b641024e5.tar.bz2
chore(ngdocs): all animation-supported directives working with docs examples and jsFiddle/Plunkr pages
Diffstat (limited to 'docs')
-rw-r--r--docs/components/angular-bootstrap/bootstrap-prettify.js3
-rw-r--r--docs/src/templates/css/animations.css12
2 files changed, 2 insertions, 13 deletions
diff --git a/docs/components/angular-bootstrap/bootstrap-prettify.js b/docs/components/angular-bootstrap/bootstrap-prettify.js
index fa40c6e7..b42c7c3a 100644
--- a/docs/components/angular-bootstrap/bootstrap-prettify.js
+++ b/docs/components/angular-bootstrap/bootstrap-prettify.js
@@ -7,6 +7,7 @@ var DEPENDENCIES = {
'angular.js': 'http://code.angularjs.org/' + angular.version.full + '/angular.min.js',
'angular-resource.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-resource.min.js',
'angular-route.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-route.min.js',
+ 'angular-animate.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-animate.min.js',
'angular-sanitize.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-sanitize.min.js',
'angular-cookies.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-cookies.min.js'
};
@@ -188,7 +189,7 @@ directive.ngEmbedApp = ['$templateCache', '$browser', '$rootScope', '$location',
return {
terminal: true,
link: function(scope, element, attrs) {
- var modules = [],
+ var modules = ['ngAnimate'],
embedRootScope,
deregisterEmbedRootScope;
diff --git a/docs/src/templates/css/animations.css b/docs/src/templates/css/animations.css
index a12ecb7b..81db50ba 100644
--- a/docs/src/templates/css/animations.css
+++ b/docs/src/templates/css/animations.css
@@ -64,18 +64,6 @@
height:0;
}
-.example-animate-container {
- position:relative;
- background:white;
- border:1px solid black;
- height:40px;
- overflow:hidden;
-}
-
-.example-animate-container > div {
- padding:1em;
-}
-
.animate-container.animations-off * {
-webkit-transition: none;
-moz-transition: none;