| Index: third_party/WebKit/Source/devtools/front_end/components/Spectrum.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/components/Spectrum.js b/third_party/WebKit/Source/devtools/front_end/components/Spectrum.js
|
| index f9fae6a195be0e9a7ff420d0b2e15f6a83a1d1f9..a0bf2cd4510107cb52ba75340a0c8c486fa3b58c 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/components/Spectrum.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/components/Spectrum.js
|
| @@ -182,13 +182,13 @@ WebInspector.Spectrum = function()
|
| hsva[2] = Number.constrain(1 - (event.y - this._colorOffset.top) / this.dragHeight, 0, 1);
|
| this._innerSetColor(hsva, "", undefined, WebInspector.Spectrum._ChangeSource.Other);
|
| }
|
| -}
|
| +};
|
|
|
| WebInspector.Spectrum._ChangeSource = {
|
| Input: "Input",
|
| Model: "Model",
|
| Other: "Other"
|
| -}
|
| +};
|
|
|
| /** @enum {symbol} */
|
| WebInspector.Spectrum.Events = {
|
| @@ -776,7 +776,7 @@ WebInspector.Spectrum.prototype = {
|
| candidateHSVA[V] = 1;
|
| s = approach(S, s, true);
|
| if (s !== null)
|
| - pathBuilder = pathBuilder.concat(["L", s * width, -1])
|
| + pathBuilder = pathBuilder.concat(["L", s * width, -1]);
|
| }
|
|
|
| this._contrastRatioLine.setAttribute("d", pathBuilder.join(" "));
|
| @@ -896,7 +896,7 @@ WebInspector.Spectrum.prototype = {
|
|
|
|
|
| __proto__: WebInspector.VBox.prototype
|
| -}
|
| +};
|
|
|
| /** @typedef {{ title: string, colors: !Array.<string>, mutable: boolean }} */
|
| WebInspector.Spectrum.Palette;
|
| @@ -920,7 +920,7 @@ WebInspector.Spectrum.PaletteGenerator = function(callback)
|
| Promise.all(stylesheetPromises)
|
| .catchException(null)
|
| .then(this._finish.bind(this));
|
| -}
|
| +};
|
|
|
| WebInspector.Spectrum.PaletteGenerator.prototype = {
|
| /**
|
| @@ -1000,7 +1000,7 @@ WebInspector.Spectrum.PaletteGenerator.prototype = {
|
|
|
| stylesheet.requestContent().then(parseContent.bind(this));
|
| }
|
| -}
|
| +};
|
|
|
| WebInspector.Spectrum.MaterialPaletteShades = {
|
| "#F44336": ["#FFEBEE", "#FFCDD2", "#EF9A9A", "#E57373", "#EF5350", "#F44336", "#E53935", "#D32F2F", "#C62828", "#B71C1C"],
|
|
|