efront 3.5.6 → 3.5.10

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.
@@ -51,7 +51,7 @@ function rebuild(element) {
51
51
  dispatch(event, element);
52
52
  }
53
53
  }
54
- var variableReg = /([^\:\,\+\=\-\!%\^\|\/\&\*\!\;\?\>\<~\{\}\s]|\?\s*\.(?=[^\d])|\s*\.\s*)+/g;
54
+ var variableReg = /([^\:\,\+\=\-\!%\^\|\/\&\*\!\;\?\>\<~\{\}\s\[\]\(\)]|\?\s*\.(?=[^\d])|\s*\.\s*)+/g;
55
55
  var createGetter = function (search, isprop = true) {
56
56
  var [withContext, searchContext] = search;
57
57
  if (!searchContext) return function () { };
@@ -62,12 +62,12 @@ var createGetter = function (search, isprop = true) {
62
62
  context.split(/\?\s*\.(?=[^\d])/).forEach(function (search) {
63
63
  if (dist) {
64
64
  if (/[\=]/.test(dist)) dist = `(${dist})`;
65
- dist = `${dist}!==void 0&&${dist}!==null?${dist}.${search}:null`
65
+ dist = `${dist}!==void 0&&${dist}!==null?${dist}.${search}:''`
66
66
  } else {
67
67
  dist = search;
68
68
  }
69
69
  });
70
- return context.length > 1 ? `(${dist})` : context;
70
+ return dist.length > 1 ? `(${dist})` : context;
71
71
  });
72
72
  }
73
73
  if (isprop) {
@@ -723,7 +723,7 @@ function renderStructure(element, scope, parentScopes = []) {
723
723
  }
724
724
  if (!element.renderid) element.renderid = -1;
725
725
  else element.renderid = -2;
726
- // element.removeAttribute(name);
726
+ continue;
727
727
  }
728
728
  if (element.$struct) continue;
729
729
  var key = name.replace(/^(ng|v|.*?)\-|^[\:\_\.]|^v\-bind\:/i, "").toLowerCase();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "efront",
3
- "version": "3.5.6",
3
+ "version": "3.5.10",
4
4
  "description": "一个开发工具,开放源代码,自带组件库和编译环境,可以用来开发web组件,web应用或nodejs模块,或做为已有代码的加密工具,也可以做为静态页面服务器或跨域中转服务器使用",
5
5
  "main": "public/efront.js",
6
6
  "directories": {