pbienick
1 Nov 2012, 7:29 AM
Sencha Cmd v3.0.0.230
Ext JS 4.1.2a
If you create a new app with sencha generate app, Ext.log will not work. Here is my app.js:
Ext.application({
controllers: ["Main"],
views: ["Main"],
name: 'MyApp',
autoCreateViewport: true,
launch: function() {
Ext.log('ExtJS version: ' + Ext.getVersion('extjs'));
}
});
Now if I sencha ant build and access the app that way, it works, even if I specify production (sencha app production build), which is the opposite of what I would expect.
Ext JS 4.1.2a
If you create a new app with sencha generate app, Ext.log will not work. Here is my app.js:
Ext.application({
controllers: ["Main"],
views: ["Main"],
name: 'MyApp',
autoCreateViewport: true,
launch: function() {
Ext.log('ExtJS version: ' + Ext.getVersion('extjs'));
}
});
Now if I sencha ant build and access the app that way, it works, even if I specify production (sencha app production build), which is the opposite of what I would expect.