add interface to provide jse
This commit is contained in:
@@ -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