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();
});