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 6
6
7
7
/* eslint-env browser */
8
8
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'
10
11
11
12
export function createTree ( ) {
12
13
return h ( 'div' , [
Original file line number Diff line number Diff line change @@ -501,7 +501,7 @@ Yields:
501
501
In a browser, do:
502
502
503
503
``` js
504
- import {h } from ' https://esm.sh/hastscript@8 '
504
+ import {h } from ' https://esm.sh/hastscript@9 '
505
505
import {toJsxRuntime } from ' https://esm.sh/hast-util-to-jsx-runtime@2'
506
506
import {Fragment , jsx , jsxs } from ' https://esm.sh/preact@10/jsx-runtime'
507
507
import {render } from ' https://esm.sh/preact@10'
@@ -549,7 +549,7 @@ Yields:
549
549
In a browser, do:
550
550
551
551
``` js
552
- import {h } from ' https://esm.sh/hastscript@8 '
552
+ import {h } from ' https://esm.sh/hastscript@9 '
553
553
import {toJsxRuntime } from ' https://esm.sh/hast-util-to-jsx-runtime@2'
554
554
import {Fragment , jsx , jsxs } from ' https://esm.sh/solid-js@1/h/jsx-runtime'
555
555
import {render } from ' https://esm.sh/solid-js@1/web'
@@ -623,7 +623,7 @@ Yields:
623
623
In a browser, do:
624
624
625
625
``` js
626
- import {h } from ' https://esm.sh/hastscript@8 '
626
+ import {h } from ' https://esm.sh/hastscript@9 '
627
627
import {toJsxRuntime } from ' https://esm.sh/hast-util-to-jsx-runtime@2'
628
628
import {createApp } from ' https://esm.sh/vue@3'
629
629
import {Fragment , jsx , jsxs } from ' https://esm.sh/vue@3/jsx-runtime'
Original file line number Diff line number Diff line change 1
1
// 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' {
3
3
export * from 'hastscript'
4
4
}
You can’t perform that action at this time.
0 commit comments