{"action":"created","comment":{"url":"https://api.github.com/repos/pjosifovic/portfolio/pulls/comments/54024213","id":54024213,"diff_hunk":"@@ -12,21 +12,28 @@ function Project (opts) {\n };\n \n Project.prototype.toHtml = function() {\n-  var $newProject = $('article.template').clone();\n-  $newProject.removeClass('template');\n-\n-  $newProject.find('header h1').text(this.title);\n-  $newProject.find('address a').text(this.title);\n-  $newProject.attr('data-category', this.category);\n-  $newProject.attr('data-title', this.title);\n-  $newProject.find('address span').text(' as ' + this.category);\n-  $newProject.find('address a').attr('href', this.url);\n-  $newProject.find('section.project-body').html(this.body);\n-  $newProject.find('time[pubdate]').text(this.publishedOn);\n-\n-  $newProject.find('time').html('about ' + parseInt((new Date() - new Date(this.publishedOn))/60/60/24/1000) + ' days ago');\n-  $newProject.append('<hr>');\n-  return $newProject;\n+  // var $newProject = $('article.template').clone();\n+  // $newProject.removeClass('template');\n+  //\n+  // $newProject.find('header h1').text(this.title);\n+  // $newProject.find('address a').text(this.title);\n+  // $newProject.attr('data-category', this.category);\n+  // $newProject.attr('data-title', this.title);\n+  // $newProject.find('address span').text(' as ' + this.category);\n+  // $newProject.find('address a').attr('href', this.url);\n+  // $newProject.find('section.project-body').html(this.body);\n+  // $newProject.find('time[pubdate]').text(this.publishedOn);\n+  //\n+  // $newProject.find('time').html('about ' + parseInt((new Date() - new Date(this.publishedOn))/60/60/24/1000) + ' days ago');\n+  // $newProject.append('<hr>');\n+  // return $newProject;\n+","path":"scripts/script.js","position":34,"original_position":34,"commit_id":"70a87664e5470e9c404a5e2b6ce6e7164a510b60","original_commit_id":"70a87664e5470e9c404a5e2b6ce6e7164a510b60","user":{"login":"joelstanner","id":3937302,"avatar_url":"https://avatars.githubusercontent.com/u/3937302?v=3","gravatar_id":"","url":"https://api.github.com/users/joelstanner","html_url":"https://github.com/joelstanner","followers_url":"https://api.github.com/users/joelstanner/followers","following_url":"https://api.github.com/users/joelstanner/following{/other_user}","gists_url":"https://api.github.com/users/joelstanner/gists{/gist_id}","starred_url":"https://api.github.com/users/joelstanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelstanner/subscriptions","organizations_url":"https://api.github.com/users/joelstanner/orgs","repos_url":"https://api.github.com/users/joelstanner/repos","events_url":"https://api.github.com/users/joelstanner/events{/privacy}","received_events_url":"https://api.github.com/users/joelstanner/received_events","type":"User","site_admin":false},"body":"Same - delete this.","created_at":"2016-02-24T23:13:30Z","updated_at":"2016-02-24T23:13:30Z","html_url":"https://github.com/pjosifovic/portfolio/pull/4#discussion_r54024213","pull_request_url":"https://api.github.com/repos/pjosifovic/portfolio/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/pjosifovic/portfolio/pulls/comments/54024213"},"html":{"href":"https://github.com/pjosifovic/portfolio/pull/4#discussion_r54024213"},"pull_request":{"href":"https://api.github.com/repos/pjosifovic/portfolio/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/pjosifovic/portfolio/pulls/4","id":58375668,"html_url":"https://github.com/pjosifovic/portfolio/pull/4","diff_url":"https://github.com/pjosifovic/portfolio/pull/4.diff","patch_url":"https://github.com/pjosifovic/portfolio/pull/4.patch","issue_url":"https://api.github.com/repos/pjosifovic/portfolio/issues/4","number":4,"state":"closed","locked":false,"title":"Class 04 - adding handlebars template to articles and ability to filter them","user":{"login":"pjosifovic","id":15947400,"avatar_url":"https://avatars.githubusercontent.com/u/15947400?v=3","gravatar_id":"","url":"https://api.github.com/users/pjosifovic","html_url":"https://github.com/pjosifovic","followers_url":"https://api.github.com/users/pjosifovic/followers","following_url":"https://api.github.com/users/pjosifovic/following{/other_user}","gists_url":"https://api.github.com/users/pjosifovic/gists{/gist_id}","starred_url":"https://api.github.com/users/pjosifovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjosifovic/subscriptions","organizations_url":"https://api.github.com/users/pjosifovic/orgs","repos_url":"https://api.github.com/users/pjosifovic/repos","events_url":"https://api.github.com/users/pjosifovic/events{/privacy}","received_events_url":"https://api.github.com/users/pjosifovic/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-05T01:13:09Z","updated_at":"2016-02-24T23:13:30Z","closed_at":"2016-02-06T00:29:26Z","merged_at":"2016-02-06T00:29:26Z","merge_commit_sha":"5f09bfe9ad2e0fad7a2235453f7ed18592b47db6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pjosifovic/portfolio/pulls/4/commits","review_comments_url":"https://api.github.com/repos/pjosifovic/portfolio/pulls/4/comments","review_comment_url":"https://api.github.com/repos/pjosifovic/portfolio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pjosifovic/portfolio/issues/4/comments","statuses_url":"https://api.github.com/repos/pjosifovic/portfolio/statuses/70a87664e5470e9c404a5e2b6ce6e7164a510b60","head":{"label":"pjosifovic:class-04","ref":"class-04","sha":"70a87664e5470e9c404a5e2b6ce6e7164a510b60","user":{"login":"pjosifovic","id":15947400,"avatar_url":"https://avatars.githubusercontent.com/u/15947400?v=3","gravatar_id":"","url":"https://api.github.com/users/pjosifovic","html_url":"https://github.com/pjosifovic","followers_url":"https://api.github.com/users/pjosifovic/followers","following_url":"https://api.github.com/users/pjosifovic/following{/other_user}","gists_url":"https://api.github.com/users/pjosifovic/gists{/gist_id}","starred_url":"https://api.github.com/users/pjosifovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjosifovic/subscriptions","organizations_url":"https://api.github.com/users/pjosifovic/orgs","repos_url":"https://api.github.com/users/pjosifovic/repos","events_url":"https://api.github.com/users/pjosifovic/events{/privacy}","received_events_url":"https://api.github.com/users/pjosifovic/received_events","type":"User","site_admin":false},"repo":{"id":50892197,"name":"portfolio","full_name":"pjosifovic/portfolio","owner":{"login":"pjosifovic","id":15947400,"avatar_url":"https://avatars.githubusercontent.com/u/15947400?v=3","gravatar_id":"","url":"https://api.github.com/users/pjosifovic","html_url":"https://github.com/pjosifovic","followers_url":"https://api.github.com/users/pjosifovic/followers","following_url":"https://api.github.com/users/pjosifovic/following{/other_user}","gists_url":"https://api.github.com/users/pjosifovic/gists{/gist_id}","starred_url":"https://api.github.com/users/pjosifovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjosifovic/subscriptions","organizations_url":"https://api.github.com/users/pjosifovic/orgs","repos_url":"https://api.github.com/users/pjosifovic/repos","events_url":"https://api.github.com/users/pjosifovic/events{/privacy}","received_events_url":"https://api.github.com/users/pjosifovic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pjosifovic/portfolio","description":"Personal portfolio assignment for Codefellows 301 course ","fork":false,"url":"https://api.github.com/repos/pjosifovic/portfolio","forks_url":"https://api.github.com/repos/pjosifovic/portfolio/forks","keys_url":"https://api.github.com/repos/pjosifovic/portfolio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pjosifovic/portfolio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pjosifovic/portfolio/teams","hooks_url":"https://api.github.com/repos/pjosifovic/portfolio/hooks","issue_events_url":"https://api.github.com/repos/pjosifovic/portfolio/issues/events{/number}","events_url":"https://api.github.com/repos/pjosifovic/portfolio/events","assignees_url":"https://api.github.com/repos/pjosifovic/portfolio/assignees{/user}","branches_url":"https://api.github.com/repos/pjosifovic/portfolio/branches{/branch}","tags_url":"https://api.github.com/repos/pjosifovic/portfolio/tags","blobs_url":"https://api.github.com/repos/pjosifovic/portfolio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pjosifovic/portfolio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pjosifovic/portfolio/git/refs{/sha}","trees_url":"https://api.github.com/repos/pjosifovic/portfolio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pjosifovic/portfolio/statuses/{sha}","languages_url":"https://api.github.com/repos/pjosifovic/portfolio/languages","stargazers_url":"https://api.github.com/repos/pjosifovic/portfolio/stargazers","contributors_url":"https://api.github.com/repos/pjosifovic/portfolio/contributors","subscribers_url":"https://api.github.com/repos/pjosifovic/portfolio/subscribers","subscription_url":"https://api.github.com/repos/pjosifovic/portfolio/subscription","commits_url":"https://api.github.com/repos/pjosifovic/portfolio/commits{/sha}","git_commits_url":"https://api.github.com/repos/pjosifovic/portfolio/git/commits{/sha}","comments_url":"https://api.github.com/repos/pjosifovic/portfolio/comments{/number}","issue_comment_url":"https://api.github.com/repos/pjosifovic/portfolio/issues/comments{/number}","contents_url":"https://api.github.com/repos/pjosifovic/portfolio/contents/{+path}","compare_url":"https://api.github.com/repos/pjosifovic/portfolio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pjosifovic/portfolio/merges","archive_url":"https://api.github.com/repos/pjosifovic/portfolio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pjosifovic/portfolio/downloads","issues_url":"https://api.github.com/repos/pjosifovic/portfolio/issues{/number}","pulls_url":"https://api.github.com/repos/pjosifovic/portfolio/pulls{/number}","milestones_url":"https://api.github.com/repos/pjosifovic/portfolio/milestones{/number}","notifications_url":"https://api.github.com/repos/pjosifovic/portfolio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pjosifovic/portfolio/labels{/name}","releases_url":"https://api.github.com/repos/pjosifovic/portfolio/releases{/id}","deployments_url":"https://api.github.com/repos/pjosifovic/portfolio/deployments","created_at":"2016-02-02T03:47:17Z","updated_at":"2016-02-17T19:27:16Z","pushed_at":"2016-02-18T00:54:04Z","git_url":"git://github.com/pjosifovic/portfolio.git","ssh_url":"git@github.com:pjosifovic/portfolio.git","clone_url":"https://github.com/pjosifovic/portfolio.git","svn_url":"https://github.com/pjosifovic/portfolio","homepage":"","size":600,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pjosifovic:master","ref":"master","sha":"86e651b98002dc85c898b0c18de6e76351987173","user":{"login":"pjosifovic","id":15947400,"avatar_url":"https://avatars.githubusercontent.com/u/15947400?v=3","gravatar_id":"","url":"https://api.github.com/users/pjosifovic","html_url":"https://github.com/pjosifovic","followers_url":"https://api.github.com/users/pjosifovic/followers","following_url":"https://api.github.com/users/pjosifovic/following{/other_user}","gists_url":"https://api.github.com/users/pjosifovic/gists{/gist_id}","starred_url":"https://api.github.com/users/pjosifovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjosifovic/subscriptions","organizations_url":"https://api.github.com/users/pjosifovic/orgs","repos_url":"https://api.github.com/users/pjosifovic/repos","events_url":"https://api.github.com/users/pjosifovic/events{/privacy}","received_events_url":"https://api.github.com/users/pjosifovic/received_events","type":"User","site_admin":false},"repo":{"id":50892197,"name":"portfolio","full_name":"pjosifovic/portfolio","owner":{"login":"pjosifovic","id":15947400,"avatar_url":"https://avatars.githubusercontent.com/u/15947400?v=3","gravatar_id":"","url":"https://api.github.com/users/pjosifovic","html_url":"https://github.com/pjosifovic","followers_url":"https://api.github.com/users/pjosifovic/followers","following_url":"https://api.github.com/users/pjosifovic/following{/other_user}","gists_url":"https://api.github.com/users/pjosifovic/gists{/gist_id}","starred_url":"https://api.github.com/users/pjosifovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjosifovic/subscriptions","organizations_url":"https://api.github.com/users/pjosifovic/orgs","repos_url":"https://api.github.com/users/pjosifovic/repos","events_url":"https://api.github.com/users/pjosifovic/events{/privacy}","received_events_url":"https://api.github.com/users/pjosifovic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pjosifovic/portfolio","description":"Personal portfolio assignment for Codefellows 301 course ","fork":false,"url":"https://api.github.com/repos/pjosifovic/portfolio","forks_url":"https://api.github.com/repos/pjosifovic/portfolio/forks","keys_url":"https://api.github.com/repos/pjosifovic/portfolio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pjosifovic/portfolio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pjosifovic/portfolio/teams","hooks_url":"https://api.github.com/repos/pjosifovic/portfolio/hooks","issue_events_url":"https://api.github.com/repos/pjosifovic/portfolio/issues/events{/number}","events_url":"https://api.github.com/repos/pjosifovic/portfolio/events","assignees_url":"https://api.github.com/repos/pjosifovic/portfolio/assignees{/user}","branches_url":"https://api.github.com/repos/pjosifovic/portfolio/branches{/branch}","tags_url":"https://api.github.com/repos/pjosifovic/portfolio/tags","blobs_url":"https://api.github.com/repos/pjosifovic/portfolio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pjosifovic/portfolio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pjosifovic/portfolio/git/refs{/sha}","trees_url":"https://api.github.com/repos/pjosifovic/portfolio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pjosifovic/portfolio/statuses/{sha}","languages_url":"https://api.github.com/repos/pjosifovic/portfolio/languages","stargazers_url":"https://api.github.com/repos/pjosifovic/portfolio/stargazers","contributors_url":"https://api.github.com/repos/pjosifovic/portfolio/contributors","subscribers_url":"https://api.github.com/repos/pjosifovic/portfolio/subscribers","subscription_url":"https://api.github.com/repos/pjosifovic/portfolio/subscription","commits_url":"https://api.github.com/repos/pjosifovic/portfolio/commits{/sha}","git_commits_url":"https://api.github.com/repos/pjosifovic/portfolio/git/commits{/sha}","comments_url":"https://api.github.com/repos/pjosifovic/portfolio/comments{/number}","issue_comment_url":"https://api.github.com/repos/pjosifovic/portfolio/issues/comments{/number}","contents_url":"https://api.github.com/repos/pjosifovic/portfolio/contents/{+path}","compare_url":"https://api.github.com/repos/pjosifovic/portfolio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pjosifovic/portfolio/merges","archive_url":"https://api.github.com/repos/pjosifovic/portfolio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pjosifovic/portfolio/downloads","issues_url":"https://api.github.com/repos/pjosifovic/portfolio/issues{/number}","pulls_url":"https://api.github.com/repos/pjosifovic/portfolio/pulls{/number}","milestones_url":"https://api.github.com/repos/pjosifovic/portfolio/milestones{/number}","notifications_url":"https://api.github.com/repos/pjosifovic/portfolio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pjosifovic/portfolio/labels{/name}","releases_url":"https://api.github.com/repos/pjosifovic/portfolio/releases{/id}","deployments_url":"https://api.github.com/repos/pjosifovic/portfolio/deployments","created_at":"2016-02-02T03:47:17Z","updated_at":"2016-02-17T19:27:16Z","pushed_at":"2016-02-18T00:54:04Z","git_url":"git://github.com/pjosifovic/portfolio.git","ssh_url":"git@github.com:pjosifovic/portfolio.git","clone_url":"https://github.com/pjosifovic/portfolio.git","svn_url":"https://github.com/pjosifovic/portfolio","homepage":"","size":600,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pjosifovic/portfolio/pulls/4"},"html":{"href":"https://github.com/pjosifovic/portfolio/pull/4"},"issue":{"href":"https://api.github.com/repos/pjosifovic/portfolio/issues/4"},"comments":{"href":"https://api.github.com/repos/pjosifovic/portfolio/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/pjosifovic/portfolio/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/pjosifovic/portfolio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pjosifovic/portfolio/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/pjosifovic/portfolio/statuses/70a87664e5470e9c404a5e2b6ce6e7164a510b60"}}}}