fix: removed jquery explicit includes
This commit is contained in:
+1
-1
@@ -1,8 +1,8 @@
|
|||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
|
/* global $ */
|
||||||
/* eslint-disable no-new */
|
/* eslint-disable no-new */
|
||||||
|
|
||||||
import $ from 'jquery'
|
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import VueResource from 'vue-resource'
|
import VueResource from 'vue-resource'
|
||||||
import VueClipboards from 'vue-clipboards'
|
import VueClipboards from 'vue-clipboards'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
import $ from 'jquery'
|
/* global $ */
|
||||||
|
|
||||||
let mde
|
let mde
|
||||||
|
|
||||||
|
|||||||
@@ -18,8 +18,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import * as $ from 'jquery'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
import $ from 'jquery'
|
/* global $ */
|
||||||
|
|
||||||
$(() => {
|
$(() => {
|
||||||
$('#login-user').focus()
|
$('#login-user').focus()
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
|
/* global $ */
|
||||||
|
|
||||||
import MathJax from 'mathjax'
|
import MathJax from 'mathjax'
|
||||||
import $ from 'jquery'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'content-view',
|
name: 'content-view',
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
@import 'node_modules/highlight.js/styles/atom-one-dark';
|
@import 'node_modules/highlight.js/styles/atom-one-dark';
|
||||||
@import 'node_modules/simplemde/dist/simplemde.min';
|
@import 'node_modules/simplemde/dist/simplemde.min';
|
||||||
|
|
||||||
@import 'components/_editor';
|
@import 'components/editor';
|
||||||
|
|
||||||
@import 'layout/_header';
|
@import 'layout/_header';
|
||||||
@import 'layout/_loader';
|
@import 'layout/_loader';
|
||||||
|
|||||||
@@ -367,3 +367,18 @@ #source-display, #codeblock-editor {
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.editor-sd {
|
||||||
|
max-width: 250px;
|
||||||
|
flex: 0 1 250px;
|
||||||
|
background-color: mc('blue-grey', '100');
|
||||||
|
|
||||||
|
&-item {
|
||||||
|
background-color: mc('blue-grey', '50');
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
|
margin-top: 60px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
+1
-1
@@ -139,7 +139,7 @@
|
|||||||
"eslint-plugin-node": "^5.0.0",
|
"eslint-plugin-node": "^5.0.0",
|
||||||
"eslint-plugin-promise": "^3.5.0",
|
"eslint-plugin-promise": "^3.5.0",
|
||||||
"eslint-plugin-standard": "^3.0.1",
|
"eslint-plugin-standard": "^3.0.1",
|
||||||
"fuse-box": "2.1.0-beta.10",
|
"fuse-box": "^2.0.2",
|
||||||
"i18next-xhr-backend": "^1.4.2",
|
"i18next-xhr-backend": "^1.4.2",
|
||||||
"jest": "^20.0.4",
|
"jest": "^20.0.4",
|
||||||
"jquery": "^3.2.1",
|
"jquery": "^3.2.1",
|
||||||
|
|||||||
@@ -15,8 +15,12 @@ block rootNavRight
|
|||||||
|
|
||||||
block content
|
block content
|
||||||
editor(inline-template, current-path=pageData.meta.path, v-cloak)
|
editor(inline-template, current-path=pageData.meta.path, v-cloak)
|
||||||
.editor-area
|
.columns.is-gapless
|
||||||
textarea(ref='editorTextArea', v-pre)= pageData.markdown
|
.column.editor-area
|
||||||
|
textarea(ref='editorTextArea', v-pre)= pageData.markdown
|
||||||
|
.column.editor-sd
|
||||||
|
.editor-sd-item Images
|
||||||
|
.editor-sd-item Files
|
||||||
|
|
||||||
editor-file
|
editor-file
|
||||||
editor-video
|
editor-video
|
||||||
|
|||||||
Reference in New Issue
Block a user