Created
September 26, 2017 06:59
-
-
Save rattanchauhan/8c663c915bed7c46ca0854163c858023 to your computer and use it in GitHub Desktop.
Sencha event logger
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
(function() { | |
// No mouse version | |
Ext.Component.prototype.fireEvent = | |
Ext.Function.createInterceptor(Ext.Component.prototype.fireEvent, function() { | |
if (arguments && arguments[0].indexOf("mouse") === -1 && arguments[0] != "uievent") { | |
console.log(this.$className, arguments, this); | |
} | |
return true; | |
});})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment