(rootElement, skipRoot)
| 193 | } |
| 194 | |
| 195 | function processAll(rootElement, skipRoot) { |
| 196 | /// <signature helpKeyword="WinJS.UI.processAll"> |
| 197 | /// <summary locid="WinJS.UI.processAll"> |
| 198 | /// Applies declarative control binding to all elements, starting at the specified root element. |
| 199 | /// </summary> |
| 200 | /// <param name="rootElement" type="Object" domElement="true" locid="WinJS.UI.processAll_p:rootElement"> |
| 201 | /// The element at which to start applying the binding. If this parameter is not specified, the binding is applied to the entire document. |
| 202 | /// </param> |
| 203 | /// <param name="skipRoot" type="Boolean" optional="true" locid="WinJS.UI.processAll_p:skipRoot"> |
| 204 | /// If true, the elements to be bound skip the specified root element and include only the children. |
| 205 | /// </param> |
| 206 | /// <returns type="WinJS.Promise" locid="WinJS.UI.processAll_returnValue"> |
| 207 | /// A promise that is fulfilled when binding has been applied to all the controls. |
| 208 | /// </returns> |
| 209 | /// </signature> |
| 210 | if (!processedAllCalled) { |
| 211 | return _BaseUtils.ready().then(function () { |
| 212 | processedAllCalled = true; |
| 213 | return processAllImpl(rootElement, skipRoot); |
| 214 | }); |
| 215 | } else { |
| 216 | return processAllImpl(rootElement, skipRoot); |
| 217 | } |
| 218 | } |
| 219 | |
| 220 | function process(element) { |
| 221 | /// <signature helpKeyword="WinJS.UI.process"> |
nothing calls this directly
no test coverage detected