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

Function simpleBind

test/angular/1.5/angular.js:16679–16683  ·  view source on GitHub ↗
(context, fn)

Source from the content-addressed store, hash-verified

16677
16678 //Faster, more basic than angular.bind http://jsperf.com/angular-bind-vs-custom-vs-native
16679 function simpleBind(context, fn) {
16680 return function(value) {
16681 fn.call(context, value);
16682 };
16683 }
16684
16685 function processQueue(state) {
16686 var fn, deferred, pending;

Callers 2

deferFunction · 0.70
qFactoryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected