X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775:/docs/source/EventManager-more.html diff --git a/docs/source/EventManager-more.html b/docs/source/EventManager-more.html index ffdd0cf8..9e0b5103 100644 --- a/docs/source/EventManager-more.html +++ b/docs/source/EventManager-more.html @@ -1,11 +1,17 @@ - -
-/** + + ++ \ No newline at end of fileThe source code + + + + +/*! + * Ext JS Library 3.0.3 + * Copyright(c) 2006-2009 Ext JS, LLC + * licensing@extjs.com + * http://www.extjs.com/license + */ +/** * @class Ext.EventManager */ Ext.apply(Ext.EventManager, function(){ @@ -21,8 +27,8 @@ Ext.apply(Ext.EventManager, function(){ // note 1: IE fires ONLY the keydown event on specialkey autorepeat // note 2: Safari < 3.1, Gecko (Mac/Linux) & Opera fire only the keypress event on specialkey autorepeat // (research done by @Jan Wolter at http://unixpapa.com/js/key.html) - useKeydown = Ext.isSafari ? - Ext.num(navigator.userAgent.toLowerCase().match(/version\/(\d+\.\d)/)[1] || 2) >= 3.1 : + useKeydown = Ext.isWebKit ? + Ext.num(navigator.userAgent.match(/AppleWebKit\/(\d+)/)[1]) >= 525 : !((Ext.isGecko && !Ext.isWindows) || Ext.isOpera); return { @@ -332,6 +338,6 @@ Ext.apply(Ext.EventObjectImpl.prototype, { hasModifier : function(){ return ((this.ctrlKey || this.altKey) || this.shiftKey); } -});- +});