{"action":"created","comment":{"url":"https://api.github.com/repos/Karandashnik/Project-Pencil/pulls/comments/43604624","id":43604624,"diff_hunk":"@@ -46,6 +57,30 @@ allDays.forEach(function(td){\n ///////////////////////////////////////////////\n ////////////////BOOKING VIEW///////////////////\n ///////////////////////////////////////////////\n+\n+var CreateBookingView = Backbone.View.extend({\n+  render: function(){\n+    var date = \"This day is \" + this.model.get(\"date\");\n+    var user = \" and the user is \" + this.model.get(\"user\");\n+    var modal = \"<div id='bookingModal' class='modal fade' role='dialog'><div class='modal-dialog'>\" +","path":"app/public/javascripts/views.js","position":67,"original_position":67,"commit_id":"29934975f5efd62a908ec02be2b0ef7576948407","original_commit_id":"29934975f5efd62a908ec02be2b0ef7576948407","user":{"login":"wintermuted","id":2337325,"avatar_url":"https://avatars.githubusercontent.com/u/2337325?v=3","gravatar_id":"","url":"https://api.github.com/users/wintermuted","html_url":"https://github.com/wintermuted","followers_url":"https://api.github.com/users/wintermuted/followers","following_url":"https://api.github.com/users/wintermuted/following{/other_user}","gists_url":"https://api.github.com/users/wintermuted/gists{/gist_id}","starred_url":"https://api.github.com/users/wintermuted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wintermuted/subscriptions","organizations_url":"https://api.github.com/users/wintermuted/orgs","repos_url":"https://api.github.com/users/wintermuted/repos","events_url":"https://api.github.com/users/wintermuted/events{/privacy}","received_events_url":"https://api.github.com/users/wintermuted/received_events","type":"User","site_admin":false},"body":"Alternatively, if we want to make use of Babel, we could use es6's very awesome template strings feature: https://babeljs.io/docs/learn-es2015/#template-strings","created_at":"2015-11-02T08:19:02Z","updated_at":"2015-11-02T08:19:02Z","html_url":"https://github.com/Karandashnik/Project-Pencil/pull/6#discussion_r43604624","pull_request_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/Karandashnik/Project-Pencil/pulls/comments/43604624"},"html":{"href":"https://github.com/Karandashnik/Project-Pencil/pull/6#discussion_r43604624"},"pull_request":{"href":"https://api.github.com/repos/Karandashnik/Project-Pencil/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/Karandashnik/Project-Pencil/pulls/6","id":49402532,"html_url":"https://github.com/Karandashnik/Project-Pencil/pull/6","diff_url":"https://github.com/Karandashnik/Project-Pencil/pull/6.diff","patch_url":"https://github.com/Karandashnik/Project-Pencil/pull/6.patch","issue_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/issues/6","number":6,"state":"open","locked":false,"title":"Day view","user":{"login":"natalieogle","id":11810323,"avatar_url":"https://avatars.githubusercontent.com/u/11810323?v=3","gravatar_id":"","url":"https://api.github.com/users/natalieogle","html_url":"https://github.com/natalieogle","followers_url":"https://api.github.com/users/natalieogle/followers","following_url":"https://api.github.com/users/natalieogle/following{/other_user}","gists_url":"https://api.github.com/users/natalieogle/gists{/gist_id}","starred_url":"https://api.github.com/users/natalieogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natalieogle/subscriptions","organizations_url":"https://api.github.com/users/natalieogle/orgs","repos_url":"https://api.github.com/users/natalieogle/repos","events_url":"https://api.github.com/users/natalieogle/events{/privacy}","received_events_url":"https://api.github.com/users/natalieogle/received_events","type":"User","site_admin":false},"body":"- Updated calendar.js to assign id of the day to each day td.\r\n- Added event listeners to td tags with a calendar day in them so stuff would happen when you clicked on them.\r\n- Started Backbone DayView.  When user clicks a specific day, the day, month, and year is put into the DayModel.  Then this view renders (which will eventually add something to the days once appointments are made maybe...like dots?  I don't know) and then the CreateBookingModel is rendered which adds the Bootstrap modal which pops up and shows the day you clicked on and the user (obviously this will be updated).","created_at":"2015-11-02T07:41:05Z","updated_at":"2015-11-02T08:19:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a95f3c55e24a4d3e0680981ec7949c15556b0274","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/pulls/6/commits","review_comments_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/pulls/6/comments","review_comment_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/issues/6/comments","statuses_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/statuses/29934975f5efd62a908ec02be2b0ef7576948407","head":{"label":"Karandashnik:dayView","ref":"dayView","sha":"29934975f5efd62a908ec02be2b0ef7576948407","user":{"login":"Karandashnik","id":15113912,"avatar_url":"https://avatars.githubusercontent.com/u/15113912?v=3","gravatar_id":"","url":"https://api.github.com/users/Karandashnik","html_url":"https://github.com/Karandashnik","followers_url":"https://api.github.com/users/Karandashnik/followers","following_url":"https://api.github.com/users/Karandashnik/following{/other_user}","gists_url":"https://api.github.com/users/Karandashnik/gists{/gist_id}","starred_url":"https://api.github.com/users/Karandashnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Karandashnik/subscriptions","organizations_url":"https://api.github.com/users/Karandashnik/orgs","repos_url":"https://api.github.com/users/Karandashnik/repos","events_url":"https://api.github.com/users/Karandashnik/events{/privacy}","received_events_url":"https://api.github.com/users/Karandashnik/received_events","type":"Organization","site_admin":false},"repo":{"id":44203442,"name":"Project-Pencil","full_name":"Karandashnik/Project-Pencil","owner":{"login":"Karandashnik","id":15113912,"avatar_url":"https://avatars.githubusercontent.com/u/15113912?v=3","gravatar_id":"","url":"https://api.github.com/users/Karandashnik","html_url":"https://github.com/Karandashnik","followers_url":"https://api.github.com/users/Karandashnik/followers","following_url":"https://api.github.com/users/Karandashnik/following{/other_user}","gists_url":"https://api.github.com/users/Karandashnik/gists{/gist_id}","starred_url":"https://api.github.com/users/Karandashnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Karandashnik/subscriptions","organizations_url":"https://api.github.com/users/Karandashnik/orgs","repos_url":"https://api.github.com/users/Karandashnik/repos","events_url":"https://api.github.com/users/Karandashnik/events{/privacy}","received_events_url":"https://api.github.com/users/Karandashnik/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Karandashnik/Project-Pencil","description":"","fork":false,"url":"https://api.github.com/repos/Karandashnik/Project-Pencil","forks_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/forks","keys_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/teams","hooks_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/hooks","issue_events_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/issues/events{/number}","events_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/events","assignees_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/assignees{/user}","branches_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/branches{/branch}","tags_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/tags","blobs_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/git/refs{/sha}","trees_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/statuses/{sha}","languages_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/languages","stargazers_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/stargazers","contributors_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/contributors","subscribers_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/subscribers","subscription_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/subscription","commits_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/commits{/sha}","git_commits_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/git/commits{/sha}","comments_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/comments{/number}","issue_comment_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/issues/comments{/number}","contents_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/contents/{+path}","compare_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/merges","archive_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/downloads","issues_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/issues{/number}","pulls_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/pulls{/number}","milestones_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/milestones{/number}","notifications_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/labels{/name}","releases_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/releases{/id}","created_at":"2015-10-13T20:39:48Z","updated_at":"2015-10-31T03:38:34Z","pushed_at":"2015-11-02T07:41:05Z","git_url":"git://github.com/Karandashnik/Project-Pencil.git","ssh_url":"git@github.com:Karandashnik/Project-Pencil.git","clone_url":"https://github.com/Karandashnik/Project-Pencil.git","svn_url":"https://github.com/Karandashnik/Project-Pencil","homepage":null,"size":216,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"Karandashnik:master","ref":"master","sha":"b627ee199cec363cc22e7f394d36606d8e8db47b","user":{"login":"Karandashnik","id":15113912,"avatar_url":"https://avatars.githubusercontent.com/u/15113912?v=3","gravatar_id":"","url":"https://api.github.com/users/Karandashnik","html_url":"https://github.com/Karandashnik","followers_url":"https://api.github.com/users/Karandashnik/followers","following_url":"https://api.github.com/users/Karandashnik/following{/other_user}","gists_url":"https://api.github.com/users/Karandashnik/gists{/gist_id}","starred_url":"https://api.github.com/users/Karandashnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Karandashnik/subscriptions","organizations_url":"https://api.github.com/users/Karandashnik/orgs","repos_url":"https://api.github.com/users/Karandashnik/repos","events_url":"https://api.github.com/users/Karandashnik/events{/privacy}","received_events_url":"https://api.github.com/users/Karandashnik/received_events","type":"Organization","site_admin":false},"repo":{"id":44203442,"name":"Project-Pencil","full_name":"Karandashnik/Project-Pencil","owner":{"login":"Karandashnik","id":15113912,"avatar_url":"https://avatars.githubusercontent.com/u/15113912?v=3","gravatar_id":"","url":"https://api.github.com/users/Karandashnik","html_url":"https://github.com/Karandashnik","followers_url":"https://api.github.com/users/Karandashnik/followers","following_url":"https://api.github.com/users/Karandashnik/following{/other_user}","gists_url":"https://api.github.com/users/Karandashnik/gists{/gist_id}","starred_url":"https://api.github.com/users/Karandashnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Karandashnik/subscriptions","organizations_url":"https://api.github.com/users/Karandashnik/orgs","repos_url":"https://api.github.com/users/Karandashnik/repos","events_url":"https://api.github.com/users/Karandashnik/events{/privacy}","received_events_url":"https://api.github.com/users/Karandashnik/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Karandashnik/Project-Pencil","description":"","fork":false,"url":"https://api.github.com/repos/Karandashnik/Project-Pencil","forks_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/forks","keys_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/teams","hooks_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/hooks","issue_events_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/issues/events{/number}","events_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/events","assignees_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/assignees{/user}","branches_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/branches{/branch}","tags_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/tags","blobs_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/git/refs{/sha}","trees_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/statuses/{sha}","languages_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/languages","stargazers_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/stargazers","contributors_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/contributors","subscribers_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/subscribers","subscription_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/subscription","commits_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/commits{/sha}","git_commits_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/git/commits{/sha}","comments_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/comments{/number}","issue_comment_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/issues/comments{/number}","contents_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/contents/{+path}","compare_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/merges","archive_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/downloads","issues_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/issues{/number}","pulls_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/pulls{/number}","milestones_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/milestones{/number}","notifications_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/labels{/name}","releases_url":"https://api.github.com/repos/Karandashnik/Project-Pencil/releases{/id}","created_at":"2015-10-13T20:39:48Z","updated_at":"2015-10-31T03:38:34Z","pushed_at":"2015-11-02T07:41:05Z","git_url":"git://github.com/Karandashnik/Project-Pencil.git","ssh_url":"git@github.com:Karandashnik/Project-Pencil.git","clone_url":"https://github.com/Karandashnik/Project-Pencil.git","svn_url":"https://github.com/Karandashnik/Project-Pencil","homepage":null,"size":216,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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/Karandashnik/Project-Pencil/pulls/6"},"html":{"href":"https://github.com/Karandashnik/Project-Pencil/pull/6"},"issue":{"href":"https://api.github.com/repos/Karandashnik/Project-Pencil/issues/6"},"comments":{"href":"https://api.github.com/repos/Karandashnik/Project-Pencil/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/Karandashnik/Project-Pencil/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/Karandashnik/Project-Pencil/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Karandashnik/Project-Pencil/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/Karandashnik/Project-Pencil/statuses/29934975f5efd62a908ec02be2b0ef7576948407"}}}}