summaryrefslogtreecommitdiff
path: root/UICaboodle/BrowserView.m
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2009-03-07 10:45:24 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:09:53 +0000
commite590d1ff0e28b577012d6d98d9600d2f86a7459f (patch)
treed4b8b9cdb767175a625c6988bc798afedcbd4b0d /UICaboodle/BrowserView.m
parent12b59862f7a47c1608644aa8d6e44a3bd0efdf61 (diff)
I hate subtle issues.
Diffstat (limited to 'UICaboodle/BrowserView.m')
-rw-r--r--UICaboodle/BrowserView.m12
1 files changed, 11 insertions, 1 deletions
diff --git a/UICaboodle/BrowserView.m b/UICaboodle/BrowserView.m
index 08dd698..0f95a04 100644
--- a/UICaboodle/BrowserView.m
+++ b/UICaboodle/BrowserView.m
@@ -71,7 +71,9 @@
}
+ (NSString *) webScriptNameForSelector:(SEL)selector {
- if (selector == @selector(getPackageById:))
+ if (selector == @selector(close))
+ return @"close";
+ else if (selector == @selector(getPackageById:))
return @"getPackageById";
else if (selector == @selector(setAutoPopup:))
return @"setAutoPopup";
@@ -161,6 +163,10 @@
return value;
}
+- (void) close {
+ [indirect_ close];
+}
+
- (void) setAutoPopup:(BOOL)popup {
[indirect_ setAutoPopup:popup];
}
@@ -517,6 +523,10 @@
[book_ close];
}
+- (void) close {
+ [book_ close];
+}
+
- (void) webView:(WebView *)sender didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame {
[window setValue:cydia_ forKey:@"cydia"];
}