{"action":"created","comment":{"url":"https://api.github.com/repos/gaia-components/gaia-header/pulls/comments/41428427","id":41428427,"diff_hunk":"@@ -643,6 +650,26 @@ module.exports = component.register('gaia-header', {\n         if (value) { this.setAttr('no-font-fit', ''); }\n         else { this.removeAttr('no-font-fit'); }\n       }\n+    },\n+\n+    // The [ignore-dir] attribute can be used to force the older behavior of\n+    // gaia-header, where the whole header is always displayed in LTR mode.\n+    ignoreDir: {\n+      get: function() {\n+        if ('ignoreDir' in this) { return this._ignoreDir || false; }\n+        return this.hasAttribute('ignore-dir');","path":"gaia-header.js","position":47,"original_position":47,"commit_id":"e9fde0c220068e3c198b1024235b1114ddc24182","original_commit_id":"e9fde0c220068e3c198b1024235b1114ddc24182","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":"mmm wondering why it's different than the previous code for noFontFit.","created_at":"2015-10-07T18:38:30Z","updated_at":"2015-10-07T18:38:30Z","html_url":"https://github.com/gaia-components/gaia-header/pull/46#discussion_r41428427","pull_request_url":"https://api.github.com/repos/gaia-components/gaia-header/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/gaia-components/gaia-header/pulls/comments/41428427"},"html":{"href":"https://github.com/gaia-components/gaia-header/pull/46#discussion_r41428427"},"pull_request":{"href":"https://api.github.com/repos/gaia-components/gaia-header/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/gaia-components/gaia-header/pulls/46","id":47036601,"html_url":"https://github.com/gaia-components/gaia-header/pull/46","diff_url":"https://github.com/gaia-components/gaia-header/pull/46.diff","patch_url":"https://github.com/gaia-components/gaia-header/pull/46.patch","issue_url":"https://api.github.com/repos/gaia-components/gaia-header/issues/46","number":46,"state":"open","locked":false,"title":"Bug 1209041 - [ignore-dir] attribute support","user":{"login":"fabi1cazenave","id":457778,"avatar_url":"https://avatars.githubusercontent.com/u/457778?v=3","gravatar_id":"","url":"https://api.github.com/users/fabi1cazenave","html_url":"https://github.com/fabi1cazenave","followers_url":"https://api.github.com/users/fabi1cazenave/followers","following_url":"https://api.github.com/users/fabi1cazenave/following{/other_user}","gists_url":"https://api.github.com/users/fabi1cazenave/gists{/gist_id}","starred_url":"https://api.github.com/users/fabi1cazenave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabi1cazenave/subscriptions","organizations_url":"https://api.github.com/users/fabi1cazenave/orgs","repos_url":"https://api.github.com/users/fabi1cazenave/repos","events_url":"https://api.github.com/users/fabi1cazenave/events{/privacy}","received_events_url":"https://api.github.com/users/fabi1cazenave/received_events","type":"User","site_admin":false},"body":"Enables an `ignoreDir` attribute to preserve the gaia-header v0.8.0 behavior, where the whole component is displayed in LTR but the title content direction follows the document direction.\r\n\r\n@wilsonpage wdyt?","created_at":"2015-10-07T14:45:20Z","updated_at":"2015-10-07T18:38:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"20fae381fe1d236e4987677bc9e26ec5828d3928","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gaia-components/gaia-header/pulls/46/commits","review_comments_url":"https://api.github.com/repos/gaia-components/gaia-header/pulls/46/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/46/comments","statuses_url":"https://api.github.com/repos/gaia-components/gaia-header/statuses/e9fde0c220068e3c198b1024235b1114ddc24182","head":{"label":"fabi1cazenave:ignoreDir_attribute_support","ref":"ignoreDir_attribute_support","sha":"e9fde0c220068e3c198b1024235b1114ddc24182","user":{"login":"fabi1cazenave","id":457778,"avatar_url":"https://avatars.githubusercontent.com/u/457778?v=3","gravatar_id":"","url":"https://api.github.com/users/fabi1cazenave","html_url":"https://github.com/fabi1cazenave","followers_url":"https://api.github.com/users/fabi1cazenave/followers","following_url":"https://api.github.com/users/fabi1cazenave/following{/other_user}","gists_url":"https://api.github.com/users/fabi1cazenave/gists{/gist_id}","starred_url":"https://api.github.com/users/fabi1cazenave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabi1cazenave/subscriptions","organizations_url":"https://api.github.com/users/fabi1cazenave/orgs","repos_url":"https://api.github.com/users/fabi1cazenave/repos","events_url":"https://api.github.com/users/fabi1cazenave/events{/privacy}","received_events_url":"https://api.github.com/users/fabi1cazenave/received_events","type":"User","site_admin":false},"repo":{"id":42643054,"name":"gaia-header","full_name":"fabi1cazenave/gaia-header","owner":{"login":"fabi1cazenave","id":457778,"avatar_url":"https://avatars.githubusercontent.com/u/457778?v=3","gravatar_id":"","url":"https://api.github.com/users/fabi1cazenave","html_url":"https://github.com/fabi1cazenave","followers_url":"https://api.github.com/users/fabi1cazenave/followers","following_url":"https://api.github.com/users/fabi1cazenave/following{/other_user}","gists_url":"https://api.github.com/users/fabi1cazenave/gists{/gist_id}","starred_url":"https://api.github.com/users/fabi1cazenave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabi1cazenave/subscriptions","organizations_url":"https://api.github.com/users/fabi1cazenave/orgs","repos_url":"https://api.github.com/users/fabi1cazenave/repos","events_url":"https://api.github.com/users/fabi1cazenave/events{/privacy}","received_events_url":"https://api.github.com/users/fabi1cazenave/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fabi1cazenave/gaia-header","description":"","fork":true,"url":"https://api.github.com/repos/fabi1cazenave/gaia-header","forks_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/forks","keys_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/teams","hooks_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/hooks","issue_events_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/issues/events{/number}","events_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/events","assignees_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/assignees{/user}","branches_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/branches{/branch}","tags_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/tags","blobs_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/git/refs{/sha}","trees_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/statuses/{sha}","languages_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/languages","stargazers_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/stargazers","contributors_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/contributors","subscribers_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/subscribers","subscription_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/subscription","commits_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/commits{/sha}","git_commits_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/git/commits{/sha}","comments_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/comments{/number}","issue_comment_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/issues/comments{/number}","contents_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/contents/{+path}","compare_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/merges","archive_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/downloads","issues_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/issues{/number}","pulls_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/pulls{/number}","milestones_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/milestones{/number}","notifications_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/labels{/name}","releases_url":"https://api.github.com/repos/fabi1cazenave/gaia-header/releases{/id}","created_at":"2015-09-17T07:58:18Z","updated_at":"2015-09-17T07:58:19Z","pushed_at":"2015-10-07T17:57:40Z","git_url":"git://github.com/fabi1cazenave/gaia-header.git","ssh_url":"git@github.com:fabi1cazenave/gaia-header.git","clone_url":"https://github.com/fabi1cazenave/gaia-header.git","svn_url":"https://github.com/fabi1cazenave/gaia-header","homepage":null,"size":1198,"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":"1977d1b6f0987815da5ef9edb130f335d8491b5c","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-05-06T10:14:03Z","pushed_at":"2015-10-07T17:57:41Z","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":2061,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":21,"mirror_url":null,"open_issues_count":4,"forks":21,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gaia-components/gaia-header/pulls/46"},"html":{"href":"https://github.com/gaia-components/gaia-header/pull/46"},"issue":{"href":"https://api.github.com/repos/gaia-components/gaia-header/issues/46"},"comments":{"href":"https://api.github.com/repos/gaia-components/gaia-header/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/gaia-components/gaia-header/pulls/46/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/46/commits"},"statuses":{"href":"https://api.github.com/repos/gaia-components/gaia-header/statuses/e9fde0c220068e3c198b1024235b1114ddc24182"}}}}