X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/examples/desktop/js/Module.js diff --git a/examples/desktop/js/Module.js b/examples/desktop/js/Module.js old mode 100644 new mode 100755 index 829e38df..b407a6f8 --- a/examples/desktop/js/Module.js +++ b/examples/desktop/js/Module.js @@ -1,15 +1,19 @@ /*! - * Ext JS Library 3.0.3 - * Copyright(c) 2006-2009 Ext JS, LLC - * licensing@extjs.com - * http://www.extjs.com/license + * Ext JS Library 4.0 + * Copyright(c) 2006-2011 Sencha Inc. + * licensing@sencha.com + * http://www.sencha.com/license */ -Ext.app.Module = function(config){ - Ext.apply(this, config); - Ext.app.Module.superclass.constructor.call(this); - this.init(); -} - -Ext.extend(Ext.app.Module, Ext.util.Observable, { - init : Ext.emptyFn -}); \ No newline at end of file + +Ext.define('Ext.ux.desktop.Module', { + mixins: { + observable: 'Ext.util.Observable' + }, + + constructor: function (config) { + this.mixins.observable.constructor.call(this, config); + this.init(); + }, + + init: Ext.emptyFn +});