Closed agibralter closed 13 years ago
On line 43 of milk.js char is a JS keyword and should be in quotes...
https://github.com/pvande/Milk/blob/87dc308b638afc58801cd190bc180fc6e834feb7/milk.js#L43
But char is also used here and causes trouble:
https://github.com/pvande/Milk/blob/87dc308b638afc58801cd190bc180fc6e834feb7/milk.js#L280
Could I suggest just changing the variable names to character?
character
http://www.quackit.com/javascript/javascript_reserved_words.cfm
On line 43 of milk.js char is a JS keyword and should be in quotes...
https://github.com/pvande/Milk/blob/87dc308b638afc58801cd190bc180fc6e834feb7/milk.js#L43
But char is also used here and causes trouble:
https://github.com/pvande/Milk/blob/87dc308b638afc58801cd190bc180fc6e834feb7/milk.js#L280
Could I suggest just changing the variable names to
character
?