| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > |
| 2 <html> |
| 3 <head> |
| 4 <title>Native Client Ruby demo</title> |
| 5 |
| 6 <script type="text/javascript" src="ruby.js"> |
| 7 </script> |
| 8 |
| 9 </head> |
| 10 <body id="bodyId" onload="start()" onunload="doUnload()"> |
| 11 |
| 12 <h1>Native Client Ruby demo</h1> |
| 13 |
| 14 <embed id="client" type="application/x-nacl-srpc" |
| 15 width="0" height="0" src="ruby.nexe" /> |
| 16 |
| 17 <br> |
| 18 <form onsubmit='doExecute(); return false;' action="/"> |
| 19 <input id='rubyCode' type='text' size='100' value='puts "hi! I am Ruby."'> |
| 20 <input id='execute' type='submit' value='execute'> |
| 21 </form> |
| 22 <div id='output'> |
| 23 </div> |
| 24 |
| 25 </body> |
| 26 </html> |
| OLD | NEW |