{"action":"created","comment":{"url":"https://api.github.com/repos/gaia-components/gaia-header/pulls/comments/26950109","id":26950109,"diff_hunk":"@@ -123,6 +124,7 @@ module.exports = component.register('gaia-header', {\n     debug('attached');\n     this.runFontFitSoon();\n     this.observerStart();\n+    window.addEventListener('resize', this);","path":"gaia-header.js","position":12,"original_position":12,"commit_id":"ee955ed3643b7507ec0f39eefc4a735b85aecec3","original_commit_id":"ee955ed3643b7507ec0f39eefc4a735b85aecec3","user":{"login":"wilsonpage","id":1020551,"avatar_url":"https://avatars.githubusercontent.com/u/1020551?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonpage","html_url":"https://github.com/wilsonpage","followers_url":"https://api.github.com/users/wilsonpage/followers","following_url":"https://api.github.com/users/wilsonpage/following{/other_user}","gists_url":"https://api.github.com/users/wilsonpage/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonpage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonpage/subscriptions","organizations_url":"https://api.github.com/users/wilsonpage/orgs","repos_url":"https://api.github.com/users/wilsonpage/repos","events_url":"https://api.github.com/users/wilsonpage/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonpage/received_events","type":"User","site_admin":false},"body":"But TBH I'm really not that bothered about if you want to stick with this approach :)","created_at":"2015-03-23T15:58:42Z","updated_at":"2015-03-23T15:58:42Z","html_url":"https://github.com/gaia-components/gaia-header/pull/28#discussion_r26950109","pull_request_url":"https://api.github.com/repos/gaia-components/gaia-header/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/gaia-components/gaia-header/pulls/comments/26950109"},"html":{"href":"https://github.com/gaia-components/gaia-header/pull/28#discussion_r26950109"},"pull_request":{"href":"https://api.github.com/repos/gaia-components/gaia-header/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/gaia-components/gaia-header/pulls/28","id":31480271,"html_url":"https://github.com/gaia-components/gaia-header/pull/28","diff_url":"https://github.com/gaia-components/gaia-header/pull/28.diff","patch_url":"https://github.com/gaia-components/gaia-header/pull/28.patch","issue_url":"https://api.github.com/repos/gaia-components/gaia-header/issues/28","number":28,"state":"open","locked":false,"title":"Bug 1137097 - [Header] recalculate when resizing the window r=wilsonpage","user":{"login":"julienw","id":454175,"avatar_url":"https://avatars.githubusercontent.com/u/454175?v=3","gravatar_id":"","url":"https://api.github.com/users/julienw","html_url":"https://github.com/julienw","followers_url":"https://api.github.com/users/julienw/followers","following_url":"https://api.github.com/users/julienw/following{/other_user}","gists_url":"https://api.github.com/users/julienw/gists{/gist_id}","starred_url":"https://api.github.com/users/julienw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienw/subscriptions","organizations_url":"https://api.github.com/users/julienw/orgs","repos_url":"https://api.github.com/users/julienw/repos","events_url":"https://api.github.com/users/julienw/events{/privacy}","received_events_url":"https://api.github.com/users/julienw/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-18T22:47:07Z","updated_at":"2015-03-23T15:58:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"15138d9edd263df47f6ed89d2c5f493803992e67","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gaia-components/gaia-header/pulls/28/commits","review_comments_url":"https://api.github.com/repos/gaia-components/gaia-header/pulls/28/comments","review_comment_url":"https://api.github.com/repos/gaia-components/gaia-header/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gaia-components/gaia-header/issues/28/comments","statuses_url":"https://api.github.com/repos/gaia-components/gaia-header/statuses/ee955ed3643b7507ec0f39eefc4a735b85aecec3","head":{"label":"julienw:1137097-run-font-fit-on-resize","ref":"1137097-run-font-fit-on-resize","sha":"ee955ed3643b7507ec0f39eefc4a735b85aecec3","user":{"login":"julienw","id":454175,"avatar_url":"https://avatars.githubusercontent.com/u/454175?v=3","gravatar_id":"","url":"https://api.github.com/users/julienw","html_url":"https://github.com/julienw","followers_url":"https://api.github.com/users/julienw/followers","following_url":"https://api.github.com/users/julienw/following{/other_user}","gists_url":"https://api.github.com/users/julienw/gists{/gist_id}","starred_url":"https://api.github.com/users/julienw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienw/subscriptions","organizations_url":"https://api.github.com/users/julienw/orgs","repos_url":"https://api.github.com/users/julienw/repos","events_url":"https://api.github.com/users/julienw/events{/privacy}","received_events_url":"https://api.github.com/users/julienw/received_events","type":"User","site_admin":false},"repo":{"id":26873457,"name":"gaia-header","full_name":"julienw/gaia-header","owner":{"login":"julienw","id":454175,"avatar_url":"https://avatars.githubusercontent.com/u/454175?v=3","gravatar_id":"","url":"https://api.github.com/users/julienw","html_url":"https://github.com/julienw","followers_url":"https://api.github.com/users/julienw/followers","following_url":"https://api.github.com/users/julienw/following{/other_user}","gists_url":"https://api.github.com/users/julienw/gists{/gist_id}","starred_url":"https://api.github.com/users/julienw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienw/subscriptions","organizations_url":"https://api.github.com/users/julienw/orgs","repos_url":"https://api.github.com/users/julienw/repos","events_url":"https://api.github.com/users/julienw/events{/privacy}","received_events_url":"https://api.github.com/users/julienw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/julienw/gaia-header","description":"","fork":true,"url":"https://api.github.com/repos/julienw/gaia-header","forks_url":"https://api.github.com/repos/julienw/gaia-header/forks","keys_url":"https://api.github.com/repos/julienw/gaia-header/keys{/key_id}","collaborators_url":"https://api.github.com/repos/julienw/gaia-header/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/julienw/gaia-header/teams","hooks_url":"https://api.github.com/repos/julienw/gaia-header/hooks","issue_events_url":"https://api.github.com/repos/julienw/gaia-header/issues/events{/number}","events_url":"https://api.github.com/repos/julienw/gaia-header/events","assignees_url":"https://api.github.com/repos/julienw/gaia-header/assignees{/user}","branches_url":"https://api.github.com/repos/julienw/gaia-header/branches{/branch}","tags_url":"https://api.github.com/repos/julienw/gaia-header/tags","blobs_url":"https://api.github.com/repos/julienw/gaia-header/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/julienw/gaia-header/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/julienw/gaia-header/git/refs{/sha}","trees_url":"https://api.github.com/repos/julienw/gaia-header/git/trees{/sha}","statuses_url":"https://api.github.com/repos/julienw/gaia-header/statuses/{sha}","languages_url":"https://api.github.com/repos/julienw/gaia-header/languages","stargazers_url":"https://api.github.com/repos/julienw/gaia-header/stargazers","contributors_url":"https://api.github.com/repos/julienw/gaia-header/contributors","subscribers_url":"https://api.github.com/repos/julienw/gaia-header/subscribers","subscription_url":"https://api.github.com/repos/julienw/gaia-header/subscription","commits_url":"https://api.github.com/repos/julienw/gaia-header/commits{/sha}","git_commits_url":"https://api.github.com/repos/julienw/gaia-header/git/commits{/sha}","comments_url":"https://api.github.com/repos/julienw/gaia-header/comments{/number}","issue_comment_url":"https://api.github.com/repos/julienw/gaia-header/issues/comments{/number}","contents_url":"https://api.github.com/repos/julienw/gaia-header/contents/{+path}","compare_url":"https://api.github.com/repos/julienw/gaia-header/compare/{base}...{head}","merges_url":"https://api.github.com/repos/julienw/gaia-header/merges","archive_url":"https://api.github.com/repos/julienw/gaia-header/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/julienw/gaia-header/downloads","issues_url":"https://api.github.com/repos/julienw/gaia-header/issues{/number}","pulls_url":"https://api.github.com/repos/julienw/gaia-header/pulls{/number}","milestones_url":"https://api.github.com/repos/julienw/gaia-header/milestones{/number}","notifications_url":"https://api.github.com/repos/julienw/gaia-header/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/julienw/gaia-header/labels{/name}","releases_url":"https://api.github.com/repos/julienw/gaia-header/releases{/id}","created_at":"2014-11-19T17:42:46Z","updated_at":"2014-11-19T17:42:46Z","pushed_at":"2015-03-20T13:05:29Z","git_url":"git://github.com/julienw/gaia-header.git","ssh_url":"git@github.com:julienw/gaia-header.git","clone_url":"https://github.com/julienw/gaia-header.git","svn_url":"https://github.com/julienw/gaia-header","homepage":null,"size":564,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gaia-components:master","ref":"master","sha":"d5e4f4432146a281c0ab7e774668ebbf5b31223c","user":{"login":"gaia-components","id":7851599,"avatar_url":"https://avatars.githubusercontent.com/u/7851599?v=3","gravatar_id":"","url":"https://api.github.com/users/gaia-components","html_url":"https://github.com/gaia-components","followers_url":"https://api.github.com/users/gaia-components/followers","following_url":"https://api.github.com/users/gaia-components/following{/other_user}","gists_url":"https://api.github.com/users/gaia-components/gists{/gist_id}","starred_url":"https://api.github.com/users/gaia-components/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaia-components/subscriptions","organizations_url":"https://api.github.com/users/gaia-components/orgs","repos_url":"https://api.github.com/users/gaia-components/repos","events_url":"https://api.github.com/users/gaia-components/events{/privacy}","received_events_url":"https://api.github.com/users/gaia-components/received_events","type":"Organization","site_admin":false},"repo":{"id":20662827,"name":"gaia-header","full_name":"gaia-components/gaia-header","owner":{"login":"gaia-components","id":7851599,"avatar_url":"https://avatars.githubusercontent.com/u/7851599?v=3","gravatar_id":"","url":"https://api.github.com/users/gaia-components","html_url":"https://github.com/gaia-components","followers_url":"https://api.github.com/users/gaia-components/followers","following_url":"https://api.github.com/users/gaia-components/following{/other_user}","gists_url":"https://api.github.com/users/gaia-components/gists{/gist_id}","starred_url":"https://api.github.com/users/gaia-components/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaia-components/subscriptions","organizations_url":"https://api.github.com/users/gaia-components/orgs","repos_url":"https://api.github.com/users/gaia-components/repos","events_url":"https://api.github.com/users/gaia-components/events{/privacy}","received_events_url":"https://api.github.com/users/gaia-components/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gaia-components/gaia-header","description":"","fork":false,"url":"https://api.github.com/repos/gaia-components/gaia-header","forks_url":"https://api.github.com/repos/gaia-components/gaia-header/forks","keys_url":"https://api.github.com/repos/gaia-components/gaia-header/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gaia-components/gaia-header/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gaia-components/gaia-header/teams","hooks_url":"https://api.github.com/repos/gaia-components/gaia-header/hooks","issue_events_url":"https://api.github.com/repos/gaia-components/gaia-header/issues/events{/number}","events_url":"https://api.github.com/repos/gaia-components/gaia-header/events","assignees_url":"https://api.github.com/repos/gaia-components/gaia-header/assignees{/user}","branches_url":"https://api.github.com/repos/gaia-components/gaia-header/branches{/branch}","tags_url":"https://api.github.com/repos/gaia-components/gaia-header/tags","blobs_url":"https://api.github.com/repos/gaia-components/gaia-header/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gaia-components/gaia-header/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gaia-components/gaia-header/git/refs{/sha}","trees_url":"https://api.github.com/repos/gaia-components/gaia-header/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gaia-components/gaia-header/statuses/{sha}","languages_url":"https://api.github.com/repos/gaia-components/gaia-header/languages","stargazers_url":"https://api.github.com/repos/gaia-components/gaia-header/stargazers","contributors_url":"https://api.github.com/repos/gaia-components/gaia-header/contributors","subscribers_url":"https://api.github.com/repos/gaia-components/gaia-header/subscribers","subscription_url":"https://api.github.com/repos/gaia-components/gaia-header/subscription","commits_url":"https://api.github.com/repos/gaia-components/gaia-header/commits{/sha}","git_commits_url":"https://api.github.com/repos/gaia-components/gaia-header/git/commits{/sha}","comments_url":"https://api.github.com/repos/gaia-components/gaia-header/comments{/number}","issue_comment_url":"https://api.github.com/repos/gaia-components/gaia-header/issues/comments{/number}","contents_url":"https://api.github.com/repos/gaia-components/gaia-header/contents/{+path}","compare_url":"https://api.github.com/repos/gaia-components/gaia-header/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gaia-components/gaia-header/merges","archive_url":"https://api.github.com/repos/gaia-components/gaia-header/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gaia-components/gaia-header/downloads","issues_url":"https://api.github.com/repos/gaia-components/gaia-header/issues{/number}","pulls_url":"https://api.github.com/repos/gaia-components/gaia-header/pulls{/number}","milestones_url":"https://api.github.com/repos/gaia-components/gaia-header/milestones{/number}","notifications_url":"https://api.github.com/repos/gaia-components/gaia-header/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gaia-components/gaia-header/labels{/name}","releases_url":"https://api.github.com/repos/gaia-components/gaia-header/releases{/id}","created_at":"2014-06-09T21:27:31Z","updated_at":"2015-03-19T01:32:35Z","pushed_at":"2015-03-20T13:05:29Z","git_url":"git://github.com/gaia-components/gaia-header.git","ssh_url":"git@github.com:gaia-components/gaia-header.git","clone_url":"https://github.com/gaia-components/gaia-header.git","svn_url":"https://github.com/gaia-components/gaia-header","homepage":null,"size":2130,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":4,"forks":14,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gaia-components/gaia-header/pulls/28"},"html":{"href":"https://github.com/gaia-components/gaia-header/pull/28"},"issue":{"href":"https://api.github.com/repos/gaia-components/gaia-header/issues/28"},"comments":{"href":"https://api.github.com/repos/gaia-components/gaia-header/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/gaia-components/gaia-header/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/gaia-components/gaia-header/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gaia-components/gaia-header/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/gaia-components/gaia-header/statuses/ee955ed3643b7507ec0f39eefc4a735b85aecec3"}}}}