proukornew / kite Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/kite
Automatically exported from code.google.com/p/kite
What steps will reproduce the problem?
1. Have a simple array in your JSON:
"news": [
{ "title": "Title 1", "date": "08:59:00", "url": "http://www.google.ch?news=1" },
{ "title": "Title 2", "date": "07:00:00", "url": "http://www.google.ch?news=2" },
{ "title": "Title 3", "date": "04:37:00", "url": "http://www.google.ch?news=3" }
]
2. Then try to check in your Template if this is existing or not (Before the
News you want to write "News"):
{{?news}}
News:
{{#news}}
- {{title}}<br>
{{/news}}
{{/?}}
3. Do another check in the Template with {{?..}} It is not possible, because
you would close two "{{/?}}"
I suppose, that multiple condition in each other should work. Do you have a
workaround or fix date?
Thanks for your help.
Original issue reported on code.google.com by [email protected]
on 17 Jul 2014 at 12:14
What steps will reproduce the problem?
1. Create an object with one value and one array: (var1: 'some_value', var2:
['val1', 'val2'])
2. iterate over the array and try to print the value of var1: {{#var2}} {{.}} (
{{var1}} ) {{/var2}}
3. {{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
Original issue reported on code.google.com by [email protected]
on 20 Apr 2013 at 9:30
What steps will reproduce the problem?
1. {{? field}}
2. field is undefined
3. script crashes
What is the expected output? What do you see instead?
script crashes. I expect the if to evaluate to false.
What version of the product are you using? On what operating system?
chrome
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 8 Apr 2011 at 2:53
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.