| OLD | NEW |
| 1 <HTML> | 1 <HTML> |
| 2 <HEAD> | 2 <HEAD> |
| 3 <TITLE>Native Client Lua demo</TITLE> | 3 <TITLE>Native Client Lua demo</TITLE> |
| 4 <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> | 4 <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> |
| 5 <META HTTP-EQUIV="Expires" CONTENT="-1"> | 5 <META HTTP-EQUIV="Expires" CONTENT="-1"> |
| 6 | 6 |
| 7 <script type="text/javascript"> | 7 <script type="text/javascript"> |
| 8 | 8 |
| 9 var client; | 9 var client; |
| 10 var lua; | 10 var lua; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 clearTimeout(timeout); | 45 clearTimeout(timeout); |
| 46 } | 46 } |
| 47 | 47 |
| 48 </script> | 48 </script> |
| 49 | 49 |
| 50 </HEAD> | 50 </HEAD> |
| 51 <BODY id="bodyId" onload="start()" onunload="doUnload()"> | 51 <BODY id="bodyId" onload="start()" onunload="doUnload()"> |
| 52 | 52 |
| 53 <h1>Native Client Lua demo</h1> | 53 <h1>Native Client Lua demo</h1> |
| 54 | 54 |
| 55 <embed id="client" src="lua_module.nexe" type="application/x-nacl-npapi" width="
0" height="0"></embed> | 55 <embed id="client" nexe="lua_module" type="application/x-nacl-npapi" |
| 56 width="0" height="0"> |
| 57 <noembed> |
| 58 Your browser does not appear to support Native Client. |
| 59 Visit http://code.google.com/p/nativeclient/ to get started. |
| 60 <noembed/> |
| 61 </embed> |
| 56 | 62 |
| 57 <br> | 63 <br> |
| 58 <form onsubmit='doExecute(); return false;'> | 64 <form onsubmit='doExecute(); return false;'> |
| 59 <input id='luaCode' type='text' size='100' value='print("hello world!")'> | 65 <input id='luaCode' type='text' size='100' value='print("hello world!")'> |
| 60 <input id='execute' type='submit' value='execute'> | 66 <input id='execute' type='submit' value='execute'> |
| 61 </form> | 67 </form> |
| 62 <div id='output'> | 68 <div id='output'> |
| 63 </div> | 69 </div> |
| 64 | 70 |
| 65 </BODY> | 71 </BODY> |
| 66 </HTML> | 72 </HTML> |
| OLD | NEW |