2de66400a81bdf8c1ea798a4df6bbeec.json
1.64 KB
{"ast":null,"code":"\"use strict\";var performance=require(\"./performance\");var performanceNow;if(performance.now){performanceNow=function performanceNow(){return performance.now();};}else{performanceNow=function performanceNow(){return Date.now();};}module.exports=performanceNow;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/node_modules/fbjs/lib/performanceNow.js"],"names":["performance","require","performanceNow","now","Date","module","exports"],"mappings":"AAAA,aAUA,GAAIA,CAAAA,WAAW,CAAGC,OAAO,iBAAzB,CAEA,GAAIC,CAAAA,cAAJ,CAOA,GAAIF,WAAW,CAACG,GAAhB,CAAqB,CACnBD,cAAc,CAAG,QAASA,CAAAA,cAAT,EAA0B,CACzC,MAAOF,CAAAA,WAAW,CAACG,GAAZ,EAAP,CACD,CAFD,CAGD,CAJD,IAIO,CACLD,cAAc,CAAG,QAASA,CAAAA,cAAT,EAA0B,CACzC,MAAOE,CAAAA,IAAI,CAACD,GAAL,EAAP,CACD,CAFD,CAGD,CAEDE,MAAM,CAACC,OAAP,CAAiBJ,cAAjB","sourcesContent":["\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\nvar performance = require(\"./performance\");\n\nvar performanceNow;\n/**\n * Detect if we can use `window.performance.now()` and gracefully fallback to\n * `Date.now()` if it doesn't exist. We need to support Firefox < 15 for now\n * because of Facebook's testing infrastructure.\n */\n\nif (performance.now) {\n performanceNow = function performanceNow() {\n return performance.now();\n };\n} else {\n performanceNow = function performanceNow() {\n return Date.now();\n };\n}\n\nmodule.exports = performanceNow;"]},"metadata":{},"sourceType":"script"}