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

Unified Diff: third_party/polymer/components-chromium/paper-item/demo.html

Issue 592593002: Inline scripts were extracted from Polymer elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/echo ""/echo/ Created 6 years, 3 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/polymer/components-chromium/paper-item/demo.html
diff --git a/third_party/polymer/components-chromium/paper-item/demo.html b/third_party/polymer/components-chromium/paper-item/demo.html
new file mode 100644
index 0000000000000000000000000000000000000000..2bf610839dca882bc8e05496c882967f17930894
--- /dev/null
+++ b/third_party/polymer/components-chromium/paper-item/demo.html
@@ -0,0 +1,37 @@
+<!doctype html>
+<!--
+Copyright 2013 The Polymer Authors. 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>paper-item</title>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
+ <script src="../platform/platform.js"></script>
+ <link href="../font-roboto/roboto.html" rel="import">
+ <link href="../core-icons/core-icons.html" rel="import">
+ <link href="../core-menu/core-menu.html" rel="import">
+ <link href="paper-item.html" rel="import">
+ <style shim-shadowdom>
+ body {
+ font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial;
+ }
+
+ paper-item {
+ max-width: 320px;
+ }
+ </style>
+</head>
+<body unresolved>
+ <core-menu>
+ <paper-item icon="refresh" label="Item 1"></paper-item>
+ <paper-item label="Item 2"></paper-item>
+ <paper-item label="Item with a link">
+ <a href="http://www.polymer-project.org" target="_self"></a>
+ </paper-item>
+ </core-menu>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698