MDL-42152 rename our rollup to start with 'yui-' to enable the stadnard regex base magic

This commit is contained in:
Petr Škoda 2013-10-10 07:42:48 +02:00 committed by Damyon Wiese
parent 2ea00a5867
commit d17f25a56e
2 changed files with 2 additions and 2 deletions

View file

@ -1250,7 +1250,7 @@ class page_requirements_manager {
$jsrev = $this->get_jsrev();
$baserollups = array(
'rollup/' . $CFG->yui3version . '/simpleyui-min.js',
'rollup/' . $CFG->yui3version . '/yui-moodlesimple-min.js',
);
$moodlerollups = array(
'rollup/' . $jsrev . '/mcore-min.js',

View file

@ -93,7 +93,7 @@ while (count($parts)) {
$filesuffix = '-min.js';
}
if (strpos($rollupname, 'simpleyui') !== false) {
if (strpos($rollupname, 'yui-moodlesimple') !== false) {
$yuimodules = array(
// Include everything from original SimpleYUI,
// this list can be built using http://yuilibrary.com/yui/configurator/ by selecting all modules