mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
54 lines
1.0 KiB
JavaScript
54 lines
1.0 KiB
JavaScript
require('jquery.iframe-transport')
|
|
|
|
require('bootstrap/dist/css/bootstrap.css')
|
|
require('ladda/dist/ladda-themeless.min.css')
|
|
require('sweetalert/dist/sweetalert.css')
|
|
require('sweetalert/dist/sweetalert.css')
|
|
require('../css/styles.css')
|
|
|
|
require.config({
|
|
|
|
baseUrl: 'js/lib',
|
|
|
|
paths: {
|
|
app: '../app',
|
|
tpl: '../tpl'
|
|
},
|
|
|
|
shim: {
|
|
backbone: {
|
|
deps: ['underscore', 'jquery'],
|
|
exports: 'Backbone'
|
|
},
|
|
'backbone.babysitter': {
|
|
deps: ['backbone']
|
|
},
|
|
'backbone.bootstrap-modal': {
|
|
deps: ['backbone', 'bootstrap']
|
|
},
|
|
bootstrap: {
|
|
deps: ['jquery']
|
|
},
|
|
ladda: {
|
|
deps: ['bootstrap']
|
|
},
|
|
marionette: {
|
|
deps: ['backbone', 'backbone.babysitter'],
|
|
exports: 'Marionette'
|
|
},
|
|
'marionette-formview': {
|
|
deps: ['marionette']
|
|
},
|
|
sweetalert: {
|
|
deps: ['bootstrap']
|
|
},
|
|
underscore: {
|
|
exports: '_'
|
|
}
|
|
}
|
|
})
|
|
|
|
require(['jquery', 'bootstrap', 'backbone', 'app/router'], function ($, Bootstrap, Backbone, Router) {
|
|
return new Router()
|
|
})
|