| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <!-- | 3 <!-- |
| 4 Copyright (c) 2012 The Chromium Authors. All rights reserved. | 4 Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 5 Use of this source code is governed by a BSD-style license that can be | 5 Use of this source code is governed by a BSD-style license that can be |
| 6 found in the LICENSE file. | 6 found in the LICENSE file. |
| 7 --> | 7 --> |
| 8 <head> | 8 <head> |
| 9 <meta http-equiv="Pragma" content="no-cache"> | 9 <meta http-equiv="Pragma" content="no-cache"> |
| 10 <meta http-equiv="Expires" content="-1"> | 10 <meta http-equiv="Expires" content="-1"> |
| 11 <title>{{title}}</title> | 11 <title>{{title}}</title> |
| 12 <script type="text/javascript" src="common.js"></script> | 12 <script type="text/javascript" src="common.js"></script> |
| 13 <script type="text/javascript" src="example.js"></script> | 13 <script type="text/javascript" src="example.js"></script> |
| 14 </head> | 14 </head> |
| 15 <body {{attrs}}> | 15 <body {{attrs}}> |
| 16 <h1>{{title}}</h1> | 16 <h1>{{title}}</h1> |
| 17 <h2>Status: <code id="statusField">NO-STATUS</code></h2> | 17 <h2>Status: <code id="statusField">NO-STATUS</code></h2> |
| 18 <div>Magic eightball: type a question below, press the button, and get a | 18 <p>The dlopen example demonstrates how build dynamic libraries and then |
| 19 response.</div> | 19 open and use them at runtime. When the page loads, type in a question and |
| 20 hit enter or click the ASK! button. The question and answer will be |
| 21 displayed in the page under the text entry box. Shared libraries are only |
| 22 available with the GLIBC toolchain.</p> |
| 23 <p>Magic eightball: type a question below, press the button, and get a |
| 24 response.</p> |
| 20 <form> | 25 <form> |
| 21 <input type="text" id="question" value=""> | 26 <input type="text" id="question" value=""> |
| 22 <input type="submit" value="ASK!"> | 27 <input type="submit" value="ASK!"> |
| 23 </form> | 28 </form> |
| 24 <p>... or click this button to reverse the string.</p> | 29 <p>... or click this button to reverse the string.</p> |
| 25 <button id="reverse">Reverse</button> | 30 <button id="reverse">Reverse</button> |
| 26 <!-- The NaCl plugin will be embedded inside the element with id "listener". | 31 <!-- The NaCl plugin will be embedded inside the element with id "listener". |
| 27 See common.js.--> | 32 See common.js.--> |
| 28 <div id="listener"></div> | 33 <div id="listener"></div> |
| 29 <div id="log"></div> | 34 <pre id="log" style="font-weight: bold"></pre> |
| 30 </body> | 35 </body> |
| 31 </html> | 36 </html> |
| OLD | NEW |