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