arma-server-web-admin/public/js/app.js

52 lines
1.0 KiB
JavaScript
Raw Normal View History

2017-10-06 11:20:06 +00:00
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')
2014-02-09 03:19:48 +00:00
require.config({
2014-02-09 03:19:48 +00:00
baseUrl: 'js/lib',
2014-02-09 03:19:48 +00:00
paths: {
app: '../app',
tpl: '../tpl'
},
2014-02-09 03:19:48 +00:00
shim: {
'backbone': {
deps: ['underscore', 'jquery'],
exports: 'Backbone'
},
2017-10-06 11:20:06 +00:00
'backbone.babysitter': {
deps: ['backbone'],
},
2014-02-09 03:19:48 +00:00
'backbone.bootstrap-modal': {
deps: ['backbone', 'bootstrap']
},
'bootstrap': {
deps: ['jquery']
},
'ladda': {
deps: ['bootstrap']
},
2014-02-09 03:19:48 +00:00
'marionette': {
2017-10-06 11:20:06 +00:00
deps: ['backbone', 'backbone.babysitter'],
2014-02-09 03:19:48 +00:00
exports: 'Marionette'
},
'marionette-formview': {
deps: ['marionette']
},
2017-10-06 11:20:06 +00:00
'sweetalert': {
deps: ['bootstrap']
},
2014-02-09 03:19:48 +00:00
'underscore': {
exports: '_'
}
}
});
require(['jquery', 'bootstrap', 'backbone', 'app/router'], function ($, Bootstrap, Backbone, Router) {
var router = new Router();
});