title: Simple example of Ext.view.View on jsfiddle using /echo/json
body: <p>I can't figure out what is wrong with my code on jsfiddle. I am trying to create a reduction to file a bug with Ext-JS. Here's the code I'm using. <a href="http://jsfiddle.net/qGBYT/" rel="nofollow">http://jsfiddle.net/qGBYT/</a></p>
  
  <pre><code>Ext.define('test.Model', {
       extend: 'Ext.data.Model',
       fields: ['id'],
       idProperty: 'id',
       proxy: {
           // Have also tried 'ajax'
           type: 'rest',
           url: '/echo/json',        
           reader: {
              type: 'json',
              root: 'records'
           }
       }
   }, 
  
   function(){
       var store = new Ext.data.Store({model:'test.Model'});
       var list = new Ext.view.View({
           itemTpl: '&lt;div&gt;{id}&lt;/div&gt;',
           renderTo: Ext.getBody(), 
           width: 300,
           height: 500,
           store: store
       });
  
       store.load({params: {json: '{"records":[{"id":1}]'}});
  
   });
  </code></pre>
  
  <p>​
  The error message I get is </p>
  
  <pre><code>Uncaught TypeError: Cannot read property 'type' of undefined 
  </code></pre>
  
  <p>Which is caused by the first line in the code above</p>