Commit f97e66b4 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'jivanvl-replace-underscore-lodash-shared' into 'master'

Replace underscore/lodash in shared folder

Closes #196693

See merge request gitlab-org/gitlab!26521
parents 248566e6 4737d611
import $ from 'jquery';
import _ from 'underscore';
import { debounce } from 'lodash';
export function togglePopover(show) {
const isAlreadyShown = this.hasClass('js-popover-show');
......@@ -29,5 +29,5 @@ export function mouseenter() {
}
export function debouncedMouseleave(debounceTimeout = 300) {
return _.debounce(mouseleave, debounceTimeout);
return debounce(mouseleave, debounceTimeout);
}
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