X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/examples/shared/extjs/site.js diff --git a/examples/shared/extjs/site.js b/examples/shared/extjs/site.js index 79229ae6..f050f483 100644 --- a/examples/shared/extjs/site.js +++ b/examples/shared/extjs/site.js @@ -1,11 +1,9 @@ -/* - * Ext JS Library 2.2.1 - * Copyright(c) 2006-2009, Ext JS, LLC. - * licensing@extjs.com - * - * http://extjs.com/license - */ - +/*! + * Ext JS Library 3.0.0 + * Copyright(c) 2006-2009 Ext JS, LLC + * licensing@extjs.com + * http://www.extjs.com/license + */ Ext.onReady(function(){ var activeMenu; @@ -27,13 +25,13 @@ Ext.onReady(function(){ doc.un('mouseover', handleOver); doc.un('mousedown', handleDown); } - } + }; var handleDown = function(e){ if(!e.within(menu)){ hideMenu(); } - } + }; var showMenu = function(){ clearTimeout(tid); @@ -59,7 +57,7 @@ Ext.onReady(function(){ doc.on('mouseover', handleOver, null, {buffer:150}); doc.on('mousedown', handleDown); } - } + }; el.on('mouseover', function(e){ if(!tid){ @@ -94,7 +92,7 @@ Ext.onReady(function(){ }else{ bdi.hide(); bd.show(); - bdi.slideIn('l', {duration:.2, stopFx: true, easing:'easeOut'}); + bdi.slideIn('l', {duration:0.2, stopFx: true, easing:'easeOut'}); } t.update(!expanded ? 'Hide details' : 'Show details');