Skip to content

Instantly share code, notes, and snippets.

View therealparmesh's full-sized avatar
🦮

Parmesh Krishen therealparmesh

🦮
  • Austin, Texas
View GitHub Profile
@therealparmesh
therealparmesh / ExtJSEventLogging.js
Last active September 1, 2017 18:53
Ext JS component-level event logging
Ext.onReady(function () {
Ext.define('Ext.override.eventLogging.Component', {
override: 'Ext.Component',
initComponent: function () {
var self = this
Ext.util.Observable.capture(self, function (eventName) {
console.log(eventName, self.getId(), self)
})
self.callParent(arguments)
}