Move ui-select and its dependencies to global.js

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/2702/head
Alex Coles 10 years ago
parent e4c2b143ed
commit 657fd5b484
  1. 6
      frontend/app/global.js
  2. 6
      frontend/app/openproject-app.js

@ -61,3 +61,9 @@ require('Caret.js/src/jquery.caret.js');
require('select2/select2.js');
require('select2/select2.css');
require('angular');
require('angular-sanitize');
require('ui-select/dist/select');
require('ui-select/dist/select.css');

@ -36,8 +36,6 @@ I18n.addTranslations = function(locale, translations) {
I18n.translations[locale] = _.merge(I18n.translations[locale], translations);
};
var angular = require('angular');
require('angular-animate');
require('angular-aria');
require('angular-modal');
@ -52,16 +50,12 @@ require('angular-ui-select2');
require('angular-ui-select2-sortable');
require('angular-ui-date');
require('angular-sanitize');
require('angular-truncate');
require('angular-feature-flags');
require('angular-busy/dist/angular-busy');
require('angular-busy/dist/angular-busy.css');
require('ui-select/dist/select');
require('ui-select/dist/select.css');
require('angular-context-menu');
require('mousetrap');

Loading…
Cancel
Save