MDL-51222 Javascript: Reapply YUI config after adding modules
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user