UNPKG
queen
Version:
dev (0.5.0)
latest (0.6.0)
0.6.0
0.5.1
0.5.0
0.4.0
A platform for running scripts on many browsers
queenjs.com
turn/queen
queen
/
bower_components
/
modernizr
/
feature-detects
/
json.js
8 lines
(5 loc)
•
236 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
// 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
);