Skip to content

Commit

Permalink
More loosely match expression function names
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Jul 24, 2015
1 parent 7560130 commit 6cfa759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/standard/effectBuilder.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
// method expressions are of the form: `name([arg1, arg2, .... argn])`
_parseMethod: function(expression) {
// tries to match valid javascript property names
var m = expression.match(/([a-zA-Z_$][0-9a-zA-Z_$]*)\((.*)\)/);
var m = expression.match(/([^\s]+)\((.*)\)/);
if (m) {
var sig = { method: m[1], static: true };
if (m[2].trim()) {
Expand Down

0 comments on commit 6cfa759

Please sign in to comment.