{"action":"created","comment":{"url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/comments/44711055","id":44711055,"diff_hunk":"@@ -139,6 +142,13 @@ module.exports = Backbone.View.extend({\n       if(self.model.get('beenSet')){\n         self.$el.find('.js-homeModal').hide();\n       }\n+      self.notificationsPanel = new notificationsPanelView({\n+        parentEl: '#notificationsPanel',\n+        socketView: self.socketView,\n+        serverUrl: self.options.model.attributes.serverUrl","path":"js/views/pageNavVw.js","position":35,"original_position":35,"commit_id":"45fe2f04e1f177b227783c5a33bf446f1b1f48f3","original_commit_id":"9f9a47096fa6694aade6ebc1dcc3cd1fc59795ed","user":{"login":"jjeffryes","id":1584275,"avatar_url":"https://avatars.githubusercontent.com/u/1584275?v=3","gravatar_id":"","url":"https://api.github.com/users/jjeffryes","html_url":"https://github.com/jjeffryes","followers_url":"https://api.github.com/users/jjeffryes/followers","following_url":"https://api.github.com/users/jjeffryes/following{/other_user}","gists_url":"https://api.github.com/users/jjeffryes/gists{/gist_id}","starred_url":"https://api.github.com/users/jjeffryes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjeffryes/subscriptions","organizations_url":"https://api.github.com/users/jjeffryes/orgs","repos_url":"https://api.github.com/users/jjeffryes/repos","events_url":"https://api.github.com/users/jjeffryes/events{/privacy}","received_events_url":"https://api.github.com/users/jjeffryes/received_events","type":"User","site_admin":false},"body":"To be consistent this should be self.options.model.get('serverUrl'), but this works too.","created_at":"2015-11-12T20:38:14Z","updated_at":"2015-11-12T20:38:14Z","html_url":"https://github.com/OpenBazaar/OpenBazaar-Client/pull/169#discussion_r44711055","pull_request_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/169","_links":{"self":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/comments/44711055"},"html":{"href":"https://github.com/OpenBazaar/OpenBazaar-Client/pull/169#discussion_r44711055"},"pull_request":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/169"}}},"pull_request":{"url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/169","id":49880876,"html_url":"https://github.com/OpenBazaar/OpenBazaar-Client/pull/169","diff_url":"https://github.com/OpenBazaar/OpenBazaar-Client/pull/169.diff","patch_url":"https://github.com/OpenBazaar/OpenBazaar-Client/pull/169.patch","issue_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/169","number":169,"state":"open","locked":false,"title":"Notifications Overlay","user":{"login":"hoffmabc","id":45482,"avatar_url":"https://avatars.githubusercontent.com/u/45482?v=3","gravatar_id":"","url":"https://api.github.com/users/hoffmabc","html_url":"https://github.com/hoffmabc","followers_url":"https://api.github.com/users/hoffmabc/followers","following_url":"https://api.github.com/users/hoffmabc/following{/other_user}","gists_url":"https://api.github.com/users/hoffmabc/gists{/gist_id}","starred_url":"https://api.github.com/users/hoffmabc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoffmabc/subscriptions","organizations_url":"https://api.github.com/users/hoffmabc/orgs","repos_url":"https://api.github.com/users/hoffmabc/repos","events_url":"https://api.github.com/users/hoffmabc/events{/privacy}","received_events_url":"https://api.github.com/users/hoffmabc/received_events","type":"User","site_admin":false},"body":"This adds Notifications support to the app including desktop.","created_at":"2015-11-05T21:08:18Z","updated_at":"2015-11-12T20:38:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e44df4956a12a87313f2c0eefdff5421c7308bb5","assignee":{"login":"jjeffryes","id":1584275,"avatar_url":"https://avatars.githubusercontent.com/u/1584275?v=3","gravatar_id":"","url":"https://api.github.com/users/jjeffryes","html_url":"https://github.com/jjeffryes","followers_url":"https://api.github.com/users/jjeffryes/followers","following_url":"https://api.github.com/users/jjeffryes/following{/other_user}","gists_url":"https://api.github.com/users/jjeffryes/gists{/gist_id}","starred_url":"https://api.github.com/users/jjeffryes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjeffryes/subscriptions","organizations_url":"https://api.github.com/users/jjeffryes/orgs","repos_url":"https://api.github.com/users/jjeffryes/repos","events_url":"https://api.github.com/users/jjeffryes/events{/privacy}","received_events_url":"https://api.github.com/users/jjeffryes/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/169/commits","review_comments_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/169/comments","review_comment_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/169/comments","statuses_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/statuses/45fe2f04e1f177b227783c5a33bf446f1b1f48f3","head":{"label":"hoffmabc:notifications","ref":"notifications","sha":"45fe2f04e1f177b227783c5a33bf446f1b1f48f3","user":{"login":"hoffmabc","id":45482,"avatar_url":"https://avatars.githubusercontent.com/u/45482?v=3","gravatar_id":"","url":"https://api.github.com/users/hoffmabc","html_url":"https://github.com/hoffmabc","followers_url":"https://api.github.com/users/hoffmabc/followers","following_url":"https://api.github.com/users/hoffmabc/following{/other_user}","gists_url":"https://api.github.com/users/hoffmabc/gists{/gist_id}","starred_url":"https://api.github.com/users/hoffmabc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoffmabc/subscriptions","organizations_url":"https://api.github.com/users/hoffmabc/orgs","repos_url":"https://api.github.com/users/hoffmabc/repos","events_url":"https://api.github.com/users/hoffmabc/events{/privacy}","received_events_url":"https://api.github.com/users/hoffmabc/received_events","type":"User","site_admin":false},"repo":{"id":43913301,"name":"OpenBazaar-Client","full_name":"hoffmabc/OpenBazaar-Client","owner":{"login":"hoffmabc","id":45482,"avatar_url":"https://avatars.githubusercontent.com/u/45482?v=3","gravatar_id":"","url":"https://api.github.com/users/hoffmabc","html_url":"https://github.com/hoffmabc","followers_url":"https://api.github.com/users/hoffmabc/followers","following_url":"https://api.github.com/users/hoffmabc/following{/other_user}","gists_url":"https://api.github.com/users/hoffmabc/gists{/gist_id}","starred_url":"https://api.github.com/users/hoffmabc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoffmabc/subscriptions","organizations_url":"https://api.github.com/users/hoffmabc/orgs","repos_url":"https://api.github.com/users/hoffmabc/repos","events_url":"https://api.github.com/users/hoffmabc/events{/privacy}","received_events_url":"https://api.github.com/users/hoffmabc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hoffmabc/OpenBazaar-Client","description":"Front-end Electron application for talking with the OpenBazaar-Server daemon","fork":true,"url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client","forks_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/forks","keys_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/teams","hooks_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/hooks","issue_events_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/issues/events{/number}","events_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/events","assignees_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/assignees{/user}","branches_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/branches{/branch}","tags_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/tags","blobs_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/statuses/{sha}","languages_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/languages","stargazers_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/stargazers","contributors_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/contributors","subscribers_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/subscribers","subscription_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/subscription","commits_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/contents/{+path}","compare_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/merges","archive_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/downloads","issues_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/issues{/number}","pulls_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/pulls{/number}","milestones_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/milestones{/number}","notifications_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/labels{/name}","releases_url":"https://api.github.com/repos/hoffmabc/OpenBazaar-Client/releases{/id}","created_at":"2015-10-08T20:01:03Z","updated_at":"2015-10-08T20:01:04Z","pushed_at":"2015-11-12T20:32:14Z","git_url":"git://github.com/hoffmabc/OpenBazaar-Client.git","ssh_url":"git@github.com:hoffmabc/OpenBazaar-Client.git","clone_url":"https://github.com/hoffmabc/OpenBazaar-Client.git","svn_url":"https://github.com/hoffmabc/OpenBazaar-Client","homepage":"","size":11589,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"OpenBazaar:master","ref":"master","sha":"34ec3ea3a63fdb25c43578b53cf518cfc1255ccf","user":{"login":"OpenBazaar","id":7438770,"avatar_url":"https://avatars.githubusercontent.com/u/7438770?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenBazaar","html_url":"https://github.com/OpenBazaar","followers_url":"https://api.github.com/users/OpenBazaar/followers","following_url":"https://api.github.com/users/OpenBazaar/following{/other_user}","gists_url":"https://api.github.com/users/OpenBazaar/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenBazaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenBazaar/subscriptions","organizations_url":"https://api.github.com/users/OpenBazaar/orgs","repos_url":"https://api.github.com/users/OpenBazaar/repos","events_url":"https://api.github.com/users/OpenBazaar/events{/privacy}","received_events_url":"https://api.github.com/users/OpenBazaar/received_events","type":"Organization","site_admin":false},"repo":{"id":40909050,"name":"OpenBazaar-Client","full_name":"OpenBazaar/OpenBazaar-Client","owner":{"login":"OpenBazaar","id":7438770,"avatar_url":"https://avatars.githubusercontent.com/u/7438770?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenBazaar","html_url":"https://github.com/OpenBazaar","followers_url":"https://api.github.com/users/OpenBazaar/followers","following_url":"https://api.github.com/users/OpenBazaar/following{/other_user}","gists_url":"https://api.github.com/users/OpenBazaar/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenBazaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenBazaar/subscriptions","organizations_url":"https://api.github.com/users/OpenBazaar/orgs","repos_url":"https://api.github.com/users/OpenBazaar/repos","events_url":"https://api.github.com/users/OpenBazaar/events{/privacy}","received_events_url":"https://api.github.com/users/OpenBazaar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenBazaar/OpenBazaar-Client","description":"Front-end Electron application for talking with the OpenBazaar-Server daemon","fork":false,"url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client","forks_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/forks","keys_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/teams","hooks_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/hooks","issue_events_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/events{/number}","events_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/events","assignees_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/assignees{/user}","branches_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/branches{/branch}","tags_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/tags","blobs_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/languages","stargazers_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/stargazers","contributors_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/contributors","subscribers_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/subscribers","subscription_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/subscription","commits_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/contents/{+path}","compare_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/merges","archive_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/downloads","issues_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues{/number}","pulls_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/labels{/name}","releases_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/releases{/id}","created_at":"2015-08-17T16:11:12Z","updated_at":"2015-11-11T11:12:36Z","pushed_at":"2015-11-12T20:32:14Z","git_url":"git://github.com/OpenBazaar/OpenBazaar-Client.git","ssh_url":"git@github.com:OpenBazaar/OpenBazaar-Client.git","clone_url":"https://github.com/OpenBazaar/OpenBazaar-Client.git","svn_url":"https://github.com/OpenBazaar/OpenBazaar-Client","homepage":"","size":15081,"stargazers_count":36,"watchers_count":36,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":39,"forks":28,"open_issues":39,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/169"},"html":{"href":"https://github.com/OpenBazaar/OpenBazaar-Client/pull/169"},"issue":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/169"},"comments":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/169/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/169/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/169/commits"},"statuses":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/statuses/45fe2f04e1f177b227783c5a33bf446f1b1f48f3"}}}}