Procházet zdrojové kódy

Add spec for context lookup (issue #122)

tags/0.5.1
Michael Jackson před 14 roky
rodič
revize
364ef54901
3 změnil soubory, kde provedl 10 přidání a 0 odebrání
  1. +8
    -0
      spec/_files/context_lookup.js
  2. +1
    -0
      spec/_files/context_lookup.mustache
  3. +1
    -0
      spec/_files/context_lookup.txt

+ 8
- 0
spec/_files/context_lookup.js Zobrazit soubor

@@ -0,0 +1,8 @@
var context_lookup = {
"outer": {
"id": 1,
"second": {
"nothing": 2
}
}
};

+ 1
- 0
spec/_files/context_lookup.mustache Zobrazit soubor

@@ -0,0 +1 @@
{{#outer}}{{#second}}{{id}}{{/second}}{{/outer}}

+ 1
- 0
spec/_files/context_lookup.txt Zobrazit soubor

@@ -0,0 +1 @@
1

Načítá se…
Zrušit
Uložit