minor documentation update
This commit is contained in:
parent
89fa438857
commit
a0a460d682
1 changed files with 4 additions and 3 deletions
|
|
@ -207,9 +207,10 @@ from the previous section):
|
||||||
|
|
||||||
Compile the Nim code to JavaScript with ``nim js -o:calculator.js
|
Compile the Nim code to JavaScript with ``nim js -o:calculator.js
|
||||||
calculator.nim`` and open ``host.html`` in a browser. If the browser supports
|
calculator.nim`` and open ``host.html`` in a browser. If the browser supports
|
||||||
javascript, you should see the value ``10``. In JavaScript the `echo proc
|
javascript, you should see the value ``10`` in the browser's console. Use the
|
||||||
<system.html#echo>`_ will modify the HTML DOM and append the string. Use the
|
`dom module <dom.html>`_ for specific DOM querying and modification procs
|
||||||
`dom module <dom.html>`_ for specific DOM querying and modification procs.
|
or take a look at `karax <https://github.com/pragmagic/karax>`_ for how to
|
||||||
|
develop browser based applications.
|
||||||
|
|
||||||
|
|
||||||
Backend code calling Nim
|
Backend code calling Nim
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue