WIP - add extractor, generate snippet_data
This commit is contained in:
19
node_modules/fbjs/lib/performance.js
generated
vendored
Normal file
19
node_modules/fbjs/lib/performance.js
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Copyright (c) 2013-present, Facebook, Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @typechecks
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
var ExecutionEnvironment = require("./ExecutionEnvironment");
|
||||
|
||||
var performance;
|
||||
|
||||
if (ExecutionEnvironment.canUseDOM) {
|
||||
performance = window.performance || window.msPerformance || window.webkitPerformance;
|
||||
}
|
||||
|
||||
module.exports = performance || {};
|
||||
Reference in New Issue
Block a user