{"action":"created","comment":{"url":"https://api.github.com/repos/tangrams/tangram-play/pulls/comments/53876077","id":53876077,"diff_hunk":"@@ -0,0 +1,26 @@\n+'use strict';\n+\n+// Thanks Lou Huang \n+// https://github.com/louh/bart/blob/gh-pages/main.js#L327-L335\n+export function getDevicePixelRatio (ctx) {\n+    let devicePixelRatio = window.devicePixelRatio || 1","path":"src/js/addons/pickers/common.js","position":6,"original_position":6,"commit_id":"288676c943444952c5c300da98732845a7eced02","original_commit_id":"288676c943444952c5c300da98732845a7eced02","user":{"login":"louh","id":2553268,"avatar_url":"https://avatars.githubusercontent.com/u/2553268?v=3","gravatar_id":"","url":"https://api.github.com/users/louh","html_url":"https://github.com/louh","followers_url":"https://api.github.com/users/louh/followers","following_url":"https://api.github.com/users/louh/following{/other_user}","gists_url":"https://api.github.com/users/louh/gists{/gist_id}","starred_url":"https://api.github.com/users/louh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/louh/subscriptions","organizations_url":"https://api.github.com/users/louh/orgs","repos_url":"https://api.github.com/users/louh/repos","events_url":"https://api.github.com/users/louh/events{/privacy}","received_events_url":"https://api.github.com/users/louh/received_events","type":"User","site_admin":false},"body":"We should enforce semicolons here","created_at":"2016-02-24T00:32:45Z","updated_at":"2016-02-24T00:32:45Z","html_url":"https://github.com/tangrams/tangram-play/pull/260#discussion_r53876077","pull_request_url":"https://api.github.com/repos/tangrams/tangram-play/pulls/260","_links":{"self":{"href":"https://api.github.com/repos/tangrams/tangram-play/pulls/comments/53876077"},"html":{"href":"https://github.com/tangrams/tangram-play/pull/260#discussion_r53876077"},"pull_request":{"href":"https://api.github.com/repos/tangrams/tangram-play/pulls/260"}}},"pull_request":{"url":"https://api.github.com/repos/tangrams/tangram-play/pulls/260","id":60420330,"html_url":"https://github.com/tangrams/tangram-play/pull/260","diff_url":"https://github.com/tangrams/tangram-play/pull/260.diff","patch_url":"https://github.com/tangrams/tangram-play/pull/260.patch","issue_url":"https://api.github.com/repos/tangrams/tangram-play/issues/260","number":260,"state":"open","locked":false,"title":"adding new pickers","user":{"login":"patriciogonzalezvivo","id":346914,"avatar_url":"https://avatars.githubusercontent.com/u/346914?v=3","gravatar_id":"","url":"https://api.github.com/users/patriciogonzalezvivo","html_url":"https://github.com/patriciogonzalezvivo","followers_url":"https://api.github.com/users/patriciogonzalezvivo/followers","following_url":"https://api.github.com/users/patriciogonzalezvivo/following{/other_user}","gists_url":"https://api.github.com/users/patriciogonzalezvivo/gists{/gist_id}","starred_url":"https://api.github.com/users/patriciogonzalezvivo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriciogonzalezvivo/subscriptions","organizations_url":"https://api.github.com/users/patriciogonzalezvivo/orgs","repos_url":"https://api.github.com/users/patriciogonzalezvivo/repos","events_url":"https://api.github.com/users/patriciogonzalezvivo/events{/privacy}","received_events_url":"https://api.github.com/users/patriciogonzalezvivo/received_events","type":"User","site_admin":false},"body":"Solving some fallbacks on the color picker, adding new directional picker as a link only on the GLSL blocks... cleaning... re arragening","created_at":"2016-02-23T22:20:08Z","updated_at":"2016-02-24T00:32:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"740fe97137122d127f7070aa9907a0cdaf294ee3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tangrams/tangram-play/pulls/260/commits","review_comments_url":"https://api.github.com/repos/tangrams/tangram-play/pulls/260/comments","review_comment_url":"https://api.github.com/repos/tangrams/tangram-play/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tangrams/tangram-play/issues/260/comments","statuses_url":"https://api.github.com/repos/tangrams/tangram-play/statuses/288676c943444952c5c300da98732845a7eced02","head":{"label":"tangrams:pickers","ref":"pickers","sha":"288676c943444952c5c300da98732845a7eced02","user":{"login":"tangrams","id":8495302,"avatar_url":"https://avatars.githubusercontent.com/u/8495302?v=3","gravatar_id":"","url":"https://api.github.com/users/tangrams","html_url":"https://github.com/tangrams","followers_url":"https://api.github.com/users/tangrams/followers","following_url":"https://api.github.com/users/tangrams/following{/other_user}","gists_url":"https://api.github.com/users/tangrams/gists{/gist_id}","starred_url":"https://api.github.com/users/tangrams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangrams/subscriptions","organizations_url":"https://api.github.com/users/tangrams/orgs","repos_url":"https://api.github.com/users/tangrams/repos","events_url":"https://api.github.com/users/tangrams/events{/privacy}","received_events_url":"https://api.github.com/users/tangrams/received_events","type":"Organization","site_admin":false},"repo":{"id":36521942,"name":"tangram-play","full_name":"tangrams/tangram-play","owner":{"login":"tangrams","id":8495302,"avatar_url":"https://avatars.githubusercontent.com/u/8495302?v=3","gravatar_id":"","url":"https://api.github.com/users/tangrams","html_url":"https://github.com/tangrams","followers_url":"https://api.github.com/users/tangrams/followers","following_url":"https://api.github.com/users/tangrams/following{/other_user}","gists_url":"https://api.github.com/users/tangrams/gists{/gist_id}","starred_url":"https://api.github.com/users/tangrams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangrams/subscriptions","organizations_url":"https://api.github.com/users/tangrams/orgs","repos_url":"https://api.github.com/users/tangrams/repos","events_url":"https://api.github.com/users/tangrams/events{/privacy}","received_events_url":"https://api.github.com/users/tangrams/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tangrams/tangram-play","description":"Tangram Style editor","fork":false,"url":"https://api.github.com/repos/tangrams/tangram-play","forks_url":"https://api.github.com/repos/tangrams/tangram-play/forks","keys_url":"https://api.github.com/repos/tangrams/tangram-play/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tangrams/tangram-play/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tangrams/tangram-play/teams","hooks_url":"https://api.github.com/repos/tangrams/tangram-play/hooks","issue_events_url":"https://api.github.com/repos/tangrams/tangram-play/issues/events{/number}","events_url":"https://api.github.com/repos/tangrams/tangram-play/events","assignees_url":"https://api.github.com/repos/tangrams/tangram-play/assignees{/user}","branches_url":"https://api.github.com/repos/tangrams/tangram-play/branches{/branch}","tags_url":"https://api.github.com/repos/tangrams/tangram-play/tags","blobs_url":"https://api.github.com/repos/tangrams/tangram-play/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tangrams/tangram-play/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tangrams/tangram-play/git/refs{/sha}","trees_url":"https://api.github.com/repos/tangrams/tangram-play/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tangrams/tangram-play/statuses/{sha}","languages_url":"https://api.github.com/repos/tangrams/tangram-play/languages","stargazers_url":"https://api.github.com/repos/tangrams/tangram-play/stargazers","contributors_url":"https://api.github.com/repos/tangrams/tangram-play/contributors","subscribers_url":"https://api.github.com/repos/tangrams/tangram-play/subscribers","subscription_url":"https://api.github.com/repos/tangrams/tangram-play/subscription","commits_url":"https://api.github.com/repos/tangrams/tangram-play/commits{/sha}","git_commits_url":"https://api.github.com/repos/tangrams/tangram-play/git/commits{/sha}","comments_url":"https://api.github.com/repos/tangrams/tangram-play/comments{/number}","issue_comment_url":"https://api.github.com/repos/tangrams/tangram-play/issues/comments{/number}","contents_url":"https://api.github.com/repos/tangrams/tangram-play/contents/{+path}","compare_url":"https://api.github.com/repos/tangrams/tangram-play/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tangrams/tangram-play/merges","archive_url":"https://api.github.com/repos/tangrams/tangram-play/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tangrams/tangram-play/downloads","issues_url":"https://api.github.com/repos/tangrams/tangram-play/issues{/number}","pulls_url":"https://api.github.com/repos/tangrams/tangram-play/pulls{/number}","milestones_url":"https://api.github.com/repos/tangrams/tangram-play/milestones{/number}","notifications_url":"https://api.github.com/repos/tangrams/tangram-play/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tangrams/tangram-play/labels{/name}","releases_url":"https://api.github.com/repos/tangrams/tangram-play/releases{/id}","deployments_url":"https://api.github.com/repos/tangrams/tangram-play/deployments","created_at":"2015-05-29T18:27:43Z","updated_at":"2016-01-22T07:09:25Z","pushed_at":"2016-02-23T22:20:09Z","git_url":"git://github.com/tangrams/tangram-play.git","ssh_url":"git@github.com:tangrams/tangram-play.git","clone_url":"https://github.com/tangrams/tangram-play.git","svn_url":"https://github.com/tangrams/tangram-play","homepage":"https://tangrams.github.io/tangram-play","size":52116,"stargazers_count":13,"watchers_count":13,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":40,"forks":3,"open_issues":40,"watchers":13,"default_branch":"gh-pages"}},"base":{"label":"tangrams:gh-pages","ref":"gh-pages","sha":"d6b1eb4b29030b7668111bbea251343a5378c722","user":{"login":"tangrams","id":8495302,"avatar_url":"https://avatars.githubusercontent.com/u/8495302?v=3","gravatar_id":"","url":"https://api.github.com/users/tangrams","html_url":"https://github.com/tangrams","followers_url":"https://api.github.com/users/tangrams/followers","following_url":"https://api.github.com/users/tangrams/following{/other_user}","gists_url":"https://api.github.com/users/tangrams/gists{/gist_id}","starred_url":"https://api.github.com/users/tangrams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangrams/subscriptions","organizations_url":"https://api.github.com/users/tangrams/orgs","repos_url":"https://api.github.com/users/tangrams/repos","events_url":"https://api.github.com/users/tangrams/events{/privacy}","received_events_url":"https://api.github.com/users/tangrams/received_events","type":"Organization","site_admin":false},"repo":{"id":36521942,"name":"tangram-play","full_name":"tangrams/tangram-play","owner":{"login":"tangrams","id":8495302,"avatar_url":"https://avatars.githubusercontent.com/u/8495302?v=3","gravatar_id":"","url":"https://api.github.com/users/tangrams","html_url":"https://github.com/tangrams","followers_url":"https://api.github.com/users/tangrams/followers","following_url":"https://api.github.com/users/tangrams/following{/other_user}","gists_url":"https://api.github.com/users/tangrams/gists{/gist_id}","starred_url":"https://api.github.com/users/tangrams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangrams/subscriptions","organizations_url":"https://api.github.com/users/tangrams/orgs","repos_url":"https://api.github.com/users/tangrams/repos","events_url":"https://api.github.com/users/tangrams/events{/privacy}","received_events_url":"https://api.github.com/users/tangrams/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tangrams/tangram-play","description":"Tangram Style editor","fork":false,"url":"https://api.github.com/repos/tangrams/tangram-play","forks_url":"https://api.github.com/repos/tangrams/tangram-play/forks","keys_url":"https://api.github.com/repos/tangrams/tangram-play/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tangrams/tangram-play/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tangrams/tangram-play/teams","hooks_url":"https://api.github.com/repos/tangrams/tangram-play/hooks","issue_events_url":"https://api.github.com/repos/tangrams/tangram-play/issues/events{/number}","events_url":"https://api.github.com/repos/tangrams/tangram-play/events","assignees_url":"https://api.github.com/repos/tangrams/tangram-play/assignees{/user}","branches_url":"https://api.github.com/repos/tangrams/tangram-play/branches{/branch}","tags_url":"https://api.github.com/repos/tangrams/tangram-play/tags","blobs_url":"https://api.github.com/repos/tangrams/tangram-play/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tangrams/tangram-play/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tangrams/tangram-play/git/refs{/sha}","trees_url":"https://api.github.com/repos/tangrams/tangram-play/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tangrams/tangram-play/statuses/{sha}","languages_url":"https://api.github.com/repos/tangrams/tangram-play/languages","stargazers_url":"https://api.github.com/repos/tangrams/tangram-play/stargazers","contributors_url":"https://api.github.com/repos/tangrams/tangram-play/contributors","subscribers_url":"https://api.github.com/repos/tangrams/tangram-play/subscribers","subscription_url":"https://api.github.com/repos/tangrams/tangram-play/subscription","commits_url":"https://api.github.com/repos/tangrams/tangram-play/commits{/sha}","git_commits_url":"https://api.github.com/repos/tangrams/tangram-play/git/commits{/sha}","comments_url":"https://api.github.com/repos/tangrams/tangram-play/comments{/number}","issue_comment_url":"https://api.github.com/repos/tangrams/tangram-play/issues/comments{/number}","contents_url":"https://api.github.com/repos/tangrams/tangram-play/contents/{+path}","compare_url":"https://api.github.com/repos/tangrams/tangram-play/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tangrams/tangram-play/merges","archive_url":"https://api.github.com/repos/tangrams/tangram-play/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tangrams/tangram-play/downloads","issues_url":"https://api.github.com/repos/tangrams/tangram-play/issues{/number}","pulls_url":"https://api.github.com/repos/tangrams/tangram-play/pulls{/number}","milestones_url":"https://api.github.com/repos/tangrams/tangram-play/milestones{/number}","notifications_url":"https://api.github.com/repos/tangrams/tangram-play/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tangrams/tangram-play/labels{/name}","releases_url":"https://api.github.com/repos/tangrams/tangram-play/releases{/id}","deployments_url":"https://api.github.com/repos/tangrams/tangram-play/deployments","created_at":"2015-05-29T18:27:43Z","updated_at":"2016-01-22T07:09:25Z","pushed_at":"2016-02-23T22:20:09Z","git_url":"git://github.com/tangrams/tangram-play.git","ssh_url":"git@github.com:tangrams/tangram-play.git","clone_url":"https://github.com/tangrams/tangram-play.git","svn_url":"https://github.com/tangrams/tangram-play","homepage":"https://tangrams.github.io/tangram-play","size":52116,"stargazers_count":13,"watchers_count":13,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":40,"forks":3,"open_issues":40,"watchers":13,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/tangrams/tangram-play/pulls/260"},"html":{"href":"https://github.com/tangrams/tangram-play/pull/260"},"issue":{"href":"https://api.github.com/repos/tangrams/tangram-play/issues/260"},"comments":{"href":"https://api.github.com/repos/tangrams/tangram-play/issues/260/comments"},"review_comments":{"href":"https://api.github.com/repos/tangrams/tangram-play/pulls/260/comments"},"review_comment":{"href":"https://api.github.com/repos/tangrams/tangram-play/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tangrams/tangram-play/pulls/260/commits"},"statuses":{"href":"https://api.github.com/repos/tangrams/tangram-play/statuses/288676c943444952c5c300da98732845a7eced02"}}}}