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

Unified Diff: polymer_1.2.3/bower_components/iron-range-behavior/demo/index.html

Issue 1581713003: [third_party] add polymer 1.2.3 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: 1.2.3 Created 4 years, 11 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: polymer_1.2.3/bower_components/iron-range-behavior/demo/index.html
diff --git a/polymer_1.0.4/bower_components/iron-range-behavior/demo/index.html b/polymer_1.2.3/bower_components/iron-range-behavior/demo/index.html
similarity index 79%
copy from polymer_1.0.4/bower_components/iron-range-behavior/demo/index.html
copy to polymer_1.2.3/bower_components/iron-range-behavior/demo/index.html
index 87d06e58b6b2643261d27aec16606c82e60ea6e2..ce397365e0dc7f80f1d49ee9bad26aec157cd88b 100644
--- a/polymer_1.0.4/bower_components/iron-range-behavior/demo/index.html
+++ b/polymer_1.2.3/bower_components/iron-range-behavior/demo/index.html
@@ -1,11 +1,11 @@
<!--
@license
Copyright (c) 2015 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
-The complete set of authors may be found at http://polymer.github.io/AUTHORS
-The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS
+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
+subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
<!doctype html>
<html>
@@ -16,18 +16,19 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
<link rel="import" href="../iron-range-behavior.html">
<link rel="import" href="../../iron-input/iron-input.html">
-
+
<style>
-
+
body {
font-family: sans-serif;
}
-
+
</style>
</head>
- <body>
- <dom-module id="x-progressbar">
+ <body unresolved>
+
+ <dom-module id="x-progressbar">
<style>
:host {
display: block;
@@ -37,14 +38,14 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
padding: 8px;
box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.5);
}
-
+
.progress {
background-color: #999;
height: 100%;
border-radius: 4px;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
-
+
.progress-value {
padding: 0 8px;
font-size: 18px;
@@ -57,16 +58,18 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
</div>
</template>
</dom-module>
-
+
<script>
- Polymer({
- is: 'x-progressbar',
+ HTMLImports.whenReady(function() {
+ Polymer({
+ is: 'x-progressbar',
- behaviors: [Polymer.IronRangeBehavior],
+ behaviors: [Polymer.IronRangeBehavior],
- _computeStyle: function(ratio) {
- return 'width: ' + ratio + '%;';
- }
+ _computeStyle: function(ratio) {
+ return 'width: ' + ratio + '%;';
+ }
+ });
});
</script>

Powered by Google App Engine
This is Rietveld 408576698