X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775:/docs/source/NativeObservable.html diff --git a/docs/source/NativeObservable.html b/docs/source/NativeObservable.html deleted file mode 100644 index 21dc0063..00000000 --- a/docs/source/NativeObservable.html +++ /dev/null @@ -1,36 +0,0 @@ - - - The source code - - - - -
/** - * @class Ext.air.NativeObservable - * @extends Ext.util.Observable - * - * Adds ability for Ext Observable functionality to proxy events for native (AIR) object wrappers - * - * @constructor - */ - -Ext.air.NativeObservable = Ext.extend(Ext.util.Observable, { - addListener : function(name){ - this.proxiedEvents = this.proxiedEvents || {}; - if(!this.proxiedEvents[name]){ - var instance = this; - var f = function(){ - var args = Array.prototype.slice.call(arguments, 0); - args.unshift(name); - instance.fireEvent.apply(instance, args); - }; - this.proxiedEvents[name] = f; - this.getNative().addEventListener(name, f); - } - Ext.air.NativeObservable.superclass.addListener.apply(this, arguments); - } -}); - -Ext.air.NativeObservable.prototype.on = Ext.air.NativeObservable.prototype.addListener;
- - \ No newline at end of file