From fcd8b0fa8fdf683370f788011d7da116a3319628 Mon Sep 17 00:00:00 2001 From: Sebastian Schuster Date: Fri, 7 Jun 2013 15:18:34 +0200 Subject: [PATCH] Removed custom way of loading dependant javascript files upon load and fixed order of assets to match the custom order in manifest file --- .../javascripts/reporting_engine/reporting.js | 24 ------------------- .../reporting_engine/reporting_engine.js | 8 +++---- 2 files changed, 4 insertions(+), 28 deletions(-) diff --git a/lib/assets/javascripts/reporting_engine/reporting.js b/lib/assets/javascripts/reporting_engine/reporting.js index 8bb67904ce..91050e0df5 100644 --- a/lib/assets/javascripts/reporting_engine/reporting.js +++ b/lib/assets/javascripts/reporting_engine/reporting.js @@ -2,22 +2,6 @@ /*global window, $, $$, Reporting, Element */ window.Reporting = { - source: ($$("head")[0].select("script[src*='reporting.js']")[0].src), - - require: function (libraryName) { - var jsName = Reporting.source.replace("reporting.js", "reporting/" + libraryName + ".js"); - try { - // inserting via DOM fails in Safari 2.0, so brute force approach - document.write('