{"action":"created","comment":{"url":"https://api.github.com/repos/chinchang/web-maker/pulls/comments/66229799","id":66229799,"diff_hunk":"@@ -176,7 +176,7 @@\n \t\t\te.preventDefault();\n \t\t});\n \n-\t\tsaveHtmlBtn.addEventListener('click', function (e) {\n+\t\tfunction save_file() {","path":"src/script.js","position":5,"original_position":5,"commit_id":"2a9a8aae8f1acc9d86799962bd43cc774b962958","original_commit_id":"2a9a8aae8f1acc9d86799962bd43cc774b962958","user":{"login":"chinchang","id":379918,"avatar_url":"https://avatars.githubusercontent.com/u/379918?v=3","gravatar_id":"","url":"https://api.github.com/users/chinchang","html_url":"https://github.com/chinchang","followers_url":"https://api.github.com/users/chinchang/followers","following_url":"https://api.github.com/users/chinchang/following{/other_user}","gists_url":"https://api.github.com/users/chinchang/gists{/gist_id}","starred_url":"https://api.github.com/users/chinchang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinchang/subscriptions","organizations_url":"https://api.github.com/users/chinchang/orgs","repos_url":"https://api.github.com/users/chinchang/repos","events_url":"https://api.github.com/users/chinchang/events{/privacy}","received_events_url":"https://api.github.com/users/chinchang/received_events","type":"User","site_admin":false},"body":"This project is written with camelCase convention. So `saveFile` instead. Also now that this is a named function, would be better off outside the `init` function. Put it alongside `init` function.","created_at":"2016-06-08T10:18:33Z","updated_at":"2016-06-08T10:18:33Z","html_url":"https://github.com/chinchang/web-maker/pull/9#discussion_r66229799","pull_request_url":"https://api.github.com/repos/chinchang/web-maker/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/chinchang/web-maker/pulls/comments/66229799"},"html":{"href":"https://github.com/chinchang/web-maker/pull/9#discussion_r66229799"},"pull_request":{"href":"https://api.github.com/repos/chinchang/web-maker/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/chinchang/web-maker/pulls/9","id":72979177,"html_url":"https://github.com/chinchang/web-maker/pull/9","diff_url":"https://github.com/chinchang/web-maker/pull/9.diff","patch_url":"https://github.com/chinchang/web-maker/pull/9.patch","issue_url":"https://api.github.com/repos/chinchang/web-maker/issues/9","number":9,"state":"open","locked":false,"title":"Add key short for save the file","user":{"login":"MKFMIKU","id":13622651,"avatar_url":"https://avatars.githubusercontent.com/u/13622651?v=3","gravatar_id":"","url":"https://api.github.com/users/MKFMIKU","html_url":"https://github.com/MKFMIKU","followers_url":"https://api.github.com/users/MKFMIKU/followers","following_url":"https://api.github.com/users/MKFMIKU/following{/other_user}","gists_url":"https://api.github.com/users/MKFMIKU/gists{/gist_id}","starred_url":"https://api.github.com/users/MKFMIKU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MKFMIKU/subscriptions","organizations_url":"https://api.github.com/users/MKFMIKU/orgs","repos_url":"https://api.github.com/users/MKFMIKU/repos","events_url":"https://api.github.com/users/MKFMIKU/events{/privacy}","received_events_url":"https://api.github.com/users/MKFMIKU/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-08T02:46:32Z","updated_at":"2016-06-08T10:18:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"625d7b65b5b86d4838b725e7fc650c75f89a61f1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chinchang/web-maker/pulls/9/commits","review_comments_url":"https://api.github.com/repos/chinchang/web-maker/pulls/9/comments","review_comment_url":"https://api.github.com/repos/chinchang/web-maker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chinchang/web-maker/issues/9/comments","statuses_url":"https://api.github.com/repos/chinchang/web-maker/statuses/2a9a8aae8f1acc9d86799962bd43cc774b962958","head":{"label":"MKFMIKU:func","ref":"func","sha":"2a9a8aae8f1acc9d86799962bd43cc774b962958","user":{"login":"MKFMIKU","id":13622651,"avatar_url":"https://avatars.githubusercontent.com/u/13622651?v=3","gravatar_id":"","url":"https://api.github.com/users/MKFMIKU","html_url":"https://github.com/MKFMIKU","followers_url":"https://api.github.com/users/MKFMIKU/followers","following_url":"https://api.github.com/users/MKFMIKU/following{/other_user}","gists_url":"https://api.github.com/users/MKFMIKU/gists{/gist_id}","starred_url":"https://api.github.com/users/MKFMIKU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MKFMIKU/subscriptions","organizations_url":"https://api.github.com/users/MKFMIKU/orgs","repos_url":"https://api.github.com/users/MKFMIKU/repos","events_url":"https://api.github.com/users/MKFMIKU/events{/privacy}","received_events_url":"https://api.github.com/users/MKFMIKU/received_events","type":"User","site_admin":false},"repo":{"id":60653462,"name":"web-maker","full_name":"MKFMIKU/web-maker","owner":{"login":"MKFMIKU","id":13622651,"avatar_url":"https://avatars.githubusercontent.com/u/13622651?v=3","gravatar_id":"","url":"https://api.github.com/users/MKFMIKU","html_url":"https://github.com/MKFMIKU","followers_url":"https://api.github.com/users/MKFMIKU/followers","following_url":"https://api.github.com/users/MKFMIKU/following{/other_user}","gists_url":"https://api.github.com/users/MKFMIKU/gists{/gist_id}","starred_url":"https://api.github.com/users/MKFMIKU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MKFMIKU/subscriptions","organizations_url":"https://api.github.com/users/MKFMIKU/orgs","repos_url":"https://api.github.com/users/MKFMIKU/repos","events_url":"https://api.github.com/users/MKFMIKU/events{/privacy}","received_events_url":"https://api.github.com/users/MKFMIKU/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MKFMIKU/web-maker","description":"Replace your Chrome tabs with an offline web experiment playground","fork":true,"url":"https://api.github.com/repos/MKFMIKU/web-maker","forks_url":"https://api.github.com/repos/MKFMIKU/web-maker/forks","keys_url":"https://api.github.com/repos/MKFMIKU/web-maker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MKFMIKU/web-maker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MKFMIKU/web-maker/teams","hooks_url":"https://api.github.com/repos/MKFMIKU/web-maker/hooks","issue_events_url":"https://api.github.com/repos/MKFMIKU/web-maker/issues/events{/number}","events_url":"https://api.github.com/repos/MKFMIKU/web-maker/events","assignees_url":"https://api.github.com/repos/MKFMIKU/web-maker/assignees{/user}","branches_url":"https://api.github.com/repos/MKFMIKU/web-maker/branches{/branch}","tags_url":"https://api.github.com/repos/MKFMIKU/web-maker/tags","blobs_url":"https://api.github.com/repos/MKFMIKU/web-maker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MKFMIKU/web-maker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MKFMIKU/web-maker/git/refs{/sha}","trees_url":"https://api.github.com/repos/MKFMIKU/web-maker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MKFMIKU/web-maker/statuses/{sha}","languages_url":"https://api.github.com/repos/MKFMIKU/web-maker/languages","stargazers_url":"https://api.github.com/repos/MKFMIKU/web-maker/stargazers","contributors_url":"https://api.github.com/repos/MKFMIKU/web-maker/contributors","subscribers_url":"https://api.github.com/repos/MKFMIKU/web-maker/subscribers","subscription_url":"https://api.github.com/repos/MKFMIKU/web-maker/subscription","commits_url":"https://api.github.com/repos/MKFMIKU/web-maker/commits{/sha}","git_commits_url":"https://api.github.com/repos/MKFMIKU/web-maker/git/commits{/sha}","comments_url":"https://api.github.com/repos/MKFMIKU/web-maker/comments{/number}","issue_comment_url":"https://api.github.com/repos/MKFMIKU/web-maker/issues/comments{/number}","contents_url":"https://api.github.com/repos/MKFMIKU/web-maker/contents/{+path}","compare_url":"https://api.github.com/repos/MKFMIKU/web-maker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MKFMIKU/web-maker/merges","archive_url":"https://api.github.com/repos/MKFMIKU/web-maker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MKFMIKU/web-maker/downloads","issues_url":"https://api.github.com/repos/MKFMIKU/web-maker/issues{/number}","pulls_url":"https://api.github.com/repos/MKFMIKU/web-maker/pulls{/number}","milestones_url":"https://api.github.com/repos/MKFMIKU/web-maker/milestones{/number}","notifications_url":"https://api.github.com/repos/MKFMIKU/web-maker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MKFMIKU/web-maker/labels{/name}","releases_url":"https://api.github.com/repos/MKFMIKU/web-maker/releases{/id}","deployments_url":"https://api.github.com/repos/MKFMIKU/web-maker/deployments","created_at":"2016-06-07T23:26:48Z","updated_at":"2016-06-07T23:26:51Z","pushed_at":"2016-06-08T02:44:58Z","git_url":"git://github.com/MKFMIKU/web-maker.git","ssh_url":"git@github.com:MKFMIKU/web-maker.git","clone_url":"https://github.com/MKFMIKU/web-maker.git","svn_url":"https://github.com/MKFMIKU/web-maker","homepage":"https://kushagragour.in/lab/web-maker/","size":1487,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chinchang:master","ref":"master","sha":"933024c709efa096b6fefec168bcebf91c076ed4","user":{"login":"chinchang","id":379918,"avatar_url":"https://avatars.githubusercontent.com/u/379918?v=3","gravatar_id":"","url":"https://api.github.com/users/chinchang","html_url":"https://github.com/chinchang","followers_url":"https://api.github.com/users/chinchang/followers","following_url":"https://api.github.com/users/chinchang/following{/other_user}","gists_url":"https://api.github.com/users/chinchang/gists{/gist_id}","starred_url":"https://api.github.com/users/chinchang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinchang/subscriptions","organizations_url":"https://api.github.com/users/chinchang/orgs","repos_url":"https://api.github.com/users/chinchang/repos","events_url":"https://api.github.com/users/chinchang/events{/privacy}","received_events_url":"https://api.github.com/users/chinchang/received_events","type":"User","site_admin":false},"repo":{"id":57886296,"name":"web-maker","full_name":"chinchang/web-maker","owner":{"login":"chinchang","id":379918,"avatar_url":"https://avatars.githubusercontent.com/u/379918?v=3","gravatar_id":"","url":"https://api.github.com/users/chinchang","html_url":"https://github.com/chinchang","followers_url":"https://api.github.com/users/chinchang/followers","following_url":"https://api.github.com/users/chinchang/following{/other_user}","gists_url":"https://api.github.com/users/chinchang/gists{/gist_id}","starred_url":"https://api.github.com/users/chinchang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinchang/subscriptions","organizations_url":"https://api.github.com/users/chinchang/orgs","repos_url":"https://api.github.com/users/chinchang/repos","events_url":"https://api.github.com/users/chinchang/events{/privacy}","received_events_url":"https://api.github.com/users/chinchang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chinchang/web-maker","description":"Replace your Chrome tabs with an offline web experiment playground","fork":false,"url":"https://api.github.com/repos/chinchang/web-maker","forks_url":"https://api.github.com/repos/chinchang/web-maker/forks","keys_url":"https://api.github.com/repos/chinchang/web-maker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chinchang/web-maker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chinchang/web-maker/teams","hooks_url":"https://api.github.com/repos/chinchang/web-maker/hooks","issue_events_url":"https://api.github.com/repos/chinchang/web-maker/issues/events{/number}","events_url":"https://api.github.com/repos/chinchang/web-maker/events","assignees_url":"https://api.github.com/repos/chinchang/web-maker/assignees{/user}","branches_url":"https://api.github.com/repos/chinchang/web-maker/branches{/branch}","tags_url":"https://api.github.com/repos/chinchang/web-maker/tags","blobs_url":"https://api.github.com/repos/chinchang/web-maker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chinchang/web-maker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chinchang/web-maker/git/refs{/sha}","trees_url":"https://api.github.com/repos/chinchang/web-maker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chinchang/web-maker/statuses/{sha}","languages_url":"https://api.github.com/repos/chinchang/web-maker/languages","stargazers_url":"https://api.github.com/repos/chinchang/web-maker/stargazers","contributors_url":"https://api.github.com/repos/chinchang/web-maker/contributors","subscribers_url":"https://api.github.com/repos/chinchang/web-maker/subscribers","subscription_url":"https://api.github.com/repos/chinchang/web-maker/subscription","commits_url":"https://api.github.com/repos/chinchang/web-maker/commits{/sha}","git_commits_url":"https://api.github.com/repos/chinchang/web-maker/git/commits{/sha}","comments_url":"https://api.github.com/repos/chinchang/web-maker/comments{/number}","issue_comment_url":"https://api.github.com/repos/chinchang/web-maker/issues/comments{/number}","contents_url":"https://api.github.com/repos/chinchang/web-maker/contents/{+path}","compare_url":"https://api.github.com/repos/chinchang/web-maker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chinchang/web-maker/merges","archive_url":"https://api.github.com/repos/chinchang/web-maker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chinchang/web-maker/downloads","issues_url":"https://api.github.com/repos/chinchang/web-maker/issues{/number}","pulls_url":"https://api.github.com/repos/chinchang/web-maker/pulls{/number}","milestones_url":"https://api.github.com/repos/chinchang/web-maker/milestones{/number}","notifications_url":"https://api.github.com/repos/chinchang/web-maker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chinchang/web-maker/labels{/name}","releases_url":"https://api.github.com/repos/chinchang/web-maker/releases{/id}","deployments_url":"https://api.github.com/repos/chinchang/web-maker/deployments","created_at":"2016-05-02T11:42:54Z","updated_at":"2016-06-07T15:25:06Z","pushed_at":"2016-06-08T02:46:32Z","git_url":"git://github.com/chinchang/web-maker.git","ssh_url":"git@github.com:chinchang/web-maker.git","clone_url":"https://github.com/chinchang/web-maker.git","svn_url":"https://github.com/chinchang/web-maker","homepage":"https://kushagragour.in/lab/web-maker/","size":1483,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chinchang/web-maker/pulls/9"},"html":{"href":"https://github.com/chinchang/web-maker/pull/9"},"issue":{"href":"https://api.github.com/repos/chinchang/web-maker/issues/9"},"comments":{"href":"https://api.github.com/repos/chinchang/web-maker/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/chinchang/web-maker/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/chinchang/web-maker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chinchang/web-maker/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/chinchang/web-maker/statuses/2a9a8aae8f1acc9d86799962bd43cc774b962958"}}}}
{"actor":{"display_login":"chinchang"}}