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