}
+ (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";
return value;
}
+- (void) close {
+ [indirect_ close];
+}
+
- (void) setAutoPopup:(BOOL)popup {
[indirect_ setAutoPopup:popup];
}
[book_ close];
}
+- (void) close {
+ [book_ close];
+}
+
- (void) webView:(WebView *)sender didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame {
[window setValue:cydia_ forKey:@"cydia"];
}