Auto-fix lint errors

Reviewed By: bestander

Differential Revision: D3683952

fbshipit-source-id: 9484d0b0e86859e8edaca0da1aa13a667f200905
This commit is contained in:
David Aurelio
2016-08-09 06:32:41 -07:00
committed by Facebook Github Bot 4
parent 8e2906ae89
commit 94666f16c7
58 changed files with 293 additions and 293 deletions

View File

@@ -34,23 +34,23 @@ export type AnnotationDragState = $Enum<{
/**
* Annotation is not being touched.
*/
idle: string;
idle: string,
/**
* Annotation dragging has began.
*/
starting: string;
starting: string,
/**
* Annotation is being dragged.
*/
dragging: string;
dragging: string,
/**
* Annotation dragging is being canceled.
*/
canceling: string;
canceling: string,
/**
* Annotation dragging has ended.
*/
ending: string;
ending: string,
}>;
/**
@@ -412,7 +412,7 @@ const MapView = React.createClass({
}));
}
let result = {
const result = {
...annotation,
tintColor: tintColor && processColor(tintColor),
image,
@@ -430,8 +430,8 @@ const MapView = React.createClass({
return result;
});
overlays = overlays && overlays.map((overlay: Object) => {
let {id, fillColor, strokeColor} = overlay;
let result = {
const {id, fillColor, strokeColor} = overlay;
const result = {
...overlay,
strokeColor: strokeColor && processColor(strokeColor),
fillColor: fillColor && processColor(fillColor),