Permalink
Browse files

BUGFIX Don't include firebug-lite.js by default in LeftAndMain->init()

  • Loading branch information...
chillu committed Mar 1, 2011
1 parent 2d85a45 commit 57e1c41f15fc73a0c8d1bb9d53d1a32f20bc6c64
Showing with 1 addition and 7 deletions.
  1. +1 −7 code/LeftAndMain.php
View
@@ -204,11 +204,7 @@ function init() {
// 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 @@ function init() {
'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',
)
);

0 comments on commit 57e1c41

Please sign in to comment.