OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <!-- |
| 3 Copyright (c) 2013, 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 lang="en" manifest="nossl.appcache" itemscope itemtype="http://schema.org/
Product"> |
| 8 <head> |
| 9 <meta charset="utf-8"> |
| 10 <title>Try Dart!</title> |
| 11 <meta http-equiv="Content-type" content="text/html;charset=UTF-8"> |
| 12 <link rel="stylesheet" type="text/css" href="dartlang-style.css"> |
| 13 <style> |
| 14 a.diagnostic { |
| 15 /* position: relative; */ |
| 16 color: inherit; |
| 17 border-bottom: 2px dotted red; |
| 18 } |
| 19 a:hover.diagnostic { |
| 20 text-decoration: none; |
| 21 } |
| 22 a.diagnostic span { |
| 23 display: none; |
| 24 } |
| 25 a:hover.diagnostic span { |
| 26 display: block; |
| 27 position: absolute; |
| 28 /* left: 1em; */ |
| 29 /* top: 2em; */ |
| 30 right: 10px; |
| 31 } |
| 32 |
| 33 .offline { |
| 34 transition: opacity 10s; |
| 35 -webkit-transition: opacity 10s; |
| 36 } |
| 37 |
| 38 .offlineyay { |
| 39 font-weight: bolder; |
| 40 opacity: 0.0; |
| 41 } |
| 42 </style> |
| 43 |
| 44 <meta itemprop="name" content="Try Dart!"> |
| 45 <meta itemprop="description" content="Write and run Dart code in your browser.
Dart is a class-based, object-oriented language with lexical scoping, closures,
and optional static typing."> |
| 46 <meta name="description" content="Write and run Dart code in your browser. Dart
is a class-based, object-oriented language with lexical scoping, closures, and
optional static typing."> |
| 47 <meta itemprop="image" content="try-dart-screenshot.png"> |
| 48 |
| 49 <link rel="dart-sdk" href="sdk.dart"> |
| 50 <link rel="benchmark-DeltaBlue" href="benchmarks/DeltaBlue.dart"> |
| 51 <link rel="benchmark-Richards" href="benchmarks/Richards.dart"> |
| 52 <link rel="benchmark-base" href="benchmarks/benchmark_base.dart"> |
| 53 <link href="favicon.ico" rel="icon" type="image/x-icon"> |
| 54 <meta name="viewport" content="initial-scale=1.0"> |
| 55 <meta name="apple-mobile-web-app-capable" content="yes"> |
| 56 <link rel="apple-touch-icon" href="dart-icon.png"> |
| 57 <meta names="apple-mobile-web-app-status-bar-style" content="black"> |
| 58 <link rel="apple-touch-startup-image" |
| 59 media="(device-width: 320px) |
| 60 and (device-height: 568px) |
| 61 and (-webkit-device-pixel-ratio: 2)" |
| 62 href="dart-iphone5.png"> |
| 63 |
| 64 <!-- Enable Google Analytics --> |
| 65 <script type="text/javascript"> |
| 66 |
| 67 var _gaq = _gaq || []; |
| 68 _gaq.push(['_setAccount', 'UA-26406144-2']); |
| 69 _gaq.push(['_trackPageview']); |
| 70 |
| 71 (function() { |
| 72 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.a
sync = true; |
| 73 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://w
ww') + '.google-analytics.com/ga.js'; |
| 74 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefor
e(ga, s); |
| 75 })(); |
| 76 |
| 77 </script> |
| 78 </head> |
| 79 <body> |
| 80 <div class="navbar navbar-fixed-top"> |
| 81 <div class="navbar-inner"> |
| 82 <div class="container"> |
| 83 <a class="brand" href="//www.dartlang.org/" title="Dart Homepage" target="_blank
"> |
| 84 <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAMAAACeyVWkAAAA
GXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJxQTFRFAAAAAIvMdsvDAIvMdsvDAIvM
dsvDLaTJAIvMOqnHdsvDAIvMdsvDAIvMKaLJdsvDAIvMAIvMdsvDAIvMdsvDdsvDAIvMAIvMAZnFdsvD
AILHAIPHAITIAIXJAIfKAIjKAIrLAIrMAIvMAJXHAJjFC5i/I6HENr2yOb6zPr+0TsK4UsO5WbnEWcW8
Xsa9Yse+Zsi/asjAc8rCdsvDdt4SRQAAABp0Uk5TABAQICAwMFBgYGBwcICAgI+vr7+/z9/v7+97IXGn
AAAAqUlEQVQYV13QxxaCQBBE0VZkjBgAGVEBaVEUM/P//yaTGg5vV3dZANTCZ9BvFAoR93kVC9FnthW6
uIPTJ7UkdHaXvS2LXKNBURInyDXPsShbzjU7XCpxhooDVGo5QcQAJmjUco64AY/UcIrowYCTaj5KBZeT
aj5JBTc6l11OlQKMf497y1ahefFb3TQfcqtM/fipJF/X9gnDon6/ah/aDDfNOgosNA2b8QdGciZlh/U9
3AAAAABJRU5ErkJggg==" alt="Dart"> |
| 85 </a> |
| 86 <ul class="nav pull-right"><li><a href="#" id="settings"><i class="icon-cog"></i
></a></li></ul> |
| 87 |
| 88 <ul class="nav hidden-phone"> |
| 89 <li class="active"><a>Try Dart!</a></li> |
| 90 <li><a href="//api.dartlang.org/" target="_blank">API Reference</a></li> |
| 91 </ul> |
| 92 <form class="navbar-search pull-right hidden-phone" action="//www.dartlang.org/s
earch.html" id="cse-search-box" target="_blank"> |
| 93 <input type="hidden" name="ie" value="UTF-8"> |
| 94 <input type="hidden" name="hl" value="en"> |
| 95 <input type="search" name="q" class="search-query" id="q" autocomplete="off" pla
ceholder="Search"> |
| 96 </form> |
| 97 <ul class="nav pull-right"><li><a><span id="appcache-status" class="offline">off
line status</span></a></li></ul> |
| 98 |
| 99 |
| 100 </div> |
| 101 </div> |
| 102 </div> |
| 103 <div class="container-fluid"> |
| 104 <article class="homepage"> |
| 105 <section> |
| 106 <div class="callouts row-fluid"> |
| 107 <div class="span6" id="try-dart-column"> |
| 108 <h2><i class="icon-play"></i> Try Dart! <select id="inspiration"></select></h2> |
| 109 </div> |
| 110 <div class="span6" id="run-dart-column"> |
| 111 <h2><i class="icon-cogs"></i> See Dart</h2> |
| 112 </div> |
| 113 </div> |
| 114 </section> |
| 115 </article> |
| 116 </div> |
| 117 |
| 118 <div id="settings-dialog" class="modal hide fade"> |
| 119 <div class="modal-header"> |
| 120 <h3>Settings</h3> |
| 121 </div> |
| 122 <div class="modal-body" id="settings-body"> |
| 123 </div> |
| 124 <div class="modal-footer"> |
| 125 <a href="#" class="btn btn-primary" id="settings-done">Done</a> |
| 126 </div> |
| 127 </div> |
| 128 |
| 129 <footer> |
| 130 <div class="container"> |
| 131 <div class="row copyright"> |
| 132 <div class="span8 offset2"> |
| 133 <p> |
| 134 Except as otherwise <a href="http://code.google.com/policies.html#restrictions">
noted</a>, the content of this page is licensed under the <a href="http://creati
vecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 License</a>, an
d code samples are licensed under the <a href="http://code.google.com/google_bsd
_license.html">BSD License</a>. |
| 135 </p> |
| 136 <p> |
| 137 <a href="//www.dartlang.org/tos.html">Terms of Service</a> — |
| 138 <a href="http://www.google.com/intl/en/policies/privacy/">Privacy Policy</a> |
| 139 </p> |
| 140 </div> |
| 141 </div> |
| 142 </div> |
| 143 </footer> |
| 144 <!-- |
| 145 <script type="application/javascript" src="https://dart.googlecode.com/svn/branc
hes/bleeding_edge/dart/pkg/browser/lib/dart.js"></script> |
| 146 <script type="application/dart" src="leap.dart"></script> |
| 147 --> |
| 148 <script type="application/javascript" src="leap.dart.js"></script> |
| 149 </body> |
| 150 </html> |
OLD | NEW |