Ran
|
Files
1
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
travis-ci
Ensure we bind functions using `Function.prototype.bind` Whereas the function itself may have overridden `bind`, for instance if it is Underscore: https://github.com/jashkenas/underscore/blob/8fc703229/underscore.js#L765 Fixes #2915. A similar fix was put in place in 6ce7082f6 to fix #1055, but that was lost somewhere along the way. This defeated the regression test for #1055 because `src/utils/bind.js` only called `bind` on _functions_ that _used `this`_ and the regression test for #1055 simulated Underscore using a POJO.
4906 of 5581 branches covered (87.91%)
8099 of 8446 relevant lines covered (95.89%)
968.59 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|