Fixing a write-only issue with SCORM 1.2 nav.event until I figure out what to do with it
Not sure if it's even necessary outside of Moodle, or if it is custom for their player.
This commit is contained in:
4
dist/scorm-again.js
vendored
4
dist/scorm-again.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "scorm-again",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "A modern SCORM JavaScript run-time library for AICC, SCORM 1.2, and SCORM 2004",
|
||||
"main": "dist/scorm-again.min.js",
|
||||
"directories": {
|
||||
|
||||
@@ -1249,7 +1249,7 @@ export class NAV extends BaseCMI {
|
||||
* @return {string}
|
||||
*/
|
||||
get event() {
|
||||
return (!this.jsonString) ? throwWriteOnlyError() : this.#event;
|
||||
return this.#event;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user