render-core 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,6 @@ import { Controller } from "../../class/controller";
2
2
  import { getCodeSpaceForCommit, getCodeSpaceForPublish, getCommitMethod, getPublishMethod } from "../../core/utility/injectUtility";
3
3
  import { getProxyObject } from "../../core/proxy/getProxy";
4
4
  import { findComponent } from "../../core/render/initRender";
5
- import { inject } from "../inject/inject";
6
5
  import { cmd } from "../cmd/cmd";
7
6
  export function init_render(proto, parent, child, link, tagTemplate) {
8
7
  //获取控制对象
@@ -12,7 +11,7 @@ export function init_render(proto, parent, child, link, tagTemplate) {
12
11
  //复制原始数据对象到控制对象
13
12
  controller.raw_data = link.link.get(child.getAttribute("name"));
14
13
  //向raw_data中注入元数据
15
- inject(controller, tagTemplate);
14
+ // inject(controller,tagTemplate);
16
15
  //数据渲染代理对象
17
16
  controller.proxyForMethods = getProxyObject(controller.raw_data, controller);
18
17
  //注入commit
@@ -85,7 +84,7 @@ export function raw_render(proto, parent, child, link, tagTemplate) {
85
84
  //保持控制对象原型对象
86
85
  controller.proto = proto;
87
86
  //向raw_data中注入元数据
88
- inject(controller, tagTemplate);
87
+ // inject(controller,tagTemplate);
89
88
  //复制原始数据对象到控制对象
90
89
  controller.raw_data = Object.create(proto.getData());
91
90
  //数据渲染对象
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "render-core",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "The router for render-js",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",