-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
Summary:Fixes #410 Closes #7193 Differential Revision: D3217718 fb-gh-sync-id: c05c9e3d67863c064f8e1102090614c6ba7e3127 fbshipit-source-id: c05c9e3d67863c064f8e1102090614c6ba7e3127
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,12 +107,13 @@ function isRunnable(componentName, componentPlatform) { | |
|
||
// Hide a component from the sidebar by making it return false from | ||
// this function | ||
function shouldDisplayInSidebar(componentName) { | ||
if (componentName === 'Transforms') { | ||
return false; | ||
} | ||
var HIDDEN_COMPONENTS = [ | ||
'Transforms', | ||
'ListViewDataSource', | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
grabbou
Author
Contributor
|
||
]; | ||
|
||
return true; | ||
function shouldDisplayInSidebar(componentName) { | ||
return HIDDEN_COMPONENTS.indexOf(componentName) === -1; | ||
} | ||
|
||
function getNextComponent(i) { | ||
|
@@ -271,6 +272,7 @@ var apis = [ | |
'../Libraries/LayoutAnimation/LayoutAnimation.js', | ||
'../Libraries/Linking/Linking.js', | ||
'../Libraries/LinkingIOS/LinkingIOS.js', | ||
'../Libraries/CustomComponents/ListView/ListViewDataSource.js', | ||
'../node_modules/react/lib/NativeMethodsMixin.js', | ||
'../Libraries/Network/NetInfo.js', | ||
'../node_modules/react/lib/PanResponder.js', | ||
|
Why is it hidden? We should probably have an entry for it no?