Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/externals/javelin/core/init.js
| Show First 20 Lines • Show All 137 Lines • ▼ Show 20 Lines | var document_events = [ | ||||
| 'drop', | 'drop', | ||||
| 'dragenter', | 'dragenter', | ||||
| 'dragleave', | 'dragleave', | ||||
| 'dragover', | 'dragover', | ||||
| 'paste', | 'paste', | ||||
| 'touchstart', | 'touchstart', | ||||
| 'touchmove', | 'touchmove', | ||||
| 'touchend', | 'touchend', | ||||
| 'touchcancel' | 'touchcancel', | ||||
| 'load' | |||||
| ]; | ]; | ||||
| // Simulate focus and blur in old versions of IE using focusin and focusout | // Simulate focus and blur in old versions of IE using focusin and focusout | ||||
| // TODO: Document the gigantic IE mess here with focus/blur. | // TODO: Document the gigantic IE mess here with focus/blur. | ||||
| // TODO: beforeactivate/beforedeactivate? | // TODO: beforeactivate/beforedeactivate? | ||||
| // http://www.quirksmode.org/blog/archives/2008/04/delegating_the.html | // http://www.quirksmode.org/blog/archives/2008/04/delegating_the.html | ||||
| if (!has_add_event_listener) { | if (!has_add_event_listener) { | ||||
| document_events.push('focusin', 'focusout'); | document_events.push('focusin', 'focusout'); | ||||
| ▲ Show 20 Lines • Show All 82 Lines • Show Last 20 Lines | |||||