From a0644557ee6a68957300a18b313b221b1dce8360 Mon Sep 17 00:00:00 2001 From: Mike Czepiel Date: Wed, 28 Nov 2012 15:19:16 -0800 Subject: [PATCH] Remove blind reliance on require.progress existing 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. --- ui/loader.reel/loader.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/ui/loader.reel/loader.js b/ui/loader.reel/loader.js index efa592f04e..3271673f92 100644 --- a/ui/loader.reel/loader.js +++ b/ui/loader.reel/loader.js @@ -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,