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

Unified Diff: third_party/pkg/js/gh-pages-template/example/index.html

Issue 124053002: Adding Angular and dependent packages for testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 12 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
Index: third_party/pkg/js/gh-pages-template/example/index.html
diff --git a/third_party/pkg/js/gh-pages-template/example/index.html b/third_party/pkg/js/gh-pages-template/example/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..cffb9bcf819651e82bbfeeea455905547df84645
--- /dev/null
+++ b/third_party/pkg/js/gh-pages-template/example/index.html
@@ -0,0 +1,101 @@
+<!DOCTYPE html>
+
+<!-- Copyright (c) 2012, 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>
+ <title>Dart JavaScript Interoperation Examples</title>
+
+ <!-- This tag improves the experience on mobile browsers. -->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
+
+ <!-- These tags improve web apps on ios. -->
+ <meta name="apple-mobile-web-app-capable" content="yes">
+
+ <style>
+body {
+ background-color: #F8F8F8;
+ font-family: 'Open Sans', sans-serif;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: 1.2em;
+ margin: 15px;
+}
+
+p {
+ color: #333;
+}
+
+img {
+ border: 0px;
+ margin-right: 0.5em;
+}
+
+a {
+ text-decoration: none;
+}
+
+table, tr, td {
+ border: 0;
+ border-spacing: 0;
+}
+
+.app {
+ border: 1px solid #ccc;
+ background-color: #fff;
+ margin-bottom: 1em;
+ padding: 0.5em;
+
+ -moz-border-radius: 3px;
+ border-radius: 3px;
+
+ //float: left;
+}
+
+.app .title {
+ font-weight: bold;
+ font-family: monospace;
+}
+
+.app .info {
+ font-family: monospace;
+}
+
+.footer {
+ text-align: center;
+}
+ </style>
+<head>
+<body>
+ <h1>Dart JavaScript Interop Samples</h1>
+
+ <p>The following samples show common JavaScript APIs accessed from
+ Dart. They run natively in Dartium and via Dart2JS compilation in
+ modern browsers.</p>
+
+<div class="app"><table><tr><td rowspan=2><a
+ href="google-chart/bubblechart.html"><img
+ src="dart_32_32.gif" width=32 height=32></a></td><td
+ class="title">Google Charts API - <a
+ href="google-chart/bubblechart.html">bubblechart.html</a></td</tr><tr><td
+ class="info"><a href="https://github.com/dart-lang/js-interop/blob/master/example/google-chart/bubblechart.dart">bubblechart.dart</a></td></tr></table></div>
+
+<div class="app"><table><tr><td rowspan=2><a
+ href="google-maps/directions.html"><img
+ src="dart_32_32.gif" width=32 height=32></a></td><td
+ class="title">Google Maps / Directions API - <a
+ href="google-maps/directions.html">directions.html</a></td</tr><tr><td
+ class="info"><a href="https://github.com/dart-lang/js-interop/blob/master/example/google-maps/directions.dart">directions.dart</a></td></tr></table></div>
+
+<div class="app"><table><tr><td rowspan=2><a
+ href="twitter/twitter.html"><img
+ src="dart_32_32.gif" width=32 height=32></a></td><td
+ class="title">Twitter Search via JSONP - <a
+ href="twitter/twitter.html">twitter.html</a></td</tr><tr><td
+ class="info"><a href="https://github.com/dart-lang/js-interop/blob/master/example/twitter/twitter.dart">twitter.dart</a></td></tr></table></div>
+
+ <p class="footer"><a href="https://github.com/dart-lang/js-interop">https://github.com/dart-lang/js-interop</a></p>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698