From: Jay Freeman (saurik) Date: Thu, 10 Feb 2011 13:04:42 +0000 (-0800) Subject: Remove package variable, use cydia.getPackageById(). X-Git-Tag: v1.1.0%b1~360 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/2ad83c072910a93164c245245f7328e802bbce02 Remove package variable, use cydia.getPackageById(). --- diff --git a/MobileCydia.mm b/MobileCydia.mm index fd258ec9..96736654 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -5453,11 +5453,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } } -- (void) webView:(WebView *)view didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame { - [super webView:view didClearWindowObject:window forFrame:frame]; - [window setValue:package_ forKey:@"package"]; -} - - (bool) _allowJavaScriptPanel { return commercial_; }