• Eduardo Sanz García's avatar
    Rename `isDocumentReady` to `onDocumentReady` · 895077ca
    Eduardo Sanz García authored
    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.
    895077ca
hypothesis-injector-test.js 6.92 KB