Hi Developers,
I am using Sencha Touch 2 to build an application. When I load the application into a browser, I am getting the following error: [DEPRECATE][Anonymous] stores is deprecated as a property directly on the Ext.app.Controller prototype. Please put it inside the config object. I cannot figure out why this error is occurring. Any help? Thanks! The first part of my MainController code is as follows:
config: {
models: [
'Tasks'
],
stores: [
'TaskList'
],
views: [
'MainCarousel',
'StartScreen',
'WhatScreen',
'WhenScreen',
'Login'
],
refs: [{
ref: 'mainCarousel',
selector: 'maincarousel'
}, {
ref: 'whenScreen',
selector: 'whenscreen'
}, {
ref: 'whatScreen',
selector: 'whatscreen'
}, {
ref: 'startScreen',
selector: 'startscreen'
}, {
ref: 'login',
selector: 'login'
}],
},
AVADHESH PATEL
03-Jun-2013