File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 66
77/* eslint-env browser */
88
9- import { h , s } from 'https://esm.sh/hastscript@8?dev'
9+ // To do: note: update this once in a while.
10+ import { h , s } from 'https://esm.sh/hastscript@9?dev'
1011
1112export function createTree ( ) {
1213 return h ( 'div' , [
Original file line number Diff line number Diff line change @@ -501,7 +501,7 @@ Yields:
501501In a browser, do:
502502
503503``` js
504- import {h } from ' https://esm.sh/hastscript@8 '
504+ import {h } from ' https://esm.sh/hastscript@9 '
505505import {toJsxRuntime } from ' https://esm.sh/hast-util-to-jsx-runtime@2'
506506import {Fragment , jsx , jsxs } from ' https://esm.sh/preact@10/jsx-runtime'
507507import {render } from ' https://esm.sh/preact@10'
@@ -549,7 +549,7 @@ Yields:
549549In a browser, do:
550550
551551``` js
552- import {h } from ' https://esm.sh/hastscript@8 '
552+ import {h } from ' https://esm.sh/hastscript@9 '
553553import {toJsxRuntime } from ' https://esm.sh/hast-util-to-jsx-runtime@2'
554554import {Fragment , jsx , jsxs } from ' https://esm.sh/solid-js@1/h/jsx-runtime'
555555import {render } from ' https://esm.sh/solid-js@1/web'
@@ -623,7 +623,7 @@ Yields:
623623In a browser, do:
624624
625625``` js
626- import {h } from ' https://esm.sh/hastscript@8 '
626+ import {h } from ' https://esm.sh/hastscript@9 '
627627import {toJsxRuntime } from ' https://esm.sh/hast-util-to-jsx-runtime@2'
628628import {createApp } from ' https://esm.sh/vue@3'
629629import {Fragment , jsx , jsxs } from ' https://esm.sh/vue@3/jsx-runtime'
Original file line number Diff line number Diff line change 11// Support loading hastscript from https://esm.sh
2- declare module 'https://esm.sh/hastscript@8 ?dev' {
2+ declare module 'https://esm.sh/hastscript@9 ?dev' {
33 export * from 'hastscript'
44}
You can’t perform that action at this time.
0 commit comments