-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Paged dgrid failing in strict mode
Signed-off-by: Gordon Smith <[email protected]>
- Loading branch information
1 parent
6d49af1
commit 9a738c1
Showing
7 changed files
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ | |
margin-top: 20px; | ||
} | ||
</style> | ||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@hpcc-js/[email protected]/dist/index.min.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
|
@@ -33,8 +34,9 @@ | |
"@hpcc-js/api": "../api/dist/index.js", | ||
"@hpcc-js/chart": "../chart/dist/index.js", | ||
"@hpcc-js/codemirror": "../codemirror/dist/index.js", | ||
"@hpcc-js/comms": "../comms/dist/index.js", | ||
"@hpcc-js/comms": "../comms/dist/index.browser.js", | ||
"@hpcc-js/dgrid": "../dgrid/dist/index.js", | ||
"@hpcc-js/dgrid2": "../dgrid2/dist/index.js", | ||
"@hpcc-js/react": "../react/dist/index.js", | ||
"@hpcc-js/html": "../html/dist/index.js", | ||
"@hpcc-js/graph": "../graph/dist/index.js", | ||
|
@@ -47,22 +49,23 @@ | |
} | ||
} | ||
</script> | ||
<link rel="stylesheet" href="./dist/index.css"> | ||
</head> | ||
|
||
<body onresize="doResize()"> | ||
<h1>ESM Quick Test</h1> | ||
<div id="placeholder"></div> | ||
<script type="module"> | ||
import { ECLArchiveViewer } from "@hpcc-js/eclwatch"; | ||
import { WUResult } from "@hpcc-js/eclwatch"; | ||
|
||
const ESP_URL = "http://localhost:8010/"; | ||
const WUID = "W20241115-101614"; | ||
|
||
window.__widget = new ECLArchiveViewer() | ||
const RESULT_NAME = "Result 3"; | ||
window.__widget = new WUResult() | ||
.target("placeholder") | ||
.baseUrl(ESP_URL) | ||
.wuid(WUID) | ||
.resultName(RESULT_NAME) | ||
.pagination(true) | ||
.render() | ||
; | ||
</script> | ||
|