Client Side Template

<escape<{some template code}>>

Description

Escapes long strings of template characters

Escape 

In some cases you need to include special functions in a template (such as A5.map.staticMap() - a function that generates a static HTML map). The function call may include characters such as a colon, which must be escaped because they have special meaning in a template.

{A5.map.staticMap(<escape<{
width: 400,
height: 300,
center: 'Boston MA'
}>>)}

Before the escape directive was available, this above template would have had to be written as:

{A5.map.staticMap(\{width\: 400,height\: 300,center\: 'Boston MA'\})}