{"action":"created","comment":{"url":"https://api.github.com/repos/N8Goodman/book_store_app/pulls/comments/59878956","id":59878956,"diff_hunk":"@@ -0,0 +1,107 @@\n+/*\n+ * Konami-JS ~\n+ * :: Now with support for touch events and multiple instances for\n+ * :: those situations that call for multiple easter eggs!\n+ * Code: http://konami-js.googlecode.com/\n+ * Examples: http://www.snaptortoise.com/konami-js\n+ * Copyright (c) 2009 George Mandis (georgemandis.com, snaptortoise.com)\n+ * Version: 1.4.5 (3/2/2016)\n+ * Licensed under the MIT License (http://opensource.org/licenses/MIT)\n+ * Tested in: Safari 4+, Google Chrome 4+, Firefox 3+, IE7+, Mobile Safari 2.2.1 and Dolphin Browser\n+ */\n+\n+var Konami = function (callback) {\n+\tvar konami = {\n+\t\taddEvent: function (obj, type, fn, ref_obj) {\n+\t\t\tif (obj.addEventListener)\n+\t\t\t\tobj.addEventListener(type, fn, false);\n+\t\t\telse if (obj.attachEvent) {\n+\t\t\t\t// IE\n+\t\t\t\tobj[\"e\" + type + fn] = fn;\n+\t\t\t\tobj[type + fn] = function () {\n+\t\t\t\t\tobj[\"e\" + type + fn](window.event, ref_obj);\n+\t\t\t\t}\n+\t\t\t\tobj.attachEvent(\"on\" + type, obj[type + fn]);\n+\t\t\t}\n+\t\t},\n+\t\tinput: \"\",\n+\t\tpattern: \"38384040373937396665\",\n+\t\tload: function (link) {\n+\t\t\tthis.addEvent(document, \"keydown\", function (e, ref_obj) {\n+\t\t\t\tif (ref_obj) konami = ref_obj; // IE\n+\t\t\t\tkonami.input += e ? e.keyCode : event.keyCode;\n+\t\t\t\tif (konami.input.length > konami.pattern.length)\n+\t\t\t\t\tkonami.input = konami.input.substr((konami.input.length - konami.pattern.length));\n+\t\t\t\tif (konami.input == konami.pattern) {\n+\t\t\t\t\tkonami.code(link);\n+\t\t\t\t\tkonami.input = \"\";\n+\t\t\t\t\te.preventDefault();\n+\t\t\t\t\treturn false;\n+\t\t\t\t}\n+\t\t\t}, this);\n+\t\t\tthis.iphone.load(link);\n+\t\t},\n+\t\tcode: function (link) {\n+\t\t\twindow.location = link\n+\t\t},\n+\t\tiphone: {\n+\t\t\tstart_x: 0,\n+\t\t\tstart_y: 0,\n+\t\t\tstop_x: 0,\n+\t\t\tstop_y: 0,\n+\t\t\ttap: false,\n+\t\t\tcapture: false,\n+\t\t\torig_keys: \"\",\n+\t\t\tkeys: [\"UP\", \"UP\", \"DOWN\", \"DOWN\", \"LEFT\", \"RIGHT\", \"LEFT\", \"RIGHT\", \"TAP\", \"TAP\"],\n+\t\t\tcode: function (link) {\n+\t\t\t\tkonami.code(link);\n+\t\t\t},\n+\t\t\tload: function (link) {\n+\t\t\t\tthis.orig_keys = this.keys;\n+\t\t\t\tkonami.addEvent(document, \"touchmove\", function (e) {\n+\t\t\t\t\tif (e.touches.length == 1 && konami.iphone.capture == true) {\n+\t\t\t\t\t\tvar touch = e.touches[0];\n+\t\t\t\t\t\tkonami.iphone.stop_x = touch.pageX;\n+\t\t\t\t\t\tkonami.iphone.stop_y = touch.pageY;\n+\t\t\t\t\t\tkonami.iphone.tap = false;\n+\t\t\t\t\t\tkonami.iphone.capture = false;\n+\t\t\t\t\t\tkonami.iphone.check_direction();\n+\t\t\t\t\t}\n+\t\t\t\t});\n+\t\t\t\tkonami.addEvent(document, \"touchend\", function (evt) {\n+\t\t\t\t\tif (konami.iphone.tap == true) konami.iphone.check_direction(link);\n+\t\t\t\t}, false);\n+\t\t\t\tkonami.addEvent(document, \"touchstart\", function (evt) {\n+\t\t\t\t\tkonami.iphone.start_x = evt.changedTouches[0].pageX;\n+\t\t\t\t\tkonami.iphone.start_y = evt.changedTouches[0].pageY;","path":"app/assets/javascripts/konami.js","position":76,"original_position":76,"commit_id":"fba2d6a4f958d9fd8a7b8e1eaa819ee0689350c5","original_commit_id":"fba2d6a4f958d9fd8a7b8e1eaa819ee0689350c5","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Identifier 'start_y' is not in camel case.","created_at":"2016-04-15T14:06:33Z","updated_at":"2016-04-15T14:06:33Z","html_url":"https://github.com/N8Goodman/book_store_app/pull/32#discussion_r59878956","pull_request_url":"https://api.github.com/repos/N8Goodman/book_store_app/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/N8Goodman/book_store_app/pulls/comments/59878956"},"html":{"href":"https://github.com/N8Goodman/book_store_app/pull/32#discussion_r59878956"},"pull_request":{"href":"https://api.github.com/repos/N8Goodman/book_store_app/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/N8Goodman/book_store_app/pulls/32","id":66647952,"html_url":"https://github.com/N8Goodman/book_store_app/pull/32","diff_url":"https://github.com/N8Goodman/book_store_app/pull/32.diff","patch_url":"https://github.com/N8Goodman/book_store_app/pull/32.patch","issue_url":"https://api.github.com/repos/N8Goodman/book_store_app/issues/32","number":32,"state":"open","locked":false,"title":"Styling 04 14 16","user":{"login":"ashhamp","id":16440596,"avatar_url":"https://avatars.githubusercontent.com/u/16440596?v=3","gravatar_id":"","url":"https://api.github.com/users/ashhamp","html_url":"https://github.com/ashhamp","followers_url":"https://api.github.com/users/ashhamp/followers","following_url":"https://api.github.com/users/ashhamp/following{/other_user}","gists_url":"https://api.github.com/users/ashhamp/gists{/gist_id}","starred_url":"https://api.github.com/users/ashhamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashhamp/subscriptions","organizations_url":"https://api.github.com/users/ashhamp/orgs","repos_url":"https://api.github.com/users/ashhamp/repos","events_url":"https://api.github.com/users/ashhamp/events{/privacy}","received_events_url":"https://api.github.com/users/ashhamp/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-15T14:06:22Z","updated_at":"2016-04-15T14:06:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e01d2d3bb97fdddd75557b2ec0c2a0d445e00c33","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/N8Goodman/book_store_app/pulls/32/commits","review_comments_url":"https://api.github.com/repos/N8Goodman/book_store_app/pulls/32/comments","review_comment_url":"https://api.github.com/repos/N8Goodman/book_store_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/N8Goodman/book_store_app/issues/32/comments","statuses_url":"https://api.github.com/repos/N8Goodman/book_store_app/statuses/fba2d6a4f958d9fd8a7b8e1eaa819ee0689350c5","head":{"label":"N8Goodman:styling-04-14-16","ref":"styling-04-14-16","sha":"fba2d6a4f958d9fd8a7b8e1eaa819ee0689350c5","user":{"login":"N8Goodman","id":16329644,"avatar_url":"https://avatars.githubusercontent.com/u/16329644?v=3","gravatar_id":"","url":"https://api.github.com/users/N8Goodman","html_url":"https://github.com/N8Goodman","followers_url":"https://api.github.com/users/N8Goodman/followers","following_url":"https://api.github.com/users/N8Goodman/following{/other_user}","gists_url":"https://api.github.com/users/N8Goodman/gists{/gist_id}","starred_url":"https://api.github.com/users/N8Goodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/N8Goodman/subscriptions","organizations_url":"https://api.github.com/users/N8Goodman/orgs","repos_url":"https://api.github.com/users/N8Goodman/repos","events_url":"https://api.github.com/users/N8Goodman/events{/privacy}","received_events_url":"https://api.github.com/users/N8Goodman/received_events","type":"User","site_admin":false},"repo":{"id":55437798,"name":"book_store_app","full_name":"N8Goodman/book_store_app","owner":{"login":"N8Goodman","id":16329644,"avatar_url":"https://avatars.githubusercontent.com/u/16329644?v=3","gravatar_id":"","url":"https://api.github.com/users/N8Goodman","html_url":"https://github.com/N8Goodman","followers_url":"https://api.github.com/users/N8Goodman/followers","following_url":"https://api.github.com/users/N8Goodman/following{/other_user}","gists_url":"https://api.github.com/users/N8Goodman/gists{/gist_id}","starred_url":"https://api.github.com/users/N8Goodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/N8Goodman/subscriptions","organizations_url":"https://api.github.com/users/N8Goodman/orgs","repos_url":"https://api.github.com/users/N8Goodman/repos","events_url":"https://api.github.com/users/N8Goodman/events{/privacy}","received_events_url":"https://api.github.com/users/N8Goodman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/N8Goodman/book_store_app","description":null,"fork":false,"url":"https://api.github.com/repos/N8Goodman/book_store_app","forks_url":"https://api.github.com/repos/N8Goodman/book_store_app/forks","keys_url":"https://api.github.com/repos/N8Goodman/book_store_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/N8Goodman/book_store_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/N8Goodman/book_store_app/teams","hooks_url":"https://api.github.com/repos/N8Goodman/book_store_app/hooks","issue_events_url":"https://api.github.com/repos/N8Goodman/book_store_app/issues/events{/number}","events_url":"https://api.github.com/repos/N8Goodman/book_store_app/events","assignees_url":"https://api.github.com/repos/N8Goodman/book_store_app/assignees{/user}","branches_url":"https://api.github.com/repos/N8Goodman/book_store_app/branches{/branch}","tags_url":"https://api.github.com/repos/N8Goodman/book_store_app/tags","blobs_url":"https://api.github.com/repos/N8Goodman/book_store_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/N8Goodman/book_store_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/N8Goodman/book_store_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/N8Goodman/book_store_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/N8Goodman/book_store_app/statuses/{sha}","languages_url":"https://api.github.com/repos/N8Goodman/book_store_app/languages","stargazers_url":"https://api.github.com/repos/N8Goodman/book_store_app/stargazers","contributors_url":"https://api.github.com/repos/N8Goodman/book_store_app/contributors","subscribers_url":"https://api.github.com/repos/N8Goodman/book_store_app/subscribers","subscription_url":"https://api.github.com/repos/N8Goodman/book_store_app/subscription","commits_url":"https://api.github.com/repos/N8Goodman/book_store_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/N8Goodman/book_store_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/N8Goodman/book_store_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/N8Goodman/book_store_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/N8Goodman/book_store_app/contents/{+path}","compare_url":"https://api.github.com/repos/N8Goodman/book_store_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/N8Goodman/book_store_app/merges","archive_url":"https://api.github.com/repos/N8Goodman/book_store_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/N8Goodman/book_store_app/downloads","issues_url":"https://api.github.com/repos/N8Goodman/book_store_app/issues{/number}","pulls_url":"https://api.github.com/repos/N8Goodman/book_store_app/pulls{/number}","milestones_url":"https://api.github.com/repos/N8Goodman/book_store_app/milestones{/number}","notifications_url":"https://api.github.com/repos/N8Goodman/book_store_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/N8Goodman/book_store_app/labels{/name}","releases_url":"https://api.github.com/repos/N8Goodman/book_store_app/releases{/id}","deployments_url":"https://api.github.com/repos/N8Goodman/book_store_app/deployments","created_at":"2016-04-04T19:11:25Z","updated_at":"2016-04-04T19:11:38Z","pushed_at":"2016-04-15T14:06:23Z","git_url":"git://github.com/N8Goodman/book_store_app.git","ssh_url":"git@github.com:N8Goodman/book_store_app.git","clone_url":"https://github.com/N8Goodman/book_store_app.git","svn_url":"https://github.com/N8Goodman/book_store_app","homepage":null,"size":3014,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"N8Goodman:master","ref":"master","sha":"d7dcc5b94d09a537da921b90a0cfa0d83018844c","user":{"login":"N8Goodman","id":16329644,"avatar_url":"https://avatars.githubusercontent.com/u/16329644?v=3","gravatar_id":"","url":"https://api.github.com/users/N8Goodman","html_url":"https://github.com/N8Goodman","followers_url":"https://api.github.com/users/N8Goodman/followers","following_url":"https://api.github.com/users/N8Goodman/following{/other_user}","gists_url":"https://api.github.com/users/N8Goodman/gists{/gist_id}","starred_url":"https://api.github.com/users/N8Goodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/N8Goodman/subscriptions","organizations_url":"https://api.github.com/users/N8Goodman/orgs","repos_url":"https://api.github.com/users/N8Goodman/repos","events_url":"https://api.github.com/users/N8Goodman/events{/privacy}","received_events_url":"https://api.github.com/users/N8Goodman/received_events","type":"User","site_admin":false},"repo":{"id":55437798,"name":"book_store_app","full_name":"N8Goodman/book_store_app","owner":{"login":"N8Goodman","id":16329644,"avatar_url":"https://avatars.githubusercontent.com/u/16329644?v=3","gravatar_id":"","url":"https://api.github.com/users/N8Goodman","html_url":"https://github.com/N8Goodman","followers_url":"https://api.github.com/users/N8Goodman/followers","following_url":"https://api.github.com/users/N8Goodman/following{/other_user}","gists_url":"https://api.github.com/users/N8Goodman/gists{/gist_id}","starred_url":"https://api.github.com/users/N8Goodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/N8Goodman/subscriptions","organizations_url":"https://api.github.com/users/N8Goodman/orgs","repos_url":"https://api.github.com/users/N8Goodman/repos","events_url":"https://api.github.com/users/N8Goodman/events{/privacy}","received_events_url":"https://api.github.com/users/N8Goodman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/N8Goodman/book_store_app","description":null,"fork":false,"url":"https://api.github.com/repos/N8Goodman/book_store_app","forks_url":"https://api.github.com/repos/N8Goodman/book_store_app/forks","keys_url":"https://api.github.com/repos/N8Goodman/book_store_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/N8Goodman/book_store_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/N8Goodman/book_store_app/teams","hooks_url":"https://api.github.com/repos/N8Goodman/book_store_app/hooks","issue_events_url":"https://api.github.com/repos/N8Goodman/book_store_app/issues/events{/number}","events_url":"https://api.github.com/repos/N8Goodman/book_store_app/events","assignees_url":"https://api.github.com/repos/N8Goodman/book_store_app/assignees{/user}","branches_url":"https://api.github.com/repos/N8Goodman/book_store_app/branches{/branch}","tags_url":"https://api.github.com/repos/N8Goodman/book_store_app/tags","blobs_url":"https://api.github.com/repos/N8Goodman/book_store_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/N8Goodman/book_store_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/N8Goodman/book_store_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/N8Goodman/book_store_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/N8Goodman/book_store_app/statuses/{sha}","languages_url":"https://api.github.com/repos/N8Goodman/book_store_app/languages","stargazers_url":"https://api.github.com/repos/N8Goodman/book_store_app/stargazers","contributors_url":"https://api.github.com/repos/N8Goodman/book_store_app/contributors","subscribers_url":"https://api.github.com/repos/N8Goodman/book_store_app/subscribers","subscription_url":"https://api.github.com/repos/N8Goodman/book_store_app/subscription","commits_url":"https://api.github.com/repos/N8Goodman/book_store_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/N8Goodman/book_store_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/N8Goodman/book_store_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/N8Goodman/book_store_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/N8Goodman/book_store_app/contents/{+path}","compare_url":"https://api.github.com/repos/N8Goodman/book_store_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/N8Goodman/book_store_app/merges","archive_url":"https://api.github.com/repos/N8Goodman/book_store_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/N8Goodman/book_store_app/downloads","issues_url":"https://api.github.com/repos/N8Goodman/book_store_app/issues{/number}","pulls_url":"https://api.github.com/repos/N8Goodman/book_store_app/pulls{/number}","milestones_url":"https://api.github.com/repos/N8Goodman/book_store_app/milestones{/number}","notifications_url":"https://api.github.com/repos/N8Goodman/book_store_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/N8Goodman/book_store_app/labels{/name}","releases_url":"https://api.github.com/repos/N8Goodman/book_store_app/releases{/id}","deployments_url":"https://api.github.com/repos/N8Goodman/book_store_app/deployments","created_at":"2016-04-04T19:11:25Z","updated_at":"2016-04-04T19:11:38Z","pushed_at":"2016-04-15T14:06:23Z","git_url":"git://github.com/N8Goodman/book_store_app.git","ssh_url":"git@github.com:N8Goodman/book_store_app.git","clone_url":"https://github.com/N8Goodman/book_store_app.git","svn_url":"https://github.com/N8Goodman/book_store_app","homepage":null,"size":3014,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/N8Goodman/book_store_app/pulls/32"},"html":{"href":"https://github.com/N8Goodman/book_store_app/pull/32"},"issue":{"href":"https://api.github.com/repos/N8Goodman/book_store_app/issues/32"},"comments":{"href":"https://api.github.com/repos/N8Goodman/book_store_app/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/N8Goodman/book_store_app/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/N8Goodman/book_store_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/N8Goodman/book_store_app/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/N8Goodman/book_store_app/statuses/fba2d6a4f958d9fd8a7b8e1eaa819ee0689350c5"}}}}