Skip to content

Commit

Permalink
added more functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Majid committed Apr 7, 2024
1 parent 123fd09 commit ec80394
Show file tree
Hide file tree
Showing 27 changed files with 998 additions and 573 deletions.
Binary file modified .DS_Store
Binary file not shown.
953 changes: 521 additions & 432 deletions copy_to_src/webdggrid.cpp

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/webdggrid.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/webdggrid.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/webdggrid.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/webdggrid.umd.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ layout: home
hero:
name: "WebDggrid"
text: "A webassembely version of DGGRID"
tagline: My great project tagline
tagline: A wrapper for DGGRID in Web Assembly. Based on last DGGRID c++ library developed by Dr. Kevin Sahr
actions:
- theme: brand
text: Markdown Examples
text: Demo Page
link: /markdown-examples
- theme: alt
text: API Examples
text: API Docs
link: /api/

features:
Expand Down
4 changes: 2 additions & 2 deletions docs/public/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<div id="placeholder"></div>
<script type="module">
// Prefer local version (if available) ---
const WebdggridLocal = await import("../dist/index.js").then(m => m.Webdggrid).catch(console.log);
// const WebdggridLocal = await import("../dist/index.js").then(m => m.Webdggrid).catch(console.log);
import { Webdggrid as WebdggridExternal } from "https://cdn.jsdelivr.net/npm/webDggrid/dist/index.js";

const Webdggrid = WebdggridLocal ?? WebdggridExternal;
const Webdggrid = WebdggridExternal;

const webdggrid = await Webdggrid.load();
document.getElementById("placeholder").innerHTML = `Loaded`;
Expand Down
2 changes: 1 addition & 1 deletion lib-esm/libdggrid.wasm.js

Large diffs are not rendered by default.

82 changes: 57 additions & 25 deletions lib-esm/webdggrid.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib-esm/webdggrid.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ec80394

Please sign in to comment.