bestiejs / json3

A JSON polyfill. No longer maintained.
https://bestiejs.github.io/json3
Other
1.02k stars 150 forks source link

json3.min.js: Newline is removed #68

Open bnjmnt4n opened 9 years ago

bnjmnt4n commented 9 years ago

In json3.min.js, when build.js replacing the define block, the newline gets removed, causing the last line to be much longer than the others.

@kitcambridge can you fix this?

bnjmnt4n commented 9 years ago

@kitcambridge not sure if you saw this.

ghost commented 9 years ago

On a related note, that regular expression is beginning to scare scares me. estraverse might help clean things up. Post-v4.0, though.