Fix browser asc

This commit is contained in:
dcodeIO 2018-04-07 16:37:39 +02:00
parent 8770f7b548
commit f1b00c90be
3 changed files with 3 additions and 3 deletions

View File

@ -205,8 +205,8 @@ exports.main = function main(argv, options, callback) {
});
});
}
const customLibDirs = [];
if (args.lib) {
const customLibDirs = [];
if (typeof args.lib === "string") args.lib = args.lib.split(",");
Array.prototype.push.apply(customLibDirs, args.lib.map(lib => lib.trim()));
for (let i = 0, k = customLibDirs.length; i < k; ++i) { // custom

2
dist/asc.js vendored

File diff suppressed because one or more lines are too long

2
dist/asc.js.map vendored

File diff suppressed because one or more lines are too long