Add mackup() to beautify template strings
This commit is contained in:
parent
e6af48caca
commit
c8403064f3
1 changed files with 2 additions and 1 deletions
|
@ -89,5 +89,6 @@ utils.common = {
|
|||
}
|
||||
}
|
||||
return obj1
|
||||
}
|
||||
},
|
||||
mockup: (obj) => obj.split('\n').map((ln) => ln.trim()).join('')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue