/* * This file is part of Phraseanet * * (c) 2005-2013 Alchemy * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ // configure AMD loading require.config({ baseUrl: "/scripts", paths: { jquery: "../assets/jquery/jquery", jqueryui: "../assets/jquery.ui/jquery-ui", underscore: "../assets/underscore-amd/underscore", backbone: "../assets/backbone-amd/backbone", i18n: "../assets/i18next/i18next.amd-1.6.3", bootstrap: "../assets/bootstrap/js/bootstrap.min" }, shim: { bootstrap: ["jquery"], jqueryui: { deps: [ "jquery" ] } } }); // launch application require(["apps/admin/fields/app"], function (App) { App.initialize(); });