summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkushalpandya <kushal@gitlab.com>2017-07-20 17:39:00 +0530
committerkushalpandya <kushal@gitlab.com>2017-07-20 17:39:00 +0530
commit80314ea876cee6cad2844754dd76b1319613d033 (patch)
tree645db0a31944d025a70c591080789881604d224f
parent4b45a1b322addc6622044830c31c387e899266a4 (diff)
downloadgitlab-ce-80314ea876cee6cad2844754dd76b1319613d033.tar.gz
Move module initialization to bundle root
-rw-r--r--app/assets/javascripts/dispatcher.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js
index af468c2d773..7c152ab3ef5 100644
--- a/app/assets/javascripts/dispatcher.js
+++ b/app/assets/javascripts/dispatcher.js
@@ -40,8 +40,6 @@ import BlobLinePermalinkUpdater from './blob/blob_line_permalink_updater';
import Landing from './landing';
import BlobForkSuggestion from './blob/blob_fork_suggestion';
import UserCallout from './user_callout';
-import { ProtectedBranchCreate, ProtectedBranchEditList } from './protected_branches';
-import { ProtectedTagCreate, ProtectedTagEditList } from './protected_tags';
import ShortcutsWiki from './shortcuts_wiki';
import Pipelines from './pipelines';
import BlobViewer from './blob/viewer/index';
@@ -391,12 +389,6 @@ import PerformanceBar from './performance_bar';
new Search();
break;
case 'projects:settings:repository:show':
- // Initialize Protected Branch Settings
- new ProtectedBranchCreate();
- new ProtectedBranchEditList();
- // Initialize Protected Tag Settings
- new ProtectedTagCreate();
- new ProtectedTagEditList();
// Initialize expandable settings panels
initSettingsPanels();
break;