{"action":"created","issue":{"url":"https://api.github.com/repos/Polymer/polymer/issues/4038","repository_url":"https://api.github.com/repos/Polymer/polymer","labels_url":"https://api.github.com/repos/Polymer/polymer/issues/4038/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/4038/comments","events_url":"https://api.github.com/repos/Polymer/polymer/issues/4038/events","html_url":"https://github.com/Polymer/polymer/issues/4038","id":180947983,"number":4038,"title":"Ternary operator in binding expressions","user":{"login":"StokeMasterJack","id":123349,"avatar_url":"https://avatars.githubusercontent.com/u/123349?v=3","gravatar_id":"","url":"https://api.github.com/users/StokeMasterJack","html_url":"https://github.com/StokeMasterJack","followers_url":"https://api.github.com/users/StokeMasterJack/followers","following_url":"https://api.github.com/users/StokeMasterJack/following{/other_user}","gists_url":"https://api.github.com/users/StokeMasterJack/gists{/gist_id}","starred_url":"https://api.github.com/users/StokeMasterJack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StokeMasterJack/subscriptions","organizations_url":"https://api.github.com/users/StokeMasterJack/orgs","repos_url":"https://api.github.com/users/StokeMasterJack/repos","events_url":"https://api.github.com/users/StokeMasterJack/events{/privacy}","received_events_url":"https://api.github.com/users/StokeMasterJack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-04T16:55:56Z","updated_at":"2016-10-14T11:34:03Z","closed_at":null,"body":"This would be a nice thing to have:\r\n\r\n[[prop?'yes':'no']]\r\n\r\nwithout having to write a function."},"comment":{"url":"https://api.github.com/repos/Polymer/polymer/issues/comments/253776185","html_url":"https://github.com/Polymer/polymer/issues/4038#issuecomment-253776185","issue_url":"https://api.github.com/repos/Polymer/polymer/issues/4038","id":253776185,"user":{"login":"web-padawan","id":10589913,"avatar_url":"https://avatars.githubusercontent.com/u/10589913?v=3","gravatar_id":"","url":"https://api.github.com/users/web-padawan","html_url":"https://github.com/web-padawan","followers_url":"https://api.github.com/users/web-padawan/followers","following_url":"https://api.github.com/users/web-padawan/following{/other_user}","gists_url":"https://api.github.com/users/web-padawan/gists{/gist_id}","starred_url":"https://api.github.com/users/web-padawan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-padawan/subscriptions","organizations_url":"https://api.github.com/users/web-padawan/orgs","repos_url":"https://api.github.com/users/web-padawan/repos","events_url":"https://api.github.com/users/web-padawan/events{/privacy}","received_events_url":"https://api.github.com/users/web-padawan/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T11:34:03Z","updated_at":"2016-10-14T11:34:03Z","body":"@larsgk don't fotget that Polymer is a library, not a framework. It shouldn't enforce you to use some formatters. There are other libraries for this, e. g. [Intl.js](https://github.com/andyearnshaw/Intl.js) etc, and those can be wrapped in behaviors like you mentioned.\r\n\r\nUsing ternary operators etc. in 0.5 means parsing data-bindings in runtime, just open dev tools and you'll see those `{{ a ? b : c }}` right there inside of attribute values."}}
{"actor":{"display_login":"web-padawan"}}