Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(908)

Side by Side Diff: src/site/samples/gauge/example/gauge.html

Issue 59753006: Added dart:js samples landing pages. (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Post lgtm tweaks Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/site/samples/gauge/example/gauge.dart.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <!-- Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 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 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. --> 5 BSD-style license that can be found in the LICENSE file. -->
6 6
7 <html> 7 <html>
8 <head> 8 <head>
9 <title>Gauge, a Dart sample</title> 9 <title>Gauge, a Dart sample</title>
10 <script type="text/javascript" src="http://www.google.com/jsapi"></script> 10 <script type="text/javascript" src="https://www.google.com/jsapi"></script>
11 </head> 11 </head>
12 <body> 12 <body>
13 <h2>Dart interoperating with JavaScript</h2> 13 <h2>Dart interoperating with JavaScript</h2>
14 <div id="gauge" style="width: 400px; height: 400px;"></div> 14 <div id="gauge" style="width: 400px; height: 400px;"></div>
15 <form class="center"> 15 <form class="center">
16 <h2>Move the slider to change the value:</h2> 16 <h2>Move the slider to change the value:</h2>
17 <input id="slider" style="width: 400px" type="range" 17 <input id="slider" style="width: 400px" type="range"
18 max="280" value="140"/> 18 max="280" value="140"/>
19 </form> 19 </form>
20 <script type="application/dart" src="gauge.dart"></script> 20 <script type="application/dart" src="gauge.dart"></script>
21 <script src="packages/browser/dart.js"></script> 21 <script src="packages/browser/dart.js"></script>
22 <script src="packages/browser/interop.js"></script> 22 <script src="packages/browser/interop.js"></script>
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW
« no previous file with comments | « no previous file | src/site/samples/gauge/example/gauge.dart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698