Add some documentation for functions on the demo site

This commit is contained in:
coolreader18 committed 2018-12-26 13:25:56 -06:00
1 parent 94d6a91873
commit c38796bb49
1 file changed
+7 -2
+7 -2
View File
@@ -51,12 +51,17 @@ while count < until:
</li>
<li>
<code>vars</code>: an object that will be available in
python as the variable <code>js_vars</code>. Again, only
values that can be serialized with
python as the variable <code>js_vars</code>. Only
functions and values that can be serialized with
<code>JSON.stringify()</code> will go through.
</li>
</ul>
</li>
<li>
JS functions that get passed to python will recieve positional
args as positional args and kwargs as the
<code>this</code> argument
</li>
</ul>
<a href="https://github.com/RustPython/RustPython">