{"action":"created","issue":{"url":"https://api.github.com/repos/jsdf/coffee-react-transform/issues/39","labels_url":"https://api.github.com/repos/jsdf/coffee-react-transform/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/jsdf/coffee-react-transform/issues/39/comments","events_url":"https://api.github.com/repos/jsdf/coffee-react-transform/issues/39/events","html_url":"https://github.com/jsdf/coffee-react-transform/issues/39","id":58689492,"number":39,"title":"Spread attributes break when used w/ function called with more than 1 arg","user":{"login":"nemothekid","id":940094,"avatar_url":"https://avatars.githubusercontent.com/u/940094?v=3","gravatar_id":"","url":"https://api.github.com/users/nemothekid","html_url":"https://github.com/nemothekid","followers_url":"https://api.github.com/users/nemothekid/followers","following_url":"https://api.github.com/users/nemothekid/following{/other_user}","gists_url":"https://api.github.com/users/nemothekid/gists{/gist_id}","starred_url":"https://api.github.com/users/nemothekid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemothekid/subscriptions","organizations_url":"https://api.github.com/users/nemothekid/orgs","repos_url":"https://api.github.com/users/nemothekid/repos","events_url":"https://api.github.com/users/nemothekid/events{/privacy}","received_events_url":"https://api.github.com/users/nemothekid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T03:40:38Z","updated_at":"2015-02-24T03:57:55Z","closed_at":null,"body":"Example: http://jsdf.github.io/coffee-react-transform/?code=IyBAY2pzeCBSZWFjdC5ET00KCkNhciA9IFJlYWN0LmNyZWF0ZUNsYXNzCiAgcmVuZGVyOiAtPiAoCiAgCTxkaXYgYT1iIHsuLi5wYW5lUHJvcHMoYSwgYil9PkRhc2hib2FyZDwvZGl2PgoJKQ%3D%3D\r\n\r\nRemove the `, b` and the right side becomes valid coffeescript."},"comment":{"url":"https://api.github.com/repos/jsdf/coffee-react-transform/issues/comments/75695662","html_url":"https://github.com/jsdf/coffee-react-transform/issues/39#issuecomment-75695662","issue_url":"https://api.github.com/repos/jsdf/coffee-react-transform/issues/39","id":75695662,"user":{"login":"jsdf","id":1232587,"avatar_url":"https://avatars.githubusercontent.com/u/1232587?v=3","gravatar_id":"","url":"https://api.github.com/users/jsdf","html_url":"https://github.com/jsdf","followers_url":"https://api.github.com/users/jsdf/followers","following_url":"https://api.github.com/users/jsdf/following{/other_user}","gists_url":"https://api.github.com/users/jsdf/gists{/gist_id}","starred_url":"https://api.github.com/users/jsdf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsdf/subscriptions","organizations_url":"https://api.github.com/users/jsdf/orgs","repos_url":"https://api.github.com/users/jsdf/repos","events_url":"https://api.github.com/users/jsdf/events{/privacy}","received_events_url":"https://api.github.com/users/jsdf/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T03:57:55Z","updated_at":"2015-02-24T03:57:55Z","body":"At the moment I've only tried to support simple variable and property accesses in the spread operator, so you would have to do eg.\r\n```html\r\nReact.createClass\r\n  render: ->\r\n    props = paneProps(a, b)\r\n    <div a=\"b\" {...props}>Dashboard</div>\r\n```\r\n\r\nWhen I get time I'll add support for arbitrary expressions inside the spread operator but it's not the top priority right now."}}