RivetView is in the plugins: masseuse.plugin.rivets.RivetsView
RivetView = masseuse.plugin.rivets.RivetsView;
rivetView = new RivetView({
el : '#blah',
templateHtml : '<div>{{data.title}}</div>',
modelData : {
title : 'There it is.'
}
}).start();
After the view starts, the following html:
<div id="blah"></div>
will be riveted to rivetView.model and the html will look like:
<div id="blah">
<div>There it is.</div>
</div>
- Source: