{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/nightlytt/pulls/comments/77795529","id":77795529,"diff_hunk":"@@ -259,6 +273,42 @@ parseHTML: function(url, callback) {\n   frame.contentDocument.location.href = url;\n },\n \n+makeVersionPretty: function(ver) {\n+  ver = ver.replace('0a2','0.0.0');\n+  ver = ver.replace('0a1','0.0.0');\n+  while (ver.match(new RegExp('\\\\.','g')).length < 3) { ver += '.0'; }\n+  return ver;\n+},\n+updateChannel: function() {\n+  return Components.classes[\"@mozilla.org/preferences-service;1\"]\n+                   .getService(Components.interfaces.nsIPrefService).getBranch(\"app.update.\").getCharPref(\"channel\");\n+},\n+updateChannelPretty: function() {\n+  var channel = nightly.updateChannel();\n+  if (channel == 'release') { channel = 'Release' }\n+  else if (channel == 'esr') { channel = 'ESR' }\n+  else if (channel == 'beta') { channel = 'beta' }\n+  else if (channel == 'aurora') { channel = 'Aurora' }\n+  else if (channel == 'nightly') { channel = 'Nighty' }\n+  else if (channel == 'default') { channel = 'Default' }\n+  else channel = '';\n+  return channel;","path":"extension/chrome/content/nightly.js","position":79,"original_position":79,"commit_id":"d116fa8d4ad4fe93647f8fd6144febf48c3dfba0","original_commit_id":"d116fa8d4ad4fe93647f8fd6144febf48c3dfba0","user":{"login":"whimboo","id":129603,"avatar_url":"https://avatars.githubusercontent.com/u/129603?v=3","gravatar_id":"","url":"https://api.github.com/users/whimboo","html_url":"https://github.com/whimboo","followers_url":"https://api.github.com/users/whimboo/followers","following_url":"https://api.github.com/users/whimboo/following{/other_user}","gists_url":"https://api.github.com/users/whimboo/gists{/gist_id}","starred_url":"https://api.github.com/users/whimboo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whimboo/subscriptions","organizations_url":"https://api.github.com/users/whimboo/orgs","repos_url":"https://api.github.com/users/whimboo/repos","events_url":"https://api.github.com/users/whimboo/events{/privacy}","received_events_url":"https://api.github.com/users/whimboo/received_events","type":"User","site_admin":false},"body":"What makes it better readable? We could implement a general \"make first letter uppercase\" checkbox instead for all variable types later. But I don't see that it is necessary for all of our users.","created_at":"2016-09-07T10:16:19Z","updated_at":"2016-09-07T10:16:19Z","html_url":"https://github.com/mozilla/nightlytt/pull/212#discussion_r77795529","pull_request_url":"https://api.github.com/repos/mozilla/nightlytt/pulls/212","_links":{"self":{"href":"https://api.github.com/repos/mozilla/nightlytt/pulls/comments/77795529"},"html":{"href":"https://github.com/mozilla/nightlytt/pull/212#discussion_r77795529"},"pull_request":{"href":"https://api.github.com/repos/mozilla/nightlytt/pulls/212"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/nightlytt/pulls/212","id":82410925,"html_url":"https://github.com/mozilla/nightlytt/pull/212","diff_url":"https://github.com/mozilla/nightlytt/pull/212.diff","patch_url":"https://github.com/mozilla/nightlytt/pull/212.patch","issue_url":"https://api.github.com/repos/mozilla/nightlytt/issues/212","number":212,"state":"open","locked":false,"title":"Added customize title bar options","user":{"login":"UtiluMark","id":14200229,"avatar_url":"https://avatars.githubusercontent.com/u/14200229?v=3","gravatar_id":"","url":"https://api.github.com/users/UtiluMark","html_url":"https://github.com/UtiluMark","followers_url":"https://api.github.com/users/UtiluMark/followers","following_url":"https://api.github.com/users/UtiluMark/following{/other_user}","gists_url":"https://api.github.com/users/UtiluMark/gists{/gist_id}","starred_url":"https://api.github.com/users/UtiluMark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UtiluMark/subscriptions","organizations_url":"https://api.github.com/users/UtiluMark/orgs","repos_url":"https://api.github.com/users/UtiluMark/repos","events_url":"https://api.github.com/users/UtiluMark/events{/privacy}","received_events_url":"https://api.github.com/users/UtiluMark/received_events","type":"User","site_admin":false},"body":"* Increased the size of the Customize Title bar window\r\n* Optimized the order of the Customize Title bar Variables\r\n* Added Customize Title bar Variable Application Title and Version\r\n* Added Customize Title bar Variable Application Display Version\r\n* Added Customize Title bar Variable Application Version Pretty\r\n* Added Customize Title bar Variable Application Update Channel\r\n* Added Customize Title bar Variable Application Update Channel Pretty (Release, ESR, beta, Aurora, Nighty, Default)\r\n* Added Customize Title bar Variable Application Beta Revision (only filled when applicable), fixing #204\r\n* Added Customize Title bar Variable Application Version and Channel\r\n* Removed Gecko Build Identifier, since it used PlatformBuildID, just like XUL Platform Build Identifier\r\n* Removed Gecko Version, since it used PlatformVersion, just like XUL Platform Version","created_at":"2016-08-23T17:53:29Z","updated_at":"2016-09-07T10:16:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0fbb0ca2063f6b252a07a9d14dc4ce091b1537bf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/nightlytt/pulls/212/commits","review_comments_url":"https://api.github.com/repos/mozilla/nightlytt/pulls/212/comments","review_comment_url":"https://api.github.com/repos/mozilla/nightlytt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/nightlytt/issues/212/comments","statuses_url":"https://api.github.com/repos/mozilla/nightlytt/statuses/d116fa8d4ad4fe93647f8fd6144febf48c3dfba0","head":{"label":"UtiluMark:titlebar-options","ref":"titlebar-options","sha":"d116fa8d4ad4fe93647f8fd6144febf48c3dfba0","user":{"login":"UtiluMark","id":14200229,"avatar_url":"https://avatars.githubusercontent.com/u/14200229?v=3","gravatar_id":"","url":"https://api.github.com/users/UtiluMark","html_url":"https://github.com/UtiluMark","followers_url":"https://api.github.com/users/UtiluMark/followers","following_url":"https://api.github.com/users/UtiluMark/following{/other_user}","gists_url":"https://api.github.com/users/UtiluMark/gists{/gist_id}","starred_url":"https://api.github.com/users/UtiluMark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UtiluMark/subscriptions","organizations_url":"https://api.github.com/users/UtiluMark/orgs","repos_url":"https://api.github.com/users/UtiluMark/repos","events_url":"https://api.github.com/users/UtiluMark/events{/privacy}","received_events_url":"https://api.github.com/users/UtiluMark/received_events","type":"User","site_admin":false},"repo":{"id":43296076,"name":"nightlytt","full_name":"UtiluMark/nightlytt","owner":{"login":"UtiluMark","id":14200229,"avatar_url":"https://avatars.githubusercontent.com/u/14200229?v=3","gravatar_id":"","url":"https://api.github.com/users/UtiluMark","html_url":"https://github.com/UtiluMark","followers_url":"https://api.github.com/users/UtiluMark/followers","following_url":"https://api.github.com/users/UtiluMark/following{/other_user}","gists_url":"https://api.github.com/users/UtiluMark/gists{/gist_id}","starred_url":"https://api.github.com/users/UtiluMark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UtiluMark/subscriptions","organizations_url":"https://api.github.com/users/UtiluMark/orgs","repos_url":"https://api.github.com/users/UtiluMark/repos","events_url":"https://api.github.com/users/UtiluMark/events{/privacy}","received_events_url":"https://api.github.com/users/UtiluMark/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/UtiluMark/nightlytt","description":"Nightly Tester Tools","fork":true,"url":"https://api.github.com/repos/UtiluMark/nightlytt","forks_url":"https://api.github.com/repos/UtiluMark/nightlytt/forks","keys_url":"https://api.github.com/repos/UtiluMark/nightlytt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UtiluMark/nightlytt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UtiluMark/nightlytt/teams","hooks_url":"https://api.github.com/repos/UtiluMark/nightlytt/hooks","issue_events_url":"https://api.github.com/repos/UtiluMark/nightlytt/issues/events{/number}","events_url":"https://api.github.com/repos/UtiluMark/nightlytt/events","assignees_url":"https://api.github.com/repos/UtiluMark/nightlytt/assignees{/user}","branches_url":"https://api.github.com/repos/UtiluMark/nightlytt/branches{/branch}","tags_url":"https://api.github.com/repos/UtiluMark/nightlytt/tags","blobs_url":"https://api.github.com/repos/UtiluMark/nightlytt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UtiluMark/nightlytt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UtiluMark/nightlytt/git/refs{/sha}","trees_url":"https://api.github.com/repos/UtiluMark/nightlytt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UtiluMark/nightlytt/statuses/{sha}","languages_url":"https://api.github.com/repos/UtiluMark/nightlytt/languages","stargazers_url":"https://api.github.com/repos/UtiluMark/nightlytt/stargazers","contributors_url":"https://api.github.com/repos/UtiluMark/nightlytt/contributors","subscribers_url":"https://api.github.com/repos/UtiluMark/nightlytt/subscribers","subscription_url":"https://api.github.com/repos/UtiluMark/nightlytt/subscription","commits_url":"https://api.github.com/repos/UtiluMark/nightlytt/commits{/sha}","git_commits_url":"https://api.github.com/repos/UtiluMark/nightlytt/git/commits{/sha}","comments_url":"https://api.github.com/repos/UtiluMark/nightlytt/comments{/number}","issue_comment_url":"https://api.github.com/repos/UtiluMark/nightlytt/issues/comments{/number}","contents_url":"https://api.github.com/repos/UtiluMark/nightlytt/contents/{+path}","compare_url":"https://api.github.com/repos/UtiluMark/nightlytt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UtiluMark/nightlytt/merges","archive_url":"https://api.github.com/repos/UtiluMark/nightlytt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UtiluMark/nightlytt/downloads","issues_url":"https://api.github.com/repos/UtiluMark/nightlytt/issues{/number}","pulls_url":"https://api.github.com/repos/UtiluMark/nightlytt/pulls{/number}","milestones_url":"https://api.github.com/repos/UtiluMark/nightlytt/milestones{/number}","notifications_url":"https://api.github.com/repos/UtiluMark/nightlytt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UtiluMark/nightlytt/labels{/name}","releases_url":"https://api.github.com/repos/UtiluMark/nightlytt/releases{/id}","deployments_url":"https://api.github.com/repos/UtiluMark/nightlytt/deployments","created_at":"2015-09-28T11:01:56Z","updated_at":"2016-08-22T08:50:38Z","pushed_at":"2016-08-31T20:58:58Z","git_url":"git://github.com/UtiluMark/nightlytt.git","ssh_url":"git@github.com:UtiluMark/nightlytt.git","clone_url":"https://github.com/UtiluMark/nightlytt.git","svn_url":"https://github.com/UtiluMark/nightlytt","homepage":"https://wiki.mozilla.org/Auto-tools/Automation_Development/Projects/Addons/NightlyTesterTools","size":442,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"33e63fb548027846cd2c20f10bbd5246d165eaeb","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":943704,"name":"nightlytt","full_name":"mozilla/nightlytt","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/nightlytt","description":"Nightly Tester Tools","fork":false,"url":"https://api.github.com/repos/mozilla/nightlytt","forks_url":"https://api.github.com/repos/mozilla/nightlytt/forks","keys_url":"https://api.github.com/repos/mozilla/nightlytt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/nightlytt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/nightlytt/teams","hooks_url":"https://api.github.com/repos/mozilla/nightlytt/hooks","issue_events_url":"https://api.github.com/repos/mozilla/nightlytt/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/nightlytt/events","assignees_url":"https://api.github.com/repos/mozilla/nightlytt/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/nightlytt/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/nightlytt/tags","blobs_url":"https://api.github.com/repos/mozilla/nightlytt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/nightlytt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/nightlytt/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/nightlytt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/nightlytt/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/nightlytt/languages","stargazers_url":"https://api.github.com/repos/mozilla/nightlytt/stargazers","contributors_url":"https://api.github.com/repos/mozilla/nightlytt/contributors","subscribers_url":"https://api.github.com/repos/mozilla/nightlytt/subscribers","subscription_url":"https://api.github.com/repos/mozilla/nightlytt/subscription","commits_url":"https://api.github.com/repos/mozilla/nightlytt/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/nightlytt/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/nightlytt/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/nightlytt/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/nightlytt/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/nightlytt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/nightlytt/merges","archive_url":"https://api.github.com/repos/mozilla/nightlytt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/nightlytt/downloads","issues_url":"https://api.github.com/repos/mozilla/nightlytt/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/nightlytt/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/nightlytt/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/nightlytt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/nightlytt/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/nightlytt/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/nightlytt/deployments","created_at":"2010-09-27T20:48:13Z","updated_at":"2016-08-22T04:46:01Z","pushed_at":"2016-09-07T09:57:53Z","git_url":"git://github.com/mozilla/nightlytt.git","ssh_url":"git@github.com:mozilla/nightlytt.git","clone_url":"https://github.com/mozilla/nightlytt.git","svn_url":"https://github.com/mozilla/nightlytt","homepage":"https://wiki.mozilla.org/Auto-tools/Automation_Development/Projects/Addons/NightlyTesterTools","size":716,"stargazers_count":38,"watchers_count":38,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":63,"forks":19,"open_issues":63,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/nightlytt/pulls/212"},"html":{"href":"https://github.com/mozilla/nightlytt/pull/212"},"issue":{"href":"https://api.github.com/repos/mozilla/nightlytt/issues/212"},"comments":{"href":"https://api.github.com/repos/mozilla/nightlytt/issues/212/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/nightlytt/pulls/212/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/nightlytt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/nightlytt/pulls/212/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/nightlytt/statuses/d116fa8d4ad4fe93647f8fd6144febf48c3dfba0"}}}}
{"actor":{"display_login":"whimboo"}}