From 485e1a78f6efe8ca1174be06420e625e21e4bc8c Mon Sep 17 00:00:00 2001 From: NGPixel Date: Sun, 11 Jun 2017 17:55:06 -0400 Subject: [PATCH] fix: removed jquery explicit includes --- client/js/app.js | 2 +- client/js/components/editor.component.js | 2 +- client/js/components/search.vue | 2 -- client/js/login.js | 2 +- client/js/pages/content-view.component.js | 3 ++- client/scss/app.scss | 2 +- .../scss/components/{_editor.scss => editor.scss} | 15 +++++++++++++++ package.json | 2 +- server/views/pages/edit.pug | 8 ++++++-- yarn.lock | 6 +++--- 10 files changed, 31 insertions(+), 13 deletions(-) rename client/scss/components/{_editor.scss => editor.scss} (96%) diff --git a/client/js/app.js b/client/js/app.js index c4f07b01..7e0ab444 100644 --- a/client/js/app.js +++ b/client/js/app.js @@ -1,8 +1,8 @@ 'use strict' +/* global $ */ /* eslint-disable no-new */ -import $ from 'jquery' import Vue from 'vue' import VueResource from 'vue-resource' import VueClipboards from 'vue-clipboards' diff --git a/client/js/components/editor.component.js b/client/js/components/editor.component.js index ba43e928..43658d8f 100644 --- a/client/js/components/editor.component.js +++ b/client/js/components/editor.component.js @@ -1,6 +1,6 @@ 'use strict' -import $ from 'jquery' +/* global $ */ let mde diff --git a/client/js/components/search.vue b/client/js/components/search.vue index 38f54a47..eb3d8810 100644 --- a/client/js/components/search.vue +++ b/client/js/components/search.vue @@ -18,8 +18,6 @@