js:compat es5,use context.sendNative to replace Proxy

This commit is contained in:
pengfei.zhou
2020-01-17 16:51:17 +08:00
committed by osborn
parent c813787318
commit b6f7588321
30 changed files with 461 additions and 414 deletions

View File

@@ -157,7 +157,7 @@ export abstract class Panel {
}
private nativeRender(model: Model) {
(this.context as any).callNative("shader", "render", model)
this.context.callNative("shader", "render", model)
}
private hookBeforeNativeCall() {