1 | // Generated by CoffeeScript 1.6.3
|
2 | (function() {
|
3 | var hogan, row, table;
|
4 |
|
5 | hogan = require('hogan.js');
|
6 |
|
7 | table = " <table> <thead> <tr> {{#columns}} <th class='{{property}}'> {{title}} </th> {{/columns}} </tr> </thead> <tbody></tbody> </table> ";
|
8 |
|
9 | row = " <tr> {{#cells}} <td data-value='{{serialized}}', class='{{className}}'> {{{text}}} </td> {{/cells}} </tr> ";
|
10 |
|
11 | module.exports = {
|
12 | table: hogan.compile(table),
|
13 | row: hogan.compile(row)
|
14 | };
|
15 |
|
16 | }).call(this);
|