mirror of https://github.com/status-im/codimd.git
chore: upgrade spin.js to 4.0.0
Signed-off-by: BoHong Li <raccoon@hackmd.io>
This commit is contained in:
parent
bccf4583a7
commit
ab1a3b663e
|
@ -130,7 +130,7 @@
|
||||||
"shortid": "~2.2.8",
|
"shortid": "~2.2.8",
|
||||||
"socket.io": "~2.1.1",
|
"socket.io": "~2.1.1",
|
||||||
"socket.io-client": "~2.1.1",
|
"socket.io-client": "~2.1.1",
|
||||||
"spin.js": "~2.3.2",
|
"spin.js": "~4.0.0",
|
||||||
"sqlite3": "~4.0.1",
|
"sqlite3": "~4.0.1",
|
||||||
"store": "~2.0.12",
|
"store": "~2.0.12",
|
||||||
"tedious": "~6.1.0",
|
"tedious": "~6.1.0",
|
||||||
|
|
|
@ -10,7 +10,6 @@ module.exports = {
|
||||||
"moment": false,
|
"moment": false,
|
||||||
"editor": false,
|
"editor": false,
|
||||||
"ui": false,
|
"ui": false,
|
||||||
"Spinner": false,
|
|
||||||
"modeType": false,
|
"modeType": false,
|
||||||
"serverurl": false,
|
"serverurl": false,
|
||||||
"key": false,
|
"key": false,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* eslint-env browser, jquery */
|
/* eslint-env browser, jquery */
|
||||||
/* global CodeMirror, Cookies, moment, Spinner, serverurl,
|
/* global CodeMirror, Cookies, moment, serverurl,
|
||||||
key, Dropbox, ot, hex2rgb, Visibility, inlineAttachment */
|
key, Dropbox, ot, hex2rgb, Visibility, inlineAttachment */
|
||||||
|
|
||||||
import TurndownService from 'turndown'
|
import TurndownService from 'turndown'
|
||||||
|
@ -17,6 +17,8 @@ import List from 'list.js'
|
||||||
|
|
||||||
import Idle from '@hackmd/idle-js'
|
import Idle from '@hackmd/idle-js'
|
||||||
|
|
||||||
|
import { Spinner } from 'spin.js';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
checkLoginStateChanged,
|
checkLoginStateChanged,
|
||||||
setloginStateChangeEvent
|
setloginStateChangeEvent
|
||||||
|
@ -83,6 +85,7 @@ require('../css/index.css')
|
||||||
require('../css/extra.css')
|
require('../css/extra.css')
|
||||||
require('../css/slide-preview.css')
|
require('../css/slide-preview.css')
|
||||||
require('../css/site.css')
|
require('../css/site.css')
|
||||||
|
require('spin.js/spin.css')
|
||||||
|
|
||||||
require('highlight.js/styles/github-gist.css')
|
require('highlight.js/styles/github-gist.css')
|
||||||
|
|
||||||
|
@ -334,9 +337,7 @@ var opts = {
|
||||||
left: '50%' // Left position relative to parent
|
left: '50%' // Left position relative to parent
|
||||||
}
|
}
|
||||||
|
|
||||||
/* eslint-disable no-unused-vars */
|
new Spinner(opts).spin(ui.spinner[0])
|
||||||
var spinner = new Spinner(opts).spin(ui.spinner[0])
|
|
||||||
/* eslint-enable no-unused-vars */
|
|
||||||
|
|
||||||
// idle
|
// idle
|
||||||
var idle = new Idle({
|
var idle = new Idle({
|
||||||
|
|
|
@ -238,7 +238,6 @@ module.exports = {
|
||||||
],
|
],
|
||||||
'index-pack': [
|
'index-pack': [
|
||||||
'babel-polyfill',
|
'babel-polyfill',
|
||||||
'expose-loader?Spinner!spin.js',
|
|
||||||
'script-loader!jquery-ui-resizable',
|
'script-loader!jquery-ui-resizable',
|
||||||
'bootstrap-validator',
|
'bootstrap-validator',
|
||||||
'expose-loader?jsyaml!js-yaml',
|
'expose-loader?jsyaml!js-yaml',
|
||||||
|
|
|
@ -11570,10 +11570,10 @@ spdx-license-ids@^3.0.0:
|
||||||
resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.4.tgz#75ecd1a88de8c184ef015eafb51b5b48bfd11bb1"
|
resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.4.tgz#75ecd1a88de8c184ef015eafb51b5b48bfd11bb1"
|
||||||
integrity sha512-7j8LYJLeY/Yb6ACbQ7F76qy5jHkp0U6jgBfJsk97bwWlVUnUWsAgpyaCvo17h0/RQGnQ036tVDomiwoI4pDkQA==
|
integrity sha512-7j8LYJLeY/Yb6ACbQ7F76qy5jHkp0U6jgBfJsk97bwWlVUnUWsAgpyaCvo17h0/RQGnQ036tVDomiwoI4pDkQA==
|
||||||
|
|
||||||
spin.js@~2.3.2:
|
spin.js@~4.0.0:
|
||||||
version "2.3.2"
|
version "4.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/spin.js/-/spin.js-2.3.2.tgz#6caa56d520673450fd5cfbc6971e6d0772c37a1a"
|
resolved "https://registry.yarnpkg.com/spin.js/-/spin.js-4.0.0.tgz#d6643232cc20b8d2c1b3ab6f0661178145b4dde8"
|
||||||
integrity sha1-bKpW1SBnNFD9XPvGlx5tB3LDeho=
|
integrity sha512-uJN9Q4/I4I7PRZAp1c5reoY89thAfvFB5thbJncAwkPjPhqCfUrCooJc8GMN8q8WKFGIMy+JMf477RW7deCInA==
|
||||||
|
|
||||||
split-string@^3.0.1, split-string@^3.0.2:
|
split-string@^3.0.1, split-string@^3.0.2:
|
||||||
version "3.1.0"
|
version "3.1.0"
|
||||||
|
|
Loading…
Reference in New Issue