mirror of
https://github.com/2ec0b4/kaamelott-soundboard.git
synced 2025-12-08 23:53:24 +00:00
Initialise le projet
This commit is contained in:
19
js/app/main.js
Normal file
19
js/app/main.js
Normal file
@@ -0,0 +1,19 @@
|
||||
requirejs.config({
|
||||
baseUrl: 'js/app',
|
||||
paths: {
|
||||
'backbone': '/js/vendor/backbone/backbone-min',
|
||||
'hbs': '/js/vendor/require/plugins/require-handlebars-plugin/hbs',
|
||||
'jquery': '/js/vendor/jquery/jquery-1.12.2.min',
|
||||
'marionette': '/js/vendor/marionette/backbone.marionette.min',
|
||||
'underscore': '/js/vendor/underscore/underscore-min'
|
||||
},
|
||||
hbs: {
|
||||
"templateExtension": "hbs",
|
||||
"hbs/underscore": "underscore"
|
||||
},
|
||||
shim: {
|
||||
'marionette' : {
|
||||
deps: ['jquery', 'backbone', 'underscore']
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user