diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2017-08-06 17:42:25 +0300 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2017-08-06 17:42:25 +0300 |
commit | 40347b7807c604424775b13949dd7bd159221570 (patch) | |
tree | bc84a2980e50e998cdff7f3c1f47dc963668e60d /app/assets/javascripts/dispatcher.js | |
parent | 417ec302822560fc2b7ba1acf935c8fb7b8192db (diff) |
Change name to user feature helper.
Diffstat (limited to 'app/assets/javascripts/dispatcher.js')
-rw-r--r-- | app/assets/javascripts/dispatcher.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index eedcce877ba..8943741df01 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -76,7 +76,7 @@ import initNotes from './init_notes'; import initLegacyFilters from './init_legacy_filters'; import initIssuableSidebar from './init_issuable_sidebar'; import GpgBadges from './gpg_badges'; -import FeatureHelper from './helpers/feature_helper'; +import UserFeatureHelper from './helpers/user_feature_helper'; (function() { var Dispatcher; @@ -413,7 +413,7 @@ import FeatureHelper from './helpers/feature_helper'; case 'projects:tree:show': shortcut_handler = new ShortcutsNavigation(); - if (FeatureHelper.isNewRepo()) break; + if (UserFeatureHelper.isNewRepo()) break; new TreeView(); new BlobViewer(); @@ -433,7 +433,7 @@ import FeatureHelper from './helpers/feature_helper'; shortcut_handler = true; break; case 'projects:blob:show': - if (FeatureHelper.isNewRepo()) break; + if (UserFeatureHelper.isNewRepo()) break; new BlobViewer(); initBlob(); break; |