Remove unused angular-feature-flags

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/3232/head
Alex Coles 10 years ago
parent 79f8ec9aee
commit c65d8ac4e8
  1. 6
      frontend/app/openproject-app.js
  2. 1
      frontend/app/work_packages/directives/index.js
  3. 1
      frontend/webpack.config.js
  4. 8
      public/javascripts/feature-flags.json

@ -48,7 +48,6 @@ require('angular-ui-router');
require('angular-ui-date');
require('angular-truncate');
require('angular-feature-flags');
require('angular-busy/dist/angular-busy');
require('angular-busy/dist/angular-busy.css');
@ -176,7 +175,6 @@ var openprojectApp = angular.module('openproject', [
'ngAria',
'ngSanitize',
'truncate',
'feature-flags',
'openproject.layout',
'cgBusy',
'openproject.api',
@ -221,17 +219,15 @@ openprojectApp
'$http',
'$rootScope',
'$window',
'featureFlags',
'TimezoneService',
'KeyboardShortcutService',
function($http, $rootScope, $window, flags, TimezoneService, KeyboardShortcutService) {
function($http, $rootScope, $window, TimezoneService, KeyboardShortcutService) {
$http.defaults.headers.common.Accept = 'application/json';
$rootScope.showNavigation =
$window.sessionStorage.getItem('openproject:navigation-toggle') !==
'collapsed';
flags.set($http.get('/javascripts/feature-flags.json'));
TimezoneService.setupLocale();
KeyboardShortcutService.activate();

@ -91,7 +91,6 @@ angular.module('openproject.workPackages.directives')
'WorkPackagesTableService',
'$window',
'$timeout',
'featureFlags',
'PathHelper',
require('./work-packages-table-directive')
]);

@ -118,7 +118,6 @@ module.exports = {
'angular-ui-date': 'angular-ui-date/src/date',
'angular-truncate': 'angular-truncate/src/truncate',
'angular-feature-flags': 'angular-feature-flags/dist/featureFlags.js',
'angular-context-menu': 'angular-context-menu/dist/angular-context-menu.js',
'mousetrap': 'mousetrap/mousetrap.js',
'hyperagent': 'hyperagent/dist/hyperagent',

@ -1,8 +0,0 @@
[
{
"key": "detailsView",
"active": true,
"name": "Details View",
"description": "Displays details for individual work packages."
}
]
Loading…
Cancel
Save