docs: 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);
        });
      }
    }