Skip to content

Commit

Permalink
Update util.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rekmarks committed Oct 11, 2021
1 parent f4e970b commit f1569cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion util.js
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,9 @@ function setGradientDefinitions(container, gradients) {
}
}
} else {
throw new Error(`Unsupported gradent type: '${gradientDefinition.type}'`);
throw new Error(
`Unsupported gradient type: '${gradientDefinition.type}'`,
);
}

// Set common attributes
Expand Down

0 comments on commit f1569cd

Please sign in to comment.