chore: Linter
This commit is contained in:
parent
adb9e93024
commit
1a46c8e724
227 changed files with 660 additions and 936 deletions
|
@ -4,13 +4,13 @@ export default {
|
|||
name: name,
|
||||
version: version,
|
||||
hooks: {
|
||||
preRender: function(svg) {
|
||||
preRender: function (svg) {
|
||||
if (svg.attributes.get('freesewing:plugin-banner') === false)
|
||||
svg.attributes.set('freesewing:plugin-banner', version)
|
||||
}
|
||||
},
|
||||
macros: {
|
||||
banner: function(so) {
|
||||
banner: function (so) {
|
||||
let defaults = { text: [], dy: -1, spaces: 8, repeat: 25 }
|
||||
so = { ...defaults, ...so }
|
||||
this.paths[so.path].attr('data-text-dy', so.dy).attr('data-text-class', 'center')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue