{"action":"created","comment":{"url":"https://api.github.com/repos/lukad03/loanly/pulls/comments/37716369","id":37716369,"diff_hunk":"@@ -0,0 +1,54 @@\n+var loanly = loanly || {};\n+\n+loanly.repaymentPlan = {\n+\n+  bindButtonClicks: function() {\n+    $(\".plan-action\").on(\"click\", function(e){\n+      e.preventDefault();\n+      loanly.repaymentPlan.selectAndSubmit($(this));\n+    })\n+  },\n+\n+  loadChart: function(self) {\n+    var id = \"#\" + $(self).attr(\"id\");\n+\n+    new Chartist.Line(id, {\n+      labels: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'],\n+      series: [\n+        [12, 9, 7, 8, 5]\n+      ]\n+    }, {\n+      axisX: { offset: 0, showLabel: false, showGrid: false },\n+      axisY: { offset: 0, showLabel: false, showGrid: false },\n+      fullWidth: true,\n+      height: \"80px\",\n+      showPoint: false,\n+    });\n+  },\n+\n+  loadCharts: function() {\n+    $('.repayment-plan-chart').each(function(){","path":"app/assets/javascripts/repayment-plan.js","position":30,"original_position":30,"commit_id":"fea243ffa55649e0c2f28332ca7c1eb1a07e970b","original_commit_id":"fea243ffa55649e0c2f28332ca7c1eb1a07e970b","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":"Mixed double and single quotes.","created_at":"2015-08-24T02:59:40Z","updated_at":"2015-08-24T02:59:40Z","html_url":"https://github.com/lukad03/loanly/pull/13#discussion_r37716369","pull_request_url":"https://api.github.com/repos/lukad03/loanly/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/lukad03/loanly/pulls/comments/37716369"},"html":{"href":"https://github.com/lukad03/loanly/pull/13#discussion_r37716369"},"pull_request":{"href":"https://api.github.com/repos/lukad03/loanly/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/lukad03/loanly/pulls/13","id":43136184,"html_url":"https://github.com/lukad03/loanly/pull/13","diff_url":"https://github.com/lukad03/loanly/pull/13.diff","patch_url":"https://github.com/lukad03/loanly/pull/13.patch","issue_url":"https://api.github.com/repos/lukad03/loanly/issues/13","number":13,"state":"open","locked":false,"title":"Repayment Plan Select Script","user":{"login":"lukad03","id":2506817,"avatar_url":"https://avatars.githubusercontent.com/u/2506817?v=3","gravatar_id":"","url":"https://api.github.com/users/lukad03","html_url":"https://github.com/lukad03","followers_url":"https://api.github.com/users/lukad03/followers","following_url":"https://api.github.com/users/lukad03/following{/other_user}","gists_url":"https://api.github.com/users/lukad03/gists{/gist_id}","starred_url":"https://api.github.com/users/lukad03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukad03/subscriptions","organizations_url":"https://api.github.com/users/lukad03/orgs","repos_url":"https://api.github.com/users/lukad03/repos","events_url":"https://api.github.com/users/lukad03/events{/privacy}","received_events_url":"https://api.github.com/users/lukad03/received_events","type":"User","site_admin":false},"body":"* Remove default inputs when JS is enabled\r\n* Add Modernizr to vendor scripts\r\n\r\n**TODO**\r\n\r\n* [ ] Write JS test for RepaymentPlan selection","created_at":"2015-08-24T02:59:29Z","updated_at":"2015-08-24T02:59:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9582fb34aa39d7c9e0b80f9dfca7334c638e0bd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lukad03/loanly/pulls/13/commits","review_comments_url":"https://api.github.com/repos/lukad03/loanly/pulls/13/comments","review_comment_url":"https://api.github.com/repos/lukad03/loanly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lukad03/loanly/issues/13/comments","statuses_url":"https://api.github.com/repos/lukad03/loanly/statuses/fea243ffa55649e0c2f28332ca7c1eb1a07e970b","head":{"label":"lukad03:lk-repayment-select-js","ref":"lk-repayment-select-js","sha":"fea243ffa55649e0c2f28332ca7c1eb1a07e970b","user":{"login":"lukad03","id":2506817,"avatar_url":"https://avatars.githubusercontent.com/u/2506817?v=3","gravatar_id":"","url":"https://api.github.com/users/lukad03","html_url":"https://github.com/lukad03","followers_url":"https://api.github.com/users/lukad03/followers","following_url":"https://api.github.com/users/lukad03/following{/other_user}","gists_url":"https://api.github.com/users/lukad03/gists{/gist_id}","starred_url":"https://api.github.com/users/lukad03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukad03/subscriptions","organizations_url":"https://api.github.com/users/lukad03/orgs","repos_url":"https://api.github.com/users/lukad03/repos","events_url":"https://api.github.com/users/lukad03/events{/privacy}","received_events_url":"https://api.github.com/users/lukad03/received_events","type":"User","site_admin":false},"repo":{"id":40622409,"name":"loanly","full_name":"lukad03/loanly","owner":{"login":"lukad03","id":2506817,"avatar_url":"https://avatars.githubusercontent.com/u/2506817?v=3","gravatar_id":"","url":"https://api.github.com/users/lukad03","html_url":"https://github.com/lukad03","followers_url":"https://api.github.com/users/lukad03/followers","following_url":"https://api.github.com/users/lukad03/following{/other_user}","gists_url":"https://api.github.com/users/lukad03/gists{/gist_id}","starred_url":"https://api.github.com/users/lukad03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukad03/subscriptions","organizations_url":"https://api.github.com/users/lukad03/orgs","repos_url":"https://api.github.com/users/lukad03/repos","events_url":"https://api.github.com/users/lukad03/events{/privacy}","received_events_url":"https://api.github.com/users/lukad03/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lukad03/loanly","description":"Student loan calculator and more.","fork":false,"url":"https://api.github.com/repos/lukad03/loanly","forks_url":"https://api.github.com/repos/lukad03/loanly/forks","keys_url":"https://api.github.com/repos/lukad03/loanly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lukad03/loanly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lukad03/loanly/teams","hooks_url":"https://api.github.com/repos/lukad03/loanly/hooks","issue_events_url":"https://api.github.com/repos/lukad03/loanly/issues/events{/number}","events_url":"https://api.github.com/repos/lukad03/loanly/events","assignees_url":"https://api.github.com/repos/lukad03/loanly/assignees{/user}","branches_url":"https://api.github.com/repos/lukad03/loanly/branches{/branch}","tags_url":"https://api.github.com/repos/lukad03/loanly/tags","blobs_url":"https://api.github.com/repos/lukad03/loanly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lukad03/loanly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lukad03/loanly/git/refs{/sha}","trees_url":"https://api.github.com/repos/lukad03/loanly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lukad03/loanly/statuses/{sha}","languages_url":"https://api.github.com/repos/lukad03/loanly/languages","stargazers_url":"https://api.github.com/repos/lukad03/loanly/stargazers","contributors_url":"https://api.github.com/repos/lukad03/loanly/contributors","subscribers_url":"https://api.github.com/repos/lukad03/loanly/subscribers","subscription_url":"https://api.github.com/repos/lukad03/loanly/subscription","commits_url":"https://api.github.com/repos/lukad03/loanly/commits{/sha}","git_commits_url":"https://api.github.com/repos/lukad03/loanly/git/commits{/sha}","comments_url":"https://api.github.com/repos/lukad03/loanly/comments{/number}","issue_comment_url":"https://api.github.com/repos/lukad03/loanly/issues/comments{/number}","contents_url":"https://api.github.com/repos/lukad03/loanly/contents/{+path}","compare_url":"https://api.github.com/repos/lukad03/loanly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lukad03/loanly/merges","archive_url":"https://api.github.com/repos/lukad03/loanly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lukad03/loanly/downloads","issues_url":"https://api.github.com/repos/lukad03/loanly/issues{/number}","pulls_url":"https://api.github.com/repos/lukad03/loanly/pulls{/number}","milestones_url":"https://api.github.com/repos/lukad03/loanly/milestones{/number}","notifications_url":"https://api.github.com/repos/lukad03/loanly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lukad03/loanly/labels{/name}","releases_url":"https://api.github.com/repos/lukad03/loanly/releases{/id}","created_at":"2015-08-12T20:23:17Z","updated_at":"2015-08-12T21:00:16Z","pushed_at":"2015-08-24T02:59:29Z","git_url":"git://github.com/lukad03/loanly.git","ssh_url":"git@github.com:lukad03/loanly.git","clone_url":"https://github.com/lukad03/loanly.git","svn_url":"https://github.com/lukad03/loanly","homepage":null,"size":2076,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"lukad03:master","ref":"master","sha":"edc31f7ccdc0ed6920a7530de90f2bbb07806231","user":{"login":"lukad03","id":2506817,"avatar_url":"https://avatars.githubusercontent.com/u/2506817?v=3","gravatar_id":"","url":"https://api.github.com/users/lukad03","html_url":"https://github.com/lukad03","followers_url":"https://api.github.com/users/lukad03/followers","following_url":"https://api.github.com/users/lukad03/following{/other_user}","gists_url":"https://api.github.com/users/lukad03/gists{/gist_id}","starred_url":"https://api.github.com/users/lukad03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukad03/subscriptions","organizations_url":"https://api.github.com/users/lukad03/orgs","repos_url":"https://api.github.com/users/lukad03/repos","events_url":"https://api.github.com/users/lukad03/events{/privacy}","received_events_url":"https://api.github.com/users/lukad03/received_events","type":"User","site_admin":false},"repo":{"id":40622409,"name":"loanly","full_name":"lukad03/loanly","owner":{"login":"lukad03","id":2506817,"avatar_url":"https://avatars.githubusercontent.com/u/2506817?v=3","gravatar_id":"","url":"https://api.github.com/users/lukad03","html_url":"https://github.com/lukad03","followers_url":"https://api.github.com/users/lukad03/followers","following_url":"https://api.github.com/users/lukad03/following{/other_user}","gists_url":"https://api.github.com/users/lukad03/gists{/gist_id}","starred_url":"https://api.github.com/users/lukad03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukad03/subscriptions","organizations_url":"https://api.github.com/users/lukad03/orgs","repos_url":"https://api.github.com/users/lukad03/repos","events_url":"https://api.github.com/users/lukad03/events{/privacy}","received_events_url":"https://api.github.com/users/lukad03/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lukad03/loanly","description":"Student loan calculator and more.","fork":false,"url":"https://api.github.com/repos/lukad03/loanly","forks_url":"https://api.github.com/repos/lukad03/loanly/forks","keys_url":"https://api.github.com/repos/lukad03/loanly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lukad03/loanly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lukad03/loanly/teams","hooks_url":"https://api.github.com/repos/lukad03/loanly/hooks","issue_events_url":"https://api.github.com/repos/lukad03/loanly/issues/events{/number}","events_url":"https://api.github.com/repos/lukad03/loanly/events","assignees_url":"https://api.github.com/repos/lukad03/loanly/assignees{/user}","branches_url":"https://api.github.com/repos/lukad03/loanly/branches{/branch}","tags_url":"https://api.github.com/repos/lukad03/loanly/tags","blobs_url":"https://api.github.com/repos/lukad03/loanly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lukad03/loanly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lukad03/loanly/git/refs{/sha}","trees_url":"https://api.github.com/repos/lukad03/loanly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lukad03/loanly/statuses/{sha}","languages_url":"https://api.github.com/repos/lukad03/loanly/languages","stargazers_url":"https://api.github.com/repos/lukad03/loanly/stargazers","contributors_url":"https://api.github.com/repos/lukad03/loanly/contributors","subscribers_url":"https://api.github.com/repos/lukad03/loanly/subscribers","subscription_url":"https://api.github.com/repos/lukad03/loanly/subscription","commits_url":"https://api.github.com/repos/lukad03/loanly/commits{/sha}","git_commits_url":"https://api.github.com/repos/lukad03/loanly/git/commits{/sha}","comments_url":"https://api.github.com/repos/lukad03/loanly/comments{/number}","issue_comment_url":"https://api.github.com/repos/lukad03/loanly/issues/comments{/number}","contents_url":"https://api.github.com/repos/lukad03/loanly/contents/{+path}","compare_url":"https://api.github.com/repos/lukad03/loanly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lukad03/loanly/merges","archive_url":"https://api.github.com/repos/lukad03/loanly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lukad03/loanly/downloads","issues_url":"https://api.github.com/repos/lukad03/loanly/issues{/number}","pulls_url":"https://api.github.com/repos/lukad03/loanly/pulls{/number}","milestones_url":"https://api.github.com/repos/lukad03/loanly/milestones{/number}","notifications_url":"https://api.github.com/repos/lukad03/loanly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lukad03/loanly/labels{/name}","releases_url":"https://api.github.com/repos/lukad03/loanly/releases{/id}","created_at":"2015-08-12T20:23:17Z","updated_at":"2015-08-12T21:00:16Z","pushed_at":"2015-08-24T02:59:29Z","git_url":"git://github.com/lukad03/loanly.git","ssh_url":"git@github.com:lukad03/loanly.git","clone_url":"https://github.com/lukad03/loanly.git","svn_url":"https://github.com/lukad03/loanly","homepage":null,"size":2076,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lukad03/loanly/pulls/13"},"html":{"href":"https://github.com/lukad03/loanly/pull/13"},"issue":{"href":"https://api.github.com/repos/lukad03/loanly/issues/13"},"comments":{"href":"https://api.github.com/repos/lukad03/loanly/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/lukad03/loanly/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/lukad03/loanly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lukad03/loanly/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/lukad03/loanly/statuses/fea243ffa55649e0c2f28332ca7c1eb1a07e970b"}}}}