Skip to content

Commit c91c090

Browse files
Fix $injector to resolve lambdas
As the transpilation had been changed to ES6 instead of ES5, there is a problem, when $injector should resolve lambdas. When they are transpiled to ES5, they are converted to functions. However in ES6 they are still lambdas and current `annotate` method does not work correctly. Fix the regex that's used for the parsing and add unit tests for the failing cases.
1 parent 600c292 commit c91c090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/common

0 commit comments

Comments
 (0)