Add mackup() to beautify template strings

This commit is contained in:
Christoph Diehl 2018-02-03 10:16:08 +01:00
parent e6af48caca
commit c8403064f3
No known key found for this signature in database
GPG key ID: 799CE5B68FEF404A

View file

@ -89,5 +89,6 @@ utils.common = {
} }
} }
return obj1 return obj1
} },
mockup: (obj) => obj.split('\n').map((ln) => ln.trim()).join('')
} }