add: debug switch
This commit is contained in:
parent
e5106a25ba
commit
f64f5001da
@ -42,7 +42,9 @@ - (instancetype)init {
|
|||||||
_bridgeExtension = [[DoricBridgeExtension alloc] init];
|
_bridgeExtension = [[DoricBridgeExtension alloc] init];
|
||||||
dispatch_async(_jsQueue, ^() {
|
dispatch_async(_jsQueue, ^() {
|
||||||
self.timers = [[NSMutableDictionary alloc] init];
|
self.timers = [[NSMutableDictionary alloc] init];
|
||||||
self.jsExecutor = [[DoricJSRemoteExecutor alloc] init];
|
// Debug: 切换
|
||||||
|
// self.jsExecutor = [[DoricJSRemoteExecutor alloc] init];
|
||||||
|
self.jsExecutor = [DoricJSCoreExecutor new];
|
||||||
self.registry = [[DoricRegistry alloc] init];
|
self.registry = [[DoricRegistry alloc] init];
|
||||||
[self initJSExecutor];
|
[self initJSExecutor];
|
||||||
[self initDoricEnvironment];
|
[self initDoricEnvironment];
|
||||||
|
Reference in New Issue
Block a user