mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Auto-fix lint errors
Reviewed By: bestander Differential Revision: D3683952 fbshipit-source-id: 9484d0b0e86859e8edaca0da1aa13a667f200905
This commit is contained in:
committed by
Facebook Github Bot 4
parent
8e2906ae89
commit
94666f16c7
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user