NativeJSON conflicting with older prototype.js libraries #410

Closed
wants to merge 1 commit into
from
Commits on Mar 29, 2012
  1. Get rid of using Native JSON because it won't work if sites are using…

    crickeys committed Mar 29, 2012
    … older versions of prototype.js. I know this is a fault of the older prototype.js libraries messing with .toJSON prototypes, but I keep running in to too many of my customers that have the old versions on their site and don't want to FORCE them to upgrade.
    
    
    Maybe a better solution is to offer an option in socket.io-client to enable/disable using nativeJSON?