efront 4.0.9 → 4.0.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.
@@ -442,7 +442,7 @@ var isEvalScope = function (o) {
442
442
  return false;
443
443
  }
444
444
  var _invoke = function (t, getname) {
445
- var nameindex = 0;;
445
+ var nameindex = 0;
446
446
  var getdeepname = function (deep = 0) {
447
447
  return getname(nameindex + deep)
448
448
  };
@@ -473,6 +473,7 @@ var _invoke = function (t, getname) {
473
473
  while (cy < o.length && o[cy].type & (SPACE | COMMENT)) cy++;
474
474
  var ay = cy;
475
475
  cy = skipAssignment(o, cy);
476
+ if (cy === ay || ay >= o.length) continue;
476
477
  var m = o[ay];
477
478
  if (cy === ay + 1 && (m.type === EXPRESS && !/[\.\[]/.test(m.text) || m.type === VALUE || m.type === QUOTED && !m.length)) {
478
479
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "efront",
3
- "version": "4.0.9",
3
+ "version": "4.0.10",
4
4
  "description": "简化前端开发,优化web性能",
5
5
  "main": "public/efront.js",
6
6
  "directories": {