{"action":"created","comment":{"url":"https://api.github.com/repos/centagon/style-bridge/pulls/comments/182716392","pull_request_review_id":113567762,"id":182716392,"diff_hunk":"@@ -34,6 +36,18 @@ export class QueryList {\n     toObject() {\n         return sortBy(this.queries, query => query.constraints !== null);\n     }\n+\n+    static sort(queries) {\n+        const sortedQueries = [];\n+\n+        Object.entries(queries)\n+            .sort((a, b) => QueryUtils.sort(a[1].constraints, b[1].constraints))\n+            .forEach((query) => {","path":"src/index.js","position":27,"original_position":27,"commit_id":"77ba22d61ec98cf267cf6548dcbe571488a41c35","original_commit_id":"77ba22d61ec98cf267cf6548dcbe571488a41c35","user":{"login":"jspekken","id":40019,"avatar_url":"https://avatars2.githubusercontent.com/u/40019?v=4","gravatar_id":"","url":"https://api.github.com/users/jspekken","html_url":"https://github.com/jspekken","followers_url":"https://api.github.com/users/jspekken/followers","following_url":"https://api.github.com/users/jspekken/following{/other_user}","gists_url":"https://api.github.com/users/jspekken/gists{/gist_id}","starred_url":"https://api.github.com/users/jspekken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspekken/subscriptions","organizations_url":"https://api.github.com/users/jspekken/orgs","repos_url":"https://api.github.com/users/jspekken/repos","events_url":"https://api.github.com/users/jspekken/events{/privacy}","received_events_url":"https://api.github.com/users/jspekken/received_events","type":"User","site_admin":false},"body":"queryList will default to an empty object and Object.entries allows empty objects sooooo..... yeah, not so much of a problem ;)","created_at":"2018-04-19T11:35:41Z","updated_at":"2018-04-19T11:35:41Z","html_url":"https://github.com/centagon/style-bridge/pull/4#discussion_r182716392","pull_request_url":"https://api.github.com/repos/centagon/style-bridge/pulls/4","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/centagon/style-bridge/pulls/comments/182716392"},"html":{"href":"https://github.com/centagon/style-bridge/pull/4#discussion_r182716392"},"pull_request":{"href":"https://api.github.com/repos/centagon/style-bridge/pulls/4"}},"in_reply_to_id":182712241},"pull_request":{"url":"https://api.github.com/repos/centagon/style-bridge/pulls/4","id":182721942,"html_url":"https://github.com/centagon/style-bridge/pull/4","diff_url":"https://github.com/centagon/style-bridge/pull/4.diff","patch_url":"https://github.com/centagon/style-bridge/pull/4.patch","issue_url":"https://api.github.com/repos/centagon/style-bridge/issues/4","number":4,"state":"closed","locked":false,"title":"Initial query filtering added","user":{"login":"jspekken","id":40019,"avatar_url":"https://avatars2.githubusercontent.com/u/40019?v=4","gravatar_id":"","url":"https://api.github.com/users/jspekken","html_url":"https://github.com/jspekken","followers_url":"https://api.github.com/users/jspekken/followers","following_url":"https://api.github.com/users/jspekken/following{/other_user}","gists_url":"https://api.github.com/users/jspekken/gists{/gist_id}","starred_url":"https://api.github.com/users/jspekken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspekken/subscriptions","organizations_url":"https://api.github.com/users/jspekken/orgs","repos_url":"https://api.github.com/users/jspekken/repos","events_url":"https://api.github.com/users/jspekken/events{/privacy}","received_events_url":"https://api.github.com/users/jspekken/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-19T09:48:29Z","updated_at":"2018-04-19T11:35:41Z","closed_at":"2018-04-19T11:35:36Z","merged_at":"2018-04-19T11:35:36Z","merge_commit_sha":"a62812980b494f07796de4a934abd660806bc124","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":896607179,"url":"https://api.github.com/repos/centagon/style-bridge/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/centagon/style-bridge/pulls/4/commits","review_comments_url":"https://api.github.com/repos/centagon/style-bridge/pulls/4/comments","review_comment_url":"https://api.github.com/repos/centagon/style-bridge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/centagon/style-bridge/issues/4/comments","statuses_url":"https://api.github.com/repos/centagon/style-bridge/statuses/77ba22d61ec98cf267cf6548dcbe571488a41c35","head":{"label":"centagon:feature/mediaquery-filtering","ref":"feature/mediaquery-filtering","sha":"77ba22d61ec98cf267cf6548dcbe571488a41c35","user":{"login":"centagon","id":9714120,"avatar_url":"https://avatars1.githubusercontent.com/u/9714120?v=4","gravatar_id":"","url":"https://api.github.com/users/centagon","html_url":"https://github.com/centagon","followers_url":"https://api.github.com/users/centagon/followers","following_url":"https://api.github.com/users/centagon/following{/other_user}","gists_url":"https://api.github.com/users/centagon/gists{/gist_id}","starred_url":"https://api.github.com/users/centagon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/centagon/subscriptions","organizations_url":"https://api.github.com/users/centagon/orgs","repos_url":"https://api.github.com/users/centagon/repos","events_url":"https://api.github.com/users/centagon/events{/privacy}","received_events_url":"https://api.github.com/users/centagon/received_events","type":"Organization","site_admin":false},"repo":{"id":128894126,"name":"style-bridge","full_name":"centagon/style-bridge","owner":{"login":"centagon","id":9714120,"avatar_url":"https://avatars1.githubusercontent.com/u/9714120?v=4","gravatar_id":"","url":"https://api.github.com/users/centagon","html_url":"https://github.com/centagon","followers_url":"https://api.github.com/users/centagon/followers","following_url":"https://api.github.com/users/centagon/following{/other_user}","gists_url":"https://api.github.com/users/centagon/gists{/gist_id}","starred_url":"https://api.github.com/users/centagon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/centagon/subscriptions","organizations_url":"https://api.github.com/users/centagon/orgs","repos_url":"https://api.github.com/users/centagon/repos","events_url":"https://api.github.com/users/centagon/events{/privacy}","received_events_url":"https://api.github.com/users/centagon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/centagon/style-bridge","description":"Javascript based CSS parser/manipulation library","fork":false,"url":"https://api.github.com/repos/centagon/style-bridge","forks_url":"https://api.github.com/repos/centagon/style-bridge/forks","keys_url":"https://api.github.com/repos/centagon/style-bridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/centagon/style-bridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/centagon/style-bridge/teams","hooks_url":"https://api.github.com/repos/centagon/style-bridge/hooks","issue_events_url":"https://api.github.com/repos/centagon/style-bridge/issues/events{/number}","events_url":"https://api.github.com/repos/centagon/style-bridge/events","assignees_url":"https://api.github.com/repos/centagon/style-bridge/assignees{/user}","branches_url":"https://api.github.com/repos/centagon/style-bridge/branches{/branch}","tags_url":"https://api.github.com/repos/centagon/style-bridge/tags","blobs_url":"https://api.github.com/repos/centagon/style-bridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/centagon/style-bridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/centagon/style-bridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/centagon/style-bridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/centagon/style-bridge/statuses/{sha}","languages_url":"https://api.github.com/repos/centagon/style-bridge/languages","stargazers_url":"https://api.github.com/repos/centagon/style-bridge/stargazers","contributors_url":"https://api.github.com/repos/centagon/style-bridge/contributors","subscribers_url":"https://api.github.com/repos/centagon/style-bridge/subscribers","subscription_url":"https://api.github.com/repos/centagon/style-bridge/subscription","commits_url":"https://api.github.com/repos/centagon/style-bridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/centagon/style-bridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/centagon/style-bridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/centagon/style-bridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/centagon/style-bridge/contents/{+path}","compare_url":"https://api.github.com/repos/centagon/style-bridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/centagon/style-bridge/merges","archive_url":"https://api.github.com/repos/centagon/style-bridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/centagon/style-bridge/downloads","issues_url":"https://api.github.com/repos/centagon/style-bridge/issues{/number}","pulls_url":"https://api.github.com/repos/centagon/style-bridge/pulls{/number}","milestones_url":"https://api.github.com/repos/centagon/style-bridge/milestones{/number}","notifications_url":"https://api.github.com/repos/centagon/style-bridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/centagon/style-bridge/labels{/name}","releases_url":"https://api.github.com/repos/centagon/style-bridge/releases{/id}","deployments_url":"https://api.github.com/repos/centagon/style-bridge/deployments","created_at":"2018-04-10T07:45:31Z","updated_at":"2018-04-19T11:35:38Z","pushed_at":"2018-04-19T11:35:36Z","git_url":"git://github.com/centagon/style-bridge.git","ssh_url":"git@github.com:centagon/style-bridge.git","clone_url":"https://github.com/centagon/style-bridge.git","svn_url":"https://github.com/centagon/style-bridge","homepage":null,"size":242,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"centagon:master","ref":"master","sha":"c47d25249a7dca542636a286d8af61187406fb87","user":{"login":"centagon","id":9714120,"avatar_url":"https://avatars1.githubusercontent.com/u/9714120?v=4","gravatar_id":"","url":"https://api.github.com/users/centagon","html_url":"https://github.com/centagon","followers_url":"https://api.github.com/users/centagon/followers","following_url":"https://api.github.com/users/centagon/following{/other_user}","gists_url":"https://api.github.com/users/centagon/gists{/gist_id}","starred_url":"https://api.github.com/users/centagon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/centagon/subscriptions","organizations_url":"https://api.github.com/users/centagon/orgs","repos_url":"https://api.github.com/users/centagon/repos","events_url":"https://api.github.com/users/centagon/events{/privacy}","received_events_url":"https://api.github.com/users/centagon/received_events","type":"Organization","site_admin":false},"repo":{"id":128894126,"name":"style-bridge","full_name":"centagon/style-bridge","owner":{"login":"centagon","id":9714120,"avatar_url":"https://avatars1.githubusercontent.com/u/9714120?v=4","gravatar_id":"","url":"https://api.github.com/users/centagon","html_url":"https://github.com/centagon","followers_url":"https://api.github.com/users/centagon/followers","following_url":"https://api.github.com/users/centagon/following{/other_user}","gists_url":"https://api.github.com/users/centagon/gists{/gist_id}","starred_url":"https://api.github.com/users/centagon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/centagon/subscriptions","organizations_url":"https://api.github.com/users/centagon/orgs","repos_url":"https://api.github.com/users/centagon/repos","events_url":"https://api.github.com/users/centagon/events{/privacy}","received_events_url":"https://api.github.com/users/centagon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/centagon/style-bridge","description":"Javascript based CSS parser/manipulation library","fork":false,"url":"https://api.github.com/repos/centagon/style-bridge","forks_url":"https://api.github.com/repos/centagon/style-bridge/forks","keys_url":"https://api.github.com/repos/centagon/style-bridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/centagon/style-bridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/centagon/style-bridge/teams","hooks_url":"https://api.github.com/repos/centagon/style-bridge/hooks","issue_events_url":"https://api.github.com/repos/centagon/style-bridge/issues/events{/number}","events_url":"https://api.github.com/repos/centagon/style-bridge/events","assignees_url":"https://api.github.com/repos/centagon/style-bridge/assignees{/user}","branches_url":"https://api.github.com/repos/centagon/style-bridge/branches{/branch}","tags_url":"https://api.github.com/repos/centagon/style-bridge/tags","blobs_url":"https://api.github.com/repos/centagon/style-bridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/centagon/style-bridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/centagon/style-bridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/centagon/style-bridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/centagon/style-bridge/statuses/{sha}","languages_url":"https://api.github.com/repos/centagon/style-bridge/languages","stargazers_url":"https://api.github.com/repos/centagon/style-bridge/stargazers","contributors_url":"https://api.github.com/repos/centagon/style-bridge/contributors","subscribers_url":"https://api.github.com/repos/centagon/style-bridge/subscribers","subscription_url":"https://api.github.com/repos/centagon/style-bridge/subscription","commits_url":"https://api.github.com/repos/centagon/style-bridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/centagon/style-bridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/centagon/style-bridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/centagon/style-bridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/centagon/style-bridge/contents/{+path}","compare_url":"https://api.github.com/repos/centagon/style-bridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/centagon/style-bridge/merges","archive_url":"https://api.github.com/repos/centagon/style-bridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/centagon/style-bridge/downloads","issues_url":"https://api.github.com/repos/centagon/style-bridge/issues{/number}","pulls_url":"https://api.github.com/repos/centagon/style-bridge/pulls{/number}","milestones_url":"https://api.github.com/repos/centagon/style-bridge/milestones{/number}","notifications_url":"https://api.github.com/repos/centagon/style-bridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/centagon/style-bridge/labels{/name}","releases_url":"https://api.github.com/repos/centagon/style-bridge/releases{/id}","deployments_url":"https://api.github.com/repos/centagon/style-bridge/deployments","created_at":"2018-04-10T07:45:31Z","updated_at":"2018-04-19T11:35:38Z","pushed_at":"2018-04-19T11:35:36Z","git_url":"git://github.com/centagon/style-bridge.git","ssh_url":"git@github.com:centagon/style-bridge.git","clone_url":"https://github.com/centagon/style-bridge.git","svn_url":"https://github.com/centagon/style-bridge","homepage":null,"size":242,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/centagon/style-bridge/pulls/4"},"html":{"href":"https://github.com/centagon/style-bridge/pull/4"},"issue":{"href":"https://api.github.com/repos/centagon/style-bridge/issues/4"},"comments":{"href":"https://api.github.com/repos/centagon/style-bridge/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/centagon/style-bridge/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/centagon/style-bridge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/centagon/style-bridge/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/centagon/style-bridge/statuses/77ba22d61ec98cf267cf6548dcbe571488a41c35"}},"author_association":"OWNER"}}
{"actor":{"display_login":"jspekken"}}