fix lint warnings: white spaces and es6 arrow func

Summary:
fixed some lint warnings: semi-colons, white spaces, and es6 arrow function syntax
Closes https://github.com/facebook/react-native/pull/5218

Reviewed By: svcscm

Differential Revision: D2818388

Pulled By: androidtrunkagent

fb-gh-sync-id: 812792dfae87d117fd7a5ffc6faa375c161c3b15
This commit is contained in:
trave7er
2016-01-09 01:34:27 -08:00
committed by facebook-github-bot-7
parent 73be933d09
commit d8830fb2b8
2 changed files with 9 additions and 8 deletions

View File

@@ -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({