| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 | |
| 3 <!-- Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 4 for details. All rights reserved. Use of this source code is governed by a | |
| 5 BSD-style license that can be found in the LICENSE file. --> | |
| 6 | |
| 7 <html> | |
| 8 <head> | |
| 9 <title>Isolate Sample</title> | |
| 10 | |
| 11 <link rel="stylesheet" type="text/css" href="isolate_sample.css"/> | |
| 12 | |
| 13 </head> | |
| 14 <body> | |
| 15 <script type="application/dart" src="isolate_sample.dart"></script> | |
| 16 <div id="appTitle"></div> | |
| 17 | |
| 18 <div class="isolate isolateMain"> | |
| 19 <div class="isolateName">This is the main isolate.</div> | |
| 20 <input type="text" id="greetingText" value="hello" /> | |
| 21 <div> | |
| 22 <input type="button" class="sendButton" value="send message to A" | |
| 23 data-isolate-name="A"/> | |
| 24 </div> | |
| 25 <div> | |
| 26 <input type="button" class="sendButton" value="send message to B" | |
| 27 data-isolate-name="B"/> | |
| 28 </div> | |
| 29 <div class="replyText"></div> | |
| 30 </div> | |
| 31 | |
| 32 <div id="isolateTemplate"> | |
| 33 <div class="isolateTitle"> | |
| 34 isolate<span class="isolateName"></span> | |
| 35 </div> | |
| 36 <div class="messageBox"></div> | |
| 37 <input class="replyCheckbox" type="checkbox" checked="checked" /> | |
| 38 <label>Send reply</label> | |
| 39 <div> | |
| 40 delay reply: <input class="delayTextbox" type="text" value="1200" />ms | |
| 41 </div> | |
| 42 <input class="chirpButton" type="button" value="chirp" /> | |
| 43 </div> | |
| 44 | |
| 45 <div id="isolateParent"></div> | |
| 46 | |
| 47 <div class="spacer"></div> | |
| 48 <div class="systemInfo">app version: .04</div> | |
| 49 <div class="systemInfo"> | |
| 50 running on vm: <span id="vmStatus">dart is not running</span> | |
| 51 </div> | |
| 52 | |
| 53 <script src="http://dart.googlecode.com/svn/branches/bleeding_edge/dart/clie
nt/dart.js"></script> | |
| 54 </body> | |
| 55 </html> | |
| OLD | NEW |