Skip to content

Commit

Permalink
Consolidate XHR UIExplorer examples
Browse files Browse the repository at this point in the history
Summary:
The XHRExample file had been forked between iOS and Android for various reasons that are no longer valid, making maintenance unnecessarily difficult. New features demos had in fact been added in separate files to avoid further duplication. This change continues on that same trajectory and splits the entire example file into multiple files. This makes them much easier to handle. We also get rid of the iOS/Android fork.

**Test plan:** Run UIExplorer app, specifically the XHR examples, on both iOS and Android.
Closes #11901

Differential Revision: D4419882

Pulled By: ericvicenti

fbshipit-source-id: ec12836dfa8e1b9259b92a7510914857a8db58d5
  • Loading branch information
philikon authored and facebook-github-bot committed Jan 15, 2017
1 parent 6d2ae35 commit 3c80665
Show file tree
Hide file tree
Showing 6 changed files with 608 additions and 1,024 deletions.
2 changes: 1 addition & 1 deletion Examples/UIExplorer/js/UIExplorerList.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ const APIExamples: Array<UIExplorerExample> = [
},
{
key: 'XHRExample',
module: require('./XHRExample.ios'),
module: require('./XHRExample'),
supportsTVOS: true,
},
];
Expand Down
Loading

0 comments on commit 3c80665

Please sign in to comment.