{"action":"created","issue":{"url":"https://api.github.com/repos/svgdotjs/svg.js/issues/673","repository_url":"https://api.github.com/repos/svgdotjs/svg.js","labels_url":"https://api.github.com/repos/svgdotjs/svg.js/issues/673/labels{/name}","comments_url":"https://api.github.com/repos/svgdotjs/svg.js/issues/673/comments","events_url":"https://api.github.com/repos/svgdotjs/svg.js/issues/673/events","html_url":"https://github.com/svgdotjs/svg.js/issues/673","id":226216264,"number":673,"title":"Cannot select gradient stop","user":{"login":"openscript","id":1105080,"avatar_url":"https://avatars0.githubusercontent.com/u/1105080?v=4","gravatar_id":"","url":"https://api.github.com/users/openscript","html_url":"https://github.com/openscript","followers_url":"https://api.github.com/users/openscript/followers","following_url":"https://api.github.com/users/openscript/following{/other_user}","gists_url":"https://api.github.com/users/openscript/gists{/gist_id}","starred_url":"https://api.github.com/users/openscript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openscript/subscriptions","organizations_url":"https://api.github.com/users/openscript/orgs","repos_url":"https://api.github.com/users/openscript/repos","events_url":"https://api.github.com/users/openscript/events{/privacy}","received_events_url":"https://api.github.com/users/openscript/received_events","type":"User","site_admin":false},"labels":[{"id":313696478,"url":"https://api.github.com/repos/svgdotjs/svg.js/labels/up%20to%20discussion","name":"up to discussion","color":"353a3d","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-05-04T08:58:27Z","updated_at":"2018-02-10T00:12:31Z","closed_at":"2018-02-10T00:12:31Z","author_association":"NONE","body":"Hello everybody\r\n\r\nUpfront, something like a warning. It's the first time I'm using svg.js, so I'm not sure if it's really an issue.\r\n\r\nI'm trying to update the color of a stop in a gradient. Unfortunately I struggling with selecting the stop.\r\n\r\nI've created a [minimal example](https://jsfiddle.net/nez0t5t2/):\r\n```\r\n<svg width=\"100\" height=\"100\">\r\n  <defs>\r\n    <linearGradient id=\"gradient\">\r\n      <stop stop-opacity=\"0\" offset=\"0\"/>\r\n      <stop stop-color=\"#000\" offset=\"1\"/>\r\n    </linearGradient>\r\n  </defs>\r\n  <rect width=\"100\" height=\"100\" fill=url(#gradient)></rect>\r\n</svg>\r\n```\r\nAnd now I try to update the color of the first stop to red:\r\n`SVG.get('gradient').get(0).update(0, '#F00')`\r\n\r\nAm I doing something wrong or is it a bug?\r\n\r\nRobin"},"comment":{"url":"https://api.github.com/repos/svgdotjs/svg.js/issues/comments/364605683","html_url":"https://github.com/svgdotjs/svg.js/issues/673#issuecomment-364605683","issue_url":"https://api.github.com/repos/svgdotjs/svg.js/issues/673","id":364605683,"user":{"login":"Fuzzyma","id":3540542,"avatar_url":"https://avatars3.githubusercontent.com/u/3540542?v=4","gravatar_id":"","url":"https://api.github.com/users/Fuzzyma","html_url":"https://github.com/Fuzzyma","followers_url":"https://api.github.com/users/Fuzzyma/followers","following_url":"https://api.github.com/users/Fuzzyma/following{/other_user}","gists_url":"https://api.github.com/users/Fuzzyma/gists{/gist_id}","starred_url":"https://api.github.com/users/Fuzzyma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fuzzyma/subscriptions","organizations_url":"https://api.github.com/users/Fuzzyma/orgs","repos_url":"https://api.github.com/users/Fuzzyma/repos","events_url":"https://api.github.com/users/Fuzzyma/events{/privacy}","received_events_url":"https://api.github.com/users/Fuzzyma/received_events","type":"User","site_admin":false},"created_at":"2018-02-10T00:12:31Z","updated_at":"2018-02-10T00:12:31Z","author_association":"COLLABORATOR","body":"This is fixed in the 3.0 branch (but wont go into 2.x). We are using children instead of childNodes there so it should not happen.\r\nClosing this here. Don't hesistate to post something here anyway"}}
{"actor":{"display_login":"Fuzzyma"}}