cradova 3.3.12 → 3.3.14

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -560,6 +560,7 @@ class Page {
560
560
  return this._dropped;
561
561
  }
562
562
  async _activate() {
563
+ console.log("boohoo 1");
563
564
  if (this._dropped) {
564
565
  history.go(-1);
565
566
  return;
@@ -569,6 +570,7 @@ class Page {
569
570
  if (html instanceof HTMLElement) {
570
571
  this._template.innerHTML = "";
571
572
  this._template.appendChild(html);
573
+ console.log("boohoo 2", html);
572
574
  } else {
573
575
  throw new Error(` \u2718 Cradova err: template function for the page returned ${html} instead of html`);
574
576
  }
@@ -743,6 +745,7 @@ class Router {
743
745
  RouterBox.route(path, page);
744
746
  }
745
747
  }
748
+ console.log(RouterBox.routes);
746
749
  Router._mount();
747
750
  }
748
751
  static back() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cradova",
3
- "version": "3.3.12",
3
+ "version": "3.3.14",
4
4
  "description": "Build Powerful ⚡ Web Apps with Ease",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",