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:
authorLuke Bennett <lukeeeebennettplus@gmail.com>2018-03-27 20:17:36 +0300
committerLuke Bennett <lukeeeebennettplus@gmail.com>2018-03-27 20:17:36 +0300
commit4950f3a5eef331f33df8fafd7ada5de5505a43e5 (patch)
tree58a527de73b87653b0c641ec0a01b6feccc8aafe /app/assets/javascripts/feature_highlight
parent77ee14280e48987274ea9e6ce7ed8181de7f37a3 (diff)
Review changes
Diffstat (limited to 'app/assets/javascripts/feature_highlight')
-rw-r--r--app/assets/javascripts/feature_highlight/feature_highlight.js6
-rw-r--r--app/assets/javascripts/feature_highlight/feature_highlight_helper.js4
2 files changed, 5 insertions, 5 deletions
diff --git a/app/assets/javascripts/feature_highlight/feature_highlight.js b/app/assets/javascripts/feature_highlight/feature_highlight.js
index 983f4eaf4c7..0d385ab0aac 100644
--- a/app/assets/javascripts/feature_highlight/feature_highlight.js
+++ b/app/assets/javascripts/feature_highlight/feature_highlight.js
@@ -1,11 +1,13 @@
import $ from 'jquery';
import {
getSelector,
- togglePopover,
inserted,
+} from './feature_highlight_helper';
+import {
+ togglePopover,
mouseenter,
debouncedMouseleave,
-} from './feature_highlight_helper';
+} from '../shared/popover';
export function setupFeatureHighlightPopover(id, debounceTimeout = 300) {
const $selector = $(getSelector(id));
diff --git a/app/assets/javascripts/feature_highlight/feature_highlight_helper.js b/app/assets/javascripts/feature_highlight/feature_highlight_helper.js
index bcc7cefc2f2..d5b97ebb264 100644
--- a/app/assets/javascripts/feature_highlight/feature_highlight_helper.js
+++ b/app/assets/javascripts/feature_highlight/feature_highlight_helper.js
@@ -3,7 +3,7 @@ import axios from '../lib/utils/axios_utils';
import { __ } from '../locale';
import Flash from '../flash';
import LazyLoader from '../lazy_loader';
-import { togglePopover, mouseenter, debouncedMouseleave } from '../shared/popover';
+import { togglePopover } from '../shared/popover';
export const getSelector = highlightId => `.js-feature-highlight[data-highlight=${highlightId}]`;
@@ -31,5 +31,3 @@ export function inserted() {
LazyLoader.loadImage(lazyImg);
}
}
-
-export { togglePopover, mouseenter, debouncedMouseleave };