MCPcopy
hub / github.com/winjs/winjs / waitForReady_handler

Function waitForReady_handler

tests/TestLib/Helper.ListView.Utils.ts:590–596  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls 2

waitForReady_workFunction · 0.70
removeEventListenerMethod · 0.65

Tested by

no test coverage detected