This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Emulate "submit" and "change" events bubbling | |
* | |
* This plugin enables handling bubbling submit/change events by browsers which | |
* natively don't support this. It only augments `Element.on()` method and doesn't | |
* fix when this events are observed with `observe()`. | |
*/ | |
;(function() { | |
// Technique from Juriy Zaytsev | |
// http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/ | |
function isEventSupported(eventName) { |