diff options
author | Matt Mastracci <matthew@mastracci.com> | 2024-03-13 21:23:37 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-14 04:23:37 +0100 |
commit | 66fd6f286641d4d2491d7b4bb314bd7e7eff16d8 (patch) | |
tree | b84aa4cac4c0a756539c91e5df4193d3636ae2bb /runtime/examples/extension/main.js | |
parent | 1f3c4c976313904d5df0b33b2cc0e282e62d1000 (diff) |
fix(cli): unbreak extension example and fix __runtime_js_sources (#22906)
Better example to close https://github.com/denoland/deno/issues/22600
---------
Signed-off-by: Matt Mastracci <matthew@mastracci.com>
Diffstat (limited to 'runtime/examples/extension/main.js')
-rw-r--r-- | runtime/examples/extension/main.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/examples/extension/main.js b/runtime/examples/extension/main.js new file mode 100644 index 000000000..4d6e4e3b7 --- /dev/null +++ b/runtime/examples/extension/main.js @@ -0,0 +1,4 @@ +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +console.log("Hello world from JS!"); +console.log(Deno.build); +Extension.hello(); |