MCPcopy
hub / github.com/winjs/winjs / complete

Function complete

src/js/WinJS/BindingTemplate.js:128–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126 //
127 var timeout = that.processTimeout;
128 function complete() {
129 return work(ControlProcessor.processAll).
130 then(function () { return cancelBlocker(dataContext); }).
131 then(function Template_renderImpl_Binding_processAll(data) {
132 return work(_Declarative.processAll, data, !extractedChild && !initial, that.bindingCache);
133 }).
134 then(null, function (e) {
135 if (typeof e === "object" && e.name === "Canceled") {
136 (extractedChild || d).dispose();
137 }
138 return Promise.wrapError(e);
139 });
140 }
141 if (timeout) {
142 if (timeout < 0) { timeout = 0; }
143 return Promise.timeout(timeout).then(function () {

Callers 15

checkCompleteFunction · 0.70
processAllImplFunction · 0.70
checkAllCompleteFunction · 0.70
interpretedRenderFunction · 0.70
insertFunction · 0.50
changeFunction · 0.50
moveFunction · 0.50
removeFunction · 0.50
createTestDataAdapterFunction · 0.50
_waitForFocusFunction · 0.50

Calls 2

thenMethod · 0.65
disposeMethod · 0.65

Tested by 3

testFunction · 0.40
testMethod · 0.40
testFunction · 0.40