79871 - scorm tried initializing twice
This commit is contained in:
Vendored
+1
-3
@@ -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) {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-3
@@ -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) {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-3
@@ -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) {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
File diff suppressed because one or more lines are too long
Vendored
+1
-3
@@ -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) {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user