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 saveAs = require('file-saver').saveAs;
var url = require('js-url');
var randomColor = require('randomcolor');
var _ = require("lodash");

View file

@ -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",