js/libs/ember-1.5.1.js
function() {
    var namespaces = Ember.A(Ember.Namespace.NAMESPACES), types = Ember.A();

    namespaces.forEach(function(namespace) {
      for (var key in namespace) {
        if (!namespace.hasOwnProperty(key)) { continue; }
        var name = Ember.String.dasherize(key);
        if (!(namespace instanceof Ember.Application) && namespace.toString()) {
          name = namespace + '/' + name;
        }
        types.push(name);
      }
    });
    return types;
  }
function() {
    var namespaces = Ember.A(Ember.Namespace.NAMESPACES), types = Ember.A();

    namespaces.forEach(function(namespace) {
      for (var key in namespace) {
        if (!namespace.hasOwnProperty(key)) { continue; }
        var name = Ember.String.dasherize(key);
        if (!(namespace instanceof Ember.Application) && namespace.toString()) {
          name = namespace + '/' + name;
        }
        types.push(name);
      }
    });
    return types;
  }
Loops over all namespaces and all objects
attached to them

@private
@method _getObjectsOnNamespaces
@return {Array} Array of model type strings