From 032dc910c485daccdd04f53e43a51d25e8ccfa13 Mon Sep 17 00:00:00 2001 From: Vadim Kiryukhin Date: Sun, 26 Feb 2012 15:38:00 -0800 Subject: [PATCH] added tabulation to separate first-level and second-level keywords --- vkbeautify.js | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/vkbeautify.js b/vkbeautify.js index 086f827..23d615c 100644 --- a/vkbeautify.js +++ b/vkbeautify.js @@ -35,14 +35,13 @@ function vkbeautify(){ this.shift = ['\n']; // array of shifts - //var step = ' ', // 2 spaces - this.step = ' ', // 2 spaces - maxdeep = 100, // nesting level + this.step = ' '; // 4 spaces + //this.tab = this.step + this.step; + var maxdeep = 100, // nesting level ix = 0; // initialize array with shifts // for(ix=0;ix