File tree 4 files changed +3
-86
lines changed
4 files changed +3
-86
lines changed Original file line number Diff line number Diff line change
1
+ const IDOM_CLIENT_REACT_PATH = "/client/_snowpack/pkg/idom-client-react.js" ;
2
+
1
3
export default function loadWidgetExample (
2
4
idomServerHost ,
3
5
idomServerPath ,
@@ -16,7 +18,7 @@ export default function loadWidgetExample(
16
18
17
19
enableWidgetButton . addEventListener ( "click" , ( ) => {
18
20
{
19
- import ( http_proto + idom_url + "/client/src/index.js" ) . then ( ( module ) => {
21
+ import ( http_proto + idom_url + IDOM_CLIENT_REACT_PATH ) . then ( ( module ) => {
20
22
{
21
23
fadeOutAndThen ( enableWidgetButton , ( ) => {
22
24
{
Original file line number Diff line number Diff line change 1
1
API Reference
2
2
=============
3
-
4
- .. automodule :: idom.client.manage
5
- :members:
6
-
7
- .. automodule :: idom.client.module
8
- :members:
9
-
10
- .. automodule :: idom.config
11
- :members:
12
-
13
- .. automodule :: idom.core.component
14
- :members:
15
-
16
- .. automodule :: idom.core.dispatcher
17
- :members:
18
-
19
- .. automodule :: idom.core.events
20
- :members:
21
-
22
- .. automodule :: idom.core.hooks
23
- :members:
24
-
25
- .. automodule :: idom.core.layout
26
- :members:
27
-
28
- .. automodule :: idom.core.vdom
29
- :members:
30
-
31
- .. automodule :: idom.dialect
32
- :members:
33
-
34
- .. automodule :: idom.log
35
- :members:
36
-
37
- .. automodule :: idom.server.fastapi
38
- :members:
39
-
40
- .. automodule :: idom.server.flask
41
- :members:
42
-
43
- .. automodule :: idom.server.prefab
44
- :members:
45
-
46
- .. automodule :: idom.server.sanic
47
- :members:
48
-
49
- .. automodule :: idom.server.tornado
50
- :members:
51
-
52
- .. automodule :: idom.testing
53
- :members:
54
-
55
- .. automodule :: idom.utils
56
- :members:
57
-
58
- .. automodule :: idom.widgets.html
59
- :members:
60
-
61
- .. automodule :: idom.widgets.utils
62
- :members:
63
-
64
- Misc Modules
65
- ------------
66
-
67
- .. automodule :: idom.cli
68
- :members:
69
-
70
- .. automodule :: idom.core.utils
71
- :members:
72
-
73
- .. automodule :: idom.server.base
74
- :members:
75
-
76
- .. automodule :: idom.server.utils
77
- :members:
Original file line number Diff line number Diff line change 1
1
Developer APIs
2
2
==============
3
-
4
- .. automodule :: idom._option
5
- :members:
6
-
7
- Misc Dev Modules
8
- ----------------
9
-
10
- .. automodule :: idom.client._private
11
- :members:
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ def wrap_builder(old_builder):
26
26
# This is the bit that we're injecting to get the example components to reload too
27
27
def new_builder ():
28
28
[s .stop () for s in _running_idom_servers ]
29
- [s .wait_until_stopped () for s in _running_idom_servers ]
30
29
31
30
# we need to set this before `docs.main` does
32
31
IDOM_CLIENT_IMPORT_SOURCE_URL .current = (
You can’t perform that action at this time.
0 commit comments