bestiejs / json3

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

Minor: typo in JSON3 code documentation #60

Closed HelderMagalhaes closed 10 years ago

HelderMagalhaes commented 10 years ago

A minor documentation regression, somewhere between version 3.2.5 and 3.3.1, seems to have slipped and a typo, "objectgs", was born around line 235 (as of this writing):

// Capture and break the objectgs prototype chain (see section 8.6.2 // of the ES 5.1 spec). The parenthesized expression prevents an // unsafe transformation by the Closure Compiler.

bnjmnt4n commented 10 years ago

Great catch! @kitcambridge can you fix this? Won’t be able to push commits soon.