PageRenderTime 9ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/scalate-core/src/test/resources/moustache/js/higher_order_sections.js

http://github.com/scalate/scalate
JavaScript | 9 lines | 9 code | 0 blank | 0 comment | 0 complexity | f3306186e35e48d9ddcc016e7c9da79e MD5 | raw file
1var higher_order_sections = {
2  "name": "Tater",
3  "helper": "To tinker?",
4  "bolder": function() {
5    return function(text, render) {
6      return "<b>" + render(text) + '</b> ' + this.helper;
7    }
8  }
9}