{"action":"created","issue":{"url":"https://api.github.com/repos/koute/stdweb/issues/96","repository_url":"https://api.github.com/repos/koute/stdweb","labels_url":"https://api.github.com/repos/koute/stdweb/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/koute/stdweb/issues/96/comments","events_url":"https://api.github.com/repos/koute/stdweb/issues/96/events","html_url":"https://github.com/koute/stdweb/pull/96","id":292135661,"number":96,"title":"Complete CanvasRenderingContext2D API","user":{"login":"teovoinea","id":8150726,"avatar_url":"https://avatars2.githubusercontent.com/u/8150726?v=4","gravatar_id":"","url":"https://api.github.com/users/teovoinea","html_url":"https://github.com/teovoinea","followers_url":"https://api.github.com/users/teovoinea/followers","following_url":"https://api.github.com/users/teovoinea/following{/other_user}","gists_url":"https://api.github.com/users/teovoinea/gists{/gist_id}","starred_url":"https://api.github.com/users/teovoinea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teovoinea/subscriptions","organizations_url":"https://api.github.com/users/teovoinea/orgs","repos_url":"https://api.github.com/users/teovoinea/repos","events_url":"https://api.github.com/users/teovoinea/events{/privacy}","received_events_url":"https://api.github.com/users/teovoinea/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2018-01-27T17:06:20Z","updated_at":"2018-02-24T16:57:15Z","closed_at":"2018-02-23T20:30:05Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/koute/stdweb/pulls/96","html_url":"https://github.com/koute/stdweb/pull/96","diff_url":"https://github.com/koute/stdweb/pull/96.diff","patch_url":"https://github.com/koute/stdweb/pull/96.patch"},"body":"I plan on adding all of the methods and properties of [CanvasRenderingContext2D](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D). Currently a work in progress but I've opened this PR to get some feedback on the implementation of certain functions.\r\n\r\nStarting with [`clip`](https://github.com/koute/stdweb/pull/96/commits/4032862cec0b8fb9861811d876ed8c232aa33732#diff-f6c540db6098f68dcb244aeeb396e8f8R103)  and [`create_pattern_image`](https://github.com/koute/stdweb/pull/96/commits/4a6fdde6925227272b4b8fa6200d5f8285ec3826#diff-f6c540db6098f68dcb244aeeb396e8f8R161) where I had to create Enums.\r\n\r\nAs well as in [createPattern](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern) which takes a [CanvasImageSource](https://developer.mozilla.org/en-US/docs/Web/API/CanvasImageSource) but I've currently only implemented the `ImageElement` as `create_pattern_image`."},"comment":{"url":"https://api.github.com/repos/koute/stdweb/issues/comments/368242202","html_url":"https://github.com/koute/stdweb/pull/96#issuecomment-368242202","issue_url":"https://api.github.com/repos/koute/stdweb/issues/96","id":368242202,"user":{"login":"teovoinea","id":8150726,"avatar_url":"https://avatars2.githubusercontent.com/u/8150726?v=4","gravatar_id":"","url":"https://api.github.com/users/teovoinea","html_url":"https://github.com/teovoinea","followers_url":"https://api.github.com/users/teovoinea/followers","following_url":"https://api.github.com/users/teovoinea/following{/other_user}","gists_url":"https://api.github.com/users/teovoinea/gists{/gist_id}","starred_url":"https://api.github.com/users/teovoinea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teovoinea/subscriptions","organizations_url":"https://api.github.com/users/teovoinea/orgs","repos_url":"https://api.github.com/users/teovoinea/repos","events_url":"https://api.github.com/users/teovoinea/events{/privacy}","received_events_url":"https://api.github.com/users/teovoinea/received_events","type":"User","site_admin":false},"created_at":"2018-02-24T16:57:15Z","updated_at":"2018-02-24T16:57:15Z","author_association":"CONTRIBUTOR","body":"Thanks a lot! I was thinking of making a sort of guideline for implementing web APIs since I’m seeing a few PRs where it could save a lot of duplicate comments"}}
{"actor":{"display_login":"teovoinea"}}