Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jschatz@gitlab.com>2018-01-23 01:26:03 +0300
committerJacob Schatz <jschatz@gitlab.com>2018-01-23 01:26:03 +0300
commit9c5ba799966bab0a26d49e8a777359d3e85a7dcc (patch)
tree45296080448687fce3ec4b06e13afb7957cf80c8
parent10a246b64a5b369f0addda99dd9c0ecfa9749e0f (diff)
parent9e580fb961dbb43079a0991d7626e9f4d70e16b8 (diff)
Merge branch 'fix-callback-alignments' into 'master'
Fix callback alignments See merge request gitlab-org/gitlab-ce!16596
-rw-r--r--app/assets/javascripts/dispatcher.js20
1 files changed, 15 insertions, 5 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js
index a8855df502b..96e5c8c890c 100644
--- a/app/assets/javascripts/dispatcher.js
+++ b/app/assets/javascripts/dispatcher.js
@@ -122,7 +122,9 @@ import SearchAutocomplete from './search_autocomplete';
.catch(fail);
break;
case 'dashboard:todos:index':
- import('./pages/dashboard/todos/index').then(callDefault).catch(fail);
+ import('./pages/dashboard/todos/index')
+ .then(callDefault)
+ .catch(fail);
break;
case 'admin:jobs:index':
import('./pages/admin/jobs/index')
@@ -482,13 +484,19 @@ import SearchAutocomplete from './search_autocomplete';
break;
case 'ci:lints:create':
case 'ci:lints:show':
- import('./pages/ci/lints').then(m => m.default()).catch(fail);
+ import('./pages/ci/lints')
+ .then(callDefault)
+ .catch(fail);
break;
case 'users:show':
- import('./pages/users/show').then(callDefault).catch(fail);
+ import('./pages/users/show')
+ .then(callDefault)
+ .catch(fail);
break;
case 'admin:conversational_development_index:show':
- import('./pages/admin/conversational_development_index/show').then(m => m.default()).catch(fail);
+ import('./pages/admin/conversational_development_index/show')
+ .then(callDefault)
+ .catch(fail);
break;
case 'snippets:show':
import('./pages/snippets/show')
@@ -496,7 +504,9 @@ import SearchAutocomplete from './search_autocomplete';
.catch(fail);
break;
case 'import:fogbugz:new_user_map':
- import('./pages/import/fogbugz/new_user_map').then(m => m.default()).catch(fail);
+ import('./pages/import/fogbugz/new_user_map')
+ .then(callDefault)
+ .catch(fail);
break;
case 'profiles:personal_access_tokens:index':
import('./pages/profiles/personal_access_tokens')