GitHub PullRequestReviewCommentEvent at 2014-02-17 10:44:50
Repository: gaia
Actor: ferjm
Payload: {"comment":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/9787803","id":9787803,"diff_hunk":"@@ -1,15 +1,72 @@\n 'use strict';\n \n-var CustomLogoPath = {\n-  poweron: {\n-    video: '/resources/power/carrier_power_on.mp4',\n-    image: '/resources/power/carrier_power_on.png'\n-  },\n-  poweroff: {\n-    video: '/resources/power/carrier_power_off.mp4',\n-    image: '/resources/power/carrier_power_off.png'\n-  }\n-};\n+var CustomLogoPath = (function() {\n+\n+  const defaultResources = {","path":"apps/system/js/init_logo_handler.js","position":15,"original_position":15,"commit_id":"2310cc7bd1c7e2775f9a05e4224c2e68c9e85757","original_commit_id":"2310cc7bd1c7e2775f9a05e4224c2e68c9e85757","user":{"login":"ferjm","id":480202,"avatar_url":"https://gravatar.com/avatar/70d31c1a33b186395de444536e37dd6d?d=https%3A%2F%2Fidenticons.github.com%2F3fd6b4853f71b64d27578fe67419c9c6.png&r=x","gravatar_id":"70d31c1a33b186395de444536e37dd6d","url":"https://api.github.com/users/ferjm","html_url":"https://github.com/ferjm","followers_url":"https://api.github.com/users/ferjm/followers","following_url":"https://api.github.com/users/ferjm/following{/other_user}","gists_url":"https://api.github.com/users/ferjm/gists{/gist_id}","starred_url":"https://api.github.com/users/ferjm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferjm/subscriptions","organizations_url":"https://api.github.com/users/ferjm/orgs","repos_url":"https://api.github.com/users/ferjm/repos","events_url":"https://api.github.com/users/ferjm/events{/privacy}","received_events_url":"https://api.github.com/users/ferjm/received_events","type":"User","site_admin":false},"body":"Consts are usually in screaming snake case: DEFAULT_RESOURCES","created_at":"2014-02-17T10:44:50Z","updated_at":"2014-02-17T10:44:50Z","html_url":"https://github.com/mozilla-b2g/gaia/pull/15813#discussion_r9787803","pull_request_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/15813","_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/9787803"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/15813#discussion_r9787803"},"pull_request":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/15813"}}}}