Skip to content

Commit 14feedb

Browse files
Merge pull request #1614 from segmentio/js-ready
Update javascript "ready" behavior
2 parents 40041aa + 2c90ec4 commit 14feedb

File tree

1 file changed

+1
-1
lines changed
  • src/connections/sources/catalog/libraries/website/javascript

1 file changed

+1
-1
lines changed

src/connections/sources/catalog/libraries/website/javascript/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ The Analytics.js utility methods help you change how Segment loads on your page.
436436

437437
The `ready` method allows you to pass in a method that is called once Analytics.js finishes initializing, and once all enabled device-mode destinations load. It's like [jQuery's `ready` method](https://api.jquery.com/ready/), except for destinations.
438438

439-
`ready` is still invoked if a destination throws an error (for example for an expired API key or incorrect settings configuration) during initialization. Doing so prevents blocking code listening for the `ready` callback.
439+
`ready` is not invoked if any destination throws an error (for example for an expired API key or incorrect settings configuration) during initialization.
440440

441441
The code in the `ready` function only executes after `ready` is emitted.
442442

0 commit comments

Comments
 (0)