@extscreen/es-core 10000.0.14 → 10000.0.15
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +11 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1768,7 +1768,7 @@ class ESLaunchManager {
|
|
1768
1768
|
this._ESRouter = router;
|
1769
1769
|
this._ESRouterEnabled = this.isESRouterSupported();
|
1770
1770
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
1771
|
-
ESLog.d(
|
1771
|
+
ESLog.d('ESRouter', '#------init--------->>' + '\n' +
|
1772
1772
|
'_ESRouterEnabled: ' + this._ESRouterEnabled + '\n' +
|
1773
1773
|
'_ESRouter: ' + this._ESRouter
|
1774
1774
|
);
|
@@ -1779,7 +1779,7 @@ class ESLaunchManager {
|
|
1779
1779
|
setESRouterEnabled(enabled) {
|
1780
1780
|
this._ESRouterEnabled = enabled && this.isESRouterSupported();
|
1781
1781
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
1782
|
-
ESLog.d(
|
1782
|
+
ESLog.d('ESRouter', '#--------setESRouterEnabled------->>' + '\n' +
|
1783
1783
|
'enabled: ' + enabled + '\n' +
|
1784
1784
|
'_ESRouterEnabled: ' + this._ESRouterEnabled
|
1785
1785
|
);
|
@@ -1787,7 +1787,15 @@ class ESLaunchManager {
|
|
1787
1787
|
}
|
1788
1788
|
|
1789
1789
|
isESRouterEnabled() {
|
1790
|
-
|
1790
|
+
let enabled = this._ESRouterEnabled && this.isESRouterSupported();
|
1791
|
+
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
1792
|
+
ESLog.d('ESRouter', '#--------isESRouterEnabled------->>' + '\n' +
|
1793
|
+
'enabled: ' + enabled + '\n' +
|
1794
|
+
'_ESRouterEnabled: ' + this._ESRouterEnabled + '\n' +
|
1795
|
+
'isESRouterSupported: ' + this.isESRouterSupported()
|
1796
|
+
);
|
1797
|
+
}
|
1798
|
+
return enabled;
|
1791
1799
|
}
|
1792
1800
|
|
1793
1801
|
isESRouterSupported() {
|