From edde484725993e365b6dbef7cc8bfdb627e3a90e Mon Sep 17 00:00:00 2001 From: Leland Richardson Date: Sun, 26 Mar 2017 13:05:56 -0700 Subject: [PATCH] Fix typos --- CHANGELOG.md | 2 +- .../main/java/com/airbnb/android/react/maps/MapsPackage.java | 2 +- docs/mapview.md | 2 +- ios/AirMaps/AIRMapManager.m | 2 +- ios/AirMaps/Callout/SMCalloutView.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index adbe8bf604..a6e3ab5c32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -322,7 +322,7 @@ Failed to build DependencyGraph: @providesModule naming collision: Duplicate module name: String.prototype.es6 Paths: /Users//node_modules/react-native-maps/example2/node_modules/react-native/packager/react-packager/src/Resolver/polyfills/String.prototype.es6.js collides with /Users//node_modules/react-native/packager/react-packager/src/Resolver/polyfills/String.prototype.es6.js -This error is caused by a @providesModule declaration with the same name accross two different files. +This error is caused by a @providesModule declaration with the same name across two different files. ``` 0.8.2 is identical to 0.8.1, except with the offending code removed from the NPM package. diff --git a/android/src/main/java/com/airbnb/android/react/maps/MapsPackage.java b/android/src/main/java/com/airbnb/android/react/maps/MapsPackage.java index bc80cbcba3..e76f63aa27 100644 --- a/android/src/main/java/com/airbnb/android/react/maps/MapsPackage.java +++ b/android/src/main/java/com/airbnb/android/react/maps/MapsPackage.java @@ -14,7 +14,7 @@ public class MapsPackage implements ReactPackage { public MapsPackage(Activity activity) { - } // backwards compatability + } // backwards compatibility public MapsPackage() { } diff --git a/docs/mapview.md b/docs/mapview.md index f83bf1834b..f242f636b9 100644 --- a/docs/mapview.md +++ b/docs/mapview.md @@ -26,7 +26,7 @@ | `scrollEnabled` | `Boolean` | `true` | If `false` the user won't be able to change the map region being displayed. | `pitchEnabled` | `Boolean` | `true` | If `false` the user won't be able to adjust the camera’s pitch angle. | `toolbarEnabled` | `Boolean` | `true` | `Android only` If `false` will hide 'Navigate' and 'Open in Maps' buttons on marker press -| `cacheEnabled` | `Boolean` | `false` | If `true` map will be cached and displayed as a image instead of being interactable, for performance usage. +| `cacheEnabled` | `Boolean` | `false` | If `true` map will be cached and displayed as an image instead of being interactable, for performance usage. | `loadingEnabled` | `Boolean` | `false` | If `true` a loading indicator will show while the map is loading. | `loadingIndicatorColor` | `Color` | `#606060` | Sets loading indicator color, default to `#606060`. | `loadingBackgroundColor` | `Color` | `#FFFFFF` | Sets loading background color, default to `#FFFFFF`. diff --git a/ios/AirMaps/AIRMapManager.m b/ios/AirMaps/AIRMapManager.m index 8dcaaacb4e..1e2c3f5ac5 100644 --- a/ios/AirMaps/AIRMapManager.m +++ b/ios/AirMaps/AIRMapManager.m @@ -685,7 +685,7 @@ - (void)_regionChanged:(AIRMap *)mapView mapView.region = region; } - // Continously observe region changes + // Continuously observe region changes [self _emitRegionChangeEvent:mapView continuous:YES]; } diff --git a/ios/AirMaps/Callout/SMCalloutView.h b/ios/AirMaps/Callout/SMCalloutView.h index f0a41a49c1..1281c30307 100644 --- a/ios/AirMaps/Callout/SMCalloutView.h +++ b/ios/AirMaps/Callout/SMCalloutView.h @@ -183,7 +183,7 @@ extern NSTimeInterval const kSMCalloutViewRepositionDelayForUIScrollView; Typically you would return @c kSMCalloutViewRepositionDelayForUIScrollView if you're repositioning by calling @c [UIScrollView @c setContentOffset:animated:]. @param calloutView the @c SMCalloutView to reposition - @param offset caluclated offset necessary to make everything visible + @param offset calculated offset necessary to make everything visible @returns @c NSTimeInterval to delay the repositioning */ - (NSTimeInterval)calloutView:(SMCalloutView *)calloutView delayForRepositionWithSize:(CGSize)offset;