Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
81155 views
1
/**
2
* Copyright 2013-2014, Facebook, Inc.
3
* All rights reserved.
4
*
5
* This source code is licensed under the BSD-style license found in the
6
* LICENSE file in the root directory of this source tree. An additional grant
7
* of patent rights can be found in the PATENTS file in the same directory.
8
*
9
* @providesModule performance
10
* @typechecks
11
*/
12
13
"use strict";
14
15
var ExecutionEnvironment = require('ExecutionEnvironment');
16
17
var performance;
18
19
if (ExecutionEnvironment.canUseDOM) {
20
performance =
21
window.performance ||
22
window.msPerformance ||
23
window.webkitPerformance;
24
}
25
26
module.exports = performance || {};
27
28