{"action":"created","comment":{"url":"https://api.github.com/repos/poooi/poi/pulls/comments/46087634","id":46087634,"diff_hunk":"@@ -75,49 +77,56 @@ window.error = (msg) ->\n       type: 'danger'\n   window.dispatchEvent event\n \n+NOTIFY_DEFAULT_ICON = path.join(ROOT, 'assets', 'icons', 'icon.png')\n+NOTIFY_NOTIFICATION_API = true\n+if process.platform == 'win32' and semver.lt(os.release(), '6.2.0')\n+    NOTIFY_NOTIFICATION_API = false","path":"views/env.coffee","position":16,"original_position":16,"commit_id":"6a7f64d247f099890a77040051252fe218213d6b","original_commit_id":"6a7f64d247f099890a77040051252fe218213d6b","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line contains inconsistent indentation","created_at":"2015-11-29T04:51:08Z","updated_at":"2015-11-29T04:51:08Z","html_url":"https://github.com/poooi/poi/pull/567#discussion_r46087634","pull_request_url":"https://api.github.com/repos/poooi/poi/pulls/567","_links":{"self":{"href":"https://api.github.com/repos/poooi/poi/pulls/comments/46087634"},"html":{"href":"https://github.com/poooi/poi/pull/567#discussion_r46087634"},"pull_request":{"href":"https://api.github.com/repos/poooi/poi/pulls/567"}}},"pull_request":{"url":"https://api.github.com/repos/poooi/poi/pulls/567","id":52008162,"html_url":"https://github.com/poooi/poi/pull/567","diff_url":"https://github.com/poooi/poi/pull/567.diff","patch_url":"https://github.com/poooi/poi/pull/567.patch","issue_url":"https://api.github.com/repos/poooi/poi/issues/567","number":567,"state":"open","locked":false,"title":"通知允许设置标题为通知类型","user":{"login":"yukixz","id":3337921,"avatar_url":"https://avatars.githubusercontent.com/u/3337921?v=3","gravatar_id":"","url":"https://api.github.com/users/yukixz","html_url":"https://github.com/yukixz","followers_url":"https://api.github.com/users/yukixz/followers","following_url":"https://api.github.com/users/yukixz/following{/other_user}","gists_url":"https://api.github.com/users/yukixz/gists{/gist_id}","starred_url":"https://api.github.com/users/yukixz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yukixz/subscriptions","organizations_url":"https://api.github.com/users/yukixz/orgs","repos_url":"https://api.github.com/users/yukixz/repos","events_url":"https://api.github.com/users/yukixz/events{/privacy}","received_events_url":"https://api.github.com/users/yukixz/received_events","type":"User","site_admin":false},"body":"修改后的标题和内容：\r\n![screen shot 2015-11-27 at 11 45 02 pm](https://cloud.githubusercontent.com/assets/3337921/11444783/a008adc6-9561-11e5-81eb-28c1fe88d916.png)\r\n\r\nAPI 兼容。标题默认为 `poi`。\r\nFor https://github.com/poooi/poi/issues/543\r\n\r\n~~咦、好像可以改进一下文字描述。~~","created_at":"2015-11-27T15:59:19Z","updated_at":"2015-11-29T04:51:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"61bcccc1b8f4a357ed55203f57e030cad48862c7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/poooi/poi/pulls/567/commits","review_comments_url":"https://api.github.com/repos/poooi/poi/pulls/567/comments","review_comment_url":"https://api.github.com/repos/poooi/poi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/poooi/poi/issues/567/comments","statuses_url":"https://api.github.com/repos/poooi/poi/statuses/6a7f64d247f099890a77040051252fe218213d6b","head":{"label":"poooi:notify-title","ref":"notify-title","sha":"6a7f64d247f099890a77040051252fe218213d6b","user":{"login":"poooi","id":11751187,"avatar_url":"https://avatars.githubusercontent.com/u/11751187?v=3","gravatar_id":"","url":"https://api.github.com/users/poooi","html_url":"https://github.com/poooi","followers_url":"https://api.github.com/users/poooi/followers","following_url":"https://api.github.com/users/poooi/following{/other_user}","gists_url":"https://api.github.com/users/poooi/gists{/gist_id}","starred_url":"https://api.github.com/users/poooi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poooi/subscriptions","organizations_url":"https://api.github.com/users/poooi/orgs","repos_url":"https://api.github.com/users/poooi/repos","events_url":"https://api.github.com/users/poooi/events{/privacy}","received_events_url":"https://api.github.com/users/poooi/received_events","type":"Organization","site_admin":false},"repo":{"id":35015510,"name":"poi","full_name":"poooi/poi","owner":{"login":"poooi","id":11751187,"avatar_url":"https://avatars.githubusercontent.com/u/11751187?v=3","gravatar_id":"","url":"https://api.github.com/users/poooi","html_url":"https://github.com/poooi","followers_url":"https://api.github.com/users/poooi/followers","following_url":"https://api.github.com/users/poooi/following{/other_user}","gists_url":"https://api.github.com/users/poooi/gists{/gist_id}","starred_url":"https://api.github.com/users/poooi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poooi/subscriptions","organizations_url":"https://api.github.com/users/poooi/orgs","repos_url":"https://api.github.com/users/poooi/repos","events_url":"https://api.github.com/users/poooi/events{/privacy}","received_events_url":"https://api.github.com/users/poooi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/poooi/poi","description":"Scalable KanColle browser and tool.","fork":false,"url":"https://api.github.com/repos/poooi/poi","forks_url":"https://api.github.com/repos/poooi/poi/forks","keys_url":"https://api.github.com/repos/poooi/poi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poooi/poi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poooi/poi/teams","hooks_url":"https://api.github.com/repos/poooi/poi/hooks","issue_events_url":"https://api.github.com/repos/poooi/poi/issues/events{/number}","events_url":"https://api.github.com/repos/poooi/poi/events","assignees_url":"https://api.github.com/repos/poooi/poi/assignees{/user}","branches_url":"https://api.github.com/repos/poooi/poi/branches{/branch}","tags_url":"https://api.github.com/repos/poooi/poi/tags","blobs_url":"https://api.github.com/repos/poooi/poi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poooi/poi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poooi/poi/git/refs{/sha}","trees_url":"https://api.github.com/repos/poooi/poi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poooi/poi/statuses/{sha}","languages_url":"https://api.github.com/repos/poooi/poi/languages","stargazers_url":"https://api.github.com/repos/poooi/poi/stargazers","contributors_url":"https://api.github.com/repos/poooi/poi/contributors","subscribers_url":"https://api.github.com/repos/poooi/poi/subscribers","subscription_url":"https://api.github.com/repos/poooi/poi/subscription","commits_url":"https://api.github.com/repos/poooi/poi/commits{/sha}","git_commits_url":"https://api.github.com/repos/poooi/poi/git/commits{/sha}","comments_url":"https://api.github.com/repos/poooi/poi/comments{/number}","issue_comment_url":"https://api.github.com/repos/poooi/poi/issues/comments{/number}","contents_url":"https://api.github.com/repos/poooi/poi/contents/{+path}","compare_url":"https://api.github.com/repos/poooi/poi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poooi/poi/merges","archive_url":"https://api.github.com/repos/poooi/poi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poooi/poi/downloads","issues_url":"https://api.github.com/repos/poooi/poi/issues{/number}","pulls_url":"https://api.github.com/repos/poooi/poi/pulls{/number}","milestones_url":"https://api.github.com/repos/poooi/poi/milestones{/number}","notifications_url":"https://api.github.com/repos/poooi/poi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poooi/poi/labels{/name}","releases_url":"https://api.github.com/repos/poooi/poi/releases{/id}","created_at":"2015-05-04T05:19:54Z","updated_at":"2015-11-29T03:31:19Z","pushed_at":"2015-11-29T04:51:04Z","git_url":"git://github.com/poooi/poi.git","ssh_url":"git@github.com:poooi/poi.git","clone_url":"https://github.com/poooi/poi.git","svn_url":"https://github.com/poooi/poi","homepage":null,"size":29634,"stargazers_count":286,"watchers_count":286,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":92,"mirror_url":null,"open_issues_count":56,"forks":92,"open_issues":56,"watchers":286,"default_branch":"master"}},"base":{"label":"poooi:master","ref":"master","sha":"1a9989475a86611d4d5020a16d4699defaeba613","user":{"login":"poooi","id":11751187,"avatar_url":"https://avatars.githubusercontent.com/u/11751187?v=3","gravatar_id":"","url":"https://api.github.com/users/poooi","html_url":"https://github.com/poooi","followers_url":"https://api.github.com/users/poooi/followers","following_url":"https://api.github.com/users/poooi/following{/other_user}","gists_url":"https://api.github.com/users/poooi/gists{/gist_id}","starred_url":"https://api.github.com/users/poooi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poooi/subscriptions","organizations_url":"https://api.github.com/users/poooi/orgs","repos_url":"https://api.github.com/users/poooi/repos","events_url":"https://api.github.com/users/poooi/events{/privacy}","received_events_url":"https://api.github.com/users/poooi/received_events","type":"Organization","site_admin":false},"repo":{"id":35015510,"name":"poi","full_name":"poooi/poi","owner":{"login":"poooi","id":11751187,"avatar_url":"https://avatars.githubusercontent.com/u/11751187?v=3","gravatar_id":"","url":"https://api.github.com/users/poooi","html_url":"https://github.com/poooi","followers_url":"https://api.github.com/users/poooi/followers","following_url":"https://api.github.com/users/poooi/following{/other_user}","gists_url":"https://api.github.com/users/poooi/gists{/gist_id}","starred_url":"https://api.github.com/users/poooi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poooi/subscriptions","organizations_url":"https://api.github.com/users/poooi/orgs","repos_url":"https://api.github.com/users/poooi/repos","events_url":"https://api.github.com/users/poooi/events{/privacy}","received_events_url":"https://api.github.com/users/poooi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/poooi/poi","description":"Scalable KanColle browser and tool.","fork":false,"url":"https://api.github.com/repos/poooi/poi","forks_url":"https://api.github.com/repos/poooi/poi/forks","keys_url":"https://api.github.com/repos/poooi/poi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poooi/poi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poooi/poi/teams","hooks_url":"https://api.github.com/repos/poooi/poi/hooks","issue_events_url":"https://api.github.com/repos/poooi/poi/issues/events{/number}","events_url":"https://api.github.com/repos/poooi/poi/events","assignees_url":"https://api.github.com/repos/poooi/poi/assignees{/user}","branches_url":"https://api.github.com/repos/poooi/poi/branches{/branch}","tags_url":"https://api.github.com/repos/poooi/poi/tags","blobs_url":"https://api.github.com/repos/poooi/poi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poooi/poi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poooi/poi/git/refs{/sha}","trees_url":"https://api.github.com/repos/poooi/poi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poooi/poi/statuses/{sha}","languages_url":"https://api.github.com/repos/poooi/poi/languages","stargazers_url":"https://api.github.com/repos/poooi/poi/stargazers","contributors_url":"https://api.github.com/repos/poooi/poi/contributors","subscribers_url":"https://api.github.com/repos/poooi/poi/subscribers","subscription_url":"https://api.github.com/repos/poooi/poi/subscription","commits_url":"https://api.github.com/repos/poooi/poi/commits{/sha}","git_commits_url":"https://api.github.com/repos/poooi/poi/git/commits{/sha}","comments_url":"https://api.github.com/repos/poooi/poi/comments{/number}","issue_comment_url":"https://api.github.com/repos/poooi/poi/issues/comments{/number}","contents_url":"https://api.github.com/repos/poooi/poi/contents/{+path}","compare_url":"https://api.github.com/repos/poooi/poi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poooi/poi/merges","archive_url":"https://api.github.com/repos/poooi/poi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poooi/poi/downloads","issues_url":"https://api.github.com/repos/poooi/poi/issues{/number}","pulls_url":"https://api.github.com/repos/poooi/poi/pulls{/number}","milestones_url":"https://api.github.com/repos/poooi/poi/milestones{/number}","notifications_url":"https://api.github.com/repos/poooi/poi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poooi/poi/labels{/name}","releases_url":"https://api.github.com/repos/poooi/poi/releases{/id}","created_at":"2015-05-04T05:19:54Z","updated_at":"2015-11-29T03:31:19Z","pushed_at":"2015-11-29T04:51:04Z","git_url":"git://github.com/poooi/poi.git","ssh_url":"git@github.com:poooi/poi.git","clone_url":"https://github.com/poooi/poi.git","svn_url":"https://github.com/poooi/poi","homepage":null,"size":29634,"stargazers_count":286,"watchers_count":286,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":92,"mirror_url":null,"open_issues_count":56,"forks":92,"open_issues":56,"watchers":286,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/poooi/poi/pulls/567"},"html":{"href":"https://github.com/poooi/poi/pull/567"},"issue":{"href":"https://api.github.com/repos/poooi/poi/issues/567"},"comments":{"href":"https://api.github.com/repos/poooi/poi/issues/567/comments"},"review_comments":{"href":"https://api.github.com/repos/poooi/poi/pulls/567/comments"},"review_comment":{"href":"https://api.github.com/repos/poooi/poi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/poooi/poi/pulls/567/commits"},"statuses":{"href":"https://api.github.com/repos/poooi/poi/statuses/6a7f64d247f099890a77040051252fe218213d6b"}}}}