Permalink
Browse files
fix($parse): Follow JavaScript context for unbound functions
Use `undefined` as the context when a function is ounbound. E.g. when executing `foo()()`, then `foo()` is executed using the scope as the context, the function returned by `foo()` will have an `undefined` context
- Loading branch information
Showing
with
10 additions
and 3 deletions.
- +1 −1 src/ng/parse.js
- +9 −2 test/ng/parseSpec.js