Skip to content

Commit

Permalink
Remove blind reliance on require.progress existing
Browse files Browse the repository at this point in the history
Require does not report loading progress anymore, nor should it. We'll
need to introduce a new strategy for tracking loading progress that
plays well whether the application is mopped or not.
  • Loading branch information
mczepiel committed Nov 28, 2012
1 parent 7248473 commit a064455
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions ui/loader.reel/loader.js
Expand Up @@ -288,20 +288,6 @@ exports.Loader = Montage.create(Component, /** @lends module:montage/ui/loader.L
this.currentStage = LOADING;
document._montageTiming.loadingStartTime = Date.now();

this._frameworkModuleCount = window.require.progress.requiredModules.length;

Object.defineBinding(this, "initializedModules", {
boundObject: window.require,
boundObjectPropertyPath: "progress.initializedModules",
oneway: true
});

Object.defineBinding(this, "requiredModules", {
boundObject: window.require,
boundObjectPropertyPath: "progress.requiredModules",
oneway: true
});

var i,
loaderElement = document.getElementById(MONTAGE_LOADER_ELEMENT_ID),
children,
Expand Down

0 comments on commit a064455

Please sign in to comment.