Commit c43ddc29 authored by Luke Bennett's avatar Luke Bennett

Resolve dispatcher.js

parent 2e8d3188
...@@ -115,7 +115,6 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line ...@@ -115,7 +115,6 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line
}); });
}); });
<<<<<<< HEAD
function initBlobEE() { function initBlobEE() {
const dataEl = document.getElementById('js-file-lock'); const dataEl = document.getElementById('js-file-lock');
...@@ -129,8 +128,6 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line ...@@ -129,8 +128,6 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line
} }
} }
=======
>>>>>>> upstream/master
const filteredSearchEnabled = gl.FilteredSearchManager && document.querySelector('.filtered-search'); const filteredSearchEnabled = gl.FilteredSearchManager && document.querySelector('.filtered-search');
switch (page) { switch (page) {
...@@ -484,20 +481,14 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line ...@@ -484,20 +481,14 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line
.then(callDefault) .then(callDefault)
.catch(fail); .catch(fail);
shortcut_handler = true; shortcut_handler = true;
<<<<<<< HEAD
initBlobEE(); initBlobEE();
=======
>>>>>>> upstream/master
break; break;
case 'projects:blame:show': case 'projects:blame:show':
import('./pages/projects/blame/show') import('./pages/projects/blame/show')
.then(callDefault) .then(callDefault)
.catch(fail); .catch(fail);
shortcut_handler = true; shortcut_handler = true;
<<<<<<< HEAD
initBlobEE(); initBlobEE();
=======
>>>>>>> upstream/master
break; break;
case 'groups:labels:new': case 'groups:labels:new':
case 'groups:labels:edit': case 'groups:labels:edit':
...@@ -611,14 +602,11 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line ...@@ -611,14 +602,11 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line
.then(callDefault) .then(callDefault)
.catch(fail); .catch(fail);
break; break;
<<<<<<< HEAD
case 'profiles:personal_access_tokens:index': case 'profiles:personal_access_tokens:index':
import('./pages/profiles/personal_access_tokens') import('./pages/profiles/personal_access_tokens')
.then(callDefault) .then(callDefault)
.catch(fail); .catch(fail);
break; break;
=======
>>>>>>> upstream/master
case 'projects:clusters:show': case 'projects:clusters:show':
import(/* webpackChunkName: "clusters" */ './clusters/clusters_bundle') import(/* webpackChunkName: "clusters" */ './clusters/clusters_bundle')
.then(cluster => new cluster.default()) // eslint-disable-line new-cap .then(cluster => new cluster.default()) // eslint-disable-line new-cap
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment