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