js:pass the es5 runtime

This commit is contained in:
pengfei.zhou
2020-01-17 14:55:39 +08:00
committed by osborn
parent 83a9b79073
commit 972550f668
15 changed files with 16433 additions and 157 deletions

View File

@@ -43,7 +43,7 @@ export abstract class Panel {
private __data__?: object
private __root__ = new Root
private headviews: Map<string, Map<string, View>> = new Map
private headviews: Map<string, Map<string, View>> = new Map
addHeadView(type: string, v: View) {
let map = this.headviews.get(type)
@@ -157,7 +157,7 @@ export abstract class Panel {
}
private nativeRender(model: Model) {
this.context.shader.render(model)
(this.context as any).callNative("shader", "render", model)
}
private hookBeforeNativeCall() {