chore: Linter
This commit is contained in:
parent
adb9e93024
commit
1a46c8e724
227 changed files with 660 additions and 936 deletions
|
@ -6,7 +6,7 @@ export default {
|
|||
name: name,
|
||||
version: version,
|
||||
hooks: {
|
||||
preRender: function(svg) {
|
||||
preRender: function (svg) {
|
||||
svg.attributes.set('freesewing:plugin-scalebox', version)
|
||||
}
|
||||
},
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export default function(so) {
|
||||
export default function (so) {
|
||||
// Passing `false` will remove the miniscale
|
||||
if (so === false) {
|
||||
for (let id of [
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export default function(so) {
|
||||
export default function (so) {
|
||||
// Passing `false` will remove the scalebox
|
||||
if (so === false) {
|
||||
for (let id of [
|
||||
|
@ -94,8 +94,7 @@ export default function(so) {
|
|||
if (typeof so.text === 'string') {
|
||||
this.points.__scaleboxText.attr('data-text', so.text)
|
||||
} else {
|
||||
this.points.__scaleboxText
|
||||
.attr('data-text', 'supportFreesewingBecomeAPatron')
|
||||
this.points.__scaleboxText.attr('data-text', 'supportFreesewingBecomeAPatron')
|
||||
this.points.__scaleboxLink = this.points.__scaleboxLink
|
||||
.attr('data-text', 'freesewing.org/patrons/join')
|
||||
.attr('data-text-class', 'text-xs fill-note')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue