This shows you the differences between two versions of the page.
dev:web:tt_js_wordwrap [2015/04/27 13:27] – angelegt js | dev:web:tt_js_wordwrap [2015/04/27 13:30] (current) – js | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Template Toolkit and Javascript ====== | ||
+ | I have trouble with wordwrap of source in my template toolkit files with embedded javascript. | ||
+ | |||
+ | Solution: with the plus sign (+) I splitt the string in more than one line! | ||
<code javascript> | <code javascript> | ||
Line 23: | Line 27: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | It is better to read than | ||
+ | |||
+ | <code javascript> |