Updated the error name.
This commit is contained in:
parent
04423e1aaf
commit
180def6b3f
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue