The ModelManager documentation states "The following snippets are equivalent":

Code:
// method 1, access model type through the manager
var UserType = Ext.ModelManager.getModel('User');
// method 2, reference the type directly
var UserType=User;
This does not seem to be the case, however. Take this simple example:

Code:
Ext.define('Config', {
  singleton: true,
  extend: 'Ext.data.Model',

  config: {
    fields: [
      {name: 'id', type: 'int'},
      {name: 'email', type: 'string'},
      {name: 'password', type: 'string'},
      {name: 'username', type: 'string'},
    ],
    proxy: {
      type: 'localstorage',
      id: 'config',
    }
  }
});

 var ConfigModel = Ext.ModelManager.getModel('Config');
(Working example here: http://new.senchafiddle.com/#/KcBy6/)


Given the code above, here's the odd part:


Directly
Config.save() exists.
Config.load() doesn't exist.

via ModelManager
ConfigModel.save() doesn't exist.
ConfigModel.load() does exist.

What is going on here? Why don't I have consistent access to load() and save()? This not only seems very odd, but also appears to contradict the whole equivalency thing mentioned in the ModelManager documentation.