code: function onLoad(name, callback) {
      var object = loaded[name];
  
      loadHooks[name] = loadHooks[name] || [];
      loadHooks[name].push(callback);
  
      if (object) {
        callback(object);
      }
    }
docs: Detects when a specific package of Ember (e.g. 'Ember.Application')
  has fully loaded and is available for extension.
  
  The provided `callback` will be called with the `name` passed
  resolved from a string into the object:
  
  ``` javascript
  Ember.onLoad('Ember.Application' function(hbars) {
  hbars.registerHelper(...);
  });
  ```
  
  @method onLoad
  @for Ember
  @param name {String} name of hook
  @param callback {Function} callback to be called
  @private