diff options
author | Andrew Dolgov <[email protected]> | 2017-01-21 21:59:17 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-01-21 21:59:17 +0300 |
commit | e2e2479984b3aaadb4c0947e5ec15276e5c9a337 (patch) | |
tree | 1662c1772cbcb6e44d017cea28e35d45de44921f /lib/dojo/on/asyncEventListener.js | |
parent | ab235fc5f13385a690a1ed31ae77d0006c85197d (diff) | |
parent | 1c4f5e83900fdd71a84f2e142c694c75106bef53 (diff) |
Merge branch 'dojo-1.12.1'
Conflicts:
js/prefs.js
Diffstat (limited to 'lib/dojo/on/asyncEventListener.js')
-rw-r--r-- | lib/dojo/on/asyncEventListener.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/dojo/on/asyncEventListener.js b/lib/dojo/on/asyncEventListener.js new file mode 100644 index 000000000..a07925ae1 --- /dev/null +++ b/lib/dojo/on/asyncEventListener.js @@ -0,0 +1,8 @@ +/* + Copyright (c) 2004-2016, The JS Foundation All Rights Reserved. + Available via Academic Free License >= 2.1 OR the modified BSD license. + see: http://dojotoolkit.org/license for details +*/ + +//>>built +define("dojo/on/asyncEventListener",["../on","../has","../_base/window","../dom-construct","../domReady!"],function(on,_1,_2,_3){var _4,_5,_6=false;if(_3){_4=_3.create("input",{type:"button"},_2.body()),on.once(_4,"click",function(e){_5=e;});_4.click();try{_6=_5.clientX===undefined;}catch(e){_6=true;}finally{_3.destroy(_4);}}_1.add("native-async-event-support",!_6);function _7(_8){var _9={},i;for(i in _8){_9[i]=_8[i];}return _9;};return function(_a){if(_6){return function(e){_a.call(this,_7(e));};}return _a;};});
\ No newline at end of file |