Home

Nesting of tags, to pass computed parameters

{{#if {{not Languages}} }}...{{/if}}

$.views.registerTags({
    not: function( value ){
        return !value;
    }
});
TitleLanguages
{{#nextToLast}}
	and 
{{else {{notLast}} }}
	,
{{/nextToLast}}

$.views.registerTags({
    notLast: function( content ) {
        return this.itemNumber !== this.parent.data.length;
    }
});
TitleLanguages