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:
Damyon Wiese
2015-03-23 14:25:39 +08:00
parent ef4b8bb98b
commit d2b6447870
13 changed files with 2279 additions and 2196 deletions
@@ -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');
});
});