Export to GitHub

kite - issue #2

Getting upper level variable


Posted on Apr 20, 2013 by Happy Monkey

What steps will reproduce the problem? 1. Create an object with one value and one array: (var1: 'some_value', var2: ['val1', 'val2'])

  1. iterate over the array and try to print the value of var1: {{#var2}} {{.}} ( {{var1}} ) {{/var2}}
  2. {{var1}} is not found at that level.

What is the expected output? What do you see instead? To print the value of the current array element and in parenthesis the (here fixed) value of var1.

What version of the product are you using? On what operating system? Any

Please provide any additional information below. I think that explains it

Status: New

Labels:
Type-Defect Priority-Medium