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

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

Issue 1401633002: Update Polymer from 1.1.4 -> 1.1.5 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dzhioev@ review Created 5 years, 2 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
3 /**
4 * `iron-range-behavior` provides the behavior for something with a minimum to m aximum range. 2 * `iron-range-behavior` provides the behavior for something with a minimum to m aximum range.
5 * 3 *
6 * @demo demo/index.html 4 * @demo demo/index.html
7 * @polymerBehavior 5 * @polymerBehavior
8 */ 6 */
9 Polymer.IronRangeBehavior = { 7 Polymer.IronRangeBehavior = {
10 8
11 properties: { 9 properties: {
12 10
13 /** 11 /**
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 var v = this._clampValue(this.value); 86 var v = this._clampValue(this.value);
89 this.value = this.oldValue = isNaN(v) ? this.oldValue : v; 87 this.value = this.oldValue = isNaN(v) ? this.oldValue : v;
90 return this.value !== v; 88 return this.value !== v;
91 }, 89 },
92 90
93 _update: function() { 91 _update: function() {
94 this._validateValue(); 92 this._validateValue();
95 this._setRatio(this._calcRatio(this.value) * 100); 93 this._setRatio(this._calcRatio(this.value) * 100);
96 } 94 }
97 95
98 }; 96 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698