feat:dont show es5 bundle in demo
This commit is contained in:
parent
523beaa0e1
commit
7d2553726d
@ -27,7 +27,7 @@ - (void)viewDidLoad {
|
||||
NSString *demoPath = [path stringByAppendingPathComponent:@"src"];
|
||||
NSFileManager *mgr = [NSFileManager defaultManager];
|
||||
self.demoFilePaths = [[mgr subpathsAtPath:demoPath] filter:^BOOL(NSString *obj) {
|
||||
return ![obj containsString:@".map"];
|
||||
return ![obj containsString:@".map"] && ![obj containsString:@"es5."];
|
||||
}];
|
||||
NSMutableArray <NSString *> *tmp = [self.demoFilePaths mutableCopy];
|
||||
NSStringCompareOptions comparisonOptions = NSCaseInsensitiveSearch | NSNumericSearch | NSWidthInsensitiveSearch | NSForcedOrderingSearch;
|
||||
|
Reference in New Issue
Block a user