2019-09-22 21:02:31 +00:00
|
|
|
require('jquery.iframe-transport')
|
|
|
|
|
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-05-07 00:11:12 +00:00
|
|
|
|
2014-02-09 03:19:48 +00:00
|
|
|
baseUrl: 'js/lib',
|
2014-05-07 00:11:12 +00:00
|
|
|
|
2014-02-09 03:19:48 +00:00
|
|
|
paths: {
|
|
|
|
app: '../app',
|
|
|
|
tpl: '../tpl'
|
|
|
|
},
|
2014-05-07 00:11:12 +00:00
|
|
|
|
2014-02-09 03:19:48 +00:00
|
|
|
shim: {
|
2019-09-22 21:02:31 +00:00
|
|
|
backbone: {
|
2014-02-09 03:19:48 +00:00
|
|
|
deps: ['underscore', 'jquery'],
|
|
|
|
exports: 'Backbone'
|
|
|
|
},
|
2017-10-06 11:20:06 +00:00
|
|
|
'backbone.babysitter': {
|
2019-09-22 21:02:31 +00:00
|
|
|
deps: ['backbone']
|
2017-10-06 11:20:06 +00:00
|
|
|
},
|
2014-02-09 03:19:48 +00:00
|
|
|
'backbone.bootstrap-modal': {
|
|
|
|
deps: ['backbone', 'bootstrap']
|
|
|
|
},
|
2019-09-22 21:02:31 +00:00
|
|
|
bootstrap: {
|
2014-02-09 03:19:48 +00:00
|
|
|
deps: ['jquery']
|
|
|
|
},
|
2019-09-22 21:02:31 +00:00
|
|
|
ladda: {
|
2014-05-07 00:11:12 +00:00
|
|
|
deps: ['bootstrap']
|
|
|
|
},
|
2019-09-22 21:02:31 +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']
|
|
|
|
},
|
2019-09-22 21:02:31 +00:00
|
|
|
sweetalert: {
|
2015-06-04 16:45:54 +00:00
|
|
|
deps: ['bootstrap']
|
|
|
|
},
|
2019-09-22 21:02:31 +00:00
|
|
|
underscore: {
|
2014-02-09 03:19:48 +00:00
|
|
|
exports: '_'
|
|
|
|
}
|
|
|
|
}
|
2019-09-22 21:02:31 +00:00
|
|
|
})
|
2014-02-09 03:19:48 +00:00
|
|
|
|
|
|
|
require(['jquery', 'bootstrap', 'backbone', 'app/router'], function ($, Bootstrap, Backbone, Router) {
|
2019-09-22 21:02:31 +00:00
|
|
|
return new Router()
|
|
|
|
})
|