{"action":"created","issue":{"url":"https://api.github.com/repos/Polymer/polymer/issues/1161","labels_url":"https://api.github.com/repos/Polymer/polymer/issues/1161/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/1161/comments","events_url":"https://api.github.com/repos/Polymer/polymer/issues/1161/events","html_url":"https://github.com/Polymer/polymer/issues/1161","id":56282496,"number":1161,"title":"[0.8-preview] Throws exception if left-hand-side of a property binding contains a dash ","user":{"login":"ssorallen","id":29612,"avatar_url":"https://avatars.githubusercontent.com/u/29612?v=3","gravatar_id":"","url":"https://api.github.com/users/ssorallen","html_url":"https://github.com/ssorallen","followers_url":"https://api.github.com/users/ssorallen/followers","following_url":"https://api.github.com/users/ssorallen/following{/other_user}","gists_url":"https://api.github.com/users/ssorallen/gists{/gist_id}","starred_url":"https://api.github.com/users/ssorallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssorallen/subscriptions","organizations_url":"https://api.github.com/users/ssorallen/orgs","repos_url":"https://api.github.com/users/ssorallen/repos","events_url":"https://api.github.com/users/ssorallen/events{/privacy}","received_events_url":"https://api.github.com/users/ssorallen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Polymer/polymer/labels/0.8","name":"0.8","color":"00aa44"},{"url":"https://api.github.com/repos/Polymer/polymer/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"sjmiles","id":98045,"avatar_url":"https://avatars.githubusercontent.com/u/98045?v=3","gravatar_id":"","url":"https://api.github.com/users/sjmiles","html_url":"https://github.com/sjmiles","followers_url":"https://api.github.com/users/sjmiles/followers","following_url":"https://api.github.com/users/sjmiles/following{/other_user}","gists_url":"https://api.github.com/users/sjmiles/gists{/gist_id}","starred_url":"https://api.github.com/users/sjmiles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjmiles/subscriptions","organizations_url":"https://api.github.com/users/sjmiles/orgs","repos_url":"https://api.github.com/users/sjmiles/repos","events_url":"https://api.github.com/users/sjmiles/events{/privacy}","received_events_url":"https://api.github.com/users/sjmiles/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-02-02T19:38:21Z","updated_at":"2015-03-05T19:30:56Z","closed_at":"2015-03-05T19:30:56Z","body":"Properties starting with \"on-\" are interpreted as event listeners, but any other property containing a dash causes Polymer to throw an exception while binding:\r\n\r\n```\r\nUncaught ReferenceError: Invalid left-hand side in assignment\r\n```\r\n\r\nThis is because of the compiled effects assuming they can use dot notation on nodes:\r\n\r\n```\r\n[\"this._nodes[0].data-foo = ...\"]\r\n```"},"comment":{"url":"https://api.github.com/repos/Polymer/polymer/issues/comments/77434247","html_url":"https://github.com/Polymer/polymer/issues/1161#issuecomment-77434247","issue_url":"https://api.github.com/repos/Polymer/polymer/issues/1161","id":77434247,"user":{"login":"kevinpschaaf","id":1354932,"avatar_url":"https://avatars.githubusercontent.com/u/1354932?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinpschaaf","html_url":"https://github.com/kevinpschaaf","followers_url":"https://api.github.com/users/kevinpschaaf/followers","following_url":"https://api.github.com/users/kevinpschaaf/following{/other_user}","gists_url":"https://api.github.com/users/kevinpschaaf/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinpschaaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinpschaaf/subscriptions","organizations_url":"https://api.github.com/users/kevinpschaaf/orgs","repos_url":"https://api.github.com/users/kevinpschaaf/repos","events_url":"https://api.github.com/users/kevinpschaaf/events{/privacy}","received_events_url":"https://api.github.com/users/kevinpschaaf/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T19:30:56Z","updated_at":"2015-03-05T19:30:56Z","body":"Closing, as the error is no longer thrown for binding to dash-case properties (which are converted to camel case, added in https://github.com/Polymer/polymer/pull/1191), and $= attribute binding works for dash-case attributes (added in https://github.com/Polymer/polymer/commit/3f95fe3ef271d0ffbc89af9dcc459287c4547b38)."}}