Skip to content

Instantly share code, notes, and snippets.

@GeorgeErickson
Created November 3, 2011 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GeorgeErickson/1337918 to your computer and use it in GitHub Desktop.
Save GeorgeErickson/1337918 to your computer and use it in GitHub Desktop.
Log all events in SenchaTouch 1.1
Ext.util.Observable.prototype.fireEvent =
Ext.createInterceptor(Ext.util.Observable.prototype.fireEvent, function() {
console.log(this.name);
console.log(arguments);
return true;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment