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 https://github.com/facebook/react-native/pull/9595

Differential Revision: D3775101

Pulled By: javache

fbshipit-source-id: 6252ce8c872896f4cfdb9a31bdbc79d6aaf4684d
This commit is contained in:
Adam Comella 2016-08-25 17:36:33 -07:00 committed by Facebook Github Bot 5
parent f0a3c56048
commit b01feb41d8
2 changed files with 2 additions and 2 deletions

View File

@ -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});

View File

@ -11,7 +11,7 @@
*/
'use strict';
const performanceNow = require('performanceNow');
const performanceNow = require('fbjs/lib/performanceNow');
type Handler = {
onIterate?: () => void,