aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge/materials/material-parser.js
diff options
context:
space:
mode:
authorhwc4872012-07-09 16:08:02 -0700
committerhwc4872012-07-09 16:08:02 -0700
commit5085d0f67df89a21715308956004164597a6ba79 (patch)
tree2c896163143a66331205a39b0a3b1b45d51bf12a /js/lib/rdge/materials/material-parser.js
parent51f1691f792dbda9b740ded8aa0457c9406db156 (diff)
parent84b3327bd92faafab7954b5eb64c7abe24a3fe13 (diff)
downloadninja-5085d0f67df89a21715308956004164597a6ba79.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into GridFixes
Conflicts: js/helper-classes/3D/StageLine.js
Diffstat (limited to 'js/lib/rdge/materials/material-parser.js')
-rwxr-xr-xjs/lib/rdge/materials/material-parser.js4
1 files changed, 2 insertions, 2 deletions
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) {
66 if (!this._strBuffer) return; 66 if (!this._strBuffer) return;
67 67
68 // find the limits 68 // find the limits
69 var index = this._strBuffer.search(/\S/); // first non-whitespace character 69 var index = this._strBuffer.search(/\S/); // first non-whitespace character
70 if (index > 0) this._strBuffer = this._strBuffer.slice(index); 70 if (index > 0) this._strBuffer = this._strBuffer.slice(index);
71 index = this._strBuffer.search(/\s/); // first whitespace character marking the end of the token 71 index = this._strBuffer.search(/\s/); // first whitespace character marking the end of the token
72 72
73 var token; 73 var token;
74 if (index > 0) { 74 if (index > 0) {