Bootstrap requires jQuery
This commit is contained in:
parent
9b81cb44fa
commit
ead1d6fffb
@ -49,6 +49,10 @@ require.config({
|
|||||||
underscore: {
|
underscore: {
|
||||||
exports: "_"
|
exports: "_"
|
||||||
},
|
},
|
||||||
|
bootstrap: {
|
||||||
|
deps: ['jquery'],
|
||||||
|
exports: 'Bootstrap'
|
||||||
|
},
|
||||||
backbone: {
|
backbone: {
|
||||||
deps: ['underscore', 'jquery'],
|
deps: ['underscore', 'jquery'],
|
||||||
exports: 'Backbone'
|
exports: 'Backbone'
|
||||||
@ -67,6 +71,6 @@ require([
|
|||||||
'underscore',
|
'underscore',
|
||||||
'backbone',
|
'backbone',
|
||||||
'bootstrap',
|
'bootstrap',
|
||||||
'goatApp/goatApp'], function($,jqueryBase,jqueryVuln,jqueryui,_,Backbone,bootstrap,Goat){
|
'goatApp/goatApp'], function($,jqueryBase,jqueryVuln,jqueryui,_,Backbone,Bootstrap,Goat){
|
||||||
Goat.initApp();
|
Goat.initApp();
|
||||||
});
|
});
|
Loading…
x
Reference in New Issue
Block a user