()
| 163 | var self = this; |
| 164 | var myLoadNumber = ++loadNumber; |
| 165 | function next() { |
| 166 | // To prevent race conditions we ensure that no future requests have been processed in the mean time. |
| 167 | if (myLoadNumber === loadNumber) { |
| 168 | callback.apply(self, arguments); |
| 169 | } |
| 170 | } |
| 171 | // in AMD environment realAction is the string containing path to the controller |
| 172 | // which will be loaded async (might be preloaded) |
| 173 | // Only used in AMD environment |
no outgoing calls
no test coverage detected