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

Unified Diff: packages/usage/example/example.html

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « packages/usage/example/example.dart ('k') | packages/usage/example/ga.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/usage/example/example.html
diff --git a/packages/usage/example/example.html b/packages/usage/example/example.html
new file mode 100644
index 0000000000000000000000000000000000000000..80062914d79ba0634b3dc053728dfd19ba64b5b4
--- /dev/null
+++ b/packages/usage/example/example.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+
+<!-- Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
+ for details. All rights reserved. Use of this source code is governed by a
+ BSD-style license that can be found in the LICENSE file. -->
+
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>Usage Web Example</title>
+ <style>
+ body {
+ display: flex;
+ flex-direction: column;
+ margin: 15px;
+ color: #555;
+ }
+
+ .row {
+ margin-top: 1em;
+ }
+ </style>
+ </head>
+
+ <body>
+ <h3>Usage library example</h3>
+
+ <input id="ua" type="text" value="UA-55029513-1">
+
+ <div class="row">
+ <button id="foo">Fire 'foo' event</button>
+
+ <button id="bar">Fire 'bar' event</button>
+
+ <button id="page">Change page</button>
+ </div>
+
+ <script type="application/dart" src="example.dart"></script>
+ <script src="packages/browser/dart.js"></script>
+ </body>
+</html>
« no previous file with comments | « packages/usage/example/example.dart ('k') | packages/usage/example/ga.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698