79871 - scorm tried initializing twice
This commit is contained in:
4
dist/aicc.js
vendored
4
dist/aicc.js
vendored
@@ -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
2
dist/aicc.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/aicc.min.js
vendored
2
dist/aicc.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/scorm-again.js
vendored
4
dist/scorm-again.js
vendored
@@ -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/scorm-again.js.map
vendored
2
dist/scorm-again.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/scorm-again.min.js
vendored
2
dist/scorm-again.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/scorm12.js
vendored
4
dist/scorm12.js
vendored
@@ -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
2
dist/scorm12.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/scorm12.min.js
vendored
4
dist/scorm12.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/scorm2004.js
vendored
4
dist/scorm2004.js
vendored
@@ -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/scorm2004.js.map
vendored
2
dist/scorm2004.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/scorm2004.min.js
vendored
2
dist/scorm2004.min.js
vendored
File diff suppressed because one or more lines are too long
10252
package-lock.json
generated
Normal file
10252
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user