boom: Updated to new plugin structure in freesewing v0.20
This commit is contained in:
parent
19d736079f
commit
556a00bca6
2 changed files with 778 additions and 779 deletions
1552
packages/plugin-scalebox/package-lock.json
generated
1552
packages/plugin-scalebox/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -4,9 +4,8 @@ export default {
|
||||||
name: name,
|
name: name,
|
||||||
version: version,
|
version: version,
|
||||||
hooks: {
|
hooks: {
|
||||||
preRender: function(next) {
|
preRender: function(svg) {
|
||||||
this.attributes.add("freesewing:plugin-scalebox", version);
|
svg.attributes.add("freesewing:plugin-scalebox", version);
|
||||||
next();
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
macros: {
|
macros: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue