@extscreen/es-core 2.2.60 → 2.2.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +15 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -4668,13 +4668,13 @@ var ESApplication = {
|
|
4668
4668
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
4669
4669
|
ESLog.d(TAG, '---------onESCreate---Promise---success---->>>>');
|
4670
4670
|
}
|
4671
|
-
this.
|
4671
|
+
this._onESCreated(true);
|
4672
4672
|
},
|
4673
4673
|
error => {
|
4674
4674
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
4675
4675
|
console.log(TAG, '---------onESCreate---Promise---error---->>>>', error);
|
4676
4676
|
}
|
4677
|
-
this.
|
4677
|
+
this._onESCreated(false);
|
4678
4678
|
}
|
4679
4679
|
);
|
4680
4680
|
}
|
@@ -4683,7 +4683,7 @@ var ESApplication = {
|
|
4683
4683
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
4684
4684
|
ESLog.d(TAG, '---------onESCreate--return-Not Promise----->>>>');
|
4685
4685
|
}
|
4686
|
-
this.
|
4686
|
+
this._onESCreated(true);
|
4687
4687
|
}
|
4688
4688
|
}
|
4689
4689
|
//
|
@@ -4691,10 +4691,17 @@ var ESApplication = {
|
|
4691
4691
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
4692
4692
|
ESLog.d(TAG, '---------onESCreate---Not Function----->>>>');
|
4693
4693
|
}
|
4694
|
-
this.
|
4694
|
+
this._onESCreated(true);
|
4695
4695
|
}
|
4696
4696
|
},
|
4697
|
-
|
4697
|
+
_onESCreated(success) {
|
4698
|
+
try {
|
4699
|
+
this.onESCreated(success);
|
4700
|
+
} catch (e) {
|
4701
|
+
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
4702
|
+
ESLog.d(TAG, '---------onESCreated---error---->>>>');
|
4703
|
+
}
|
4704
|
+
}
|
4698
4705
|
if (this.autoLaunchMainESPage) {
|
4699
4706
|
this.launchMainESPage();
|
4700
4707
|
}
|
@@ -4731,6 +4738,9 @@ var ESApplication = {
|
|
4731
4738
|
return false;
|
4732
4739
|
},
|
4733
4740
|
//---------------------------下面的方法给使用者覆写-----------------------------
|
4741
|
+
onESCreated(success) {
|
4742
|
+
|
4743
|
+
},
|
4734
4744
|
onLaunchESPage(url, params) {
|
4735
4745
|
|
4736
4746
|
},
|