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 коммит произвёл Facebook Github Bot 5
Родитель f0a3c56048
Коммит b01feb41d8
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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,