Skip to content

Commit

Permalink
- Fix (regression): RGBColor
Browse files Browse the repository at this point in the history
- npm: Bump to 4.0.1
  • Loading branch information
brettz9 committed Nov 16, 2018
1 parent 18bbfe8 commit 1c284c9
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# SVG-Edit CHANGES

# ?
# 4.0.1

- Fix: Adjust side panel width checking based on device zoom (fixes #298)
- Fix (regression): RGBColor

# 4.0.0

Expand Down
2 changes: 1 addition & 1 deletion dist/canvg.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ var canvg = (function (exports) {
var bits = re.exec(colorString);

if (bits) {
var _processor = processor(bits),
var _processor = processor.apply(void 0, _toConsumableArray(bits)),
_processor2 = _slicedToArray(_processor, 3),
r = _processor2[0],
g = _processor2[1],
Expand Down
2 changes: 1 addition & 1 deletion dist/extensions/ext-server_moinsave.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ var svgEditorExtension_server_moinsave = (function () {
var bits = re.exec(colorString);

if (bits) {
var _processor = processor(bits),
var _processor = processor.apply(void 0, _toConsumableArray(bits)),
_processor2 = _slicedToArray(_processor, 3),
r = _processor2[0],
g = _processor2[1],
Expand Down
2 changes: 1 addition & 1 deletion dist/extensions/ext-server_opensave.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ var svgEditorExtension_server_opensave = (function () {
var bits = re.exec(colorString);

if (bits) {
var _processor = processor(bits),
var _processor = processor.apply(void 0, _toConsumableArray(bits)),
_processor2 = _slicedToArray(_processor, 3),
r = _processor2[0],
g = _processor2[1],
Expand Down
2 changes: 1 addition & 1 deletion dist/jspdf.plugin.svgToPdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
var bits = re.exec(colorString);

if (bits) {
var _processor = processor(bits),
var _processor = processor.apply(void 0, _toConsumableArray(bits)),
_processor2 = _slicedToArray(_processor, 3),
r = _processor2[0],
g = _processor2[1],
Expand Down
2 changes: 1 addition & 1 deletion editor/canvg/rgbcolor.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export default class RGBColor {
colorDefs.forEach(({re, process: processor}) => {
const bits = re.exec(colorString);
if (bits) {
const [r, g, b] = processor(bits);
const [r, g, b] = processor(...bits);
Object.assign(this, {r, g, b});
this.ok = true;
}
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svgedit",
"version": "4.0.0",
"version": "4.0.1",
"description": "Powerful SVG-Editor for your browser ",
"main": "dist/index-umd.js",
"module": "dist/index-es.js",
Expand Down

0 comments on commit 1c284c9

Please sign in to comment.