{"action":"created","comment":{"url":"https://api.github.com/repos/relayr/browser-sdk/pulls/comments/66141977","id":66141977,"diff_hunk":"@@ -9,184 +9,184 @@ chai.use(sinonChai);\n let oauthInstance;\n \n describe('oauth2', function() {\n+  beforeEach(function() {\n+    let options = {\n+      appId: 'fakeAppId',\n+      redirectURI: 'fakeURI'\n+    };\n+    oauthInstance = new Oauth2(options);\n+  });\n+\n+  describe('#login', function() {\n     beforeEach(function() {\n+      sinon.spy(oauthInstance, '_loginRedirect');\n+    });\n+    it('should bulid a URL with provided app id and redirect uri', function() {\n+      oauthInstance.login();\n+\n+      expect(oauthInstance._loginRedirect).to.have.been.calledWith('https://api.relayr.io/oauth2/auth?client_id=fakeAppId&redirect_uri=fakeURI&response_type=token&scope=access-own-user-info+configure-devices');\n+    });\n+\n+    it('should build a URL with configured input ', function() {\n+      oauthInstance.appId = 'new-fake-app-id';\n+      oauthInstance.login();\n+\n+      expect(oauthInstance._loginRedirect).to.have.been.calledWith('https://api.relayr.io/oauth2/auth?client_id=new-fake-app-id&redirect_uri=fakeURI&response_type=token&scope=access-own-user-info+configure-devices');\n+    });\n+\n+    it('should throw an error if no redirect uri was provided', function() {\n+      oauthInstance.redirectURI = null;\n+      var fn = function() {\n+        oauthInstance.login();\n+      };\n+      expect(fn).to.throw(Error);\n+    });\n+\n+    it('should throw an error if no app id was provided', function() {\n+      oauthInstance.appId = null;\n+      var fn = function() {\n+        oauthInstance.login();\n+      };\n+      expect(fn).to.throw(Error);\n+    });\n+\n+    it('should have a response type token', function() {\n+      oauthInstance.appId = null;\n+      var fn = function() {\n+        oauthInstance.login();\n+      };\n+      expect(fn).to.throw(Error);\n+    });\n+\n+    describe('and it should persist credentials', function() {\n+      beforeEach(function() {\n         let options = {\n-            appId: 'fakeAppId',\n-            redirectURI: 'fakeURI'\n+          appId: 'fakeAppId',\n+          redirectURI: 'fakeURI',\n+          persist: true\n         };\n         oauthInstance = new Oauth2(options);\n+\n+        sinon.spy(oauthInstance, '_loginRedirect');\n+      });\n+\n+      it('should not redirect if access token is present', function() {\n+        localStorage.setItem('relayr_access_token', 'FAKE_ACCESS_TOKEN');\n+\n+        oauthInstance.login();\n+\n+        expect(oauthInstance._loginRedirect).not.to.have.been.called;\n+      });\n+\n+      it('should fetch token from localStorage', function() {\n+        localStorage.setItem('relayr_access_token', 'FAKE_ACCESS_TOKEN');\n+\n+        oauthInstance.login();\n+\n+        expect(oauthInstance.token).to.equal('FAKE_ACCESS_TOKEN');\n+      });\n+\n+      it('should redirect if access token is not present', function() {\n+        localStorage.removeItem('relayr_access_token');\n+\n+        oauthInstance.login();\n+\n+        expect(oauthInstance._loginRedirect).to.have.been.called;\n+      });\n     });\n+  });\n \n-    describe('#login', function() {\n-        beforeEach(function() {\n-            sinon.spy(oauthInstance, '_loginRedirect');\n-        });\n-        it('should bulid a URL with provided app id and redirect uri', function() {\n-            oauthInstance.login();\n-\n-            expect(oauthInstance._loginRedirect).to.have.been.calledWith('https://api.relayr.io/oauth2/auth?client_id=fakeAppId&redirect_uri=fakeURI&response_type=token&scope=access-own-user-info+configure-devices');\n-        });\n-\n-        it('should build a URL with configured input ', function() {\n-            oauthInstance.appId = 'new-fake-app-id';\n-            oauthInstance.login();\n-\n-            expect(oauthInstance._loginRedirect).to.have.been.calledWith('https://api.relayr.io/oauth2/auth?client_id=new-fake-app-id&redirect_uri=fakeURI&response_type=token&scope=access-own-user-info+configure-devices');\n-        });\n-\n-        it('should throw an error if no redirect uri was provided', function() {\n-            oauthInstance.redirectURI = null;\n-            var fn = function() {\n-                oauthInstance.login();\n-            };\n-            expect(fn).to.throw(Error);\n-        });\n-\n-        it('should throw an error if no app id was provided', function() {\n-            oauthInstance.appId = null;\n-            var fn = function() {\n-                oauthInstance.login();\n-            };\n-            expect(fn).to.throw(Error);\n-        });\n-\n-        it('should have a response type token', function() {\n-            oauthInstance.appId = null;\n-            var fn = function() {\n-                oauthInstance.login();\n-            };\n-            expect(fn).to.throw(Error);\n-        });\n-\n-        describe('and it should persist credentials', function() {\n-            beforeEach(function() {\n-                let options = {\n-                    appId: 'fakeAppId',\n-                    redirectURI: 'fakeURI',\n-                    persist: true\n-                };\n-                oauthInstance = new Oauth2(options);\n-\n-                sinon.spy(oauthInstance, '_loginRedirect');\n-            });\n-\n-            it('should not redirect if access token is present', function() {\n-                localStorage.setItem('relayr_access_token', 'FAKE_ACCESS_TOKEN');\n-\n-                oauthInstance.login();\n-\n-                expect(oauthInstance._loginRedirect).not.to.have.been.called;\n-            });\n-\n-            it('should fetch token from localStorage', function() {\n-                localStorage.setItem('relayr_access_token', 'FAKE_ACCESS_TOKEN');\n-\n-                oauthInstance.login();\n-\n-                expect(oauthInstance.token).to.equal('FAKE_ACCESS_TOKEN');\n-            });\n-\n-            it('should redirect if access token is not present', function() {\n-                localStorage.removeItem('relayr_access_token');\n-\n-                oauthInstance.login();\n-\n-                expect(oauthInstance._loginRedirect).to.have.been.called;\n-            });\n-        });\n-    });\n-\n-    describe('#_loginRedirect', function() {\n-        beforeEach(function() {\n-            let options = {\n-                appId: 'fakeAppId',\n-                redirectURI: 'fakeURI',\n-                persist: true\n-            };\n-\n-            oauthInstance = new Oauth2(options);\n-            sinon.spy(oauthInstance, '_loginRedirect');\n-        });\n-\n-        it('should build the redirect from the appID and redirect URI', function() {\n-            //do we need this? \n-            let uri = 'https://api.relayr.io/oauth2/auth?client_id=fakeAppId&redirect_uri=fakeURI&response_type=token&scope=access-own-user-info+configure-devices';\n-            oauthInstance._loginRedirect(uri)\n-            expect(oauthInstance._loginRedirect).to.have.been.calledWith('https://api.relayr.io/oauth2/auth?client_id=fakeAppId&redirect_uri=fakeURI&response_type=token&scope=access-own-user-info+configure-devices')\n-        });\n-    });\n-\n-    describe('#_parseToken', function() {\n-        it('should return token provided in URL as a query paramter', function() {\n-            oauthInstance._parseToken('example.com/oauth#access_token=A_FAKE_TOKEN&token_type=Bearer');\n-            expect(oauthInstance.token).to.equal('Bearer A_FAKE_TOKEN');\n-        });\n-\n-        it('should throw an error when the URL is emptys', function() {\n-            var fn = function() {\n-                oauthInstance._parseToken('');\n-            };\n-            expect(fn).to.throw(Error);\n-        });\n-\n-        it('should throw an error when no query parameter is provided', function() {\n-            var fn = function() {\n-                oauthInstance._parseToken('example.com/oauth#');\n-            };\n-            expect(fn).to.throw(Error);\n-        });\n-\n-        it('should throw an error when no access token is provided', function() {\n-            var fn = function() {\n-                oauthInstance._parseToken('example.com/oauth#BLABLA');\n-            };\n-            expect(fn).to.throw(Error);\n-        });\n-\n-        describe('and it should persist credentials', function() {\n-            it('should persist the access token in local storage as well', function() {\n-\n-            });\n-        });\n-    });\n-\n-    describe('#setToken', function() {\n-        beforeEach(function() {\n-            let token = 'A_FAKE_TOKEN'\n-                // localStorage.setItem('relayrToken', token);\n-\n-            let options = {\n-                appId: 'fakeAppId',\n-                redirectURI: 'fakeURI',\n-                persist: true\n-            };\n-            oauthInstance = new Oauth2(options);\n-            oauthInstance.token = 'A_FAKE_TOKEN'\n-        });\n-\n-        it('should save token tolocal storage', function() {\n-            oauthInstance.setToken();\n-            expect(localStorage.getItem('relayrToken')).to.equal('A_FAKE_TOKEN');\n-        });\n-\n+  describe('#_loginRedirect', function() {\n+    beforeEach(function() {\n+      let options = {\n+        appId: 'fakeAppId',\n+        redirectURI: 'fakeURI',\n+        persist: true\n+      };\n+\n+      oauthInstance = new Oauth2(options);\n+      sinon.spy(oauthInstance, '_loginRedirect');\n     });\n-\n-    describe('#logout', function() {\n-        beforeEach(function() {\n-            let options = {\n-                appId: 'fakeAppId',\n-                redirectURI: 'fakeURI',\n-                persist: true\n-            };\n-            oauthInstance = new Oauth2(options);\n-            oauthInstance.token = 'A_FAKE_TOKEN'\n-            localStorage.setItem('relayrToken', oauthInstance.token);\n-        });\n-\n-        it('should remove the token from local storage', function() {\n-            oauthInstance.logout();\n-            expect(localStorage.getItem('relayrToken')).to.be.null;\n-        });\n+\n+    it('should build the redirect from the appID and redirect URI', function() {\n+      //do we need this?\n+      let uri = 'https://api.relayr.io/oauth2/auth?client_id=fakeAppId&redirect_uri=fakeURI&response_type=token&scope=access-own-user-info+configure-devices';\n+      oauthInstance._loginRedirect(uri)","path":"test/oauth2.test.js","position":277,"original_position":277,"commit_id":"206cae694fa69384a505138eb5e2519aa3a2b79b","original_commit_id":"ed090ffea292cc830632e8e51c251e677f6fb6ec","user":{"login":"SmbatYeranyan","id":6469521,"avatar_url":"https://avatars.githubusercontent.com/u/6469521?v=3","gravatar_id":"","url":"https://api.github.com/users/SmbatYeranyan","html_url":"https://github.com/SmbatYeranyan","followers_url":"https://api.github.com/users/SmbatYeranyan/followers","following_url":"https://api.github.com/users/SmbatYeranyan/following{/other_user}","gists_url":"https://api.github.com/users/SmbatYeranyan/gists{/gist_id}","starred_url":"https://api.github.com/users/SmbatYeranyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmbatYeranyan/subscriptions","organizations_url":"https://api.github.com/users/SmbatYeranyan/orgs","repos_url":"https://api.github.com/users/SmbatYeranyan/repos","events_url":"https://api.github.com/users/SmbatYeranyan/events{/privacy}","received_events_url":"https://api.github.com/users/SmbatYeranyan/received_events","type":"User","site_admin":false},"body":"Agreed, will remove in next commit.","created_at":"2016-06-07T20:03:15Z","updated_at":"2016-06-07T20:03:15Z","html_url":"https://github.com/relayr/browser-sdk/pull/19#discussion_r66141977","pull_request_url":"https://api.github.com/repos/relayr/browser-sdk/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/relayr/browser-sdk/pulls/comments/66141977"},"html":{"href":"https://github.com/relayr/browser-sdk/pull/19#discussion_r66141977"},"pull_request":{"href":"https://api.github.com/repos/relayr/browser-sdk/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/relayr/browser-sdk/pulls/19","id":72881839,"html_url":"https://github.com/relayr/browser-sdk/pull/19","diff_url":"https://github.com/relayr/browser-sdk/pull/19.diff","patch_url":"https://github.com/relayr/browser-sdk/pull/19.patch","issue_url":"https://api.github.com/repos/relayr/browser-sdk/issues/19","number":19,"state":"open","locked":false,"title":"User class + ajax tool class","user":{"login":"SmbatYeranyan","id":6469521,"avatar_url":"https://avatars.githubusercontent.com/u/6469521?v=3","gravatar_id":"","url":"https://api.github.com/users/SmbatYeranyan","html_url":"https://github.com/SmbatYeranyan","followers_url":"https://api.github.com/users/SmbatYeranyan/followers","following_url":"https://api.github.com/users/SmbatYeranyan/following{/other_user}","gists_url":"https://api.github.com/users/SmbatYeranyan/gists{/gist_id}","starred_url":"https://api.github.com/users/SmbatYeranyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmbatYeranyan/subscriptions","organizations_url":"https://api.github.com/users/SmbatYeranyan/orgs","repos_url":"https://api.github.com/users/SmbatYeranyan/repos","events_url":"https://api.github.com/users/SmbatYeranyan/events{/privacy}","received_events_url":"https://api.github.com/users/SmbatYeranyan/received_events","type":"User","site_admin":false},"body":"Some tests regarding ajax and basic user class","created_at":"2016-06-07T14:08:44Z","updated_at":"2016-06-07T20:03:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"507bee81ebee54e4826d099c9e52b7b54dd02cfd","assignee":{"login":"jontore","id":163290,"avatar_url":"https://avatars.githubusercontent.com/u/163290?v=3","gravatar_id":"","url":"https://api.github.com/users/jontore","html_url":"https://github.com/jontore","followers_url":"https://api.github.com/users/jontore/followers","following_url":"https://api.github.com/users/jontore/following{/other_user}","gists_url":"https://api.github.com/users/jontore/gists{/gist_id}","starred_url":"https://api.github.com/users/jontore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jontore/subscriptions","organizations_url":"https://api.github.com/users/jontore/orgs","repos_url":"https://api.github.com/users/jontore/repos","events_url":"https://api.github.com/users/jontore/events{/privacy}","received_events_url":"https://api.github.com/users/jontore/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/relayr/browser-sdk/pulls/19/commits","review_comments_url":"https://api.github.com/repos/relayr/browser-sdk/pulls/19/comments","review_comment_url":"https://api.github.com/repos/relayr/browser-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/relayr/browser-sdk/issues/19/comments","statuses_url":"https://api.github.com/repos/relayr/browser-sdk/statuses/206cae694fa69384a505138eb5e2519aa3a2b79b","head":{"label":"relayr:user-class","ref":"user-class","sha":"206cae694fa69384a505138eb5e2519aa3a2b79b","user":{"login":"relayr","id":5864098,"avatar_url":"https://avatars.githubusercontent.com/u/5864098?v=3","gravatar_id":"","url":"https://api.github.com/users/relayr","html_url":"https://github.com/relayr","followers_url":"https://api.github.com/users/relayr/followers","following_url":"https://api.github.com/users/relayr/following{/other_user}","gists_url":"https://api.github.com/users/relayr/gists{/gist_id}","starred_url":"https://api.github.com/users/relayr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relayr/subscriptions","organizations_url":"https://api.github.com/users/relayr/orgs","repos_url":"https://api.github.com/users/relayr/repos","events_url":"https://api.github.com/users/relayr/events{/privacy}","received_events_url":"https://api.github.com/users/relayr/received_events","type":"Organization","site_admin":false},"repo":{"id":24459386,"name":"browser-sdk","full_name":"relayr/browser-sdk","owner":{"login":"relayr","id":5864098,"avatar_url":"https://avatars.githubusercontent.com/u/5864098?v=3","gravatar_id":"","url":"https://api.github.com/users/relayr","html_url":"https://github.com/relayr","followers_url":"https://api.github.com/users/relayr/followers","following_url":"https://api.github.com/users/relayr/following{/other_user}","gists_url":"https://api.github.com/users/relayr/gists{/gist_id}","starred_url":"https://api.github.com/users/relayr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relayr/subscriptions","organizations_url":"https://api.github.com/users/relayr/orgs","repos_url":"https://api.github.com/users/relayr/repos","events_url":"https://api.github.com/users/relayr/events{/privacy}","received_events_url":"https://api.github.com/users/relayr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/relayr/browser-sdk","description":"This easy to use JavaScript implementation will allow you to quickly create relayr browser side web applications, start receiving data from your sensors and display the data received in your browser. ","fork":false,"url":"https://api.github.com/repos/relayr/browser-sdk","forks_url":"https://api.github.com/repos/relayr/browser-sdk/forks","keys_url":"https://api.github.com/repos/relayr/browser-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/relayr/browser-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/relayr/browser-sdk/teams","hooks_url":"https://api.github.com/repos/relayr/browser-sdk/hooks","issue_events_url":"https://api.github.com/repos/relayr/browser-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/relayr/browser-sdk/events","assignees_url":"https://api.github.com/repos/relayr/browser-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/relayr/browser-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/relayr/browser-sdk/tags","blobs_url":"https://api.github.com/repos/relayr/browser-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/relayr/browser-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/relayr/browser-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/relayr/browser-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/relayr/browser-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/relayr/browser-sdk/languages","stargazers_url":"https://api.github.com/repos/relayr/browser-sdk/stargazers","contributors_url":"https://api.github.com/repos/relayr/browser-sdk/contributors","subscribers_url":"https://api.github.com/repos/relayr/browser-sdk/subscribers","subscription_url":"https://api.github.com/repos/relayr/browser-sdk/subscription","commits_url":"https://api.github.com/repos/relayr/browser-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/relayr/browser-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/relayr/browser-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/relayr/browser-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/relayr/browser-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/relayr/browser-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/relayr/browser-sdk/merges","archive_url":"https://api.github.com/repos/relayr/browser-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/relayr/browser-sdk/downloads","issues_url":"https://api.github.com/repos/relayr/browser-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/relayr/browser-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/relayr/browser-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/relayr/browser-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/relayr/browser-sdk/labels{/name}","releases_url":"https://api.github.com/repos/relayr/browser-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/relayr/browser-sdk/deployments","created_at":"2014-09-25T13:37:21Z","updated_at":"2016-01-14T10:33:45Z","pushed_at":"2016-06-07T16:00:22Z","git_url":"git://github.com/relayr/browser-sdk.git","ssh_url":"git@github.com:relayr/browser-sdk.git","clone_url":"https://github.com/relayr/browser-sdk.git","svn_url":"https://github.com/relayr/browser-sdk","homepage":"","size":833,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":7,"default_branch":"master"}},"base":{"label":"relayr:2.0.0-dev","ref":"2.0.0-dev","sha":"944b1624d5f2ccf7a9bca681a047a4acc508b3f0","user":{"login":"relayr","id":5864098,"avatar_url":"https://avatars.githubusercontent.com/u/5864098?v=3","gravatar_id":"","url":"https://api.github.com/users/relayr","html_url":"https://github.com/relayr","followers_url":"https://api.github.com/users/relayr/followers","following_url":"https://api.github.com/users/relayr/following{/other_user}","gists_url":"https://api.github.com/users/relayr/gists{/gist_id}","starred_url":"https://api.github.com/users/relayr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relayr/subscriptions","organizations_url":"https://api.github.com/users/relayr/orgs","repos_url":"https://api.github.com/users/relayr/repos","events_url":"https://api.github.com/users/relayr/events{/privacy}","received_events_url":"https://api.github.com/users/relayr/received_events","type":"Organization","site_admin":false},"repo":{"id":24459386,"name":"browser-sdk","full_name":"relayr/browser-sdk","owner":{"login":"relayr","id":5864098,"avatar_url":"https://avatars.githubusercontent.com/u/5864098?v=3","gravatar_id":"","url":"https://api.github.com/users/relayr","html_url":"https://github.com/relayr","followers_url":"https://api.github.com/users/relayr/followers","following_url":"https://api.github.com/users/relayr/following{/other_user}","gists_url":"https://api.github.com/users/relayr/gists{/gist_id}","starred_url":"https://api.github.com/users/relayr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relayr/subscriptions","organizations_url":"https://api.github.com/users/relayr/orgs","repos_url":"https://api.github.com/users/relayr/repos","events_url":"https://api.github.com/users/relayr/events{/privacy}","received_events_url":"https://api.github.com/users/relayr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/relayr/browser-sdk","description":"This easy to use JavaScript implementation will allow you to quickly create relayr browser side web applications, start receiving data from your sensors and display the data received in your browser. ","fork":false,"url":"https://api.github.com/repos/relayr/browser-sdk","forks_url":"https://api.github.com/repos/relayr/browser-sdk/forks","keys_url":"https://api.github.com/repos/relayr/browser-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/relayr/browser-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/relayr/browser-sdk/teams","hooks_url":"https://api.github.com/repos/relayr/browser-sdk/hooks","issue_events_url":"https://api.github.com/repos/relayr/browser-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/relayr/browser-sdk/events","assignees_url":"https://api.github.com/repos/relayr/browser-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/relayr/browser-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/relayr/browser-sdk/tags","blobs_url":"https://api.github.com/repos/relayr/browser-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/relayr/browser-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/relayr/browser-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/relayr/browser-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/relayr/browser-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/relayr/browser-sdk/languages","stargazers_url":"https://api.github.com/repos/relayr/browser-sdk/stargazers","contributors_url":"https://api.github.com/repos/relayr/browser-sdk/contributors","subscribers_url":"https://api.github.com/repos/relayr/browser-sdk/subscribers","subscription_url":"https://api.github.com/repos/relayr/browser-sdk/subscription","commits_url":"https://api.github.com/repos/relayr/browser-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/relayr/browser-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/relayr/browser-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/relayr/browser-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/relayr/browser-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/relayr/browser-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/relayr/browser-sdk/merges","archive_url":"https://api.github.com/repos/relayr/browser-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/relayr/browser-sdk/downloads","issues_url":"https://api.github.com/repos/relayr/browser-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/relayr/browser-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/relayr/browser-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/relayr/browser-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/relayr/browser-sdk/labels{/name}","releases_url":"https://api.github.com/repos/relayr/browser-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/relayr/browser-sdk/deployments","created_at":"2014-09-25T13:37:21Z","updated_at":"2016-01-14T10:33:45Z","pushed_at":"2016-06-07T16:00:22Z","git_url":"git://github.com/relayr/browser-sdk.git","ssh_url":"git@github.com:relayr/browser-sdk.git","clone_url":"https://github.com/relayr/browser-sdk.git","svn_url":"https://github.com/relayr/browser-sdk","homepage":"","size":833,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/relayr/browser-sdk/pulls/19"},"html":{"href":"https://github.com/relayr/browser-sdk/pull/19"},"issue":{"href":"https://api.github.com/repos/relayr/browser-sdk/issues/19"},"comments":{"href":"https://api.github.com/repos/relayr/browser-sdk/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/relayr/browser-sdk/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/relayr/browser-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/relayr/browser-sdk/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/relayr/browser-sdk/statuses/206cae694fa69384a505138eb5e2519aa3a2b79b"}}}}
{"actor":{"display_login":"SmbatYeranyan"}}