{"action":"created","comment":{"url":"https://api.github.com/repos/wurde/canvas/pulls/comments/46192969","id":46192969,"diff_hunk":"@@ -5,11 +5,124 @@\n // Modified At: 2015 1123 160531\n // Description: build desktop apps with web technologies\n \n+/* Example new main.js */\n+\n+// The main.js should create windows and handle system events; example:\n+\n+// const electron = require('electron');\n+// const app = electron.app;  // Module to control application life.\n+// const BrowserWindow = electron.BrowserWindow;  // Module to create native browser window.","path":"lib/canvas/node/canvas_electron.js","position":10,"original_position":10,"commit_id":"812cd23d6d937c9a3cc7873cae76fed90eaa018d","original_commit_id":"812cd23d6d937c9a3cc7873cae76fed90eaa018d","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 is too long.","created_at":"2015-11-30T19:46:33Z","updated_at":"2015-11-30T19:46:33Z","html_url":"https://github.com/wurde/canvas/pull/64#discussion_r46192969","pull_request_url":"https://api.github.com/repos/wurde/canvas/pulls/64","_links":{"self":{"href":"https://api.github.com/repos/wurde/canvas/pulls/comments/46192969"},"html":{"href":"https://github.com/wurde/canvas/pull/64#discussion_r46192969"},"pull_request":{"href":"https://api.github.com/repos/wurde/canvas/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/wurde/canvas/pulls/64","id":52083081,"html_url":"https://github.com/wurde/canvas/pull/64","diff_url":"https://github.com/wurde/canvas/pull/64.diff","patch_url":"https://github.com/wurde/canvas/pull/64.patch","issue_url":"https://api.github.com/repos/wurde/canvas/issues/64","number":64,"state":"open","locked":false,"title":"Fix#63 electron nodejs es6 helloworld","user":{"login":"wurde","id":5455357,"avatar_url":"https://avatars.githubusercontent.com/u/5455357?v=3","gravatar_id":"","url":"https://api.github.com/users/wurde","html_url":"https://github.com/wurde","followers_url":"https://api.github.com/users/wurde/followers","following_url":"https://api.github.com/users/wurde/following{/other_user}","gists_url":"https://api.github.com/users/wurde/gists{/gist_id}","starred_url":"https://api.github.com/users/wurde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wurde/subscriptions","organizations_url":"https://api.github.com/users/wurde/orgs","repos_url":"https://api.github.com/users/wurde/repos","events_url":"https://api.github.com/users/wurde/events{/privacy}","received_events_url":"https://api.github.com/users/wurde/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-30T03:53:41Z","updated_at":"2015-11-30T19:46:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"58b2b0eda034e4d9fbaee31f8e73665bd9ee50f6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wurde/canvas/pulls/64/commits","review_comments_url":"https://api.github.com/repos/wurde/canvas/pulls/64/comments","review_comment_url":"https://api.github.com/repos/wurde/canvas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wurde/canvas/issues/64/comments","statuses_url":"https://api.github.com/repos/wurde/canvas/statuses/812cd23d6d937c9a3cc7873cae76fed90eaa018d","head":{"label":"wurde:fix#63_electron_nodejs_es6_helloworld","ref":"fix#63_electron_nodejs_es6_helloworld","sha":"812cd23d6d937c9a3cc7873cae76fed90eaa018d","user":{"login":"wurde","id":5455357,"avatar_url":"https://avatars.githubusercontent.com/u/5455357?v=3","gravatar_id":"","url":"https://api.github.com/users/wurde","html_url":"https://github.com/wurde","followers_url":"https://api.github.com/users/wurde/followers","following_url":"https://api.github.com/users/wurde/following{/other_user}","gists_url":"https://api.github.com/users/wurde/gists{/gist_id}","starred_url":"https://api.github.com/users/wurde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wurde/subscriptions","organizations_url":"https://api.github.com/users/wurde/orgs","repos_url":"https://api.github.com/users/wurde/repos","events_url":"https://api.github.com/users/wurde/events{/privacy}","received_events_url":"https://api.github.com/users/wurde/received_events","type":"User","site_admin":false},"repo":{"id":16531287,"name":"canvas","full_name":"wurde/canvas","owner":{"login":"wurde","id":5455357,"avatar_url":"https://avatars.githubusercontent.com/u/5455357?v=3","gravatar_id":"","url":"https://api.github.com/users/wurde","html_url":"https://github.com/wurde","followers_url":"https://api.github.com/users/wurde/followers","following_url":"https://api.github.com/users/wurde/following{/other_user}","gists_url":"https://api.github.com/users/wurde/gists{/gist_id}","starred_url":"https://api.github.com/users/wurde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wurde/subscriptions","organizations_url":"https://api.github.com/users/wurde/orgs","repos_url":"https://api.github.com/users/wurde/repos","events_url":"https://api.github.com/users/wurde/events{/privacy}","received_events_url":"https://api.github.com/users/wurde/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wurde/canvas","description":"Distilling disparate documentation.","fork":false,"url":"https://api.github.com/repos/wurde/canvas","forks_url":"https://api.github.com/repos/wurde/canvas/forks","keys_url":"https://api.github.com/repos/wurde/canvas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wurde/canvas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wurde/canvas/teams","hooks_url":"https://api.github.com/repos/wurde/canvas/hooks","issue_events_url":"https://api.github.com/repos/wurde/canvas/issues/events{/number}","events_url":"https://api.github.com/repos/wurde/canvas/events","assignees_url":"https://api.github.com/repos/wurde/canvas/assignees{/user}","branches_url":"https://api.github.com/repos/wurde/canvas/branches{/branch}","tags_url":"https://api.github.com/repos/wurde/canvas/tags","blobs_url":"https://api.github.com/repos/wurde/canvas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wurde/canvas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wurde/canvas/git/refs{/sha}","trees_url":"https://api.github.com/repos/wurde/canvas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wurde/canvas/statuses/{sha}","languages_url":"https://api.github.com/repos/wurde/canvas/languages","stargazers_url":"https://api.github.com/repos/wurde/canvas/stargazers","contributors_url":"https://api.github.com/repos/wurde/canvas/contributors","subscribers_url":"https://api.github.com/repos/wurde/canvas/subscribers","subscription_url":"https://api.github.com/repos/wurde/canvas/subscription","commits_url":"https://api.github.com/repos/wurde/canvas/commits{/sha}","git_commits_url":"https://api.github.com/repos/wurde/canvas/git/commits{/sha}","comments_url":"https://api.github.com/repos/wurde/canvas/comments{/number}","issue_comment_url":"https://api.github.com/repos/wurde/canvas/issues/comments{/number}","contents_url":"https://api.github.com/repos/wurde/canvas/contents/{+path}","compare_url":"https://api.github.com/repos/wurde/canvas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wurde/canvas/merges","archive_url":"https://api.github.com/repos/wurde/canvas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wurde/canvas/downloads","issues_url":"https://api.github.com/repos/wurde/canvas/issues{/number}","pulls_url":"https://api.github.com/repos/wurde/canvas/pulls{/number}","milestones_url":"https://api.github.com/repos/wurde/canvas/milestones{/number}","notifications_url":"https://api.github.com/repos/wurde/canvas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wurde/canvas/labels{/name}","releases_url":"https://api.github.com/repos/wurde/canvas/releases{/id}","created_at":"2014-02-05T01:01:44Z","updated_at":"2015-11-25T01:01:57Z","pushed_at":"2015-11-30T19:46:29Z","git_url":"git://github.com/wurde/canvas.git","ssh_url":"git@github.com:wurde/canvas.git","clone_url":"https://github.com/wurde/canvas.git","svn_url":"https://github.com/wurde/canvas","homepage":"","size":4480,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":23,"forks":0,"open_issues":23,"watchers":0,"default_branch":"master"}},"base":{"label":"wurde:master","ref":"master","sha":"a305f05f6ccbf9e484bdb270235ec97abbca346d","user":{"login":"wurde","id":5455357,"avatar_url":"https://avatars.githubusercontent.com/u/5455357?v=3","gravatar_id":"","url":"https://api.github.com/users/wurde","html_url":"https://github.com/wurde","followers_url":"https://api.github.com/users/wurde/followers","following_url":"https://api.github.com/users/wurde/following{/other_user}","gists_url":"https://api.github.com/users/wurde/gists{/gist_id}","starred_url":"https://api.github.com/users/wurde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wurde/subscriptions","organizations_url":"https://api.github.com/users/wurde/orgs","repos_url":"https://api.github.com/users/wurde/repos","events_url":"https://api.github.com/users/wurde/events{/privacy}","received_events_url":"https://api.github.com/users/wurde/received_events","type":"User","site_admin":false},"repo":{"id":16531287,"name":"canvas","full_name":"wurde/canvas","owner":{"login":"wurde","id":5455357,"avatar_url":"https://avatars.githubusercontent.com/u/5455357?v=3","gravatar_id":"","url":"https://api.github.com/users/wurde","html_url":"https://github.com/wurde","followers_url":"https://api.github.com/users/wurde/followers","following_url":"https://api.github.com/users/wurde/following{/other_user}","gists_url":"https://api.github.com/users/wurde/gists{/gist_id}","starred_url":"https://api.github.com/users/wurde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wurde/subscriptions","organizations_url":"https://api.github.com/users/wurde/orgs","repos_url":"https://api.github.com/users/wurde/repos","events_url":"https://api.github.com/users/wurde/events{/privacy}","received_events_url":"https://api.github.com/users/wurde/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wurde/canvas","description":"Distilling disparate documentation.","fork":false,"url":"https://api.github.com/repos/wurde/canvas","forks_url":"https://api.github.com/repos/wurde/canvas/forks","keys_url":"https://api.github.com/repos/wurde/canvas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wurde/canvas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wurde/canvas/teams","hooks_url":"https://api.github.com/repos/wurde/canvas/hooks","issue_events_url":"https://api.github.com/repos/wurde/canvas/issues/events{/number}","events_url":"https://api.github.com/repos/wurde/canvas/events","assignees_url":"https://api.github.com/repos/wurde/canvas/assignees{/user}","branches_url":"https://api.github.com/repos/wurde/canvas/branches{/branch}","tags_url":"https://api.github.com/repos/wurde/canvas/tags","blobs_url":"https://api.github.com/repos/wurde/canvas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wurde/canvas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wurde/canvas/git/refs{/sha}","trees_url":"https://api.github.com/repos/wurde/canvas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wurde/canvas/statuses/{sha}","languages_url":"https://api.github.com/repos/wurde/canvas/languages","stargazers_url":"https://api.github.com/repos/wurde/canvas/stargazers","contributors_url":"https://api.github.com/repos/wurde/canvas/contributors","subscribers_url":"https://api.github.com/repos/wurde/canvas/subscribers","subscription_url":"https://api.github.com/repos/wurde/canvas/subscription","commits_url":"https://api.github.com/repos/wurde/canvas/commits{/sha}","git_commits_url":"https://api.github.com/repos/wurde/canvas/git/commits{/sha}","comments_url":"https://api.github.com/repos/wurde/canvas/comments{/number}","issue_comment_url":"https://api.github.com/repos/wurde/canvas/issues/comments{/number}","contents_url":"https://api.github.com/repos/wurde/canvas/contents/{+path}","compare_url":"https://api.github.com/repos/wurde/canvas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wurde/canvas/merges","archive_url":"https://api.github.com/repos/wurde/canvas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wurde/canvas/downloads","issues_url":"https://api.github.com/repos/wurde/canvas/issues{/number}","pulls_url":"https://api.github.com/repos/wurde/canvas/pulls{/number}","milestones_url":"https://api.github.com/repos/wurde/canvas/milestones{/number}","notifications_url":"https://api.github.com/repos/wurde/canvas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wurde/canvas/labels{/name}","releases_url":"https://api.github.com/repos/wurde/canvas/releases{/id}","created_at":"2014-02-05T01:01:44Z","updated_at":"2015-11-25T01:01:57Z","pushed_at":"2015-11-30T19:46:29Z","git_url":"git://github.com/wurde/canvas.git","ssh_url":"git@github.com:wurde/canvas.git","clone_url":"https://github.com/wurde/canvas.git","svn_url":"https://github.com/wurde/canvas","homepage":"","size":4480,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":23,"forks":0,"open_issues":23,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wurde/canvas/pulls/64"},"html":{"href":"https://github.com/wurde/canvas/pull/64"},"issue":{"href":"https://api.github.com/repos/wurde/canvas/issues/64"},"comments":{"href":"https://api.github.com/repos/wurde/canvas/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/wurde/canvas/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/wurde/canvas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wurde/canvas/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/wurde/canvas/statuses/812cd23d6d937c9a3cc7873cae76fed90eaa018d"}}}}