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.
Comments
Post a Comment