UNPKG
get-translation
Version:
latest (0.13.8)
0.13.8
0.13.7
0.13.6
0.13.5
0.13.4
0.13.3
0.13.2
0.13.1
0.13.0
0.12.1
0.12.0
0.11.11
0.11.10
0.11.9
0.11.8
0.11.7
0.11.6
0.11.5
0.11.4
0.11.3
0.11.0
0.9.0
0.8.2
0.8.1
0.8.0
0.3.29
Effective translation workflow
github.com/tinganho/get-translation
tinganho/get-translation
get-translation
/
interface
/
vendor
/
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
);