summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-01 14:34:00 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:34 -0800
commit3f428e4e0cdd27684edefebc83737cc8a8b233f3 (patch)
treebb91310ebf2f233270f71ac71344423f8f64d67c /MobileCydia.mm
parentcb218676ad71acafbac454288dfa46390f90e6f9 (diff)
Rename cydia.divert() to cydia.addInternalRedirect().
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index e26cd87..9ab0c64 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -3970,14 +3970,14 @@ static NSMutableSet *Diversions_;
if (false);
else if (selector == @selector(addBridgedHost:))
return @"addBridgedHost";
+ else if (selector == @selector(addInternalRedirect::))
+ return @"addInternalRedirect";
else if (selector == @selector(addPipelinedHost:scheme:))
return @"addPipelinedHost";
else if (selector == @selector(addTrivialSource:))
return @"addTrivialSource";
else if (selector == @selector(close))
return @"close";
- else if (selector == @selector(divert::))
- return @"divert";
else if (selector == @selector(du:))
return @"du";
else if (selector == @selector(stringWithFormat:arguments:))
@@ -4054,7 +4054,7 @@ static NSMutableSet *Diversions_;
return [feature isEqualToString:@"window.open"];
}
-- (void) divert:(NSString *)from :(NSString *)to {
+- (void) addInternalRedirect:(NSString *)from :(NSString *)to {
[CydiaWebViewController performSelectorOnMainThread:@selector(addDiversion:) withObject:[[[Diversion alloc] initWithFrom:from to:to] autorelease] waitUntilDone:NO];
}