Created
February 21, 2012 03:10
-
-
Save mchail/1873326 to your computer and use it in GitHub Desktop.
Log all Ext events
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
javascript:( | |
function() { | |
var o = Ext.util.Observable.prototype; | |
o.fireEvent = o.fireEvent.createInterceptor(function(evt) { | |
var a = arguments; | |
console.log(this, ' fired event ', evt, ' with args ', Array.prototype.slice.call(a,1,a.length)); | |
}); | |
} | |
)(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save as a bookmarklet and run it on a page that uses ExtJS. All Ext events will be logged to the javascript console.