()
| 145 | return function (x?): WinJS.Promise<any> { |
| 146 | return new WinJS.Promise(function (c, e, p) { |
| 147 | function waitForReady_handler() { |
| 148 | LiveUnit.LoggingCore.logComment("waitForReady_handler, listView.loadingState:" + listView.loadingState); |
| 149 | if (listView.loadingState === "complete") { |
| 150 | listView.removeEventListener("loadingstatechanged", waitForReady_handler, false); |
| 151 | waitForReady_work(); |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | function waitForReady_work() { |
| 156 | if (listView._versionManager.locked) { |
nothing calls this directly
no test coverage detected