OLD | NEW |
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> |
OLD | NEW |