cradova 3.3.12 → 3.3.13

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 CHANGED
@@ -539,6 +539,7 @@ class Page {
539
539
  this._html = template;
540
540
  this._name = name || "Document";
541
541
  this._template.setAttribute("id", "page");
542
+ console.log("boohoo 1");
542
543
  }
543
544
  set errorHandler(errorHandler) {
544
545
  this._errorHandler = errorHandler;
@@ -731,7 +732,8 @@ class RouterBoxClass {
731
732
  var RouterBox = new RouterBoxClass;
732
733
 
733
734
  class Router {
734
- static BrowserRoutes(obj) {
735
+ BrowserRoutes(obj) {
736
+ console.log("boohoo 3");
735
737
  for (const path in obj) {
736
738
  let page = obj[path];
737
739
  if (typeof page === "object" && typeof page.then === "function" || typeof page === "function") {
@@ -806,6 +808,7 @@ class Router {
806
808
  }
807
809
  }
808
810
  static _mount() {
811
+ console.log("boohoo 2");
809
812
  let doc = document.querySelector("[data-wrapper=app]");
810
813
  if (!doc) {
811
814
  doc = document.createElement("div");
@@ -254,7 +254,7 @@ export declare class Router {
254
254
  *
255
255
  * accepts an object containing pat and page
256
256
  */
257
- static BrowserRoutes(obj: Record<string, Page | promisedPage>): void;
257
+ BrowserRoutes(obj: Record<string, Page | promisedPage>): void;
258
258
  /**
259
259
  Go back in Navigation history
260
260
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cradova",
3
- "version": "3.3.12",
3
+ "version": "3.3.13",
4
4
  "description": "Build Powerful ⚡ Web Apps with Ease",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",