X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/b37ceabb82336ee82757cd32efe353cfab8ec267..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 51d675ea..b407a6f8 --- a/examples/desktop/js/Module.js +++ b/examples/desktop/js/Module.js @@ -1,15 +1,19 @@ /*! - * Ext JS Library 3.2.2 - * Copyright(c) 2006-2010 Ext JS, Inc. - * 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 +});