{"action":"created","comment":{"url":"https://api.github.com/repos/timekit-io/booking-js/pulls/comments/103683404","pull_request_review_id":24477079,"id":103683404,"diff_hunk":"@@ -321,15 +381,17 @@ function TimekitBooking() {\n       formFields: fieldsTemplate\n     }));\n \n+    var form = bookingPageTarget.children('.bookingjs-form');\n+\n     bookingPageTarget.children('.bookingjs-bookpage-close').click(function(e) {\n       e.preventDefault();\n       hideBookingPage();\n+      var bookingHasBeenCreated = $(form).hasClass('success');\n+      if (bookingHasBeenCreated) getAvailability();","path":"src/main.js","position":142,"original_position":142,"commit_id":"0b5f281198c2eba0b98f9512557367ac2f5f4209","original_commit_id":"0b5f281198c2eba0b98f9512557367ac2f5f4209","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars2.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Expected '{' and instead saw 'getAvailability'.](https://www.codacy.com/app/laander/booking-js/pullRequest?prid=356998)","created_at":"2017-03-01T13:34:02Z","updated_at":"2017-03-01T13:34:03Z","html_url":"https://github.com/timekit-io/booking-js/pull/113#discussion_r103683404","pull_request_url":"https://api.github.com/repos/timekit-io/booking-js/pulls/113","_links":{"self":{"href":"https://api.github.com/repos/timekit-io/booking-js/pulls/comments/103683404"},"html":{"href":"https://github.com/timekit-io/booking-js/pull/113#discussion_r103683404"},"pull_request":{"href":"https://api.github.com/repos/timekit-io/booking-js/pulls/113"}}},"pull_request":{"url":"https://api.github.com/repos/timekit-io/booking-js/pulls/113","id":86694642,"html_url":"https://github.com/timekit-io/booking-js/pull/113","diff_url":"https://github.com/timekit-io/booking-js/pull/113.diff","patch_url":"https://github.com/timekit-io/booking-js/pull/113.patch","issue_url":"https://api.github.com/repos/timekit-io/booking-js/issues/113","number":113,"state":"open","locked":false,"title":"Group bookings WIP","user":{"login":"laander","id":222419,"avatar_url":"https://avatars1.githubusercontent.com/u/222419?v=3","gravatar_id":"","url":"https://api.github.com/users/laander","html_url":"https://github.com/laander","followers_url":"https://api.github.com/users/laander/followers","following_url":"https://api.github.com/users/laander/following{/other_user}","gists_url":"https://api.github.com/users/laander/gists{/gist_id}","starred_url":"https://api.github.com/users/laander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laander/subscriptions","organizations_url":"https://api.github.com/users/laander/orgs","repos_url":"https://api.github.com/users/laander/repos","events_url":"https://api.github.com/users/laander/events{/privacy}","received_events_url":"https://api.github.com/users/laander/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-26T07:42:40Z","updated_at":"2017-03-01T13:34:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99ed8790040f22d2e8b8d9270060dc7d085c49f1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/timekit-io/booking-js/pulls/113/commits","review_comments_url":"https://api.github.com/repos/timekit-io/booking-js/pulls/113/comments","review_comment_url":"https://api.github.com/repos/timekit-io/booking-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/timekit-io/booking-js/issues/113/comments","statuses_url":"https://api.github.com/repos/timekit-io/booking-js/statuses/0b5f281198c2eba0b98f9512557367ac2f5f4209","head":{"label":"timekit-io:group-bookings","ref":"group-bookings","sha":"0b5f281198c2eba0b98f9512557367ac2f5f4209","user":{"login":"timekit-io","id":10514150,"avatar_url":"https://avatars2.githubusercontent.com/u/10514150?v=3","gravatar_id":"","url":"https://api.github.com/users/timekit-io","html_url":"https://github.com/timekit-io","followers_url":"https://api.github.com/users/timekit-io/followers","following_url":"https://api.github.com/users/timekit-io/following{/other_user}","gists_url":"https://api.github.com/users/timekit-io/gists{/gist_id}","starred_url":"https://api.github.com/users/timekit-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timekit-io/subscriptions","organizations_url":"https://api.github.com/users/timekit-io/orgs","repos_url":"https://api.github.com/users/timekit-io/repos","events_url":"https://api.github.com/users/timekit-io/events{/privacy}","received_events_url":"https://api.github.com/users/timekit-io/received_events","type":"Organization","site_admin":false},"repo":{"id":44744780,"name":"booking-js","full_name":"timekit-io/booking-js","owner":{"login":"timekit-io","id":10514150,"avatar_url":"https://avatars2.githubusercontent.com/u/10514150?v=3","gravatar_id":"","url":"https://api.github.com/users/timekit-io","html_url":"https://github.com/timekit-io","followers_url":"https://api.github.com/users/timekit-io/followers","following_url":"https://api.github.com/users/timekit-io/following{/other_user}","gists_url":"https://api.github.com/users/timekit-io/gists{/gist_id}","starred_url":"https://api.github.com/users/timekit-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timekit-io/subscriptions","organizations_url":"https://api.github.com/users/timekit-io/orgs","repos_url":"https://api.github.com/users/timekit-io/repos","events_url":"https://api.github.com/users/timekit-io/events{/privacy}","received_events_url":"https://api.github.com/users/timekit-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/timekit-io/booking-js","description":":date: Make a beautiful embeddable booking widget in minutes","fork":false,"url":"https://api.github.com/repos/timekit-io/booking-js","forks_url":"https://api.github.com/repos/timekit-io/booking-js/forks","keys_url":"https://api.github.com/repos/timekit-io/booking-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timekit-io/booking-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timekit-io/booking-js/teams","hooks_url":"https://api.github.com/repos/timekit-io/booking-js/hooks","issue_events_url":"https://api.github.com/repos/timekit-io/booking-js/issues/events{/number}","events_url":"https://api.github.com/repos/timekit-io/booking-js/events","assignees_url":"https://api.github.com/repos/timekit-io/booking-js/assignees{/user}","branches_url":"https://api.github.com/repos/timekit-io/booking-js/branches{/branch}","tags_url":"https://api.github.com/repos/timekit-io/booking-js/tags","blobs_url":"https://api.github.com/repos/timekit-io/booking-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timekit-io/booking-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timekit-io/booking-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/timekit-io/booking-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timekit-io/booking-js/statuses/{sha}","languages_url":"https://api.github.com/repos/timekit-io/booking-js/languages","stargazers_url":"https://api.github.com/repos/timekit-io/booking-js/stargazers","contributors_url":"https://api.github.com/repos/timekit-io/booking-js/contributors","subscribers_url":"https://api.github.com/repos/timekit-io/booking-js/subscribers","subscription_url":"https://api.github.com/repos/timekit-io/booking-js/subscription","commits_url":"https://api.github.com/repos/timekit-io/booking-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/timekit-io/booking-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/timekit-io/booking-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/timekit-io/booking-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/timekit-io/booking-js/contents/{+path}","compare_url":"https://api.github.com/repos/timekit-io/booking-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timekit-io/booking-js/merges","archive_url":"https://api.github.com/repos/timekit-io/booking-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timekit-io/booking-js/downloads","issues_url":"https://api.github.com/repos/timekit-io/booking-js/issues{/number}","pulls_url":"https://api.github.com/repos/timekit-io/booking-js/pulls{/number}","milestones_url":"https://api.github.com/repos/timekit-io/booking-js/milestones{/number}","notifications_url":"https://api.github.com/repos/timekit-io/booking-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timekit-io/booking-js/labels{/name}","releases_url":"https://api.github.com/repos/timekit-io/booking-js/releases{/id}","deployments_url":"https://api.github.com/repos/timekit-io/booking-js/deployments","created_at":"2015-10-22T12:50:58Z","updated_at":"2017-02-28T19:37:10Z","pushed_at":"2017-03-01T13:32:18Z","git_url":"git://github.com/timekit-io/booking-js.git","ssh_url":"git@github.com:timekit-io/booking-js.git","clone_url":"https://github.com/timekit-io/booking-js.git","svn_url":"https://github.com/timekit-io/booking-js","homepage":"http://booking.timekit.io","size":4956,"stargazers_count":2080,"watchers_count":2080,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":123,"mirror_url":null,"open_issues_count":37,"forks":123,"open_issues":37,"watchers":2080,"default_branch":"master"}},"base":{"label":"timekit-io:master","ref":"master","sha":"2a2cd2a543ec2b6decb73be2bed8e5e1d5591797","user":{"login":"timekit-io","id":10514150,"avatar_url":"https://avatars2.githubusercontent.com/u/10514150?v=3","gravatar_id":"","url":"https://api.github.com/users/timekit-io","html_url":"https://github.com/timekit-io","followers_url":"https://api.github.com/users/timekit-io/followers","following_url":"https://api.github.com/users/timekit-io/following{/other_user}","gists_url":"https://api.github.com/users/timekit-io/gists{/gist_id}","starred_url":"https://api.github.com/users/timekit-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timekit-io/subscriptions","organizations_url":"https://api.github.com/users/timekit-io/orgs","repos_url":"https://api.github.com/users/timekit-io/repos","events_url":"https://api.github.com/users/timekit-io/events{/privacy}","received_events_url":"https://api.github.com/users/timekit-io/received_events","type":"Organization","site_admin":false},"repo":{"id":44744780,"name":"booking-js","full_name":"timekit-io/booking-js","owner":{"login":"timekit-io","id":10514150,"avatar_url":"https://avatars2.githubusercontent.com/u/10514150?v=3","gravatar_id":"","url":"https://api.github.com/users/timekit-io","html_url":"https://github.com/timekit-io","followers_url":"https://api.github.com/users/timekit-io/followers","following_url":"https://api.github.com/users/timekit-io/following{/other_user}","gists_url":"https://api.github.com/users/timekit-io/gists{/gist_id}","starred_url":"https://api.github.com/users/timekit-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timekit-io/subscriptions","organizations_url":"https://api.github.com/users/timekit-io/orgs","repos_url":"https://api.github.com/users/timekit-io/repos","events_url":"https://api.github.com/users/timekit-io/events{/privacy}","received_events_url":"https://api.github.com/users/timekit-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/timekit-io/booking-js","description":":date: Make a beautiful embeddable booking widget in minutes","fork":false,"url":"https://api.github.com/repos/timekit-io/booking-js","forks_url":"https://api.github.com/repos/timekit-io/booking-js/forks","keys_url":"https://api.github.com/repos/timekit-io/booking-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timekit-io/booking-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timekit-io/booking-js/teams","hooks_url":"https://api.github.com/repos/timekit-io/booking-js/hooks","issue_events_url":"https://api.github.com/repos/timekit-io/booking-js/issues/events{/number}","events_url":"https://api.github.com/repos/timekit-io/booking-js/events","assignees_url":"https://api.github.com/repos/timekit-io/booking-js/assignees{/user}","branches_url":"https://api.github.com/repos/timekit-io/booking-js/branches{/branch}","tags_url":"https://api.github.com/repos/timekit-io/booking-js/tags","blobs_url":"https://api.github.com/repos/timekit-io/booking-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timekit-io/booking-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timekit-io/booking-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/timekit-io/booking-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timekit-io/booking-js/statuses/{sha}","languages_url":"https://api.github.com/repos/timekit-io/booking-js/languages","stargazers_url":"https://api.github.com/repos/timekit-io/booking-js/stargazers","contributors_url":"https://api.github.com/repos/timekit-io/booking-js/contributors","subscribers_url":"https://api.github.com/repos/timekit-io/booking-js/subscribers","subscription_url":"https://api.github.com/repos/timekit-io/booking-js/subscription","commits_url":"https://api.github.com/repos/timekit-io/booking-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/timekit-io/booking-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/timekit-io/booking-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/timekit-io/booking-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/timekit-io/booking-js/contents/{+path}","compare_url":"https://api.github.com/repos/timekit-io/booking-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timekit-io/booking-js/merges","archive_url":"https://api.github.com/repos/timekit-io/booking-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timekit-io/booking-js/downloads","issues_url":"https://api.github.com/repos/timekit-io/booking-js/issues{/number}","pulls_url":"https://api.github.com/repos/timekit-io/booking-js/pulls{/number}","milestones_url":"https://api.github.com/repos/timekit-io/booking-js/milestones{/number}","notifications_url":"https://api.github.com/repos/timekit-io/booking-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timekit-io/booking-js/labels{/name}","releases_url":"https://api.github.com/repos/timekit-io/booking-js/releases{/id}","deployments_url":"https://api.github.com/repos/timekit-io/booking-js/deployments","created_at":"2015-10-22T12:50:58Z","updated_at":"2017-02-28T19:37:10Z","pushed_at":"2017-03-01T13:32:18Z","git_url":"git://github.com/timekit-io/booking-js.git","ssh_url":"git@github.com:timekit-io/booking-js.git","clone_url":"https://github.com/timekit-io/booking-js.git","svn_url":"https://github.com/timekit-io/booking-js","homepage":"http://booking.timekit.io","size":4956,"stargazers_count":2080,"watchers_count":2080,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":123,"mirror_url":null,"open_issues_count":37,"forks":123,"open_issues":37,"watchers":2080,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/timekit-io/booking-js/pulls/113"},"html":{"href":"https://github.com/timekit-io/booking-js/pull/113"},"issue":{"href":"https://api.github.com/repos/timekit-io/booking-js/issues/113"},"comments":{"href":"https://api.github.com/repos/timekit-io/booking-js/issues/113/comments"},"review_comments":{"href":"https://api.github.com/repos/timekit-io/booking-js/pulls/113/comments"},"review_comment":{"href":"https://api.github.com/repos/timekit-io/booking-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/timekit-io/booking-js/pulls/113/commits"},"statuses":{"href":"https://api.github.com/repos/timekit-io/booking-js/statuses/0b5f281198c2eba0b98f9512557367ac2f5f4209"}}}}
{"actor":{"display_login":"codacy-bot"}}