• function

render can.Mustache.prototype.render

 

mustache.render( data [, helpers] )

Parameters

  1. data {Object}

    Data to interpolate into the template.

Returns

{String}

The template with interpolated data, in string form.

Renders an object with view helpers attached to the view.

 new Mustache({text: "<%= message %>"}).render({
     message: "foo"
 })