Loose: Remove own tabSize initialization in favor of defaultOptions.
This commit is contained in:
parent
9cdc6809ce
commit
c6b6ef389e
@ -46,8 +46,6 @@
|
||||
if (!opts) opts = {};
|
||||
input = String(inpt);
|
||||
if (/^#!.*/.test(input)) input = "//" + input.slice(2);
|
||||
|
||||
if (!opts.tabSize) opts.tabSize = 4;
|
||||
fetchToken = acorn.tokenize(input, opts);
|
||||
options = fetchToken.options;
|
||||
sourceFile = options.sourceFile || null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user