javascript - Sencha Touch Uncaught typeError: undefined is not a function -


i have began check out sencha touch. in following there tutorials have ran issues cannot seem resolve.

some of basic code in app.js provided sencha runs fine. others seem errors. example:

new ext.application({ name: "notesapp", launch: function() {         console.log("app launch");     } }); 

with an: uncaught typeerror: undefined not function

if rewrite code without new @ beginning like:

ext.application({ name: "notesapp", launch: function() {         console.log("app launch");     } }); 

i "uncaught typeerror: object # has no method 'application'"

the second way see on place when looking sencha seems gining me issues. can 1 me understand doing wrong.

thank .

looks ext.application has capital a. remember javascript case sensitive.

http://docs.sencha.com/touch/1-1/#!/api/ext.application


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -