MCPcopy Create free account
hub / github.com/OpenReservation/OpenReservation / simpleBind

Function simpleBind

OpenReservation/wwwroot/Scripts/angular.js:15997–16001  ·  view source on GitHub ↗
(context, fn)

Source from the content-addressed store, hash-verified

15995
15996 //Faster, more basic than angular.bind http://jsperf.com/angular-bind-vs-custom-vs-native
15997 function simpleBind(context, fn) {
15998 return function (value) {
15999 fn.call(context, value);
16000 };
16001 }
16002
16003 function processQueue(state) {
16004 var fn, deferred, pending;

Callers 2

deferFunction · 0.85
qFactoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected