add interface to provide jse
This commit is contained in:
parent
1c4b1181d3
commit
e3f45676d6
@ -33,6 +33,9 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface DoricNativeDriver : NSObject <DoricDriverProtocol>
|
||||
+ (instancetype)instance DEPRECATED_MSG_ATTRIBUTE("Do not use this api");;
|
||||
|
||||
@property(nonatomic, strong) DoricJSEngine *jsExecutor;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
@ -28,7 +28,6 @@
|
||||
#import "DoricSingleton.h"
|
||||
|
||||
@interface DoricNativeDriver ()
|
||||
@property(nonatomic, strong) DoricJSEngine *jsExecutor;
|
||||
@end
|
||||
|
||||
@implementation DoricNativeDriver
|
||||
|
@ -27,6 +27,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface DoricJSCoreExecutor : NSObject <DoricJSExecutorProtocol>
|
||||
|
||||
@property(nonatomic, strong) JSContext *jsContext;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
@ -30,8 +30,6 @@ void ReleaseArrayBufferData(void *bytes, void *deallocatorContext) {
|
||||
|
||||
@interface DoricJSCoreExecutor ()
|
||||
|
||||
@property(nonatomic, strong) JSContext *jsContext;
|
||||
|
||||
@end
|
||||
|
||||
@implementation DoricJSCoreExecutor
|
||||
|
@ -32,6 +32,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@property(nonatomic, strong) id <DoricJSExecutorProtocol> jsExecutor;
|
||||
|
||||
@property(nonatomic, strong) NSThread *jsThread;
|
||||
|
||||
@property(nonatomic, strong) DoricRegistry *registry;
|
||||
|
||||
|
@ -47,7 +47,6 @@ @interface DoricJSEngine ()
|
||||
@property(nonatomic, strong) NSMutableDictionary <NSNumber *, NSTimer *> *timers;
|
||||
@property(nonatomic, strong) DoricBridgeExtension *bridgeExtension;
|
||||
@property(nonatomic, strong) NSMutableDictionary *environmentDictionary;
|
||||
@property(nonatomic, strong) NSThread *jsThread;
|
||||
@property(nonatomic, assign) BOOL destroyed;
|
||||
@property(nonatomic, assign) BOOL initialized;
|
||||
@property(nonatomic, strong) DoricPerformanceProfile *profile;
|
||||
|
Reference in New Issue
Block a user