(doc, callback)
| 28 | * @param {function(Document):void} callback |
| 29 | */ |
| 30 | export function onDocumentReady(doc, callback) { |
| 31 | onDocumentState(doc, isDocumentReady, callback); |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * Calls the callback when document's state satisfies the stateFn. |
no test coverage detected