{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleChrome/gulliver/pulls/comments/70961569","id":70961569,"diff_hunk":"@@ -0,0 +1,95 @@\n+/* eslint-env browser */\n+\n+/**\n+ * Note: window.gapiReady must be a promise that resolves to\n+ * window.gapi.\n+ *\n+ * @template T\n+ * @param {string} name the library to load\n+ * @return {Promise<T>}\n+ */\n+function gapiLoad(name) {\n+  return new Promise((resolve, reject) => {","path":"public/js/gulliver.js","position":12,"original_position":12,"commit_id":"502fe49fff9ae8609b74a8f31c0aab68d417a702","original_commit_id":"502fe49fff9ae8609b74a8f31c0aab68d417a702","user":{"login":"ithinkihaveacat","id":51244,"avatar_url":"https://avatars.githubusercontent.com/u/51244?v=3","gravatar_id":"","url":"https://api.github.com/users/ithinkihaveacat","html_url":"https://github.com/ithinkihaveacat","followers_url":"https://api.github.com/users/ithinkihaveacat/followers","following_url":"https://api.github.com/users/ithinkihaveacat/following{/other_user}","gists_url":"https://api.github.com/users/ithinkihaveacat/gists{/gist_id}","starred_url":"https://api.github.com/users/ithinkihaveacat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ithinkihaveacat/subscriptions","organizations_url":"https://api.github.com/users/ithinkihaveacat/orgs","repos_url":"https://api.github.com/users/ithinkihaveacat/repos","events_url":"https://api.github.com/users/ithinkihaveacat/events{/privacy}","received_events_url":"https://api.github.com/users/ithinkihaveacat/received_events","type":"User","site_admin":false},"body":"ES6 Promises and arrow notation here, and elsewhere. For this code to run everywhere, we can either write ES5 by hand, or add a transpiler. If a transpiler (which I'd prefer), need to add this to the build process. (And also have a build process…)","created_at":"2016-07-15T12:05:17Z","updated_at":"2016-07-15T12:05:17Z","html_url":"https://github.com/GoogleChrome/gulliver/pull/19#discussion_r70961569","pull_request_url":"https://api.github.com/repos/GoogleChrome/gulliver/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/GoogleChrome/gulliver/pulls/comments/70961569"},"html":{"href":"https://github.com/GoogleChrome/gulliver/pull/19#discussion_r70961569"},"pull_request":{"href":"https://api.github.com/repos/GoogleChrome/gulliver/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleChrome/gulliver/pulls/19","id":77601868,"html_url":"https://github.com/GoogleChrome/gulliver/pull/19","diff_url":"https://github.com/GoogleChrome/gulliver/pull/19.diff","patch_url":"https://github.com/GoogleChrome/gulliver/pull/19.patch","issue_url":"https://api.github.com/repos/GoogleChrome/gulliver/issues/19","number":19,"state":"open","locked":false,"title":"Add simple client-side signin/signout [WIP]","user":{"login":"ithinkihaveacat","id":51244,"avatar_url":"https://avatars.githubusercontent.com/u/51244?v=3","gravatar_id":"","url":"https://api.github.com/users/ithinkihaveacat","html_url":"https://github.com/ithinkihaveacat","followers_url":"https://api.github.com/users/ithinkihaveacat/followers","following_url":"https://api.github.com/users/ithinkihaveacat/following{/other_user}","gists_url":"https://api.github.com/users/ithinkihaveacat/gists{/gist_id}","starred_url":"https://api.github.com/users/ithinkihaveacat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ithinkihaveacat/subscriptions","organizations_url":"https://api.github.com/users/ithinkihaveacat/orgs","repos_url":"https://api.github.com/users/ithinkihaveacat/repos","events_url":"https://api.github.com/users/ithinkihaveacat/events{/privacy}","received_events_url":"https://api.github.com/users/ithinkihaveacat/received_events","type":"User","site_admin":false},"body":"This is not ready to merge yet, creating pull request to facilitate discussion.","created_at":"2016-07-15T11:31:06Z","updated_at":"2016-07-15T12:05:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"354090b1c095373b8383ddaa0d84779192c1eb8a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleChrome/gulliver/pulls/19/commits","review_comments_url":"https://api.github.com/repos/GoogleChrome/gulliver/pulls/19/comments","review_comment_url":"https://api.github.com/repos/GoogleChrome/gulliver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleChrome/gulliver/issues/19/comments","statuses_url":"https://api.github.com/repos/GoogleChrome/gulliver/statuses/502fe49fff9ae8609b74a8f31c0aab68d417a702","head":{"label":"ithinkihaveacat:signin","ref":"signin","sha":"502fe49fff9ae8609b74a8f31c0aab68d417a702","user":{"login":"ithinkihaveacat","id":51244,"avatar_url":"https://avatars.githubusercontent.com/u/51244?v=3","gravatar_id":"","url":"https://api.github.com/users/ithinkihaveacat","html_url":"https://github.com/ithinkihaveacat","followers_url":"https://api.github.com/users/ithinkihaveacat/followers","following_url":"https://api.github.com/users/ithinkihaveacat/following{/other_user}","gists_url":"https://api.github.com/users/ithinkihaveacat/gists{/gist_id}","starred_url":"https://api.github.com/users/ithinkihaveacat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ithinkihaveacat/subscriptions","organizations_url":"https://api.github.com/users/ithinkihaveacat/orgs","repos_url":"https://api.github.com/users/ithinkihaveacat/repos","events_url":"https://api.github.com/users/ithinkihaveacat/events{/privacy}","received_events_url":"https://api.github.com/users/ithinkihaveacat/received_events","type":"User","site_admin":false},"repo":{"id":63238520,"name":"gulliver","full_name":"ithinkihaveacat/gulliver","owner":{"login":"ithinkihaveacat","id":51244,"avatar_url":"https://avatars.githubusercontent.com/u/51244?v=3","gravatar_id":"","url":"https://api.github.com/users/ithinkihaveacat","html_url":"https://github.com/ithinkihaveacat","followers_url":"https://api.github.com/users/ithinkihaveacat/followers","following_url":"https://api.github.com/users/ithinkihaveacat/following{/other_user}","gists_url":"https://api.github.com/users/ithinkihaveacat/gists{/gist_id}","starred_url":"https://api.github.com/users/ithinkihaveacat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ithinkihaveacat/subscriptions","organizations_url":"https://api.github.com/users/ithinkihaveacat/orgs","repos_url":"https://api.github.com/users/ithinkihaveacat/repos","events_url":"https://api.github.com/users/ithinkihaveacat/events{/privacy}","received_events_url":"https://api.github.com/users/ithinkihaveacat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ithinkihaveacat/gulliver","description":null,"fork":true,"url":"https://api.github.com/repos/ithinkihaveacat/gulliver","forks_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/forks","keys_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/teams","hooks_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/hooks","issue_events_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/issues/events{/number}","events_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/events","assignees_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/assignees{/user}","branches_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/branches{/branch}","tags_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/tags","blobs_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/git/refs{/sha}","trees_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/statuses/{sha}","languages_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/languages","stargazers_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/stargazers","contributors_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/contributors","subscribers_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/subscribers","subscription_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/subscription","commits_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/commits{/sha}","git_commits_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/git/commits{/sha}","comments_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/comments{/number}","issue_comment_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/issues/comments{/number}","contents_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/contents/{+path}","compare_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/merges","archive_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/downloads","issues_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/issues{/number}","pulls_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/pulls{/number}","milestones_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/milestones{/number}","notifications_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/labels{/name}","releases_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/releases{/id}","deployments_url":"https://api.github.com/repos/ithinkihaveacat/gulliver/deployments","created_at":"2016-07-13T10:52:27Z","updated_at":"2016-07-13T13:41:52Z","pushed_at":"2016-07-15T11:35:17Z","git_url":"git://github.com/ithinkihaveacat/gulliver.git","ssh_url":"git@github.com:ithinkihaveacat/gulliver.git","clone_url":"https://github.com/ithinkihaveacat/gulliver.git","svn_url":"https://github.com/ithinkihaveacat/gulliver","homepage":null,"size":39,"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":"GoogleChrome:master","ref":"master","sha":"69387501f4dea26ee1b01b5b6ccd754dc9776e96","user":{"login":"GoogleChrome","id":1778935,"avatar_url":"https://avatars.githubusercontent.com/u/1778935?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleChrome","html_url":"https://github.com/GoogleChrome","followers_url":"https://api.github.com/users/GoogleChrome/followers","following_url":"https://api.github.com/users/GoogleChrome/following{/other_user}","gists_url":"https://api.github.com/users/GoogleChrome/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleChrome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleChrome/subscriptions","organizations_url":"https://api.github.com/users/GoogleChrome/orgs","repos_url":"https://api.github.com/users/GoogleChrome/repos","events_url":"https://api.github.com/users/GoogleChrome/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleChrome/received_events","type":"Organization","site_admin":false},"repo":{"id":63147532,"name":"gulliver","full_name":"GoogleChrome/gulliver","owner":{"login":"GoogleChrome","id":1778935,"avatar_url":"https://avatars.githubusercontent.com/u/1778935?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleChrome","html_url":"https://github.com/GoogleChrome","followers_url":"https://api.github.com/users/GoogleChrome/followers","following_url":"https://api.github.com/users/GoogleChrome/following{/other_user}","gists_url":"https://api.github.com/users/GoogleChrome/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleChrome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleChrome/subscriptions","organizations_url":"https://api.github.com/users/GoogleChrome/orgs","repos_url":"https://api.github.com/users/GoogleChrome/repos","events_url":"https://api.github.com/users/GoogleChrome/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleChrome/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleChrome/gulliver","description":null,"fork":false,"url":"https://api.github.com/repos/GoogleChrome/gulliver","forks_url":"https://api.github.com/repos/GoogleChrome/gulliver/forks","keys_url":"https://api.github.com/repos/GoogleChrome/gulliver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleChrome/gulliver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleChrome/gulliver/teams","hooks_url":"https://api.github.com/repos/GoogleChrome/gulliver/hooks","issue_events_url":"https://api.github.com/repos/GoogleChrome/gulliver/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleChrome/gulliver/events","assignees_url":"https://api.github.com/repos/GoogleChrome/gulliver/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleChrome/gulliver/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleChrome/gulliver/tags","blobs_url":"https://api.github.com/repos/GoogleChrome/gulliver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleChrome/gulliver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleChrome/gulliver/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleChrome/gulliver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleChrome/gulliver/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleChrome/gulliver/languages","stargazers_url":"https://api.github.com/repos/GoogleChrome/gulliver/stargazers","contributors_url":"https://api.github.com/repos/GoogleChrome/gulliver/contributors","subscribers_url":"https://api.github.com/repos/GoogleChrome/gulliver/subscribers","subscription_url":"https://api.github.com/repos/GoogleChrome/gulliver/subscription","commits_url":"https://api.github.com/repos/GoogleChrome/gulliver/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleChrome/gulliver/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleChrome/gulliver/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleChrome/gulliver/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleChrome/gulliver/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleChrome/gulliver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleChrome/gulliver/merges","archive_url":"https://api.github.com/repos/GoogleChrome/gulliver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleChrome/gulliver/downloads","issues_url":"https://api.github.com/repos/GoogleChrome/gulliver/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleChrome/gulliver/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleChrome/gulliver/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleChrome/gulliver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleChrome/gulliver/labels{/name}","releases_url":"https://api.github.com/repos/GoogleChrome/gulliver/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleChrome/gulliver/deployments","created_at":"2016-07-12T10:03:03Z","updated_at":"2016-07-13T13:33:13Z","pushed_at":"2016-07-15T11:35:18Z","git_url":"git://github.com/GoogleChrome/gulliver.git","ssh_url":"git@github.com:GoogleChrome/gulliver.git","clone_url":"https://github.com/GoogleChrome/gulliver.git","svn_url":"https://github.com/GoogleChrome/gulliver","homepage":null,"size":34,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":7,"forks":2,"open_issues":7,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleChrome/gulliver/pulls/19"},"html":{"href":"https://github.com/GoogleChrome/gulliver/pull/19"},"issue":{"href":"https://api.github.com/repos/GoogleChrome/gulliver/issues/19"},"comments":{"href":"https://api.github.com/repos/GoogleChrome/gulliver/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleChrome/gulliver/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleChrome/gulliver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleChrome/gulliver/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleChrome/gulliver/statuses/502fe49fff9ae8609b74a8f31c0aab68d417a702"}}}}
{"actor":{"display_login":"ithinkihaveacat"}}