MDL-49262 bootstrapbase: Lets use the standard jquery libraries
We have jquery+amd support. Lets use it to bring back the standard bootstrap jquery plugins.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// We need to actually use the code manually here as this is tricky do in
|
||||
// themes at present.
|
||||
YUI().use('moodle-theme_bootstrapbase-bootstrap', function(Y) {
|
||||
Y.Moodle.theme_bootstrapbase.bootstrap.init();
|
||||
|
||||
require(['core/first'], function() {
|
||||
require(['theme_bootstrapbase/bootstrap', 'core/log'], function(bootstrap) {
|
||||
log.debug('Bootstrap initialised');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user