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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js

Issue 1287713002: [MD settings] merge polymer 1.0.11; hack for settings checkbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 (function() {
2 (function() {
3 var Utility = { 2 var Utility = {
4 cssColorWithAlpha: function(cssColor, alpha) { 3 cssColorWithAlpha: function(cssColor, alpha) {
5 var parts = cssColor.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/); 4 var parts = cssColor.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
6 5
7 if (typeof alpha == 'undefined') { 6 if (typeof alpha == 'undefined') {
8 alpha = 1; 7 alpha = 1;
9 } 8 }
10 9
11 if (!parts) { 10 if (!parts) {
12 return 'rgba(255, 255, 255, ' + alpha + ')'; 11 return 'rgba(255, 255, 255, ' + alpha + ')';
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 }, 555 },
557 556
558 _holdDownChanged: function(holdDown) { 557 _holdDownChanged: function(holdDown) {
559 if (holdDown) { 558 if (holdDown) {
560 this.downAction(); 559 this.downAction();
561 } else { 560 } else {
562 this.upAction(); 561 this.upAction();
563 } 562 }
564 } 563 }
565 }); 564 });
566 })(); 565 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698