From 57e1c41f15fc73a0c8d1bb9d53d1a32f20bc6c64 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 1 Mar 2011 20:24:17 +1300 Subject: [PATCH] BUGFIX Don't include firebug-lite.js by default in LeftAndMain->init() --- code/LeftAndMain.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index ca8ac450..3f85f09c 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -204,11 +204,7 @@ class LeftAndMain extends Controller { // Its available as a Firefox extension or a javascript library // for easy inclusion in other browsers (just append ?debug_firebug=1 to the URL) Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/firebug-lite/firebug.js'); - } else { - // By default, we include fake-objects for all firebug calls - // to avoid javascript errors when referencing console.log() etc in javascript code - Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/firebug-lite/firebugx.js'); - } + } Requirements::javascript(SAPPHIRE_DIR . '/javascript/prototypefix/intro.js'); Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/prototype/prototype.js'); @@ -286,8 +282,6 @@ class LeftAndMain extends Controller { 'sapphire/thirdparty/jquery-livequery/jquery.livequery.js', 'sapphire/javascript/jquery-ondemand/jquery.ondemand.js', 'sapphire/thirdparty/jquery-ui/jquery-ui.js', - 'sapphire/thirdparty/firebug-lite/firebug.js', - 'sapphire/thirdparty/firebug-lite/firebugx.js', 'sapphire/javascript/i18n.js', ) );