GT2/GT2-iOS/node_modules/auth0-js/lib/json-parse.js

9 lines
176 B
JavaScript

/**
* Expose `JSON.parse` method or fallback if not
* exists on `window`
*/
module.exports = 'undefined' === typeof JSON
? require('json-fallback').parse
: JSON.parse;