@extscreen/es-core 10000.0.13 → 10000.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.js +24 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1758,23 +1758,46 @@ var ESManager$1 = new ESManager();
1758
1758
  *
1759
1759
  */
1760
1760
 
1761
+
1761
1762
  class ESLaunchManager {
1762
1763
 
1763
1764
  _ESRouter = null;
1764
1765
  _ESRouterEnabled = true;
1766
+ _initTime = 0;
1765
1767
 
1766
1768
  init(router) {
1767
1769
  this._ESRouter = router;
1768
1770
  this._ESRouterEnabled = this.isESRouterSupported();
1771
+ if (ESLog.isLoggable(ESLog.DEBUG)) {
1772
+ ESLog.d('ESRouter', '#------init--------->>' + '\n' +
1773
+ '_ESRouterEnabled: ' + this._ESRouterEnabled + '\n' +
1774
+ '_ESRouter: ' + this._ESRouter
1775
+ );
1776
+ }
1777
+ this._initTime = new Date().getTime();
1769
1778
  return Promise.resolve();
1770
1779
  }
1771
1780
 
1772
1781
  setESRouterEnabled(enabled) {
1773
1782
  this._ESRouterEnabled = enabled && this.isESRouterSupported();
1783
+ if (ESLog.isLoggable(ESLog.DEBUG)) {
1784
+ ESLog.d('ESRouter', '#--------setESRouterEnabled------->>' + '\n' +
1785
+ 'enabled: ' + enabled + '\n' +
1786
+ '_ESRouterEnabled: ' + this._ESRouterEnabled
1787
+ );
1788
+ }
1774
1789
  }
1775
1790
 
1776
1791
  isESRouterEnabled() {
1777
- return this._ESRouterEnabled && this.isESRouterSupported();
1792
+ let enabled = this._ESRouterEnabled && this.isESRouterSupported();
1793
+ if (ESLog.isLoggable(ESLog.DEBUG)) {
1794
+ ESLog.d('ESRouter', '#--------isESRouterEnabled------->>' + '\n' +
1795
+ 'enabled: ' + enabled + '\n' +
1796
+ '_ESRouterEnabled: ' + this._ESRouterEnabled + '\n' +
1797
+ 'isESRouterSupported: ' + this.isESRouterSupported()
1798
+ );
1799
+ }
1800
+ return enabled;
1778
1801
  }
1779
1802
 
1780
1803
  isESRouterSupported() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extscreen/es-core",
3
- "version": "10000.0.13",
3
+ "version": "10000.0.16",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {