Friday, May 18, 2012

window.JSON no longer exists

Facebook's JavaScript Connect library used to provide JSON manipulation tools attached to window.JSON, but seemed to have recently removed them:

https://github.com/rogerhu/connect-js/commit/9ea3a84f9d11d7b15f962eb977d0af8b303de259

This change has implications on Internet Explorer 7 (IE7), which doesn't have its own internal JSON library.  As a result, you're going to have manually import one now!

No comments:

Post a Comment