Fix path to UIExplorer examples

Summary: Closes https://github.com/facebook/react-native/pull/8746

Differential Revision: D3555421

Pulled By: JoelMarcey

fbshipit-source-id: 911ee6fb038b2796ef166c925395799917f206e6
This commit is contained in:
Pieter De Baets 2016-07-13 08:16:25 -07:00 committed by Facebook Github Bot 3
parent ceffb085d0
commit f15031a374

View File

@ -63,7 +63,7 @@ function getPlatformFromPath(filepath) {
}
function getExamplePaths(componentName, componentPlatform) {
const componentExample = '../Examples/UIExplorer/' + componentName + 'Example.';
const componentExample = '../Examples/UIExplorer/js/' + componentName + 'Example.';
let pathsToCheck = [
componentExample + 'js',
componentExample + componentPlatform + '.js',