render-core 1.4.13 → 1.4.15

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.
@@ -6,14 +6,6 @@ import { resolver_map_single } from "./v-map-utility";
6
6
  * @param data
7
7
  */
8
8
  export function resolver_array_single(element, index, data) {
9
- //从根元素开始渲染
10
- //渲染信息
11
- if (element.hasAttribute("@for-message")) {
12
- var data_index = element.getAttribute("@for-message");
13
- element.removeAttribute("@for-message");
14
- // @ts-ignore
15
- element.innerText = data[data_index];
16
- }
17
9
  //解析data
18
10
  if (element.hasAttribute("@data")) {
19
11
  element.removeAttribute("@data");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "render-core",
3
- "version": "1.4.13",
3
+ "version": "1.4.15",
4
4
  "description": "The extendable javascript web framework",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -32,7 +32,7 @@ export function extract_mount(root) {
32
32
  root.componentAttachedRootElement.parentNode.insertBefore(root.componentAttachedRootElement.firstChild, root.componentAttachedRootElement);
33
33
  var parent = root.componentAttachedRootElement.parentNode;
34
34
  // @ts-ignore
35
- root.anchor = root.componentAttachedRootElement;
35
+ root.anchorEnd = root.componentAttachedRootElement;
36
36
  root.anchorEnd.setAttribute("anchor", "end");
37
37
  root.anchorBegin.setAttribute("style", "display:none");
38
38
  root.componentAttachedRootElement = parent;