Fix property names

Close #199
This commit is contained in:
Mihai Bazon
2013-05-08 22:37:48 +03:00
parent 0f509f8336
commit 11e24d53a1

View File

@@ -168,7 +168,9 @@ function is_identifier_char(ch) {
};
function is_identifier_string(str){
for (var i = str.length; --i >= 0;) {
var i = str.length;
if (i == 0) return false;
while (--i >= 0) {
if (!is_identifier_char(str.charAt(i)))
return false;
}