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) {
|
value: function initialize(callbackName, initializeMessage, terminationMessage) {
|
||||||
var returnValue = global_constants.SCORM_FALSE;
|
var returnValue = global_constants.SCORM_FALSE;
|
||||||
|
|
||||||
if (this.isInitialized()) {
|
if (this.isTerminated()) {
|
||||||
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).INITIALIZED, initializeMessage);
|
|
||||||
} else if (this.isTerminated()) {
|
|
||||||
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).TERMINATED, terminationMessage);
|
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).TERMINATED, terminationMessage);
|
||||||
} else {
|
} else {
|
||||||
if (this.selfReportSessionTime) {
|
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) {
|
value: function initialize(callbackName, initializeMessage, terminationMessage) {
|
||||||
var returnValue = global_constants.SCORM_FALSE;
|
var returnValue = global_constants.SCORM_FALSE;
|
||||||
|
|
||||||
if (this.isInitialized()) {
|
if (this.isTerminated()) {
|
||||||
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).INITIALIZED, initializeMessage);
|
|
||||||
} else if (this.isTerminated()) {
|
|
||||||
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).TERMINATED, terminationMessage);
|
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).TERMINATED, terminationMessage);
|
||||||
} else {
|
} else {
|
||||||
if (this.selfReportSessionTime) {
|
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) {
|
value: function initialize(callbackName, initializeMessage, terminationMessage) {
|
||||||
var returnValue = global_constants.SCORM_FALSE;
|
var returnValue = global_constants.SCORM_FALSE;
|
||||||
|
|
||||||
if (this.isInitialized()) {
|
if (this.isTerminated()) {
|
||||||
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).INITIALIZED, initializeMessage);
|
|
||||||
} else if (this.isTerminated()) {
|
|
||||||
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).TERMINATED, terminationMessage);
|
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).TERMINATED, terminationMessage);
|
||||||
} else {
|
} else {
|
||||||
if (this.selfReportSessionTime) {
|
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) {
|
value: function initialize(callbackName, initializeMessage, terminationMessage) {
|
||||||
var returnValue = global_constants.SCORM_FALSE;
|
var returnValue = global_constants.SCORM_FALSE;
|
||||||
|
|
||||||
if (this.isInitialized()) {
|
if (this.isTerminated()) {
|
||||||
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).INITIALIZED, initializeMessage);
|
|
||||||
} else if (this.isTerminated()) {
|
|
||||||
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).TERMINATED, terminationMessage);
|
this.throwSCORMError(_classPrivateFieldGet(this, _error_codes).TERMINATED, terminationMessage);
|
||||||
} else {
|
} else {
|
||||||
if (this.selfReportSessionTime) {
|
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
Generated
+10252
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user