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

Unified Diff: third_party/polymer/components-chromium/core-range/core-range.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/core-range/core-range.html
diff --git a/third_party/polymer/components-chromium/core-range/core-range.html b/third_party/polymer/components-chromium/core-range/core-range.html
new file mode 100644
index 0000000000000000000000000000000000000000..207341e6635a06a37028a16878ebe42bb9343a4e
--- /dev/null
+++ b/third_party/polymer/components-chromium/core-range/core-range.html
@@ -0,0 +1,31 @@
+<!--
+Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
+This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
+The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
+The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
+Code distributed by Google as part of the polymer project is also
+subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
+-->
+
+<!--
+The `core-range` element is used for managing a numeric value within a given
+range. It has no visual appearance and is typically used in conjunction with
+another element.
+
+One can build a progress bar using `core-range` like this:
+
+ <core-range min="0" max="200" value="100" ratio="{{ratio}}"></core-range>
+ <div class="progress-bar" style="width: {{ratio}}%;"></div>
+
+@group Polymer Core Elements
+@element core-range
+@homepage github.io
+
+-->
+
+<link rel="import" href="../polymer/polymer.html">
+
+<polymer-element name="core-range" attributes="value min max step ratio" assetpath="">
+
+</polymer-element>
+<script src="core-range-extracted.js"></script>

Powered by Google App Engine
This is Rietveld 408576698