You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.
if the .cas file contain the not exist class (not css dot class) , the all .cas sheet will not apply, so i think if this is the right thing.maybe we should log a warning ,not return a error and nil?
if ([tokenValue hasPrefix:@"."]) {
styleSelector.styleClass = [tokenValue substringFromIndex:1];
} else {
styleSelector.objectClass = NSClassFromString(tokenValue);
}
if (!styleSelector.objectClass && !shouldConcatToParent) {
self.error = [self.lexer errorWithDescription:[NSString stringWithFormat:@"Invalid class name `%@`", tokenValue]
reason:@"Every selector must have a objectClass"
code:CASParseErrorFileContents];
return nil;
}
The text was updated successfully, but these errors were encountered:
if the .cas file contain the not exist class (not css dot class) , the all .cas sheet will not apply, so i think if this is the right thing.maybe we should log a warning ,not return a error and nil?
The text was updated successfully, but these errors were encountered: