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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/iron-range-behavior/iron-range-behavior-extracted.js

Issue 1162963002: Revert "Rename polymer and cr_elements v0_8 to v1_0" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 1
2 2
3 /** 3 /**
4 * `iron-range-behavior` provides the behavior for something with a minimum to m aximum range. 4 * `iron-range-behavior` provides the behavior for something with a minimum to m aximum range.
5 * 5 *
6 * @demo demo/index.html 6 * @demo demo/index.html
7 * @polymerBehavior 7 * @polymerBehavior
8 */ 8 */
9 Polymer.IronRangeBehavior = { 9 Polymer.IronRangeBehavior = {
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 this.value = this.oldValue = isNaN(v) ? this.oldValue : v; 79 this.value = this.oldValue = isNaN(v) ? this.oldValue : v;
80 return this.value !== v; 80 return this.value !== v;
81 }, 81 },
82 82
83 _update: function() { 83 _update: function() {
84 this._validateValue(); 84 this._validateValue();
85 this._setRatio(this._calcRatio(this.value) * 100); 85 this._setRatio(this._calcRatio(this.value) * 100);
86 } 86 }
87 87
88 }; 88 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698