Permalink
Browse files

AUI-865 - update demo

  • Loading branch information...
1 parent c1c5b93 commit 803c5198a10655b00533f2e91c09f0e877b3aded Marc Lundgren committed Mar 25, 2013
Showing with 2 additions and 10 deletions.
  1. +2 −10 demos/toggler/index.html
View
@@ -179,16 +179,14 @@ <h2 class="header aui-toggler-header-collapsed">
var content = A.one('.content');
var header = A.one('.header');
- console.time('toggler');
-
var toggler = new A.Toggler({
animated: true,
content: content,
header: header,
expanded: false,
transition: {
duration: .6,
- easing: 'cubic-bezier',
+ easing: 'cubic-bezier(0, 0.1, 0, 1.0)',
on: {
end: function() {
content.load('assets/content.html');
@@ -197,23 +195,17 @@ <h2 class="header aui-toggler-header-collapsed">
}
});
- console.timeEnd('toggler');
-
- console.time('toggler-delegate');
-
var togglerDelegate1 = new A.TogglerDelegate({
container: '#container1',
content: '.content',
header: '.header',
expanded: false,
transition: {
duration: .4,
- easing: 'cubic-bezier'
+ easing: 'cubic-bezier(0, 0.1, 0, 1.0)'
}
});
- console.timeEnd('toggler-delegate');
-
var togglerDelegate2 = new A.TogglerDelegate({
animated: true,
closeAllOnExpand: true,

0 comments on commit 803c519

Please sign in to comment.