title: Singletons Ext JS (4.2.1) and Stores
body: <p>How do you implement a Store to be a singleton?</p>
  
  <p>In Architect my store has a property checkbox that adds the property</p>
  
  <pre><code>singleton: true,
  </code></pre>
  
  <p>If I add that then reload the application it fails to load (I can give more details if required about error)</p>
  
  <pre><code>Uncaught TypeError: object is not a function VM5238:3
  (anonymous function) VM5238:3
  Ext.ClassManager.instantiate ext-all-debug.js:5485
  (anonymous function) ext-all-debug.js:2109
  Ext.define.getStore
  </code></pre>
  
  <p>If I then remove that property it loads fine, but where I use Ext.getStore("MyStore") then the stores that are returned contain different data depending on where I'm using the store. I have a single controller where I use the class name inside the getStore method and this is used in a couple of functions inside that one controller. </p>
  
  <p>Also there does not appear to be any documentation about the singleton property in the docs. If I look at Ext.data.Store there is no singleton.</p>