From 648ee61ae84216d0236e0dbc211addc13b2cfa3a Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 11:52:06 -0700 Subject: Expand tabs --- js/lib/rdge/materials/material-parser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/lib/rdge/materials/material-parser.js') diff --git a/js/lib/rdge/materials/material-parser.js b/js/lib/rdge/materials/material-parser.js index 6bf23b6e..6d9433e9 100755 --- a/js/lib/rdge/materials/material-parser.js +++ b/js/lib/rdge/materials/material-parser.js @@ -66,9 +66,9 @@ var MaterialParser = function MaterialParser(theStr) { if (!this._strBuffer) return; // find the limits - var index = this._strBuffer.search(/\S/); // first non-whitespace character + var index = this._strBuffer.search(/\S/); // first non-whitespace character if (index > 0) this._strBuffer = this._strBuffer.slice(index); - index = this._strBuffer.search(/\s/); // first whitespace character marking the end of the token + index = this._strBuffer.search(/\s/); // first whitespace character marking the end of the token var token; if (index > 0) { -- cgit v1.2.3