We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current Prototype events parser is working only for versions 1.6.X. In Prototype 1.7 event registry was changed, so I wrote new parser:
(function(window, document, $, VisualEvent) { function dumpListeners(event) { var listeners = []; for (var eventType in event) { var handlers = event[eventType]; for (var i = 0, len = handlers.length; i < len; i++) { listeners.push({ "type": eventType, "func": handlers[i].handler.toString(), "removed": false, "source": 'Prototype 1.7+' }); } } return listeners; } VisualEvent.parsers.push(function() { if (typeof Prototype == 'undefined') { return []; } var elements = [], event; for (var e in Event.cache) { event = Event.cache[e]; elements.push({ "node": event.element, "listeners": dumpListeners(event) }); } return elements; }); })(window, document, jQuery, VisualEvent);
The text was updated successfully, but these errors were encountered:
Fantastic - I'll add a file for that - unless you already have a merge ready pull request? :-)
Sorry, something went wrong.
I've made it from browser, and there is no possibility to add new files to project from browser.
I've committed it in my fork
No branches or pull requests
Current Prototype events parser is working only for versions 1.6.X. In Prototype 1.7 event registry was changed, so I wrote new parser:
The text was updated successfully, but these errors were encountered: