(context, fn)
| 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; |