Fix js-url not import correctly

This commit is contained in:
Wu Cheng-Han 2016-12-24 17:02:03 +08:00
parent 8cf849e825
commit aff206ca95
2 changed files with 3 additions and 4 deletions

View file

@ -11,7 +11,6 @@ require('highlight.js/styles/github-gist.css');
var toMarkdown = require('to-markdown'); var toMarkdown = require('to-markdown');
var saveAs = require('file-saver').saveAs; var saveAs = require('file-saver').saveAs;
var url = require('js-url');
var randomColor = require('randomcolor'); var randomColor = require('randomcolor');
var _ = require("lodash"); var _ = require("lodash");

View file

@ -172,12 +172,12 @@ module.exports = {
"script!listPagnation", "script!listPagnation",
"expose?select2!select2", "expose?select2!select2",
"expose?moment!moment", "expose?moment!moment",
"js-url", "script!js-url",
path.join(__dirname, 'public/js/cover.js') path.join(__dirname, 'public/js/cover.js')
], ],
index: [ index: [
"script!jquery-ui-resizable", "script!jquery-ui-resizable",
"js-url", "script!js-url",
"expose?filterXSS!xss", "expose?filterXSS!xss",
"script!Idle.Js", "script!Idle.Js",
"expose?LZString!lz-string", "expose?LZString!lz-string",
@ -227,7 +227,7 @@ module.exports = {
"expose?jsyaml!js-yaml", "expose?jsyaml!js-yaml",
"script!mermaid", "script!mermaid",
"expose?moment!moment", "expose?moment!moment",
"js-url", "script!js-url",
"script!handlebars", "script!handlebars",
"expose?hljs!highlight.js", "expose?hljs!highlight.js",
"expose?emojify!emojify.js", "expose?emojify!emojify.js",