{"action":"created","comment":{"url":"https://api.github.com/repos/l20n/l20n.js/pulls/comments/37269873","id":37269873,"diff_hunk":"@@ -42,15 +42,14 @@ export function getAttributes(element) {\n }\n \n function getTranslatables(element) {\n-  const nodes = [];\n+  const nodes = [...element.querySelectorAll('*[data-l10n-id]')];","path":"src/bindings/html/dom.js","position":5,"original_position":5,"commit_id":"00917b546cb5474a910d77fc6e2633305ca519a3","original_commit_id":"00917b546cb5474a910d77fc6e2633305ca519a3","user":{"login":"stasm","id":265818,"avatar_url":"https://avatars.githubusercontent.com/u/265818?v=3","gravatar_id":"","url":"https://api.github.com/users/stasm","html_url":"https://github.com/stasm","followers_url":"https://api.github.com/users/stasm/followers","following_url":"https://api.github.com/users/stasm/following{/other_user}","gists_url":"https://api.github.com/users/stasm/gists{/gist_id}","starred_url":"https://api.github.com/users/stasm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stasm/subscriptions","organizations_url":"https://api.github.com/users/stasm/orgs","repos_url":"https://api.github.com/users/stasm/repos","events_url":"https://api.github.com/users/stasm/events{/privacy}","received_events_url":"https://api.github.com/users/stasm/received_events","type":"User","site_admin":false},"body":"I really like this way of transforming a `NodeList` into an array! It does seem a bit slower than the traditional methods (cf. http://jsperf.com/qsa-slice-vs-spread) but I'm all for keeping it here.","created_at":"2015-08-18T07:10:13Z","updated_at":"2015-08-18T07:10:13Z","html_url":"https://github.com/l20n/l20n.js/pull/72#discussion_r37269873","pull_request_url":"https://api.github.com/repos/l20n/l20n.js/pulls/72","_links":{"self":{"href":"https://api.github.com/repos/l20n/l20n.js/pulls/comments/37269873"},"html":{"href":"https://github.com/l20n/l20n.js/pull/72#discussion_r37269873"},"pull_request":{"href":"https://api.github.com/repos/l20n/l20n.js/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/l20n/l20n.js/pulls/72","id":42643175,"html_url":"https://github.com/l20n/l20n.js/pull/72","diff_url":"https://github.com/l20n/l20n.js/pull/72.diff","patch_url":"https://github.com/l20n/l20n.js/pull/72.patch","issue_url":"https://api.github.com/repos/l20n/l20n.js/issues/72","number":72,"state":"open","locked":false,"title":"Bug 1195539 - Filter out non-l10n elements from translateMutations and remove condition race","user":{"login":"zbraniecki","id":449986,"avatar_url":"https://avatars.githubusercontent.com/u/449986?v=3","gravatar_id":"","url":"https://api.github.com/users/zbraniecki","html_url":"https://github.com/zbraniecki","followers_url":"https://api.github.com/users/zbraniecki/followers","following_url":"https://api.github.com/users/zbraniecki/following{/other_user}","gists_url":"https://api.github.com/users/zbraniecki/gists{/gist_id}","starred_url":"https://api.github.com/users/zbraniecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbraniecki/subscriptions","organizations_url":"https://api.github.com/users/zbraniecki/orgs","repos_url":"https://api.github.com/users/zbraniecki/repos","events_url":"https://api.github.com/users/zbraniecki/events{/privacy}","received_events_url":"https://api.github.com/users/zbraniecki/received_events","type":"User","site_admin":false},"body":"https://bugzilla.mozilla.org/show_bug.cgi?id=1195539","created_at":"2015-08-17T22:44:29Z","updated_at":"2015-08-18T07:10:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f7bc3b8dde1b994ba63ca87b5956124133bbb0a4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/l20n/l20n.js/pulls/72/commits","review_comments_url":"https://api.github.com/repos/l20n/l20n.js/pulls/72/comments","review_comment_url":"https://api.github.com/repos/l20n/l20n.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/l20n/l20n.js/issues/72/comments","statuses_url":"https://api.github.com/repos/l20n/l20n.js/statuses/00917b546cb5474a910d77fc6e2633305ca519a3","head":{"label":"zbraniecki:1195539-improve-translatemutations","ref":"1195539-improve-translatemutations","sha":"00917b546cb5474a910d77fc6e2633305ca519a3","user":{"login":"zbraniecki","id":449986,"avatar_url":"https://avatars.githubusercontent.com/u/449986?v=3","gravatar_id":"","url":"https://api.github.com/users/zbraniecki","html_url":"https://github.com/zbraniecki","followers_url":"https://api.github.com/users/zbraniecki/followers","following_url":"https://api.github.com/users/zbraniecki/following{/other_user}","gists_url":"https://api.github.com/users/zbraniecki/gists{/gist_id}","starred_url":"https://api.github.com/users/zbraniecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbraniecki/subscriptions","organizations_url":"https://api.github.com/users/zbraniecki/orgs","repos_url":"https://api.github.com/users/zbraniecki/repos","events_url":"https://api.github.com/users/zbraniecki/events{/privacy}","received_events_url":"https://api.github.com/users/zbraniecki/received_events","type":"User","site_admin":false},"repo":{"id":5379922,"name":"l20n.js","full_name":"zbraniecki/l20n.js","owner":{"login":"zbraniecki","id":449986,"avatar_url":"https://avatars.githubusercontent.com/u/449986?v=3","gravatar_id":"","url":"https://api.github.com/users/zbraniecki","html_url":"https://github.com/zbraniecki","followers_url":"https://api.github.com/users/zbraniecki/followers","following_url":"https://api.github.com/users/zbraniecki/following{/other_user}","gists_url":"https://api.github.com/users/zbraniecki/gists{/gist_id}","starred_url":"https://api.github.com/users/zbraniecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbraniecki/subscriptions","organizations_url":"https://api.github.com/users/zbraniecki/orgs","repos_url":"https://api.github.com/users/zbraniecki/repos","events_url":"https://api.github.com/users/zbraniecki/events{/privacy}","received_events_url":"https://api.github.com/users/zbraniecki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zbraniecki/l20n.js","description":"L20n implementation in JavaScript","fork":true,"url":"https://api.github.com/repos/zbraniecki/l20n.js","forks_url":"https://api.github.com/repos/zbraniecki/l20n.js/forks","keys_url":"https://api.github.com/repos/zbraniecki/l20n.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zbraniecki/l20n.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zbraniecki/l20n.js/teams","hooks_url":"https://api.github.com/repos/zbraniecki/l20n.js/hooks","issue_events_url":"https://api.github.com/repos/zbraniecki/l20n.js/issues/events{/number}","events_url":"https://api.github.com/repos/zbraniecki/l20n.js/events","assignees_url":"https://api.github.com/repos/zbraniecki/l20n.js/assignees{/user}","branches_url":"https://api.github.com/repos/zbraniecki/l20n.js/branches{/branch}","tags_url":"https://api.github.com/repos/zbraniecki/l20n.js/tags","blobs_url":"https://api.github.com/repos/zbraniecki/l20n.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zbraniecki/l20n.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zbraniecki/l20n.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/zbraniecki/l20n.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zbraniecki/l20n.js/statuses/{sha}","languages_url":"https://api.github.com/repos/zbraniecki/l20n.js/languages","stargazers_url":"https://api.github.com/repos/zbraniecki/l20n.js/stargazers","contributors_url":"https://api.github.com/repos/zbraniecki/l20n.js/contributors","subscribers_url":"https://api.github.com/repos/zbraniecki/l20n.js/subscribers","subscription_url":"https://api.github.com/repos/zbraniecki/l20n.js/subscription","commits_url":"https://api.github.com/repos/zbraniecki/l20n.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/zbraniecki/l20n.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/zbraniecki/l20n.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/zbraniecki/l20n.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/zbraniecki/l20n.js/contents/{+path}","compare_url":"https://api.github.com/repos/zbraniecki/l20n.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zbraniecki/l20n.js/merges","archive_url":"https://api.github.com/repos/zbraniecki/l20n.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zbraniecki/l20n.js/downloads","issues_url":"https://api.github.com/repos/zbraniecki/l20n.js/issues{/number}","pulls_url":"https://api.github.com/repos/zbraniecki/l20n.js/pulls{/number}","milestones_url":"https://api.github.com/repos/zbraniecki/l20n.js/milestones{/number}","notifications_url":"https://api.github.com/repos/zbraniecki/l20n.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zbraniecki/l20n.js/labels{/name}","releases_url":"https://api.github.com/repos/zbraniecki/l20n.js/releases{/id}","created_at":"2012-08-11T13:20:14Z","updated_at":"2015-01-24T09:38:40Z","pushed_at":"2015-08-17T22:44:12Z","git_url":"git://github.com/zbraniecki/l20n.js.git","ssh_url":"git@github.com:zbraniecki/l20n.js.git","clone_url":"https://github.com/zbraniecki/l20n.js.git","svn_url":"https://github.com/zbraniecki/l20n.js","homepage":null,"size":4852,"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":"l20n:master","ref":"master","sha":"1304096078f207ca5c9d0f388d4cb9605cef6145","user":{"login":"l20n","id":2127587,"avatar_url":"https://avatars.githubusercontent.com/u/2127587?v=3","gravatar_id":"","url":"https://api.github.com/users/l20n","html_url":"https://github.com/l20n","followers_url":"https://api.github.com/users/l20n/followers","following_url":"https://api.github.com/users/l20n/following{/other_user}","gists_url":"https://api.github.com/users/l20n/gists{/gist_id}","starred_url":"https://api.github.com/users/l20n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l20n/subscriptions","organizations_url":"https://api.github.com/users/l20n/orgs","repos_url":"https://api.github.com/users/l20n/repos","events_url":"https://api.github.com/users/l20n/events{/privacy}","received_events_url":"https://api.github.com/users/l20n/received_events","type":"Organization","site_admin":false},"repo":{"id":5366673,"name":"l20n.js","full_name":"l20n/l20n.js","owner":{"login":"l20n","id":2127587,"avatar_url":"https://avatars.githubusercontent.com/u/2127587?v=3","gravatar_id":"","url":"https://api.github.com/users/l20n","html_url":"https://github.com/l20n","followers_url":"https://api.github.com/users/l20n/followers","following_url":"https://api.github.com/users/l20n/following{/other_user}","gists_url":"https://api.github.com/users/l20n/gists{/gist_id}","starred_url":"https://api.github.com/users/l20n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l20n/subscriptions","organizations_url":"https://api.github.com/users/l20n/orgs","repos_url":"https://api.github.com/users/l20n/repos","events_url":"https://api.github.com/users/l20n/events{/privacy}","received_events_url":"https://api.github.com/users/l20n/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/l20n/l20n.js","description":"L20n reinvents software localization. Users should be able to benefit from the entire expressive power of natural languages. L20n keeps simple things simple, and at the same time makes complex things possible.  This is the JavaScript implementation of L20n.","fork":false,"url":"https://api.github.com/repos/l20n/l20n.js","forks_url":"https://api.github.com/repos/l20n/l20n.js/forks","keys_url":"https://api.github.com/repos/l20n/l20n.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/l20n/l20n.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/l20n/l20n.js/teams","hooks_url":"https://api.github.com/repos/l20n/l20n.js/hooks","issue_events_url":"https://api.github.com/repos/l20n/l20n.js/issues/events{/number}","events_url":"https://api.github.com/repos/l20n/l20n.js/events","assignees_url":"https://api.github.com/repos/l20n/l20n.js/assignees{/user}","branches_url":"https://api.github.com/repos/l20n/l20n.js/branches{/branch}","tags_url":"https://api.github.com/repos/l20n/l20n.js/tags","blobs_url":"https://api.github.com/repos/l20n/l20n.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/l20n/l20n.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/l20n/l20n.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/l20n/l20n.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/l20n/l20n.js/statuses/{sha}","languages_url":"https://api.github.com/repos/l20n/l20n.js/languages","stargazers_url":"https://api.github.com/repos/l20n/l20n.js/stargazers","contributors_url":"https://api.github.com/repos/l20n/l20n.js/contributors","subscribers_url":"https://api.github.com/repos/l20n/l20n.js/subscribers","subscription_url":"https://api.github.com/repos/l20n/l20n.js/subscription","commits_url":"https://api.github.com/repos/l20n/l20n.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/l20n/l20n.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/l20n/l20n.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/l20n/l20n.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/l20n/l20n.js/contents/{+path}","compare_url":"https://api.github.com/repos/l20n/l20n.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/l20n/l20n.js/merges","archive_url":"https://api.github.com/repos/l20n/l20n.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/l20n/l20n.js/downloads","issues_url":"https://api.github.com/repos/l20n/l20n.js/issues{/number}","pulls_url":"https://api.github.com/repos/l20n/l20n.js/pulls{/number}","milestones_url":"https://api.github.com/repos/l20n/l20n.js/milestones{/number}","notifications_url":"https://api.github.com/repos/l20n/l20n.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/l20n/l20n.js/labels{/name}","releases_url":"https://api.github.com/repos/l20n/l20n.js/releases{/id}","created_at":"2012-08-10T08:17:42Z","updated_at":"2015-08-10T19:21:51Z","pushed_at":"2015-08-17T22:44:30Z","git_url":"git://github.com/l20n/l20n.js.git","ssh_url":"git@github.com:l20n/l20n.js.git","clone_url":"https://github.com/l20n/l20n.js.git","svn_url":"https://github.com/l20n/l20n.js","homepage":"http://l20n.org","size":5049,"stargazers_count":687,"watchers_count":687,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":9,"forks":37,"open_issues":9,"watchers":687,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/l20n/l20n.js/pulls/72"},"html":{"href":"https://github.com/l20n/l20n.js/pull/72"},"issue":{"href":"https://api.github.com/repos/l20n/l20n.js/issues/72"},"comments":{"href":"https://api.github.com/repos/l20n/l20n.js/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/l20n/l20n.js/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/l20n/l20n.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/l20n/l20n.js/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/l20n/l20n.js/statuses/00917b546cb5474a910d77fc6e2633305ca519a3"}}}}