From 3ca6abe3beae977ea2036a13023dcd0bdd23c34c Mon Sep 17 00:00:00 2001 From: hamza zia Date: Sat, 31 May 2014 17:53:44 +0800 Subject: [PATCH] added collapse animation back again --- index.html | 2 +- js/libs/angularui-bootstrap.js | 38 +++++++++++++++++----------------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/index.html b/index.html index 2544218..3ab0c75 100755 --- a/index.html +++ b/index.html @@ -517,7 +517,7 @@ -
+
diff --git a/js/libs/angularui-bootstrap.js b/js/libs/angularui-bootstrap.js index b72c430..b518855 100755 --- a/js/libs/angularui-bootstrap.js +++ b/js/libs/angularui-bootstrap.js @@ -115,7 +115,7 @@ angular.module('ui.bootstrap.collapse',['ui.bootstrap.transition']) expand(); } }); - + var currentTransition; var doTransition = function(change) { @@ -151,7 +151,7 @@ angular.module('ui.bootstrap.collapse',['ui.bootstrap.transition']) element.addClass('in'); } } - + var collapse = function() { isCollapsed = true; element.removeClass('in'); @@ -189,7 +189,7 @@ angular.module('ui.bootstrap.accordion', ['ui.bootstrap.collapse']) }); } }; - + // This is called from the accordion-group directive to add itself to the accordion this.addGroup = function(groupScope) { var that = this; @@ -242,7 +242,7 @@ angular.module('ui.bootstrap.accordion', ['ui.bootstrap.collapse']) accordionCtrl.addGroup(scope); scope.isOpen = false; - + if ( attrs.isOpen ) { getIsOpen = $parse(attrs.isOpen); setIsOpen = getIsOpen.assign; @@ -387,7 +387,7 @@ angular.module('ui.bootstrap.buttons', []) function getFalseValue() { return getCheckboxValue(attrs.btnCheckboxFalse, false); } - + function getCheckboxValue(attributeValue, defaultValue) { var val = scope.$eval(attributeValue); return angular.isDefined(val) ? val : defaultValue; @@ -1547,7 +1547,7 @@ angular.module('ui.bootstrap.modal', []) backdropDomEl = $compile(backdropjqLiteEl)(backdropScope); body.append(backdropDomEl); } - + var angularDomEl = angular.element('
'); angularDomEl.attr('window-class', modal.windowClass); angularDomEl.attr('index', openedWindows.length() - 1); @@ -1960,7 +1960,7 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap // The options specified to the provider globally. var globalOptions = {}; - + /** * `options({})` allows global configuration of all tooltips in the * application. @@ -2029,7 +2029,7 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap var startSym = $interpolate.startSymbol(); var endSym = $interpolate.endSymbol(); - var template = + var template = '