Loose: Remove own tabSize initialization in favor of defaultOptions.

This commit is contained in:
Ingvar Stepanyan 2014-10-27 01:00:48 +02:00 committed by Marijn Haverbeke
parent 9cdc6809ce
commit c6b6ef389e

View File

@ -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;