[componentkit] Whitelist Native Templates

Reviewed By: tks2103

Differential Revision: D4090237

fbshipit-source-id: 63f233e
master
Ryan Rhee 8 years ago committed by Facebook Github Bot
parent a45d59e478
commit aac14999b0

@ -156,7 +156,8 @@ let component_with_unconventional_superclass_advice context decl =
ckcomponentcontroller_cl;
"CKCompositeComponent";
"CKStatefulViewComponent";
"CKStatefulViewComponentController"
"CKStatefulViewComponentController";
"NTNativeTemplateComponent"
] -> true
| _ -> false in
let condition =

@ -16,3 +16,9 @@
@interface BarComponent : FooComponent // bad
@end
@interface NTNativeTemplateComponent : CKCompositeComponent // fake NT
@end
@interface NativeTemplateComponent : NTNativeTemplateComponent // good
@end

@ -16,3 +16,6 @@
@implementation BarComponent
@end
@implementation NativeTemplateComponent
@end

Loading…
Cancel
Save