1
0
Fork 0

chore: Linter

This commit is contained in:
Joost De Cock 2021-01-31 09:22:15 +01:00
parent adb9e93024
commit 1a46c8e724
227 changed files with 660 additions and 936 deletions

View file

@ -4,13 +4,13 @@ export default {
name: name,
version: version,
hooks: {
preRender: function(svg) {
preRender: function (svg) {
if (svg.attributes.get('freesewing:plugin-sprinkle') === false)
svg.attributes.set('freesewing:plugin-sprinkle', version)
}
},
macros: {
sprinkle: function(so) {
sprinkle: function (so) {
for (let pid of so.on)
this.snippets[pid + '-' + so.snippet] = new this.Snippet(so.snippet, this.points[pid])
}