diff options
author | Alon Zakai <azakai@mozilla.com> | 2011-01-01 17:01:58 -0800 |
---|---|---|
committer | Alon Zakai <azakai@mozilla.com> | 2011-01-01 17:01:58 -0800 |
commit | 527e0b496923f49e81639fb62daf21178c4226ab (patch) | |
tree | 9c7de628ac99b40d7ffc14c52e93a63a75ec5477 /demos | |
parent | 785e01b0d00125bbf9b1d32ecfd98af311f4e985 (diff) |
comment
Diffstat (limited to 'demos')
-rw-r--r-- | demos/python.html | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/demos/python.html b/demos/python.html index 1d924b4e..04684072 100644 --- a/demos/python.html +++ b/demos/python.html @@ -12,8 +12,18 @@ } </style> - <!-- Changes from automatically generated code: arguments and run(), and in _PyRun_SimpleStringFlags, add - if(!this.RAN_ALREADY){this.RAN_ALREADY=true;throw "halting, since this is the first run" } --> + <!-- + Changes from automatically generated code: + + * At the beginning, add |arguments=[]| before |var args=arguments|; + + * In |_PyRun_SimpleStringFlags|, add + + if(!this.RAN_ALREADY){this.RAN_ALREADY=true;throw "halting, since this is the first run" } + + * At the end, comment out |run(args)|. + --> + <script src="python.js"></script> <script> |