Rename `isDocumentReady` to `onDocumentReady`
The name of `isDocumentReady` gives the impressiong that the function would return a boolean. `onDocumentReady`, on the other hand, expresses more clearly that the execution of the callback will be triggered after the iframe's documen is ready (loaded and parsed). On a follow up commit I change the `onDocumentReady` to return a Promise instead of executing a callback.
Showing
Please register or sign in to comment