{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/comments/38029916","id":38029916,"diff_hunk":"@@ -0,0 +1,63 @@\n+require.config({\n+  baseUrl: \"/homepage/scripts\",\n+  paths: {\n+    \"jquery\": \"/bower/jquery/index\",\n+    \"localized\": \"/bower/webmaker-i18n/localized\",\n+    \"uuid\": \"/bower/node-uuid/uuid\",\n+    \"cookies\": \"/bower/cookies-js/dist/cookies\"\n+  },\n+  shim: {\n+    \"jquery\": {\n+      exports: \"$\"\n+    }\n+  }\n+});\n+\n+// At this point, all the homepage needs is handlers for the login/logout\n+// flow. If more needs to be added, the logic should be factored out into\n+// separate modules, each of which would be initialized here.\n+// See: public/editor/scripts/main.js\n+function init($, uuid, cookies) {\n+  var joinEl = $('#signup-link');\n+  var loginEl = $('#login-link');\n+  var loginUrl = loginEl.attr(\"data-loginUrl\");\n+\n+  function signIn(newUser) {","path":"public/homepage/scripts/main.js","position":25,"original_position":25,"commit_id":"bdd5d5120874b2f63a06188770e1fbcaf652988a","original_commit_id":"bdd5d5120874b2f63a06188770e1fbcaf652988a","user":{"login":"sedge","id":1616860,"avatar_url":"https://avatars.githubusercontent.com/u/1616860?v=3","gravatar_id":"","url":"https://api.github.com/users/sedge","html_url":"https://github.com/sedge","followers_url":"https://api.github.com/users/sedge/followers","following_url":"https://api.github.com/users/sedge/following{/other_user}","gists_url":"https://api.github.com/users/sedge/gists{/gist_id}","starred_url":"https://api.github.com/users/sedge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sedge/subscriptions","organizations_url":"https://api.github.com/users/sedge/orgs","repos_url":"https://api.github.com/users/sedge/repos","events_url":"https://api.github.com/users/sedge/events{/privacy}","received_events_url":"https://api.github.com/users/sedge/received_events","type":"User","site_admin":false},"body":"Ah good catch. Auth needs to be removed entirely","created_at":"2015-08-26T20:21:51Z","updated_at":"2015-08-26T20:21:51Z","html_url":"https://github.com/mozilla/thimble.webmaker.org/pull/922#discussion_r38029916","pull_request_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/922","_links":{"self":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/comments/38029916"},"html":{"href":"https://github.com/mozilla/thimble.webmaker.org/pull/922#discussion_r38029916"},"pull_request":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/922"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/922","id":43328562,"html_url":"https://github.com/mozilla/thimble.webmaker.org/pull/922","diff_url":"https://github.com/mozilla/thimble.webmaker.org/pull/922.diff","patch_url":"https://github.com/mozilla/thimble.webmaker.org/pull/922.patch","issue_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/922","number":922,"state":"open","locked":false,"title":"Fixed issue #697 - Add the thimble homepage","user":{"login":"sedge","id":1616860,"avatar_url":"https://avatars.githubusercontent.com/u/1616860?v=3","gravatar_id":"","url":"https://api.github.com/users/sedge","html_url":"https://github.com/sedge","followers_url":"https://api.github.com/users/sedge/followers","following_url":"https://api.github.com/users/sedge/following{/other_user}","gists_url":"https://api.github.com/users/sedge/gists{/gist_id}","starred_url":"https://api.github.com/users/sedge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sedge/subscriptions","organizations_url":"https://api.github.com/users/sedge/orgs","repos_url":"https://api.github.com/users/sedge/repos","events_url":"https://api.github.com/users/sedge/events{/privacy}","received_events_url":"https://api.github.com/users/sedge/received_events","type":"User","site_admin":false},"body":"This is ready for a proper review.","created_at":"2015-08-25T19:50:43Z","updated_at":"2015-08-26T20:21:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc952d250fe51245d114b1ec3c099c9905fc97f1","assignee":{"login":"sedge","id":1616860,"avatar_url":"https://avatars.githubusercontent.com/u/1616860?v=3","gravatar_id":"","url":"https://api.github.com/users/sedge","html_url":"https://github.com/sedge","followers_url":"https://api.github.com/users/sedge/followers","following_url":"https://api.github.com/users/sedge/following{/other_user}","gists_url":"https://api.github.com/users/sedge/gists{/gist_id}","starred_url":"https://api.github.com/users/sedge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sedge/subscriptions","organizations_url":"https://api.github.com/users/sedge/orgs","repos_url":"https://api.github.com/users/sedge/repos","events_url":"https://api.github.com/users/sedge/events{/privacy}","received_events_url":"https://api.github.com/users/sedge/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/milestones/8","html_url":"https://github.com/mozilla/thimble.webmaker.org/milestones/MVP","labels_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/milestones/8/labels","id":1220353,"number":8,"title":"MVP","description":"Everything we need to launch the new Thimble","creator":{"login":"humphd","id":427398,"avatar_url":"https://avatars.githubusercontent.com/u/427398?v=3","gravatar_id":"","url":"https://api.github.com/users/humphd","html_url":"https://github.com/humphd","followers_url":"https://api.github.com/users/humphd/followers","following_url":"https://api.github.com/users/humphd/following{/other_user}","gists_url":"https://api.github.com/users/humphd/gists{/gist_id}","starred_url":"https://api.github.com/users/humphd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humphd/subscriptions","organizations_url":"https://api.github.com/users/humphd/orgs","repos_url":"https://api.github.com/users/humphd/repos","events_url":"https://api.github.com/users/humphd/events{/privacy}","received_events_url":"https://api.github.com/users/humphd/received_events","type":"User","site_admin":false},"open_issues":53,"closed_issues":67,"state":"open","created_at":"2015-07-22T14:29:55Z","updated_at":"2015-08-26T18:48:40Z","due_on":"2015-08-28T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/922/commits","review_comments_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/922/comments","review_comment_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/922/comments","statuses_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/statuses/bdd5d5120874b2f63a06188770e1fbcaf652988a","head":{"label":"sedge:issue697-thimbleHomepage","ref":"issue697-thimbleHomepage","sha":"bdd5d5120874b2f63a06188770e1fbcaf652988a","user":{"login":"sedge","id":1616860,"avatar_url":"https://avatars.githubusercontent.com/u/1616860?v=3","gravatar_id":"","url":"https://api.github.com/users/sedge","html_url":"https://github.com/sedge","followers_url":"https://api.github.com/users/sedge/followers","following_url":"https://api.github.com/users/sedge/following{/other_user}","gists_url":"https://api.github.com/users/sedge/gists{/gist_id}","starred_url":"https://api.github.com/users/sedge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sedge/subscriptions","organizations_url":"https://api.github.com/users/sedge/orgs","repos_url":"https://api.github.com/users/sedge/repos","events_url":"https://api.github.com/users/sedge/events{/privacy}","received_events_url":"https://api.github.com/users/sedge/received_events","type":"User","site_admin":false},"repo":{"id":9838309,"name":"thimble.webmaker.org","full_name":"sedge/thimble.webmaker.org","owner":{"login":"sedge","id":1616860,"avatar_url":"https://avatars.githubusercontent.com/u/1616860?v=3","gravatar_id":"","url":"https://api.github.com/users/sedge","html_url":"https://github.com/sedge","followers_url":"https://api.github.com/users/sedge/followers","following_url":"https://api.github.com/users/sedge/following{/other_user}","gists_url":"https://api.github.com/users/sedge/gists{/gist_id}","starred_url":"https://api.github.com/users/sedge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sedge/subscriptions","organizations_url":"https://api.github.com/users/sedge/orgs","repos_url":"https://api.github.com/users/sedge/repos","events_url":"https://api.github.com/users/sedge/events{/privacy}","received_events_url":"https://api.github.com/users/sedge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sedge/thimble.webmaker.org","description":"a minimal thimble on node.js POC","fork":true,"url":"https://api.github.com/repos/sedge/thimble.webmaker.org","forks_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/forks","keys_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/teams","hooks_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/hooks","issue_events_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/issues/events{/number}","events_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/events","assignees_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/assignees{/user}","branches_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/branches{/branch}","tags_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/tags","blobs_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/statuses/{sha}","languages_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/languages","stargazers_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/stargazers","contributors_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/contributors","subscribers_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/subscribers","subscription_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/subscription","commits_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/contents/{+path}","compare_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/merges","archive_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/downloads","issues_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/issues{/number}","pulls_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/pulls{/number}","milestones_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/milestones{/number}","notifications_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/labels{/name}","releases_url":"https://api.github.com/repos/sedge/thimble.webmaker.org/releases{/id}","created_at":"2013-05-03T15:01:51Z","updated_at":"2015-07-28T15:21:44Z","pushed_at":"2015-08-26T20:14:11Z","git_url":"git://github.com/sedge/thimble.webmaker.org.git","ssh_url":"git@github.com:sedge/thimble.webmaker.org.git","clone_url":"https://github.com/sedge/thimble.webmaker.org.git","svn_url":"https://github.com/sedge/thimble.webmaker.org","homepage":null,"size":18305,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":0,"default_branch":"bramble"}},"base":{"label":"mozilla:bramble","ref":"bramble","sha":"ca5546ada16d4a5478d43fe20c5632175456babc","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":9349840,"name":"thimble.webmaker.org","full_name":"mozilla/thimble.webmaker.org","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/thimble.webmaker.org","description":"Thimble coding editor","fork":false,"url":"https://api.github.com/repos/mozilla/thimble.webmaker.org","forks_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/forks","keys_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/teams","hooks_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/hooks","issue_events_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/events","assignees_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/tags","blobs_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/languages","stargazers_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/stargazers","contributors_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/contributors","subscribers_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/subscribers","subscription_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/subscription","commits_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/merges","archive_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/downloads","issues_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/releases{/id}","created_at":"2013-04-10T15:54:34Z","updated_at":"2015-08-21T22:46:48Z","pushed_at":"2015-08-26T20:14:12Z","git_url":"git://github.com/mozilla/thimble.webmaker.org.git","ssh_url":"git@github.com:mozilla/thimble.webmaker.org.git","clone_url":"https://github.com/mozilla/thimble.webmaker.org.git","svn_url":"https://github.com/mozilla/thimble.webmaker.org","homepage":"thimble.webmaker.org","size":22688,"stargazers_count":73,"watchers_count":73,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":114,"forks":71,"open_issues":114,"watchers":73,"default_branch":"bramble"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/922"},"html":{"href":"https://github.com/mozilla/thimble.webmaker.org/pull/922"},"issue":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/922"},"comments":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/922/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/922/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/922/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/statuses/bdd5d5120874b2f63a06188770e1fbcaf652988a"}}}}