Fix typo in iteratorTemplate.

Former-commit-id: b787391db088e672c55ca56ca246147557b3694f
This commit is contained in:
John-David Dalton
2012-06-04 22:49:33 -04:00
parent 52c36ac445
commit f66dc6bed8
2 changed files with 2 additions and 2 deletions

View File

@@ -215,7 +215,7 @@
// the following branch is for iterating arrays and array-like objects
'<% if (arrayBranch) { %>' +
'var length = <%= firstArg %>.length; index = -1;' +
' <% if (objectBranch) { %>\nif (typeof length === length >>> 0) {<% } %>\n' +
' <% if (objectBranch) { %>\nif (length === length >>> 0) {<% } %>\n' +
' <%= arrayBranch.beforeLoop %>;\n' +
' while (<%= arrayBranch.loopExp %>) {\n' +
' <%= arrayBranch.inLoop %>;\n' +