title: Sencha Touch Uncaught typeError: undefined is not a function
body: <p>I have recently began to check out Sencha Touch.  In following there tutorials I have ran into some issues that I cannot seem to resolve.</p>
  
  <p>Some of the basic code in app.js that is provided from sencha runs fine.  Others seem to get errors.  For Example:</p>
  
  <pre><code>new Ext.application({
  name: "NotesApp",
  launch: function() {
          console.log("App Launch");
      }
  });
  </code></pre>
  
  <p>With this I get an: Uncaught typeError: undefined is not a function </p>
  
  <p>If I rewrite the code without new at the beginning like:</p>
  
  <pre><code>Ext.application({
  name: "NotesApp",
  launch: function() {
          console.log("App Launch");
      }
  });
  </code></pre>
  
  <p>I get "Uncaught typeError: Object #  has no method 'application'"</p>
  
  <p>The second way is what I see all over the place when looking up sencha but it seems to be gining me issues.  Can any one help me understand what I am doing wrong.</p>
  
  <p>Thank you .</p>