minor documentation update

This commit is contained in:
Araq 2017-11-22 22:54:37 +01:00
commit a0a460d682

View file

@ -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