This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Literal "true" doesn't test as truthy #24
Comments
I think the issue is that true/false are treated as simple paths and not as expressions. |
Numbers are still broken |
The numbers fixed caused failures: http://build.chromium.org/p/client.polymer/builders/polymer-expressions%20Linux/builds/325 |
(reverted). I can look at it tomorrow. |
Fixed in 99229bb |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I write an expression like it doesn't appear to test as truthy. {{ 1 }} and {{ !! true }} work as expected. Even if="{{ }}" appears to evaluate as truthy, but not true.
Repro:
http://jsbin.com/pagejoga/3/edit
The text was updated successfully, but these errors were encountered: