@extscreen/es-core 10000.1.9 → 10000.1.10

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 +9 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1914,7 +1914,7 @@ function dispatchInstanceKeyEvent(componentInstance, keyEvent) {
1914
1914
 
1915
1915
  function dispatchBackPressed(route) {
1916
1916
  if (ESLog.isLoggable(ESLog.DEBUG)) {
1917
- ESLog.d(TAG$1, '#-------dispatchBackPressed---route-1->>>>>' + route);
1917
+ console.log(TAG$1, '#-------dispatchBackPressed---route-1->>>>>', route);
1918
1918
  }
1919
1919
  let instance = getComponentInstance(route);
1920
1920
  if (ESLog.isLoggable(ESLog.DEBUG)) {
@@ -1924,12 +1924,19 @@ function dispatchBackPressed(route) {
1924
1924
  }
1925
1925
 
1926
1926
  function dispatchInstanceBackPressed(componentInstance) {
1927
+ if (ESLog.isLoggable(ESLog.DEBUG)) {
1928
+ ESLog.d(TAG$1, '#-------dispatchInstanceBackPressed--------->>>>>' + componentInstance);
1929
+ }
1927
1930
  if (componentInstance) {
1928
1931
  if (isFunction(componentInstance.onBackPressed)) {
1929
1932
  if (ESLog.isLoggable(ESLog.DEBUG)) {
1930
1933
  ESLog.d(TAG$1, '#-------onBackPressed---success------>>>>>');
1931
1934
  }
1932
1935
  componentInstance.onBackPressed();
1936
+ } else {
1937
+ if (ESLog.isLoggable(ESLog.DEBUG)) {
1938
+ ESLog.d(TAG$1, '#-------onBackPressed---error------>>>>>');
1939
+ }
1933
1940
  }
1934
1941
  } else {
1935
1942
  if (ESLog.isLoggable(ESLog.DEBUG)) {
@@ -1969,7 +1976,7 @@ var ESRouter = {
1969
1976
  if (router) {
1970
1977
  let route = router.currentRoute;
1971
1978
  if (ESLog.isLoggable(ESLog.DEBUG)) {
1972
- ESLog.d(TAG, '#-------onESRouterBackPressed---route-->>>>>' + route);
1979
+ console.log(TAG, '#-------onESRouterBackPressed---route-->>>>>', route);
1973
1980
  }
1974
1981
  dispatchBackPressed(route);
1975
1982
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extscreen/es-core",
3
- "version": "10000.1.9",
3
+ "version": "10000.1.10",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {