This library should only be loaded if the JSON object doesn't already exist. Otherwise, you're just wasting bandwidth. For best performance, do this by checking for the existence of the object first, then asynchronously loading it from a CDN such as the above.
Snippet Viewed 1685 times.
- Get some recognition & a link back to your site.
- Create your own code library.
- Help your fellow developers, as they have helped you.