提交 310ab06c 编写于 作者: Y yurj26

fix(nvue): optimize functionCallRE (question/170516)

上级 1bd14379
......@@ -2401,7 +2401,7 @@ var acorn = require('acorn'); // $flow-disable-line
var walk = require('acorn/dist/walk'); // $flow-disable-line
var escodegen = require('escodegen');
var functionCallRE = /^\s*([A-Za-z_$0-9\['\."\]]+)*\s*\(\s*(([A-Za-z_$0-9\['\."\]]+)?(\s*,\s*([A-Za-z_$0-9\['\."\]]+))*)\s*\)$/;
var functionCallRE = /(\w+)\((.*)\)/;
function nodeToBinding (node) {
switch (node.type) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册