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

Side by Side Diff: src/site/codelabs/darrrt/examples/4-classbadge/piratebadge.html

Issue 339243004: Update generated JS for codelab's pirate app. (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Created 6 years, 6 months 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
OLDNEW
1 <!-- Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 <!-- Copyright (c) 2012, 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 5
6 <!DOCTYPE html> 6 <!DOCTYPE html>
7 7
8 <html> 8 <html>
9 <head> 9 <head>
10 <meta charset="utf-8"> 10 <meta charset="utf-8">
11 <title>Pirate badge</title> 11 <title>Pirate badge</title>
12 <link rel="stylesheet" href="../piratebadge.css"> 12 <meta name="viewport"
13 content="width=device-width, initial-scale=1.0">
14 <link rel="stylesheet" href="piratebadge.css">
13 </head> 15 </head>
14 <body> 16 <body>
15 <h1>Pirate badge</h1> 17 <h1>Pirate badge</h1>
16 18
17 <div class="widgets"> 19 <div class="widgets">
18 <div> 20 <div>
19 <input type="text" id="inputName" maxlength="15"> 21 <input type="text" id="inputName" maxlength="15">
20 </div> 22 </div>
21 <div> 23 <div>
22 <button id="generateButton">Aye! Gimme a name!</button> 24 <button id="generateButton">Aye! Gimme a name!</button>
23 </div> 25 </div>
24 </div> 26 </div>
25 <div class="badge"> 27 <div class="badge">
26 <div class="greeting"> 28 <div class="greeting">
27 Arrr! Me name is 29 Arrr! Me name is
28 </div> 30 </div>
29 <div class="name"> 31 <div class="name">
30 <span id="badgeName"> </span> 32 <span id="badgeName"> </span>
31 </div> 33 </div>
32 </div> 34 </div>
33 <script type="application/dart" src="piratebadge.dart"></script> 35 <script type="application/dart" src="piratebadge.dart"></script>
34 <script src="../packages/browser/dart.js"></script> 36 <script src="packages/browser/dart.js"></script>
35 </body> 37 </body>
36 </html> 38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698