You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
236 B
8 lines
236 B
7 years ago
|
// native JSON support.
|
||
|
// developer.mozilla.org/en/JSON
|
||
|
|
||
|
// this will also succeed if you've loaded the JSON2.js polyfill ahead of time
|
||
|
// ... but that should be obvious. :)
|
||
|
|
||
|
Modernizr.addTest('json', !!window.JSON && !!JSON.parse);
|