From: Jay Freeman (saurik) Date: Fri, 25 Feb 2011 03:01:29 +0000 (-0800) Subject: Export package.tags to JavaScript. X-Git-Tag: v1.1.0%b1~196 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/82aa2434adc147c30430af1b376a27de10215bf2 Export package.tags to JavaScript. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 6b07c101..2d5b831b 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -2367,6 +2367,7 @@ struct PackageNameOrdering : @"source", @"sponsor", @"support", + @"tags", @"warnings", nil]; } @@ -3053,6 +3054,10 @@ struct PackageNameOrdering : _assert(false); } +- (NSArray *) tags { + return tags_; +} + - (BOOL) hasTag:(NSString *)tag { return tags_ == nil ? NO : [tags_ containsObject:tag]; }