From 67bde42d7a6b8322027c32fe53f794b437a86f6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pluchino?= Date: Sat, 9 Jun 2018 11:58:18 +0200 Subject: [PATCH] Add require imports --- js/sidebar.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/js/sidebar.js b/js/sidebar.js index 694bf29..dc58688 100644 --- a/js/sidebar.js +++ b/js/sidebar.js @@ -9,6 +9,14 @@ import pluginify from '@fxp/jquery-pluginify'; import BasePlugin from '@fxp/jquery-pluginify/js/plugin'; +import $ from 'jquery'; +import {changeTransition, isOverMinWidth} from "./utils/css"; +import {initWithLocalStorage, setLocalStorage} from "./utils/storage"; +import {onResizeWindow} from "./utils/window"; +import {prefixedEvent, triggerEvent} from "./utils/events"; +import {keyboardAction, closeExternal, closeOnSelect, cleanCloseDelay} from "./utils/actions"; +import {destroyHammer, initHammer, onEndTransition} from "./utils/touch"; +import {addClassToggles, removeClassToggles, doDetachToggle} from "./utils/toggle"; import { getNativeScrollWidth, mobileCheck, @@ -17,13 +25,6 @@ import { lockBodyScroll, unlockBodyScroll } from "./utils/scrollbar"; -import {changeTransition, isOverMinWidth} from "./utils/css"; -import {initWithLocalStorage, setLocalStorage} from "./utils/storage"; -import {onResizeWindow} from "./utils/window"; -import {prefixedEvent, triggerEvent} from "./utils/events"; -import {keyboardAction, closeExternal, closeOnSelect, cleanCloseDelay} from "./utils/actions"; -import {destroyHammer, initHammer, onEndTransition} from "./utils/touch"; -import {addClassToggles, removeClassToggles, doDetachToggle} from "./utils/toggle"; /** * Left position.