(func)
| 12 | var STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg; |
| 13 | |
| 14 | function parseParams(func) { |
| 15 | func = func.toString().replace(STRIP_COMMENTS, ''); |
| 16 | func = func.match(FN_ARGS)[2].replace(' ', ''); |
| 17 | func = func ? func.split(FN_ARG_SPLIT) : []; |
| 18 | func = func.map(function (arg){ |
| 19 | return trim(arg.replace(FN_ARG, '')); |
| 20 | }); |
| 21 | return func; |
| 22 | } |
| 23 | |
| 24 | /** |
| 25 | * A dependency-injected version of the [async.auto]{@link module:ControlFlow.auto} function. Dependent |
no outgoing calls
no test coverage detected
searching dependent graphs…