Skip to content

Commit

Permalink
Merge pull request #25 from Ultimaker/NP-389_alpha7
Browse files Browse the repository at this point in the history
NP-389 Yet another attempt at no Top Level Await
  • Loading branch information
sedwards2009 authored Sep 18, 2024
2 parents 25e4c9a + 5779149 commit 7672fb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DulcificumJS/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ultimaker/dulcificumjs",
"version": "0.1.0-alpha.6",
"version": "0.1.0-alpha.7",
"description": "DulcificumJS is a TS component to run Dulcificum in a browser",
"main": "dist/index.js",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions DulcificumJS/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ export async function initialize(): Promise<void> {
}

export function gcode_2_miracle_jtp(input: string): string {
if (mod == null) {
return "";
}
return <string> mod.gcode_2_miracle_jtp(input);
}

0 comments on commit 7672fb4

Please sign in to comment.