File: higher_order_sections.js

package info (click to toggle)
mustache.js 2.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,100 kB
  • ctags: 66
  • sloc: ruby: 66; sh: 15; makefile: 12
file content (9 lines) | stat: -rw-r--r-- 188 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
({
  name: "Tater",
  helper: "To tinker?",
  bolder: function () {
    return function (text, render) {
      return text + ' => <b>' + render(text) + '</b> ' + this.helper;
    }
  }
})