File: partial_view.js

package info (click to toggle)
mustache.js 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,144 kB
  • sloc: javascript: 1,518; ruby: 61; sh: 17; makefile: 14
file content (14 lines) | stat: -rw-r--r-- 249 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
({
  greeting: function () {
    return "Welcome";
  },
  farewell: function () {
    return "Fair enough, right?";
  },
  name: "Chris",
  value: 10000,
  taxed_value: function () {
    return this.value - (this.value * 0.4);
  },
  in_ca: true
})