Updated the error name.

This commit is contained in:
Ziang Song 2013-02-15 15:58:02 -05:00
commit 180def6b3f

View file

@ -43,7 +43,7 @@ var Kiwi = (function ($) {
}
if(text[i] === '}') key += '}';
else throw Error("Syntax error.");
else throw Error("SYNTAX ERROR");
return [key.slice(2, key.length - 1), key.length];
}