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

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

Issue 1351623008: MD Settings: Languages model for language pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SingletonPrefs
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 (function() { 1
2 (function() {
2 var Utility = { 3 var Utility = {
3 distance: function(x1, y1, x2, y2) { 4 distance: function(x1, y1, x2, y2) {
4 var xDelta = (x1 - x2); 5 var xDelta = (x1 - x2);
5 var yDelta = (y1 - y2); 6 var yDelta = (y1 - y2);
6 7
7 return Math.sqrt(xDelta * xDelta + yDelta * yDelta); 8 return Math.sqrt(xDelta * xDelta + yDelta * yDelta);
8 }, 9 },
9 10
10 now: window.performance && window.performance.now ? 11 now: window.performance && window.performance.now ?
11 window.performance.now.bind(window.performance) : Date.now 12 window.performance.now.bind(window.performance) : Date.now
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 }, 537 },
537 538
538 _holdDownChanged: function(holdDown) { 539 _holdDownChanged: function(holdDown) {
539 if (holdDown) { 540 if (holdDown) {
540 this.downAction(); 541 this.downAction();
541 } else { 542 } else {
542 this.upAction(); 543 this.upAction();
543 } 544 }
544 } 545 }
545 }); 546 });
546 })(); 547 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698