//>>built define("dijit/_OnDijitClickMixin", [ "dojo/on", "dojo/_base/array", // array.forEach "dojo/keys", // keys.ENTER keys.SPACE "dojo/_base/declare", // declare "dojo/_base/sniff", // has("ie") "dojo/_base/unload", // unload.addOnWindowUnload "dojo/_base/window" // win.doc.addEventListener win.doc.attachEvent win.doc.detachEvent ], function(on, array, keys, declare, has, unload, win){ // module: // dijit/_OnDijitClickMixin // summary: // Mixin so you can pass "ondijitclick" to this.connect() method, // as a way to handle clicks by mouse, or by keyboard (SPACE/ENTER key) // Keep track of where the last keydown event was, to help avoid generating // spurious ondijitclick events when: // 1. focus is on a