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