()
| 588 | return function (x?) { |
| 589 | return new WinJS.Promise(function (c, e, p) { |
| 590 | function waitForReady_handler() { |
| 591 | LiveUnit.LoggingCore.logComment("waitForReady_handler, listView.loadingState:" + listView.loadingState); |
| 592 | if (listView.loadingState === "complete") { |
| 593 | listView.removeEventListener("loadingstatechanged", waitForReady_handler, false); |
| 594 | waitForReady_work(); |
| 595 | } |
| 596 | } |
| 597 | |
| 598 | function waitForReady_work() { |
| 599 | if (listView._versionManager.locked) { |
nothing calls this directly
no test coverage detected