Permalink
Browse files

Method typo

  • Loading branch information...
1 parent 358c412 commit f8ae041e4cacc86921bb7150fa2a1cee08a6f0f2 @rickfillion rickfillion committed May 26, 2011
Showing with 5 additions and 5 deletions.
  1. +3 −3 Source/Framework/Classes/MKMapView.m
  2. +1 −1 Source/Framework/Classes/MKView.h
  3. +1 −1 Source/Framework/Classes/MKView.m
@@ -333,7 +333,7 @@ - (void)insertOverlay:(id < MKOverlay >)overlay atIndex:(NSUInteger)index
return;
}
- WebScriptObject *overlayScriptObject = [overlayView overlayScriptObjectFromMapSriptObject:webScriptObject];
+ WebScriptObject *overlayScriptObject = [overlayView overlayScriptObjectFromMapScriptObject:webScriptObject];
if ([overlayScriptObject isKindOfClass:[WebUndefined class]])
{
NSLog(@"Error creating internal representation of overlay view for overlay: %@", overlay);
@@ -426,7 +426,7 @@ - (void)addAnnotation:(id < MKAnnotation >)annotation
return;
}
- WebScriptObject *annotationScriptObject = [annotationView overlayScriptObjectFromMapSriptObject:webScriptObject];
+ WebScriptObject *annotationScriptObject = [annotationView overlayScriptObjectFromMapScriptObject:webScriptObject];
if ([annotationScriptObject isKindOfClass:[WebUndefined class]])
{
NSLog(@"Error creating internal representation of annotation view for annotation: %@", annotation);
@@ -610,7 +610,7 @@ - (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *
- (void)webView:(WebView *)sender didClearWindowObject:(WebScriptObject *)windowScriptObject forFrame:(WebFrame *)frame
{
[windowScriptObject setValue:windowScriptObject forKey:@"WindowScriptObject"];
- [windowScriptObject setValue:self forKey:@"MKMapView"];
+ //[windowScriptObject setValue:self forKey:@"MKMapView"];
}
- (void)webView:(WebView *)sender didStartProvisionalLoadForFrame:(WebFrame *)frame
@@ -19,6 +19,6 @@
- (void)draw:(WebScriptObject *)overlayScriptObject;
-- (WebScriptObject *)overlayScriptObjectFromMapSriptObject:(WebScriptObject *)mapScriptObject;
+- (WebScriptObject *)overlayScriptObjectFromMapScriptObject:(WebScriptObject *)mapScriptObject;
@end
@@ -34,7 +34,7 @@ - (void)draw:(WebScriptObject *)overlayScriptObject
}
}
-- (WebScriptObject *)overlayScriptObjectFromMapSriptObject:(WebScriptObject *)mapScriptObject
+- (WebScriptObject *)overlayScriptObjectFromMapScriptObject:(WebScriptObject *)mapScriptObject
{
NSString *script = [NSString stringWithFormat:@"new %@()", [self viewPrototypeName]];
WebScriptObject *object = (WebScriptObject *)[mapScriptObject evaluateWebScript:script];

0 comments on commit f8ae041

Please sign in to comment.