MCPcopy
hub / github.com/winjs/winjs / checkComplete

Function checkComplete

src/js/WinJS/ControlProcessor.js:79–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77 count++;
78 }
79 var checkComplete = function checkComplete() {
80 count--;
81 if (count === 0) {
82 element.winControl = element.winControl || ctl;
83 complete(ctl);
84 }
85 };
86
87 // async exceptions from the handler get dropped on the floor...
88 //

Callers 1

activateFunction · 0.85

Calls 1

completeFunction · 0.70

Tested by

no test coverage detected