{"action":"created","comment":{"url":"https://api.github.com/repos/pebble/cloudpebble/pulls/comments/49371733","id":49371733,"diff_hunk":"@@ -0,0 +1,143 @@\n+'use strict';","path":"ide/static/ide/js/colour_picker.js","position":1,"original_position":1,"commit_id":"6a14ec947986a110d7f4e19a650a876895838d41","original_commit_id":"6a14ec947986a110d7f4e19a650a876895838d41","user":{"login":"Katharine","id":110792,"avatar_url":"https://avatars.githubusercontent.com/u/110792?v=3","gravatar_id":"","url":"https://api.github.com/users/Katharine","html_url":"https://github.com/Katharine","followers_url":"https://api.github.com/users/Katharine/followers","following_url":"https://api.github.com/users/Katharine/following{/other_user}","gists_url":"https://api.github.com/users/Katharine/gists{/gist_id}","starred_url":"https://api.github.com/users/Katharine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Katharine/subscriptions","organizations_url":"https://api.github.com/users/Katharine/orgs","repos_url":"https://api.github.com/users/Katharine/repos","events_url":"https://api.github.com/users/Katharine/events{/privacy}","received_events_url":"https://api.github.com/users/Katharine/received_events","type":"User","site_admin":false},"body":"Move this inside the anonymous function (as the first statement).","created_at":"2016-01-11T20:11:13Z","updated_at":"2016-01-11T20:11:13Z","html_url":"https://github.com/pebble/cloudpebble/pull/222#discussion_r49371733","pull_request_url":"https://api.github.com/repos/pebble/cloudpebble/pulls/222","_links":{"self":{"href":"https://api.github.com/repos/pebble/cloudpebble/pulls/comments/49371733"},"html":{"href":"https://github.com/pebble/cloudpebble/pull/222#discussion_r49371733"},"pull_request":{"href":"https://api.github.com/repos/pebble/cloudpebble/pulls/222"}}},"pull_request":{"url":"https://api.github.com/repos/pebble/cloudpebble/pulls/222","id":46671400,"html_url":"https://github.com/pebble/cloudpebble/pull/222","diff_url":"https://github.com/pebble/cloudpebble/pull/222.diff","patch_url":"https://github.com/pebble/cloudpebble/pull/222.patch","issue_url":"https://api.github.com/repos/pebble/cloudpebble/issues/222","number":222,"state":"open","locked":false,"title":"PBL-21894 Add color support for window layout editor","user":{"login":"Spacerat","id":141427,"avatar_url":"https://avatars.githubusercontent.com/u/141427?v=3","gravatar_id":"","url":"https://api.github.com/users/Spacerat","html_url":"https://github.com/Spacerat","followers_url":"https://api.github.com/users/Spacerat/followers","following_url":"https://api.github.com/users/Spacerat/following{/other_user}","gists_url":"https://api.github.com/users/Spacerat/gists{/gist_id}","starred_url":"https://api.github.com/users/Spacerat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spacerat/subscriptions","organizations_url":"https://api.github.com/users/Spacerat/orgs","repos_url":"https://api.github.com/users/Spacerat/repos","events_url":"https://api.github.com/users/Spacerat/events{/privacy}","received_events_url":"https://api.github.com/users/Spacerat/received_events","type":"User","site_admin":false},"body":"![Preview](https://cloud.githubusercontent.com/assets/141427/10255392/fc47476c-68fe-11e5-95db-5f67ce2f20b9.png)\r\nThis PR adds full support for colours to the Interface Builder, with fallbacks supported for B/W watches.","created_at":"2015-10-02T19:15:46Z","updated_at":"2016-01-11T20:11:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9da2c04fa089e1a69661c35adc10c7c5706ed838","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pebble/cloudpebble/pulls/222/commits","review_comments_url":"https://api.github.com/repos/pebble/cloudpebble/pulls/222/comments","review_comment_url":"https://api.github.com/repos/pebble/cloudpebble/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pebble/cloudpebble/issues/222/comments","statuses_url":"https://api.github.com/repos/pebble/cloudpebble/statuses/6a14ec947986a110d7f4e19a650a876895838d41","head":{"label":"pebble:feature/colour-IB","ref":"feature/colour-IB","sha":"6a14ec947986a110d7f4e19a650a876895838d41","user":{"login":"pebble","id":1048268,"avatar_url":"https://avatars.githubusercontent.com/u/1048268?v=3","gravatar_id":"","url":"https://api.github.com/users/pebble","html_url":"https://github.com/pebble","followers_url":"https://api.github.com/users/pebble/followers","following_url":"https://api.github.com/users/pebble/following{/other_user}","gists_url":"https://api.github.com/users/pebble/gists{/gist_id}","starred_url":"https://api.github.com/users/pebble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pebble/subscriptions","organizations_url":"https://api.github.com/users/pebble/orgs","repos_url":"https://api.github.com/users/pebble/repos","events_url":"https://api.github.com/users/pebble/events{/privacy}","received_events_url":"https://api.github.com/users/pebble/received_events","type":"Organization","site_admin":false},"repo":{"id":14325128,"name":"cloudpebble","full_name":"pebble/cloudpebble","owner":{"login":"pebble","id":1048268,"avatar_url":"https://avatars.githubusercontent.com/u/1048268?v=3","gravatar_id":"","url":"https://api.github.com/users/pebble","html_url":"https://github.com/pebble","followers_url":"https://api.github.com/users/pebble/followers","following_url":"https://api.github.com/users/pebble/following{/other_user}","gists_url":"https://api.github.com/users/pebble/gists{/gist_id}","starred_url":"https://api.github.com/users/pebble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pebble/subscriptions","organizations_url":"https://api.github.com/users/pebble/orgs","repos_url":"https://api.github.com/users/pebble/repos","events_url":"https://api.github.com/users/pebble/events{/privacy}","received_events_url":"https://api.github.com/users/pebble/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pebble/cloudpebble","description":"CloudPebble source. Here be dragons.","fork":false,"url":"https://api.github.com/repos/pebble/cloudpebble","forks_url":"https://api.github.com/repos/pebble/cloudpebble/forks","keys_url":"https://api.github.com/repos/pebble/cloudpebble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pebble/cloudpebble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pebble/cloudpebble/teams","hooks_url":"https://api.github.com/repos/pebble/cloudpebble/hooks","issue_events_url":"https://api.github.com/repos/pebble/cloudpebble/issues/events{/number}","events_url":"https://api.github.com/repos/pebble/cloudpebble/events","assignees_url":"https://api.github.com/repos/pebble/cloudpebble/assignees{/user}","branches_url":"https://api.github.com/repos/pebble/cloudpebble/branches{/branch}","tags_url":"https://api.github.com/repos/pebble/cloudpebble/tags","blobs_url":"https://api.github.com/repos/pebble/cloudpebble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pebble/cloudpebble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pebble/cloudpebble/git/refs{/sha}","trees_url":"https://api.github.com/repos/pebble/cloudpebble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pebble/cloudpebble/statuses/{sha}","languages_url":"https://api.github.com/repos/pebble/cloudpebble/languages","stargazers_url":"https://api.github.com/repos/pebble/cloudpebble/stargazers","contributors_url":"https://api.github.com/repos/pebble/cloudpebble/contributors","subscribers_url":"https://api.github.com/repos/pebble/cloudpebble/subscribers","subscription_url":"https://api.github.com/repos/pebble/cloudpebble/subscription","commits_url":"https://api.github.com/repos/pebble/cloudpebble/commits{/sha}","git_commits_url":"https://api.github.com/repos/pebble/cloudpebble/git/commits{/sha}","comments_url":"https://api.github.com/repos/pebble/cloudpebble/comments{/number}","issue_comment_url":"https://api.github.com/repos/pebble/cloudpebble/issues/comments{/number}","contents_url":"https://api.github.com/repos/pebble/cloudpebble/contents/{+path}","compare_url":"https://api.github.com/repos/pebble/cloudpebble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pebble/cloudpebble/merges","archive_url":"https://api.github.com/repos/pebble/cloudpebble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pebble/cloudpebble/downloads","issues_url":"https://api.github.com/repos/pebble/cloudpebble/issues{/number}","pulls_url":"https://api.github.com/repos/pebble/cloudpebble/pulls{/number}","milestones_url":"https://api.github.com/repos/pebble/cloudpebble/milestones{/number}","notifications_url":"https://api.github.com/repos/pebble/cloudpebble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pebble/cloudpebble/labels{/name}","releases_url":"https://api.github.com/repos/pebble/cloudpebble/releases{/id}","created_at":"2013-11-12T07:08:55Z","updated_at":"2016-01-11T19:54:57Z","pushed_at":"2016-01-11T20:07:08Z","git_url":"git://github.com/pebble/cloudpebble.git","ssh_url":"git@github.com:pebble/cloudpebble.git","clone_url":"https://github.com/pebble/cloudpebble.git","svn_url":"https://github.com/pebble/cloudpebble","homepage":"http://cloudpebble.net/","size":3738,"stargazers_count":138,"watchers_count":138,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":78,"forks":31,"open_issues":78,"watchers":138,"default_branch":"master"}},"base":{"label":"pebble:master","ref":"master","sha":"1e18f74f72c8739c13435e09f4b0a70154931124","user":{"login":"pebble","id":1048268,"avatar_url":"https://avatars.githubusercontent.com/u/1048268?v=3","gravatar_id":"","url":"https://api.github.com/users/pebble","html_url":"https://github.com/pebble","followers_url":"https://api.github.com/users/pebble/followers","following_url":"https://api.github.com/users/pebble/following{/other_user}","gists_url":"https://api.github.com/users/pebble/gists{/gist_id}","starred_url":"https://api.github.com/users/pebble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pebble/subscriptions","organizations_url":"https://api.github.com/users/pebble/orgs","repos_url":"https://api.github.com/users/pebble/repos","events_url":"https://api.github.com/users/pebble/events{/privacy}","received_events_url":"https://api.github.com/users/pebble/received_events","type":"Organization","site_admin":false},"repo":{"id":14325128,"name":"cloudpebble","full_name":"pebble/cloudpebble","owner":{"login":"pebble","id":1048268,"avatar_url":"https://avatars.githubusercontent.com/u/1048268?v=3","gravatar_id":"","url":"https://api.github.com/users/pebble","html_url":"https://github.com/pebble","followers_url":"https://api.github.com/users/pebble/followers","following_url":"https://api.github.com/users/pebble/following{/other_user}","gists_url":"https://api.github.com/users/pebble/gists{/gist_id}","starred_url":"https://api.github.com/users/pebble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pebble/subscriptions","organizations_url":"https://api.github.com/users/pebble/orgs","repos_url":"https://api.github.com/users/pebble/repos","events_url":"https://api.github.com/users/pebble/events{/privacy}","received_events_url":"https://api.github.com/users/pebble/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pebble/cloudpebble","description":"CloudPebble source. Here be dragons.","fork":false,"url":"https://api.github.com/repos/pebble/cloudpebble","forks_url":"https://api.github.com/repos/pebble/cloudpebble/forks","keys_url":"https://api.github.com/repos/pebble/cloudpebble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pebble/cloudpebble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pebble/cloudpebble/teams","hooks_url":"https://api.github.com/repos/pebble/cloudpebble/hooks","issue_events_url":"https://api.github.com/repos/pebble/cloudpebble/issues/events{/number}","events_url":"https://api.github.com/repos/pebble/cloudpebble/events","assignees_url":"https://api.github.com/repos/pebble/cloudpebble/assignees{/user}","branches_url":"https://api.github.com/repos/pebble/cloudpebble/branches{/branch}","tags_url":"https://api.github.com/repos/pebble/cloudpebble/tags","blobs_url":"https://api.github.com/repos/pebble/cloudpebble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pebble/cloudpebble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pebble/cloudpebble/git/refs{/sha}","trees_url":"https://api.github.com/repos/pebble/cloudpebble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pebble/cloudpebble/statuses/{sha}","languages_url":"https://api.github.com/repos/pebble/cloudpebble/languages","stargazers_url":"https://api.github.com/repos/pebble/cloudpebble/stargazers","contributors_url":"https://api.github.com/repos/pebble/cloudpebble/contributors","subscribers_url":"https://api.github.com/repos/pebble/cloudpebble/subscribers","subscription_url":"https://api.github.com/repos/pebble/cloudpebble/subscription","commits_url":"https://api.github.com/repos/pebble/cloudpebble/commits{/sha}","git_commits_url":"https://api.github.com/repos/pebble/cloudpebble/git/commits{/sha}","comments_url":"https://api.github.com/repos/pebble/cloudpebble/comments{/number}","issue_comment_url":"https://api.github.com/repos/pebble/cloudpebble/issues/comments{/number}","contents_url":"https://api.github.com/repos/pebble/cloudpebble/contents/{+path}","compare_url":"https://api.github.com/repos/pebble/cloudpebble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pebble/cloudpebble/merges","archive_url":"https://api.github.com/repos/pebble/cloudpebble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pebble/cloudpebble/downloads","issues_url":"https://api.github.com/repos/pebble/cloudpebble/issues{/number}","pulls_url":"https://api.github.com/repos/pebble/cloudpebble/pulls{/number}","milestones_url":"https://api.github.com/repos/pebble/cloudpebble/milestones{/number}","notifications_url":"https://api.github.com/repos/pebble/cloudpebble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pebble/cloudpebble/labels{/name}","releases_url":"https://api.github.com/repos/pebble/cloudpebble/releases{/id}","created_at":"2013-11-12T07:08:55Z","updated_at":"2016-01-11T19:54:57Z","pushed_at":"2016-01-11T20:07:08Z","git_url":"git://github.com/pebble/cloudpebble.git","ssh_url":"git@github.com:pebble/cloudpebble.git","clone_url":"https://github.com/pebble/cloudpebble.git","svn_url":"https://github.com/pebble/cloudpebble","homepage":"http://cloudpebble.net/","size":3738,"stargazers_count":138,"watchers_count":138,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":78,"forks":31,"open_issues":78,"watchers":138,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pebble/cloudpebble/pulls/222"},"html":{"href":"https://github.com/pebble/cloudpebble/pull/222"},"issue":{"href":"https://api.github.com/repos/pebble/cloudpebble/issues/222"},"comments":{"href":"https://api.github.com/repos/pebble/cloudpebble/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/pebble/cloudpebble/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/pebble/cloudpebble/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pebble/cloudpebble/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/pebble/cloudpebble/statuses/6a14ec947986a110d7f4e19a650a876895838d41"}}}}