mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-10 05:21:27 +00:00
Fix browser asc
This commit is contained in:
parent
8770f7b548
commit
f1b00c90be
@ -205,8 +205,8 @@ exports.main = function main(argv, options, callback) {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (args.lib) {
|
|
||||||
const customLibDirs = [];
|
const customLibDirs = [];
|
||||||
|
if (args.lib) {
|
||||||
if (typeof args.lib === "string") args.lib = args.lib.split(",");
|
if (typeof args.lib === "string") args.lib = args.lib.split(",");
|
||||||
Array.prototype.push.apply(customLibDirs, args.lib.map(lib => lib.trim()));
|
Array.prototype.push.apply(customLibDirs, args.lib.map(lib => lib.trim()));
|
||||||
for (let i = 0, k = customLibDirs.length; i < k; ++i) { // custom
|
for (let i = 0, k = customLibDirs.length; i < k; ++i) { // custom
|
||||||
|
2
dist/asc.js
vendored
2
dist/asc.js
vendored
File diff suppressed because one or more lines are too long
2
dist/asc.js.map
vendored
2
dist/asc.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user