79871 - scorm tried initializing twice

This commit is contained in:
2024-09-10 16:11:03 -04:00
parent 605f479663
commit b9d58c33e7
14 changed files with 11486 additions and 1723 deletions

4
dist/aicc.js vendored
View File

@@ -728,9 +728,7 @@ var BaseAPI = /*#__PURE__*/function () {
value: function initialize(callbackName, initializeMessage, terminationMessage) {
var returnValue = global_constants.SCORM_FALSE;
if (this.isInitialized()) {
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).INITIALIZED, initializeMessage);
} else if (this.isTerminated()) {
if (this.isTerminated()) {
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).TERMINATED, terminationMessage);
} else {
if (this.selfReportSessionTime) {

2
dist/aicc.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/aicc.min.js vendored

File diff suppressed because one or more lines are too long

4
dist/scorm-again.js vendored
View File

@@ -728,9 +728,7 @@ var BaseAPI = /*#__PURE__*/function () {
value: function initialize(callbackName, initializeMessage, terminationMessage) {
var returnValue = global_constants.SCORM_FALSE;
if (this.isInitialized()) {
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).INITIALIZED, initializeMessage);
} else if (this.isTerminated()) {
if (this.isTerminated()) {
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).TERMINATED, terminationMessage);
} else {
if (this.selfReportSessionTime) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
dist/scorm12.js vendored
View File

@@ -603,9 +603,7 @@ var BaseAPI = /*#__PURE__*/function () {
value: function initialize(callbackName, initializeMessage, terminationMessage) {
var returnValue = global_constants.SCORM_FALSE;
if (this.isInitialized()) {
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).INITIALIZED, initializeMessage);
} else if (this.isTerminated()) {
if (this.isTerminated()) {
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).TERMINATED, terminationMessage);
} else {
if (this.selfReportSessionTime) {

2
dist/scorm12.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/scorm12.min.js vendored

File diff suppressed because one or more lines are too long

4
dist/scorm2004.js vendored
View File

@@ -603,9 +603,7 @@ var BaseAPI = /*#__PURE__*/function () {
value: function initialize(callbackName, initializeMessage, terminationMessage) {
var returnValue = global_constants.SCORM_FALSE;
if (this.isInitialized()) {
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).INITIALIZED, initializeMessage);
} else if (this.isTerminated()) {
if (this.isTerminated()) {
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).TERMINATED, terminationMessage);
} else {
if (this.selfReportSessionTime) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

10252
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

2923
yarn.lock

File diff suppressed because it is too large Load Diff