diff --git a/Examples/UIExplorer/AlertIOSExample.js b/Examples/UIExplorer/AlertIOSExample.js index 117c4cfe3..015d68a18 100644 --- a/Examples/UIExplorer/AlertIOSExample.js +++ b/Examples/UIExplorer/AlertIOSExample.js @@ -55,7 +55,7 @@ exports.examples = [{ {'default'} - + - + - + - + ); @@ -118,7 +118,7 @@ exports.examples = [{ { title: 'Prompt', render(): React.Component { - return + return ; } }]; diff --git a/Examples/UIExplorer/PullToRefreshViewAndroidExample.android.js b/Examples/UIExplorer/PullToRefreshViewAndroidExample.android.js index 307fe2cde..3d22f7608 100644 --- a/Examples/UIExplorer/PullToRefreshViewAndroidExample.android.js +++ b/Examples/UIExplorer/PullToRefreshViewAndroidExample.android.js @@ -72,7 +72,8 @@ const PullToRefreshViewAndroidExample = React.createClass({ isRefreshing: false, loaded: 0, rowData: Array.from(new Array(20)).map( - (val, i) => {return {text: 'Initial row' + i, clicks: 0}}), + (val, i) => ({text: 'Initial row' + i, clicks: 0}) + ), }; }, @@ -107,10 +108,10 @@ const PullToRefreshViewAndroidExample = React.createClass({ setTimeout(() => { // prepend 10 items const rowData = Array.from(new Array(10)) - .map((val, i) => {return { + .map((val, i) => ({ text: 'Loaded row' + (+this.state.loaded + i), clicks: 0, - }}) + })) .concat(this.state.rowData); this.setState({