Permalink
Browse files

Incremental: Fix require of performanceNow

Summary:
Due to an earlier commit, we now have to use the full path for requiring `performanceNow`.

**Test plan (required)**

Verified that the IncrementalExample works when adding it to UIExplorer.
Closes #9595

Differential Revision: D3775101

Pulled By: javache

fbshipit-source-id: 6252ce8c872896f4cfdb9a31bdbc79d6aaf4684d
  • Loading branch information...
1 parent f0a3c56 commit b01feb41d844755b235c32d3f9576a5d2e02e0e0 @rigdern rigdern committed with Facebook Github Bot 5 Aug 26, 2016
Showing with 2 additions and 2 deletions.
  1. +1 −1 Libraries/Experimental/IncrementalExample.js
  2. +1 −1 Libraries/Interaction/JSEventLoopWatchdog.js
@@ -34,7 +34,7 @@ const IncrementalPresenter = require('IncrementalPresenter');
const JSEventLoopWatchdog = require('JSEventLoopWatchdog');
const StaticContainer = require('StaticContainer.react');
-const performanceNow = require('performanceNow');
+const performanceNow = require('fbjs/lib/performanceNow');
InteractionManager.setDeadline(1000);
JSEventLoopWatchdog.install({thresholdMS: 200});
@@ -11,7 +11,7 @@
*/
'use strict';
-const performanceNow = require('performanceNow');
+const performanceNow = require('fbjs/lib/performanceNow');
type Handler = {
onIterate?: () => void,

0 comments on commit b01feb4

Please sign in to comment.