chore: Linter
This commit is contained in:
parent
adb9e93024
commit
1a46c8e724
227 changed files with 660 additions and 936 deletions
|
@ -4,12 +4,12 @@ export default {
|
|||
name: name,
|
||||
version: version,
|
||||
hooks: {
|
||||
preRender: function(svg) {
|
||||
preRender: function (svg) {
|
||||
if (svg.attributes.get('freesewing:plugin-i18n') === false) {
|
||||
svg.attributes.set('freesewing:plugin-i18n', version)
|
||||
}
|
||||
},
|
||||
insertText: function(locale, text, data) {
|
||||
insertText: function (locale, text, data) {
|
||||
if (data === false) {
|
||||
console.log(
|
||||
"No data was passed to the i18n plugin. This plugin won't do much without injecting data into it"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue