Skip to content

Commit

Permalink
Merge pull request montagejs#1064 from mczepiel/loader-progress
Browse files Browse the repository at this point in the history
Remove blind reliance on require.progress existing
  • Loading branch information
francoisfrisch committed Nov 28, 2012
2 parents c80dd9a + a064455 commit 8b1a9eb
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 8b1a9eb

Please sign in to comment.