File: grandparent_context.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 (19 lines) | stat: -rw-r--r-- 370 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
({
  grand_parent_id: 'grand_parent1',
  parent_contexts: [
    {
      parent_id: 'parent1',
      child_contexts: [
        { child_id: 'parent1-child1' },
        { child_id: 'parent1-child2' }
      ]
    },
    {
      parent_id: 'parent2',
      child_contexts: [
        { child_id: 'parent2-child1' },
        { child_id: 'parent2-child2' }
      ]
    }
  ]
})