adlnet / xAPIWrapper

Wrapper to simplify communication to an LRS
https://adlnet.gov/projects/xapi/
Apache License 2.0
219 stars 114 forks source link

Support for result object #124

Closed bharatpareek closed 5 years ago

bharatpareek commented 5 years ago

I was using this JS to push h5p statements from Moodle to an LRS.

But the new ADL.XAPIStatement(), does not accept result parameter, the result paramenter can be used to send user's response to LRS.

For example answer to a quiz question.

bharatpareek commented 5 years ago

Added a pull request for the same.

Tested with H5P on Moodle.

https://github.com/adlnet/xAPIWrapper/pull/125