Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Luc Bourdot
codimd
Commits
aff206ca
Commit
aff206ca
authored
Dec 24, 2016
by
Wu Cheng-Han
Browse files
Fix js-url not import correctly
parent
8cf849e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
public/js/index.js
View file @
aff206ca
...
...
@@ -11,7 +11,6 @@ require('highlight.js/styles/github-gist.css');
var
toMarkdown
=
require
(
'
to-markdown
'
);
var
saveAs
=
require
(
'
file-saver
'
).
saveAs
;
var
url
=
require
(
'
js-url
'
);
var
randomColor
=
require
(
'
randomcolor
'
);
var
_
=
require
(
"
lodash
"
);
...
...
webpackBaseConfig.js
View file @
aff206ca
...
...
@@ -172,12 +172,12 @@ module.exports = {
"
script!listPagnation
"
,
"
expose?select2!select2
"
,
"
expose?moment!moment
"
,
"
js-url
"
,
"
script!
js-url
"
,
path
.
join
(
__dirname
,
'
public/js/cover.js
'
)
],
index
:
[
"
script!jquery-ui-resizable
"
,
"
js-url
"
,
"
script!
js-url
"
,
"
expose?filterXSS!xss
"
,
"
script!Idle.Js
"
,
"
expose?LZString!lz-string
"
,
...
...
@@ -227,7 +227,7 @@ module.exports = {
"
expose?jsyaml!js-yaml
"
,
"
script!mermaid
"
,
"
expose?moment!moment
"
,
"
js-url
"
,
"
script!
js-url
"
,
"
script!handlebars
"
,
"
expose?hljs!highlight.js
"
,
"
expose?emojify!emojify.js
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment