sencha touch 2 - config.Runtime doesn't work after build -
i've created config.runtime js in app , working fine , i'm able set , parameters in .
ext.define('tasktouch.config.runtime', { singleton: true, config: { selectedcategory: 0, serviceurl : 'resources/service.asmx/' }, constructor: function (config) { this.initconfig(config); }
});
thing after build app next error :
error evaluating http://localhost:44092/tasktouch/build/production/tasktouch/app.js message: typeerror: tasktouch.config.runtime undefined
i require :
ext.require([ 'ext.messagebox', 'ext.panel', 'ext.data.store', 'tasktouch.config.runtime' ]); ext.application({....
so have no thought why doesn't work after build (maybe need update in app.json ?!)
check "tasktouch.config.runtime" file name , location... times happens due typographical mistake..
sencha-touch-2
No comments:
Post a Comment