tests-always-included / pretty-js

Beautify and pretty print JavaScript and JSON
Other
21 stars 4 forks source link

Missing "toString" #7

Closed fidian closed 10 years ago

fidian commented 10 years ago
input = input.toString();

turned into

input = input.();

Perhaps this is related to issue #5.

fidian commented 10 years ago

So, now after that last commit this will generate

input = input.toString ();

Still working on using context to determine if a keyword should just be an identifier.

fidian commented 10 years ago

Fully fixed this bug.