Skip to content

Commit 03d6386

Browse files
committed
doc improvements
1 parent 79d6328 commit 03d6386

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/javascript-modules.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ While it's probably best to create
8484
`a real package <https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry>`__
8585
for your Javascript, if you're just experimenting it might be easiest to quickly
8686
hook in a module of your own making on the fly. As before, we'll be using a
87-
:class:`~idom.widgets.utils.Module`, however this time we'll pass it a ``source``
87+
:class:`~idom.client.module.Module`, however this time we'll pass it a ``source``
8888
parameter which is a file-like object. In the following example we'll use Victory again,
8989
but this time we'll add a callback to it. Unfortunately we can't just pass it in
9090
:ref:`like we did before <Passing Props To Javascript>` because Victory's
9191
event API is a bit more complex so we've implemented a quick wrapper for it in a file
92-
``chart.js`` which we can read in as a ``source`` to :class:`~idom.widgets.utils.Module`:
92+
``chart.js`` which we can read in as a ``source`` to :class:`~idom.client.module.Module`:
9393

9494
Click the bars to trigger an event 👇
9595

0 commit comments

Comments
 (0)