Merge branch 'MDL-51222-master-fix' of https://github.com/andrewnicols/moodle

This commit is contained in:
Andrew Nicols 2015-09-23 11:43:15 +08:00
commit 3678dd00c2

View File

@ -9,6 +9,8 @@ M.yui.add_module = function(modules) {
for (var modname in modules) {
YUI_config.modules[modname] = modules[modname];
}
// Ensure thaat the YUI_config is applied to the main YUI instance.
Y.applyConfig(YUI_config);
};
/**
* The gallery version to use when loading YUI modules from the gallery.