//-- copyright // OpenProject is a project management system. // Copyright (C) 2012-2017 the OpenProject Foundation (OPF) // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License version 3. // // OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows: // Copyright (C) 2006-2017 Jean-Philippe Lang // Copyright (C) 2010-2013 the ChiliProject Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // // See doc/COPYRIGHT.rdoc for more details. //++ // 'Global' dependencies // // dependencies required by classic (Rails) and Angular application. // NOTE: currently needed for PhantomJS to support Webpack's style-loader. // See: https://github.com/webpack/style-loader/issues/31 require('phantomjs-polyfill'); // ES6 Promise polyfill require('expose-loader?Promise!es6-promise'); // jQuery require('expose-loader?jQuery!jquery'); require('jquery-ujs'); require('expose-loader?mousetrap!mousetrap/mousetrap.min.js'); // Angular dependencies require('expose-loader?angular!angular'); require('expose-loader?dragula!dragula/dist/dragula.min.js'); require('angular-animate/angular-animate.min.js'); require('angular-aria/angular-aria.min.js'); require('angular-cache/dist/angular-cache.min.js'); require('angular-context-menu/dist/angular-context-menu.min.js'); require('angular-dragula/dist/angular-dragula.min.js'); require('angular-elastic'); require('angular-modal/modal.min.js'); require('angular-sanitize/angular-sanitize.min.js'); require('angular-truncate/src/truncate.js'); require('angular-ui-router/release/angular-ui-router.min.js'); // Load the deprecated stateChange* events require('angular-ui-router/release/stateEvents.min.js'); require('ng-file-upload/dist/ng-file-upload.min.js'); // Jquery UI require('jquery-ui/ui/core.js'); require('jquery-ui/ui/position.js'); require('jquery-ui/ui/widgets/datepicker.js'); require('jquery-ui/ui/widgets/dialog.js'); require('jquery-ui/ui/widgets/autocomplete.js'); require('jquery-ui/ui/widgets/sortable.js'); require('./misc/datepicker-defaults'); require('jquery-ui/ui/i18n/datepicker-en-GB.js'); require('jquery-ui/ui/i18n/datepicker-de.js'); require('jquery-ui/ui/widgets/dialog.js'); require('expose-loader?moment!moment'); require('moment/locale/en-gb.js'); require('moment/locale/de.js'); require('jquery.caret'); require('at.js/jquery.atwho.min.js'); require('moment-timezone/builds/moment-timezone-with-data.min.js'); require('select2/select2.min.js'); require('ui-select/dist/select.min.js'); require('ng-dialog/js/ngDialog.min.js'); require('expose-loader?URI!URIjs'); require('URIjs/src/URITemplate');