From c6b6ef389ea42dfaabe082d22f32fab49346fdca Mon Sep 17 00:00:00 2001 From: Ingvar Stepanyan Date: Mon, 27 Oct 2014 01:00:48 +0200 Subject: [PATCH] Loose: Remove own tabSize initialization in favor of defaultOptions. --- acorn_loose.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/acorn_loose.js b/acorn_loose.js index c7243986f7..0934683b4f 100644 --- a/acorn_loose.js +++ b/acorn_loose.js @@ -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;