diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/component-spec/annotationsSpec.js | 4 | ||||
| -rw-r--r-- | docs/components/angular-bootstrap/bootstrap.js | 4 | 
2 files changed, 4 insertions, 4 deletions
| diff --git a/docs/component-spec/annotationsSpec.js b/docs/component-spec/annotationsSpec.js index a17c906c..90c72918 100644 --- a/docs/component-spec/annotationsSpec.js +++ b/docs/component-spec/annotationsSpec.js @@ -74,10 +74,10 @@ describe('Docs Annotations', function() {              enter : function(element, done) {                $window.setTimeout(done, 1000);              }, -            show : function(element, done) { +            removeClass : function(element, className, done) {                $window.setTimeout(done, 500);              }, -            hide : function(element, done) { +            addClass : function(element, className, done) {                $window.setTimeout(done, 200);              }            } diff --git a/docs/components/angular-bootstrap/bootstrap.js b/docs/components/angular-bootstrap/bootstrap.js index 20a5741d..31ec763e 100644 --- a/docs/components/angular-bootstrap/bootstrap.js +++ b/docs/components/angular-bootstrap/bootstrap.js @@ -366,12 +366,12 @@ directive.foldout = ['$http', '$animate','$window', function($http, $animate, $w                //avoid showing the element if the user has already closed it                if(container.css('display') == 'block') {                  container.css('display','none'); -                $animate.show(container); +                $animate.addClass(container, 'ng-hide');                }              });            }            else { -            container.hasClass('ng-hide') ? $animate.show(container) : $animate.hide(container); +            container.hasClass('ng-hide') ? $animate.removeClass(container, 'ng-hide') : $animate.addClass(container, 'ng-hide');            }          });        }); | 
