Skip to content

Commit

Permalink
#97: Adjust Xflow function regex pattern to account for differences i…
Browse files Browse the repository at this point in the history
…n the way IE11 handles Function.toString
  • Loading branch information
csvurt committed Feb 17, 2015
1 parent 0e6d163 commit 7e39bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xflow/operator/program.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@
return inlineFunc;
}

var c_FunctionPattern = /function\s+([^(]*)\(([^)]*)\)\s*\{([\s\S]*)\}/;
var c_FunctionPattern = /function\s*([^(]*)\(([^)]*)\)\s*\{([\s\S]*)\}/;

function parseFunction(func){
var result = {};
Expand Down

0 comments on commit 7e39bea

Please sign in to comment.