//-- 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'); // Globally exposed dependencies require('expose-loader?jQuery!jquery'); require('expose-loader?angular!angular'); require('expose-loader?dragula!dragula'); require('expose-loader?moment!moment'); require('expose-loader?mousetrap!mousetrap'); require('expose-loader?URI!URIjs'); require('jquery-ujs'); require('angular-dragula'); require('jquery-ui/ui/core.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/themes/base/core.css'); require('jquery-ui/themes/base/datepicker.css'); // TODO: move require to backlogs plugin require('jquery-ui/ui/widgets/dialog.js'); require('jquery-ui/themes/base/dialog.css'); require('moment/locale/en-gb.js'); require('moment/locale/de.js'); require('jquery.caret'); require('at.js/jquery.atwho.min.js'); require('at.js/jquery.atwho.min.css'); require('moment-timezone/builds/moment-timezone-with-data.min.js'); require('select2/select2.min.js'); require('select2/select2.css'); require('angular-sanitize'); require('ui-select/dist/select.min.js'); require('ui-select/dist/select.min.css'); require('ng-dialog/js/ngDialog.min.js'); require('ng-dialog/css/ngDialog.min.css'); require('nouislider/distribute/nouislider.min.css'); require('URIjs/src/URITemplate');