You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
918 B
JavaScript
29 lines
918 B
JavaScript
require.config({
|
|
baseUrl: "/js/bootstrap-form-builder/js/lib/",
|
|
paths: {
|
|
'jquery': '/js/jquery.min',
|
|
'mustache': "/js/mustache",
|
|
'bootstrap': "/js/bootstrap.min",
|
|
'underscore': "/js/underscore",
|
|
'text': "/js/text",
|
|
'app': "..",
|
|
collections: "/js/bootstrap-form-builder/js/collections",
|
|
data: "/js/bootstrap-form-builder/js/data",
|
|
models: "/js/bootstrap-form-builder/js/models",
|
|
helper: "/js/bootstrap-form-builder/js/helper",
|
|
templates: "/js/bootstrap-form-builder/js/templates",
|
|
views: "/js/bootstrap-form-builder/js/views"
|
|
}, shim: {
|
|
'underscore': {
|
|
exports: '_'
|
|
},
|
|
'bootstrap': {
|
|
deps: ['jquery'],
|
|
exports: '$.fn.popover'
|
|
}
|
|
}, urlArgs: "bust=" + (new Date()).getTime()
|
|
});
|
|
|
|
require(['app/app'], function (app) {
|
|
app.initialize();
|
|
}); |