cclaerhout
Well-known member
If you minify your JS script (see this online service) and paste it in your templates, you will get an error during saving the template. To avoid this, just add a space between and after curly brackets "{}".
If you've got a regex editor
Search:
Replace ALL:
=> there is a space before and after the $1.
And everything will work
Oh, by the way, when you use JS script in template, you can use style property shortcuts inside code, ie:
or
That's great !
If you've got a regex editor
Search:
Code:
([{}])
Code:
$1
And everything will work
Oh, by the way, when you use JS script in template, you can use style property shortcuts inside code, ie:
Code:
@textCtrlText
Code:
@AnyOfYouCustomizedSetting
That's great !