Skip to content
Browse files

MDL-30415 prevent yui2 rollups in debug mode

  • Loading branch information...
1 parent 835564d commit df33ab2bf432c80551ebf9a2bff5732f4856f8d5 @skodak skodak committed with Sam Hemelryk Dec 10, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/outputrequirementslib.php
View
1 lib/outputrequirementslib.php
@@ -127,6 +127,7 @@ public function __construct() {
if (debugging('', DEBUG_DEVELOPER)) {
$this->yui3loader->filter = YUI_RAW; // for more detailed logging info use YUI_DEBUG here
$this->yui2loader->filter = YUI_RAW; // for more detailed logging info use YUI_DEBUG here
+ $this->yui2loader->allowRollups = false;
} else {
$this->yui3loader->filter = null;
$this->yui2loader->filter = null;

0 comments on commit df33ab2

Please sign in to comment.
Something went wrong with that request. Please try again.