Skip to content

Commit

Permalink
fix html
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwong246 committed Mar 25, 2024
1 parent 06b7fda commit fb25e91
Show file tree
Hide file tree
Showing 12 changed files with 32,317 additions and 5,610 deletions.
2,202 changes: 585 additions & 1,617 deletions dist/Report.css

Large diffs are not rendered by default.

1,166 changes: 545 additions & 621 deletions dist/Report.js

Large diffs are not rendered by default.

23,539 changes: 23,539 additions & 0 deletions dist/chunk-EAMZY4FU.js

Large diffs are not rendered by default.

5,047 changes: 5,047 additions & 0 deletions dist/chunk-OLKJ7VW4.js

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions dist/chunk-SLJCZJWX.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import {
require_client,
require_react
} from "./chunk-EAMZY4FU.js";
import {
__toESM
} from "./chunk-4ATCX2XT.js";

// src/ClassicalComponent.tsx
var import_react = __toESM(require_react());
var import_client = __toESM(require_client());
var ClassicalComponent = class extends import_react.default.Component {
constructor(props) {
super(props);
this.state = {
count: 0
};
}
// componentDidMount() {
// console.info("componentDidMount");
// // const x = fetch("http://www.google.com")
// // .then((response) => response.text())
// // .then(x => {
// // console.warn("i am a genius", x)
// // });
// // console.info("x", x);
// // const y = fetch("http://www.google.com/", { mode: `no-cors` })
// // // .then((response) => response.text())
// // .then(x => {
// // console.log("i am a genius!")
// // });
// // console.info(y);
// }
render() {
return /* @__PURE__ */ import_react.default.createElement("div", { style: { border: "3px solid green" } }, /* @__PURE__ */ import_react.default.createElement("h1", null, "Hello Marcus"), /* @__PURE__ */ import_react.default.createElement("pre", { id: "theProps" }, JSON.stringify(this.props)), /* @__PURE__ */ import_react.default.createElement("p", null, "foo: ", this.props.foo), /* @__PURE__ */ import_react.default.createElement("pre", { id: "theState" }, JSON.stringify(this.state)), /* @__PURE__ */ import_react.default.createElement("p", null, "count: ", this.state.count, " times"), /* @__PURE__ */ import_react.default.createElement("button", { id: "theButton", onClick: async () => {
this.setState({ count: this.state.count + 1 });
} }, "Click"));
}
};
var LaunchClassicalComponent = () => {
document.addEventListener("DOMContentLoaded", function() {
const elem = document.getElementById("root");
if (elem) {
console.log("DOMContentLoaded and root found", ClassicalComponent);
import_client.default.createRoot(elem).render(import_react.default.createElement(ClassicalComponent));
}
});
};
var ClassicalComponent_default = LaunchClassicalComponent;

export {
ClassicalComponent,
LaunchClassicalComponent,
ClassicalComponent_default
};
8 changes: 4 additions & 4 deletions dist/features.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import {
__toESM
} from "./chunk-4ATCX2XT.js";

// node_modules/graphology/dist/graphology.umd.min.js
// ../testeranto/node_modules/graphology/dist/graphology.umd.min.js
var require_graphology_umd_min = __commonJS({
"node_modules/graphology/dist/graphology.umd.min.js"(exports, module) {
"../testeranto/node_modules/graphology/dist/graphology.umd.min.js"(exports, module) {
!function(t, e) {
"object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : (t = "undefined" != typeof globalThis ? globalThis : t || self).graphology = e();
}(exports, function() {
Expand Down Expand Up @@ -88,7 +88,7 @@ var require_graphology_umd_min = __commonJS({
return i2 ? o2 = "mixed" === r2 ? i2.out && i2.out[n2] || i2.undirected && i2.undirected[n2] : "directed" === r2 ? i2.out && i2.out[n2] : i2.undirected && i2.undirected[n2] : o2;
}
function s(e2) {
return "object" === t(e2) && null !== e2;
return "object" === t(e2) && null !== e2 && e2.constructor === Object;
}
function h(t2) {
var e2;
Expand Down Expand Up @@ -1984,7 +1984,7 @@ var require_graphology_umd_min = __commonJS({
}
});

// node_modules/testeranto/dist/module/Features.js
// ../testeranto/dist/module/Features.js
var import_graphology = __toESM(require_graphology_umd_min(), 1);
var { DirectedGraph, UndirectedGraph } = import_graphology.default;
var BaseFeature = class {
Expand Down
4 changes: 2 additions & 2 deletions dist/report.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title>kokomoBay - testeranto</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="" />
<link rel="stylesheet" href="/dist/report.css" />
<link rel="stylesheet" href="./report.css" />

<script type="importmap">
{
Expand All @@ -20,7 +20,7 @@
</script>


<script src="/dist/report.js"></script>
<script src="./report.js"></script>
</head>

<body>
Expand Down
6 changes: 3 additions & 3 deletions dist/src/ClassicalComponent.electron.test.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import {
Web_default,
assert
} from "../chunk-2GR5DWQ4.js";
} from "../chunk-OLKJ7VW4.js";
import {
ClassicalComponent
} from "../chunk-S6FS72L5.js";
} from "../chunk-SLJCZJWX.js";
import {
require_client,
require_react
} from "../chunk-YI7SC5VN.js";
} from "../chunk-EAMZY4FU.js";
import {
__toESM
} from "../chunk-4ATCX2XT.js";
Expand Down
4 changes: 2 additions & 2 deletions dist/src/ClassicalComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import {
ClassicalComponent,
ClassicalComponent_default,
LaunchClassicalComponent
} from "../chunk-S6FS72L5.js";
import "../chunk-YI7SC5VN.js";
} from "../chunk-SLJCZJWX.js";
import "../chunk-EAMZY4FU.js";
import "../chunk-4ATCX2XT.js";
export {
ClassicalComponent,
Expand Down
4 changes: 2 additions & 2 deletions dist/src/LoginPage.electron.test.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import {
Web_default,
assert
} from "../chunk-2GR5DWQ4.js";
} from "../chunk-OLKJ7VW4.js";
import {
require_client,
require_react,
require_react_dom
} from "../chunk-YI7SC5VN.js";
} from "../chunk-EAMZY4FU.js";
import {
__commonJS,
__spreadProps,
Expand Down
2 changes: 1 addition & 1 deletion dist/src/Rectangle/Rectangle.test.electron.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
Web_default,
assert
} from "../../chunk-2GR5DWQ4.js";
} from "../../chunk-OLKJ7VW4.js";
import "../../chunk-4ATCX2XT.js";

// src/Rectangle.ts
Expand Down

0 comments on commit fb25e91

Please sign in to comment.