MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / simpleBind

Function simpleBind

lib/test/angular/1.5.0/angular.js:15535–15539  ·  view source on GitHub ↗
(context, fn)

Source from the content-addressed store, hash-verified

15533
15534 //Faster, more basic than angular.bind http://jsperf.com/angular-bind-vs-custom-vs-native
15535 function simpleBind(context, fn) {
15536 return function(value) {
15537 fn.call(context, value);
15538 };
15539 }
15540
15541 function processQueue(state) {
15542 var fn, deferred, pending;

Callers 2

deferFunction · 0.70
qFactoryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected