[Pkg-javascript-commits] [node-acorn-jsx] 332/484: Loose: Remove own tabSize initialization in favor of defaultOptions.

Bastien Roucariès rouca at moszumanska.debian.org
Sat Aug 19 14:20:51 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-acorn-jsx.

commit c6b6ef389ea42dfaabe082d22f32fab49346fdca
Author: Ingvar Stepanyan <me at rreverser.com>
Date:   Mon Oct 27 01:00:48 2014 +0200

    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 c724398..0934683 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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-acorn-jsx.git



More information about the Pkg-javascript-commits mailing list