| OLD | NEW |
| 1 <!-- Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 <!-- Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 for details. All rights reserved. Use of this source code is governed by a | 2 for details. All rights reserved. Use of this source code is governed by a |
| 3 BSD-style license that can be found in the LICENSE file. --> | 3 BSD-style license that can be found in the LICENSE file. --> |
| 4 | 4 |
| 5 <html> | 5 <html> |
| 6 <head> | 6 <head> |
| 7 <title>Dartium Playground</title> | 7 <title>Dartium Playground</title> |
| 8 <link rel="stylesheet" type="text/css" href="playground.css"></link> | 8 <link rel="stylesheet" type="text/css" href="playground.css"></link> |
| 9 </head> | 9 </head> |
| 10 <body> | 10 <body> |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 <iframe id="iframe" height="200" width="100%"></iframe> | 35 <iframe id="iframe" height="200" width="100%"></iframe> |
| 36 </div> | 36 </div> |
| 37 <p></p> | 37 <p></p> |
| 38 <b>Open the Console (from the Tools menu) to see runtime output and errors.</b
> | 38 <b>Open the Console (from the Tools menu) to see runtime output and errors.</b
> |
| 39 | 39 |
| 40 <script type="application/dart" src="playground.dart"></script> | 40 <script type="application/dart" src="playground.dart"></script> |
| 41 <script type="text/javascript"> | 41 <script type="text/javascript"> |
| 42 if (window.navigator.webkitStartDart) { | 42 if (window.navigator.webkitStartDart) { |
| 43 window.navigator.webkitStartDart(); | 43 window.navigator.webkitStartDart(); |
| 44 } else { | 44 } else { |
| 45 document.body.innerHTML = 'To run this sample, please download Dartium at <a
href="http://www.dartlang.org/dartium/">http://www.dartlang.org/dartium</a>.'; | 45 document.body.innerHtml = 'To run this sample, please download Dartium at <a
href="http://www.dartlang.org/dartium/">http://www.dartlang.org/dartium</a>.'; |
| 46 } | 46 } |
| 47 </script> | 47 </script> |
| 48 </body> | 48 </body> |
| 49 </html> | 49 </html> |
| OLD | NEW |