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