{"action":"created","comment":{"url":"https://api.github.com/repos/christophehurpeau/html-document/pulls/comments/48351161","id":48351161,"diff_hunk":"@@ -0,0 +1,160 @@\n+import HTMLElement from '../../HTMLElement';\n+import Url from '../../utils/Url';\n+\n+/**\n+ * The HTMLAnchorElement interface represents hyperlink elements and provides special properties and methods\n+ * (beyond those of the regular HTMLElement object interface they also have available to them by inheritance)\n+ * for manipulating the layout and presentation of such elements.\n+ *\n+ * @see https://developer.mozilla.org/en/docs/Web/API/HTMLAnchorElement\n+ * @class HTMLAnchorElement\n+ */\n+export default class HTMLAnchorElement extends HTMLElement {\n+    constructor() {\n+        super();\n+        this._href = new Url();\n+    }\n+    /**\n+     * @inheritDoc\n+     */\n+    setAttribute(key, value) {\n+        super.setAttribute(key, value);","path":"src/HTMLElement/elements/HTMLAnchorElement.js","position":21,"original_position":21,"commit_id":"4927f9f706de38a80d3eee517e8cfbc518513f52","original_commit_id":"4927f9f706de38a80d3eee517e8cfbc518513f52","user":{"login":"christophehurpeau","id":302891,"avatar_url":"https://avatars.githubusercontent.com/u/302891?v=3","gravatar_id":"","url":"https://api.github.com/users/christophehurpeau","html_url":"https://github.com/christophehurpeau","followers_url":"https://api.github.com/users/christophehurpeau/followers","following_url":"https://api.github.com/users/christophehurpeau/following{/other_user}","gists_url":"https://api.github.com/users/christophehurpeau/gists{/gist_id}","starred_url":"https://api.github.com/users/christophehurpeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophehurpeau/subscriptions","organizations_url":"https://api.github.com/users/christophehurpeau/orgs","repos_url":"https://api.github.com/users/christophehurpeau/repos","events_url":"https://api.github.com/users/christophehurpeau/events{/privacy}","received_events_url":"https://api.github.com/users/christophehurpeau/received_events","type":"User","site_admin":false},"body":"If href setter calls setAttribute, why call it here too? ","created_at":"2015-12-23T15:03:15Z","updated_at":"2015-12-23T15:03:15Z","html_url":"https://github.com/christophehurpeau/html-document/pull/23#discussion_r48351161","pull_request_url":"https://api.github.com/repos/christophehurpeau/html-document/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/christophehurpeau/html-document/pulls/comments/48351161"},"html":{"href":"https://github.com/christophehurpeau/html-document/pull/23#discussion_r48351161"},"pull_request":{"href":"https://api.github.com/repos/christophehurpeau/html-document/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/christophehurpeau/html-document/pulls/23","id":49437109,"html_url":"https://github.com/christophehurpeau/html-document/pull/23","diff_url":"https://github.com/christophehurpeau/html-document/pull/23.diff","patch_url":"https://github.com/christophehurpeau/html-document/pull/23.patch","issue_url":"https://api.github.com/repos/christophehurpeau/html-document/issues/23","number":23,"state":"open","locked":false,"title":"Html anchor element","user":{"login":"Indomian","id":630131,"avatar_url":"https://avatars.githubusercontent.com/u/630131?v=3","gravatar_id":"","url":"https://api.github.com/users/Indomian","html_url":"https://github.com/Indomian","followers_url":"https://api.github.com/users/Indomian/followers","following_url":"https://api.github.com/users/Indomian/following{/other_user}","gists_url":"https://api.github.com/users/Indomian/gists{/gist_id}","starred_url":"https://api.github.com/users/Indomian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Indomian/subscriptions","organizations_url":"https://api.github.com/users/Indomian/orgs","repos_url":"https://api.github.com/users/Indomian/repos","events_url":"https://api.github.com/users/Indomian/events{/privacy}","received_events_url":"https://api.github.com/users/Indomian/received_events","type":"User","site_admin":false},"body":"Added support for HTMLAnchorElement (<a>).","created_at":"2015-11-02T14:27:24Z","updated_at":"2015-12-23T15:03:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d4f50bd31497f1eb2476718d48ebf788ecfa1a85","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/christophehurpeau/html-document/pulls/23/commits","review_comments_url":"https://api.github.com/repos/christophehurpeau/html-document/pulls/23/comments","review_comment_url":"https://api.github.com/repos/christophehurpeau/html-document/pulls/comments{/number}","comments_url":"https://api.github.com/repos/christophehurpeau/html-document/issues/23/comments","statuses_url":"https://api.github.com/repos/christophehurpeau/html-document/statuses/4927f9f706de38a80d3eee517e8cfbc518513f52","head":{"label":"Indomian:HTMLAnchorElement","ref":"HTMLAnchorElement","sha":"4927f9f706de38a80d3eee517e8cfbc518513f52","user":{"login":"Indomian","id":630131,"avatar_url":"https://avatars.githubusercontent.com/u/630131?v=3","gravatar_id":"","url":"https://api.github.com/users/Indomian","html_url":"https://github.com/Indomian","followers_url":"https://api.github.com/users/Indomian/followers","following_url":"https://api.github.com/users/Indomian/following{/other_user}","gists_url":"https://api.github.com/users/Indomian/gists{/gist_id}","starred_url":"https://api.github.com/users/Indomian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Indomian/subscriptions","organizations_url":"https://api.github.com/users/Indomian/orgs","repos_url":"https://api.github.com/users/Indomian/repos","events_url":"https://api.github.com/users/Indomian/events{/privacy}","received_events_url":"https://api.github.com/users/Indomian/received_events","type":"User","site_admin":false},"repo":{"id":38425622,"name":"html-document","full_name":"Indomian/html-document","owner":{"login":"Indomian","id":630131,"avatar_url":"https://avatars.githubusercontent.com/u/630131?v=3","gravatar_id":"","url":"https://api.github.com/users/Indomian","html_url":"https://github.com/Indomian","followers_url":"https://api.github.com/users/Indomian/followers","following_url":"https://api.github.com/users/Indomian/following{/other_user}","gists_url":"https://api.github.com/users/Indomian/gists{/gist_id}","starred_url":"https://api.github.com/users/Indomian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Indomian/subscriptions","organizations_url":"https://api.github.com/users/Indomian/orgs","repos_url":"https://api.github.com/users/Indomian/repos","events_url":"https://api.github.com/users/Indomian/events{/privacy}","received_events_url":"https://api.github.com/users/Indomian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Indomian/html-document","description":"document shim for node","fork":true,"url":"https://api.github.com/repos/Indomian/html-document","forks_url":"https://api.github.com/repos/Indomian/html-document/forks","keys_url":"https://api.github.com/repos/Indomian/html-document/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Indomian/html-document/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Indomian/html-document/teams","hooks_url":"https://api.github.com/repos/Indomian/html-document/hooks","issue_events_url":"https://api.github.com/repos/Indomian/html-document/issues/events{/number}","events_url":"https://api.github.com/repos/Indomian/html-document/events","assignees_url":"https://api.github.com/repos/Indomian/html-document/assignees{/user}","branches_url":"https://api.github.com/repos/Indomian/html-document/branches{/branch}","tags_url":"https://api.github.com/repos/Indomian/html-document/tags","blobs_url":"https://api.github.com/repos/Indomian/html-document/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Indomian/html-document/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Indomian/html-document/git/refs{/sha}","trees_url":"https://api.github.com/repos/Indomian/html-document/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Indomian/html-document/statuses/{sha}","languages_url":"https://api.github.com/repos/Indomian/html-document/languages","stargazers_url":"https://api.github.com/repos/Indomian/html-document/stargazers","contributors_url":"https://api.github.com/repos/Indomian/html-document/contributors","subscribers_url":"https://api.github.com/repos/Indomian/html-document/subscribers","subscription_url":"https://api.github.com/repos/Indomian/html-document/subscription","commits_url":"https://api.github.com/repos/Indomian/html-document/commits{/sha}","git_commits_url":"https://api.github.com/repos/Indomian/html-document/git/commits{/sha}","comments_url":"https://api.github.com/repos/Indomian/html-document/comments{/number}","issue_comment_url":"https://api.github.com/repos/Indomian/html-document/issues/comments{/number}","contents_url":"https://api.github.com/repos/Indomian/html-document/contents/{+path}","compare_url":"https://api.github.com/repos/Indomian/html-document/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Indomian/html-document/merges","archive_url":"https://api.github.com/repos/Indomian/html-document/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Indomian/html-document/downloads","issues_url":"https://api.github.com/repos/Indomian/html-document/issues{/number}","pulls_url":"https://api.github.com/repos/Indomian/html-document/pulls{/number}","milestones_url":"https://api.github.com/repos/Indomian/html-document/milestones{/number}","notifications_url":"https://api.github.com/repos/Indomian/html-document/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Indomian/html-document/labels{/name}","releases_url":"https://api.github.com/repos/Indomian/html-document/releases{/id}","created_at":"2015-07-02T10:07:48Z","updated_at":"2015-07-02T10:07:49Z","pushed_at":"2015-12-23T14:10:24Z","git_url":"git://github.com/Indomian/html-document.git","ssh_url":"git@github.com:Indomian/html-document.git","clone_url":"https://github.com/Indomian/html-document.git","svn_url":"https://github.com/Indomian/html-document","homepage":null,"size":615,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"christophehurpeau:master","ref":"master","sha":"856fccd7f67a141d95e28d2a29c065a4c0f4431a","user":{"login":"christophehurpeau","id":302891,"avatar_url":"https://avatars.githubusercontent.com/u/302891?v=3","gravatar_id":"","url":"https://api.github.com/users/christophehurpeau","html_url":"https://github.com/christophehurpeau","followers_url":"https://api.github.com/users/christophehurpeau/followers","following_url":"https://api.github.com/users/christophehurpeau/following{/other_user}","gists_url":"https://api.github.com/users/christophehurpeau/gists{/gist_id}","starred_url":"https://api.github.com/users/christophehurpeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophehurpeau/subscriptions","organizations_url":"https://api.github.com/users/christophehurpeau/orgs","repos_url":"https://api.github.com/users/christophehurpeau/repos","events_url":"https://api.github.com/users/christophehurpeau/events{/privacy}","received_events_url":"https://api.github.com/users/christophehurpeau/received_events","type":"User","site_admin":false},"repo":{"id":22043401,"name":"html-document","full_name":"christophehurpeau/html-document","owner":{"login":"christophehurpeau","id":302891,"avatar_url":"https://avatars.githubusercontent.com/u/302891?v=3","gravatar_id":"","url":"https://api.github.com/users/christophehurpeau","html_url":"https://github.com/christophehurpeau","followers_url":"https://api.github.com/users/christophehurpeau/followers","following_url":"https://api.github.com/users/christophehurpeau/following{/other_user}","gists_url":"https://api.github.com/users/christophehurpeau/gists{/gist_id}","starred_url":"https://api.github.com/users/christophehurpeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophehurpeau/subscriptions","organizations_url":"https://api.github.com/users/christophehurpeau/orgs","repos_url":"https://api.github.com/users/christophehurpeau/repos","events_url":"https://api.github.com/users/christophehurpeau/events{/privacy}","received_events_url":"https://api.github.com/users/christophehurpeau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/christophehurpeau/html-document","description":"document shim for node","fork":false,"url":"https://api.github.com/repos/christophehurpeau/html-document","forks_url":"https://api.github.com/repos/christophehurpeau/html-document/forks","keys_url":"https://api.github.com/repos/christophehurpeau/html-document/keys{/key_id}","collaborators_url":"https://api.github.com/repos/christophehurpeau/html-document/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/christophehurpeau/html-document/teams","hooks_url":"https://api.github.com/repos/christophehurpeau/html-document/hooks","issue_events_url":"https://api.github.com/repos/christophehurpeau/html-document/issues/events{/number}","events_url":"https://api.github.com/repos/christophehurpeau/html-document/events","assignees_url":"https://api.github.com/repos/christophehurpeau/html-document/assignees{/user}","branches_url":"https://api.github.com/repos/christophehurpeau/html-document/branches{/branch}","tags_url":"https://api.github.com/repos/christophehurpeau/html-document/tags","blobs_url":"https://api.github.com/repos/christophehurpeau/html-document/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/christophehurpeau/html-document/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/christophehurpeau/html-document/git/refs{/sha}","trees_url":"https://api.github.com/repos/christophehurpeau/html-document/git/trees{/sha}","statuses_url":"https://api.github.com/repos/christophehurpeau/html-document/statuses/{sha}","languages_url":"https://api.github.com/repos/christophehurpeau/html-document/languages","stargazers_url":"https://api.github.com/repos/christophehurpeau/html-document/stargazers","contributors_url":"https://api.github.com/repos/christophehurpeau/html-document/contributors","subscribers_url":"https://api.github.com/repos/christophehurpeau/html-document/subscribers","subscription_url":"https://api.github.com/repos/christophehurpeau/html-document/subscription","commits_url":"https://api.github.com/repos/christophehurpeau/html-document/commits{/sha}","git_commits_url":"https://api.github.com/repos/christophehurpeau/html-document/git/commits{/sha}","comments_url":"https://api.github.com/repos/christophehurpeau/html-document/comments{/number}","issue_comment_url":"https://api.github.com/repos/christophehurpeau/html-document/issues/comments{/number}","contents_url":"https://api.github.com/repos/christophehurpeau/html-document/contents/{+path}","compare_url":"https://api.github.com/repos/christophehurpeau/html-document/compare/{base}...{head}","merges_url":"https://api.github.com/repos/christophehurpeau/html-document/merges","archive_url":"https://api.github.com/repos/christophehurpeau/html-document/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/christophehurpeau/html-document/downloads","issues_url":"https://api.github.com/repos/christophehurpeau/html-document/issues{/number}","pulls_url":"https://api.github.com/repos/christophehurpeau/html-document/pulls{/number}","milestones_url":"https://api.github.com/repos/christophehurpeau/html-document/milestones{/number}","notifications_url":"https://api.github.com/repos/christophehurpeau/html-document/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/christophehurpeau/html-document/labels{/name}","releases_url":"https://api.github.com/repos/christophehurpeau/html-document/releases{/id}","created_at":"2014-07-20T21:05:56Z","updated_at":"2015-07-14T21:08:18Z","pushed_at":"2015-12-23T14:10:25Z","git_url":"git://github.com/christophehurpeau/html-document.git","ssh_url":"git@github.com:christophehurpeau/html-document.git","clone_url":"https://github.com/christophehurpeau/html-document.git","svn_url":"https://github.com/christophehurpeau/html-document","homepage":"http://christophehurpeau.github.io/html-document/docs/","size":3019,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/christophehurpeau/html-document/pulls/23"},"html":{"href":"https://github.com/christophehurpeau/html-document/pull/23"},"issue":{"href":"https://api.github.com/repos/christophehurpeau/html-document/issues/23"},"comments":{"href":"https://api.github.com/repos/christophehurpeau/html-document/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/christophehurpeau/html-document/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/christophehurpeau/html-document/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/christophehurpeau/html-document/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/christophehurpeau/html-document/statuses/4927f9f706de38a80d3eee517e8cfbc518513f52"}}}}