code: function runLoadHooks(name, object) {
      loaded[name] = object;
      var window = _emberEnvironment.environment.window;
  
      if (window && typeof CustomEvent === 'function') {
        var event = new CustomEvent(name, { detail: object, name: name });
        window.dispatchEvent(event);
      }
  
      if (loadHooks[name]) {
        loadHooks[name].forEach(function (callback) {
          return callback(object);
        });
      }
    }
docs: Called when an Ember.js package (e.g Ember.Application) has finished
  loading. Triggers any callbacks registered for this event.
  
  @method runLoadHooks
  @for Ember
  @param name {String} name of hook
  @param object {Object} object to pass to callbacks
  @private