Skip to content

Commit 00e0d16

Browse files
committed
rename js modules to components in docs
1 parent a8decf8 commit 00e0d16

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Libraries for defining and controlling interactive webpages with Python
1212
getting-started
1313
life-cycle-hooks
1414
core-concepts
15-
javascript-modules
15+
javascript-components
1616
examples
1717

1818
.. toctree::

docs/source/javascript-modules.rst renamed to docs/source/javascript-components.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Javascript Modules
2-
==================
1+
Javascript Components
2+
=====================
33

44
While IDOM is a great tool for displaying HTML and responding to browser events with
55
pure Python, there are other projects which already allow you to do this inside
@@ -96,9 +96,9 @@ IDOM client at runtime.
9696
In the future IDOM will come with tools to help author Python packages with bundled
9797
Javascript
9898

99-
With that said, if you just want to see how this all works it might be easiest to
100-
hook in simple a hand-crafted Javascript module. In the example to follow we'll create
101-
a very basic SVG line chart. The catch though is that we are limited to using Javascript
99+
With that said, if you just want to see how this all works it might be easiest to hook
100+
in simple a hand-crafted Javascript component. In the example to follow we'll create a
101+
very basic SVG line chart. The catch though is that we are limited to using Javascript
102102
that can run directly in the browser. This means we can't use fancy syntax like
103103
`JSX <https://reactjs.org/docs/introducing-jsx.html>`__ and instead will use
104104
`htm <https://github.com/developit/htm>`__ to simulate JSX in plain Javascript.

0 commit comments

Comments
 (0)