cmi.core.suspend_data vs. cmi.suspend_data

It seems to be a common issue that some SCORM 1.2 modules are trying to store "suspend_data" in cmi.core.suspend_data instead of cmi.suspend_data, which is actually the correct field according to the spec. We're still only storing it once, but will allow getting and setting from cmi.core.suspend_data. Exported JSON will continue to only output spec compliant data.
This commit is contained in:
Jonathan Putney
2020-02-06 12:35:49 -05:00
parent de91be85e2
commit 3103707aec
6 changed files with 87 additions and 34 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "scorm-again",
"version": "1.0.2",
"version": "1.0.3",
"description": "A modern SCORM JavaScript run-time library for AICC, SCORM 1.2, and SCORM 2004",
"main": "dist/scorm-again.min.js",
"directories": {