Fix more js errors

This commit is contained in:
Yukai Huang 2016-10-09 17:55:07 +08:00
parent 3e2905be13
commit 28858288fb
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,6 @@
var hljs = require('highlight.js'); var hljs = require('highlight.js');
var PDFObject = require('pdfobject'); var PDFObject = require('pdfobject');
var S = require('string');
//auto update last change //auto update last change
var createtime = null; var createtime = null;

View file

@ -15,7 +15,8 @@ module.exports = {
emojify: "emojify.js", emojify: "emojify.js",
io: "socket.io-client", io: "socket.io-client",
LZString: "lz-string", LZString: "lz-string",
key: "keymaster" key: "keymaster",
Viz: "viz.js"
}), }),
new webpack.DefinePlugin({ new webpack.DefinePlugin({
"require.specified": "require.resolve" "require.specified": "require.resolve"