Allowing empty comments in SCORM 1.2
This commit is contained in:
8
dist/scorm-again.js
vendored
8
dist/scorm-again.js
vendored
File diff suppressed because one or more lines are too long
2
dist/scorm-again.js.map
vendored
2
dist/scorm-again.js.map
vendored
File diff suppressed because one or more lines are too long
6
dist/scorm-again.min.js
vendored
6
dist/scorm-again.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "scorm-again",
|
||||
"version": "1.4.3",
|
||||
"version": "1.4.4",
|
||||
"description": "A modern SCORM JavaScript run-time library for AICC, SCORM 1.2, and SCORM 2004",
|
||||
"main": "dist/scorm-again.min.js",
|
||||
"directories": {
|
||||
|
||||
@@ -226,7 +226,7 @@ export class CMI extends BaseCMI {
|
||||
* @param {string} comments
|
||||
*/
|
||||
set comments(comments) {
|
||||
if (check12ValidFormat(comments, scorm12_regex.CMIString4096)) {
|
||||
if (check12ValidFormat(comments, scorm12_regex.CMIString4096, true)) {
|
||||
this.#comments = comments;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user