You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
1.7 KiB
77 lines
1.7 KiB
/*jslint laxbreak:true */
|
|
/*jslint laxcomma:true */
|
|
/*jslint loopfunc:true */
|
|
/*jslint strict:true */
|
|
require.config({
|
|
shim: {
|
|
"jquery-ui": ["jquery"]
|
|
, "jquery-event-drag": ["jquery"]
|
|
, "jquery-layout": ["jquery"]
|
|
, "datatables": ["jquery"]
|
|
|
|
, "bootstrap-contextmenu": ["bootstrap"]
|
|
|
|
, "jquery": {
|
|
exports: "jQuery.fn"
|
|
}
|
|
|
|
, "backbone": {
|
|
//These script dependencies should be loaded before loading
|
|
//backbone.js
|
|
deps: [
|
|
"underscore"
|
|
, "jquery"
|
|
]
|
|
|
|
, exports: "Backbone"
|
|
}
|
|
|
|
, "underscore": {
|
|
exports: "_"
|
|
}
|
|
|
|
, "toolbox": {
|
|
exports: "Toolbox"
|
|
, deps: ["underscore"]
|
|
}
|
|
|
|
, "toolbox-extras": {
|
|
deps: ["toolbox"]
|
|
}
|
|
}
|
|
|
|
, paths: {
|
|
"jquery": "../vendors/jquery/1.8.2/jquery.min"
|
|
, "jquery-ui": "../vendors/jquery/ui/1.9.0/jquery-ui-all"
|
|
, "jquery-event-drag": "../vendors/jquery/event-drag/2.2/jquery.event.drag"
|
|
, "jquery-layout": "../vendors/jquery/layout/1.2.0/jquery.layout.min"
|
|
, "datatables": "../vendors/jquery/datatables/1.9.4/media/js/jquery.dataTables.min"
|
|
|
|
, "bootstrap": "../vendors/backbone/2.1.1/js/bootstrap.min"
|
|
, "bootstrap-contextmenu": "../vendors/backbone/contextmenu/59986df48f/js/bootstrap-contextmenu"
|
|
|
|
, "underscore": "../vendors/lodash/0.9.0/lodash.underscore.min"
|
|
|
|
, "backbone": "../vendors/backbone/0.9.2/backbone-min"
|
|
, "toolbox": "../vendors/backbone/toolbox/e0cac9f/toolbox"
|
|
, "toolbox-extras": "../vendors/backbone/toolbox/e0cac9f/toolbox.extra"
|
|
}
|
|
|
|
, baseUrl: "./resources/js"
|
|
, urlArgs: "v=0.3.2"
|
|
});
|
|
|
|
require(
|
|
[
|
|
"app"
|
|
|
|
, "jquery"
|
|
]
|
|
, function ( App, $ ) {
|
|
"use strict";
|
|
|
|
$("body").ready(function(){
|
|
App.init();
|
|
});
|
|
}
|
|
); |