-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue where it was possible for State API calls fired in quick …
…succession to the same object, to persist the older data, even if the calls where fired in the correct order. State calls are now queued, so it is no longer possible for the LRS to save the states in the wrong order due to the time it takes to execute the asynchronous requests. This also required a move from the XHR requests used in the ADLWrapper as these do not work with the callback functionality used with Async.queue. Moved to using the Fetch API with a modified polyfill for browsers which don't support the API or the keepalive attribute, to resolve adlnet/xAPIWrapper#166.
- Loading branch information
1 parent
da35171
commit 4164ffe
Showing
4 changed files
with
222 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
4164ffe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See 9bf8ad9 for missing library files.
This commit also fixes a caching issue with retrieving the State when using the ADL xAPIWrapper in IE11.