Allowing cmi.core.lesson_location to contain empty string
This commit is contained in:
6633
dist/scorm-again.js
vendored
6633
dist/scorm-again.js
vendored
File diff suppressed because one or more lines are too long
@@ -362,7 +362,7 @@ class CMICore extends BaseCMI {
|
||||
* @param {string} lesson_location
|
||||
*/
|
||||
set lesson_location(lesson_location) {
|
||||
if (check12ValidFormat(lesson_location, regex.CMIString256)) {
|
||||
if (check12ValidFormat(lesson_location, regex.CMIString256, true)) {
|
||||
this.#lesson_location = lesson_location;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user