Skip to content

Instantly share code, notes, and snippets.

@xenophy
Last active August 29, 2015 14:12
Show Gist options
  • Save xenophy/23e51534882eb17a3f11 to your computer and use it in GitHub Desktop.
Save xenophy/23e51534882eb17a3f11 to your computer and use it in GitHub Desktop.
Ext.define('MyApp.overrides.util.Observable', {
override: 'Ext.util.Observable',
requires: [
'Ext.mixin.Observable'
],
statics: {
capture: function(o, fn, scope) {
Ext.mixin.Observable.capture(o, fn, scope);
},
releaseCapture: function(o) {
Ext.mixin.Observable.releaseCapture(o);
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment