Closed bouk closed 8 years ago
awesome this has been a thorn in my eye for a while.
why eval, though, is there no other way?
JSON.parse would be another way, but then you have to translate single quotes to double quotes and such which is a pain. eval
solves this quickly and easily
Awesome 👍
thanks @bouk
There are a lot of string literal issues that seem to stem from incorrect string escaping. This PR uses
eval
to make sure we get the proper value.@lemonmade @juliankrispel