{"action":"created","comment":{"url":"https://api.github.com/repos/queue-hero/queue-hero/pulls/comments/41691669","id":41691669,"diff_hunk":"@@ -148,6 +147,37 @@\n       console.warn('ERROR(' + err.code + '): ' + err.message);\r\n     }\r\n \r\n+\r\n+    var sessionHeroOrder = $window.JSON.parse($window.sessionStorage.getItem('heroOrder'));\r\n+    if( sessionHeroOrder !== null ) {\r\n+      heroFactory.setOrder(sessionHeroOrder);\r\n+      console.log('default hero order loaded');\r\n+    }\r\n+\r\n+    var sessionReqOrder = $window.JSON.parse($window.sessionStorage.getItem('requesterOrder'));\r\n+    if( sessionReqOrder !== null ) {\r\n+      requesterFactory.setOrder(sessionReqOrder);\r\n+      console.log('default req order loaded');\r\n+    }\r\n+\r\n+    $rootScope.$watch(function() {\r\n+      return heroFactory.getOrder();\r\n+    }, function watchCallback (newVal, oldVal){\r","path":"client/src/app.js","position":44,"original_position":44,"commit_id":"ac8799be8c7d18f19083cbc9db663d0cbaf9e769","original_commit_id":"ac8799be8c7d18f19083cbc9db663d0cbaf9e769","user":{"login":"tatsumitagawa","id":10057207,"avatar_url":"https://avatars.githubusercontent.com/u/10057207?v=3","gravatar_id":"","url":"https://api.github.com/users/tatsumitagawa","html_url":"https://github.com/tatsumitagawa","followers_url":"https://api.github.com/users/tatsumitagawa/followers","following_url":"https://api.github.com/users/tatsumitagawa/following{/other_user}","gists_url":"https://api.github.com/users/tatsumitagawa/gists{/gist_id}","starred_url":"https://api.github.com/users/tatsumitagawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatsumitagawa/subscriptions","organizations_url":"https://api.github.com/users/tatsumitagawa/orgs","repos_url":"https://api.github.com/users/tatsumitagawa/repos","events_url":"https://api.github.com/users/tatsumitagawa/events{/privacy}","received_events_url":"https://api.github.com/users/tatsumitagawa/received_events","type":"User","site_admin":false},"body":"no space after `watchCallback` need space after `(newVal, oldVal)`\r\n\r\nit should be `watchCallback(newVal, oldVal) {`","created_at":"2015-10-10T02:09:42Z","updated_at":"2015-10-10T02:09:42Z","html_url":"https://github.com/queue-hero/queue-hero/pull/97#discussion_r41691669","pull_request_url":"https://api.github.com/repos/queue-hero/queue-hero/pulls/97","_links":{"self":{"href":"https://api.github.com/repos/queue-hero/queue-hero/pulls/comments/41691669"},"html":{"href":"https://github.com/queue-hero/queue-hero/pull/97#discussion_r41691669"},"pull_request":{"href":"https://api.github.com/repos/queue-hero/queue-hero/pulls/97"}}},"pull_request":{"url":"https://api.github.com/repos/queue-hero/queue-hero/pulls/97","id":47332484,"html_url":"https://github.com/queue-hero/queue-hero/pull/97","diff_url":"https://github.com/queue-hero/queue-hero/pull/97.diff","patch_url":"https://github.com/queue-hero/queue-hero/pull/97.patch","issue_url":"https://api.github.com/repos/queue-hero/queue-hero/issues/97","number":97,"state":"open","locked":false,"title":"fix(requesterCtl.js): fix bug and typo with order check status request handler and minors refactors","user":{"login":"arminsebastian","id":12264126,"avatar_url":"https://avatars.githubusercontent.com/u/12264126?v=3","gravatar_id":"","url":"https://api.github.com/users/arminsebastian","html_url":"https://github.com/arminsebastian","followers_url":"https://api.github.com/users/arminsebastian/followers","following_url":"https://api.github.com/users/arminsebastian/following{/other_user}","gists_url":"https://api.github.com/users/arminsebastian/gists{/gist_id}","starred_url":"https://api.github.com/users/arminsebastian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arminsebastian/subscriptions","organizations_url":"https://api.github.com/users/arminsebastian/orgs","repos_url":"https://api.github.com/users/arminsebastian/repos","events_url":"https://api.github.com/users/arminsebastian/events{/privacy}","received_events_url":"https://api.github.com/users/arminsebastian/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-10T00:24:09Z","updated_at":"2015-10-10T02:09:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"26695df441d1851ef43f7366d1551d55d3ed3b33","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/queue-hero/queue-hero/pulls/97/commits","review_comments_url":"https://api.github.com/repos/queue-hero/queue-hero/pulls/97/comments","review_comment_url":"https://api.github.com/repos/queue-hero/queue-hero/pulls/comments{/number}","comments_url":"https://api.github.com/repos/queue-hero/queue-hero/issues/97/comments","statuses_url":"https://api.github.com/repos/queue-hero/queue-hero/statuses/ac8799be8c7d18f19083cbc9db663d0cbaf9e769","head":{"label":"arminsebastian:sessionStorage","ref":"sessionStorage","sha":"ac8799be8c7d18f19083cbc9db663d0cbaf9e769","user":{"login":"arminsebastian","id":12264126,"avatar_url":"https://avatars.githubusercontent.com/u/12264126?v=3","gravatar_id":"","url":"https://api.github.com/users/arminsebastian","html_url":"https://github.com/arminsebastian","followers_url":"https://api.github.com/users/arminsebastian/followers","following_url":"https://api.github.com/users/arminsebastian/following{/other_user}","gists_url":"https://api.github.com/users/arminsebastian/gists{/gist_id}","starred_url":"https://api.github.com/users/arminsebastian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arminsebastian/subscriptions","organizations_url":"https://api.github.com/users/arminsebastian/orgs","repos_url":"https://api.github.com/users/arminsebastian/repos","events_url":"https://api.github.com/users/arminsebastian/events{/privacy}","received_events_url":"https://api.github.com/users/arminsebastian/received_events","type":"User","site_admin":false},"repo":{"id":43186600,"name":"queue-hero","full_name":"arminsebastian/queue-hero","owner":{"login":"arminsebastian","id":12264126,"avatar_url":"https://avatars.githubusercontent.com/u/12264126?v=3","gravatar_id":"","url":"https://api.github.com/users/arminsebastian","html_url":"https://github.com/arminsebastian","followers_url":"https://api.github.com/users/arminsebastian/followers","following_url":"https://api.github.com/users/arminsebastian/following{/other_user}","gists_url":"https://api.github.com/users/arminsebastian/gists{/gist_id}","starred_url":"https://api.github.com/users/arminsebastian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arminsebastian/subscriptions","organizations_url":"https://api.github.com/users/arminsebastian/orgs","repos_url":"https://api.github.com/users/arminsebastian/repos","events_url":"https://api.github.com/users/arminsebastian/events{/privacy}","received_events_url":"https://api.github.com/users/arminsebastian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arminsebastian/queue-hero","description":"Find your hero","fork":true,"url":"https://api.github.com/repos/arminsebastian/queue-hero","forks_url":"https://api.github.com/repos/arminsebastian/queue-hero/forks","keys_url":"https://api.github.com/repos/arminsebastian/queue-hero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arminsebastian/queue-hero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arminsebastian/queue-hero/teams","hooks_url":"https://api.github.com/repos/arminsebastian/queue-hero/hooks","issue_events_url":"https://api.github.com/repos/arminsebastian/queue-hero/issues/events{/number}","events_url":"https://api.github.com/repos/arminsebastian/queue-hero/events","assignees_url":"https://api.github.com/repos/arminsebastian/queue-hero/assignees{/user}","branches_url":"https://api.github.com/repos/arminsebastian/queue-hero/branches{/branch}","tags_url":"https://api.github.com/repos/arminsebastian/queue-hero/tags","blobs_url":"https://api.github.com/repos/arminsebastian/queue-hero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arminsebastian/queue-hero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arminsebastian/queue-hero/git/refs{/sha}","trees_url":"https://api.github.com/repos/arminsebastian/queue-hero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arminsebastian/queue-hero/statuses/{sha}","languages_url":"https://api.github.com/repos/arminsebastian/queue-hero/languages","stargazers_url":"https://api.github.com/repos/arminsebastian/queue-hero/stargazers","contributors_url":"https://api.github.com/repos/arminsebastian/queue-hero/contributors","subscribers_url":"https://api.github.com/repos/arminsebastian/queue-hero/subscribers","subscription_url":"https://api.github.com/repos/arminsebastian/queue-hero/subscription","commits_url":"https://api.github.com/repos/arminsebastian/queue-hero/commits{/sha}","git_commits_url":"https://api.github.com/repos/arminsebastian/queue-hero/git/commits{/sha}","comments_url":"https://api.github.com/repos/arminsebastian/queue-hero/comments{/number}","issue_comment_url":"https://api.github.com/repos/arminsebastian/queue-hero/issues/comments{/number}","contents_url":"https://api.github.com/repos/arminsebastian/queue-hero/contents/{+path}","compare_url":"https://api.github.com/repos/arminsebastian/queue-hero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arminsebastian/queue-hero/merges","archive_url":"https://api.github.com/repos/arminsebastian/queue-hero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arminsebastian/queue-hero/downloads","issues_url":"https://api.github.com/repos/arminsebastian/queue-hero/issues{/number}","pulls_url":"https://api.github.com/repos/arminsebastian/queue-hero/pulls{/number}","milestones_url":"https://api.github.com/repos/arminsebastian/queue-hero/milestones{/number}","notifications_url":"https://api.github.com/repos/arminsebastian/queue-hero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arminsebastian/queue-hero/labels{/name}","releases_url":"https://api.github.com/repos/arminsebastian/queue-hero/releases{/id}","created_at":"2015-09-26T02:04:39Z","updated_at":"2015-09-25T18:38:19Z","pushed_at":"2015-10-10T01:28:39Z","git_url":"git://github.com/arminsebastian/queue-hero.git","ssh_url":"git@github.com:arminsebastian/queue-hero.git","clone_url":"https://github.com/arminsebastian/queue-hero.git","svn_url":"https://github.com/arminsebastian/queue-hero","homepage":null,"size":1717,"stargazers_count":0,"watchers_count":0,"language":null,"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":"queue-hero:dev","ref":"dev","sha":"afcba17fd9a987b0465cfd382ea7ef7fffeb3bbb","user":{"login":"queue-hero","id":14841463,"avatar_url":"https://avatars.githubusercontent.com/u/14841463?v=3","gravatar_id":"","url":"https://api.github.com/users/queue-hero","html_url":"https://github.com/queue-hero","followers_url":"https://api.github.com/users/queue-hero/followers","following_url":"https://api.github.com/users/queue-hero/following{/other_user}","gists_url":"https://api.github.com/users/queue-hero/gists{/gist_id}","starred_url":"https://api.github.com/users/queue-hero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/queue-hero/subscriptions","organizations_url":"https://api.github.com/users/queue-hero/orgs","repos_url":"https://api.github.com/users/queue-hero/repos","events_url":"https://api.github.com/users/queue-hero/events{/privacy}","received_events_url":"https://api.github.com/users/queue-hero/received_events","type":"Organization","site_admin":false},"repo":{"id":43168757,"name":"queue-hero","full_name":"queue-hero/queue-hero","owner":{"login":"queue-hero","id":14841463,"avatar_url":"https://avatars.githubusercontent.com/u/14841463?v=3","gravatar_id":"","url":"https://api.github.com/users/queue-hero","html_url":"https://github.com/queue-hero","followers_url":"https://api.github.com/users/queue-hero/followers","following_url":"https://api.github.com/users/queue-hero/following{/other_user}","gists_url":"https://api.github.com/users/queue-hero/gists{/gist_id}","starred_url":"https://api.github.com/users/queue-hero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/queue-hero/subscriptions","organizations_url":"https://api.github.com/users/queue-hero/orgs","repos_url":"https://api.github.com/users/queue-hero/repos","events_url":"https://api.github.com/users/queue-hero/events{/privacy}","received_events_url":"https://api.github.com/users/queue-hero/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/queue-hero/queue-hero","description":"Find your hero","fork":false,"url":"https://api.github.com/repos/queue-hero/queue-hero","forks_url":"https://api.github.com/repos/queue-hero/queue-hero/forks","keys_url":"https://api.github.com/repos/queue-hero/queue-hero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/queue-hero/queue-hero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/queue-hero/queue-hero/teams","hooks_url":"https://api.github.com/repos/queue-hero/queue-hero/hooks","issue_events_url":"https://api.github.com/repos/queue-hero/queue-hero/issues/events{/number}","events_url":"https://api.github.com/repos/queue-hero/queue-hero/events","assignees_url":"https://api.github.com/repos/queue-hero/queue-hero/assignees{/user}","branches_url":"https://api.github.com/repos/queue-hero/queue-hero/branches{/branch}","tags_url":"https://api.github.com/repos/queue-hero/queue-hero/tags","blobs_url":"https://api.github.com/repos/queue-hero/queue-hero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/queue-hero/queue-hero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/queue-hero/queue-hero/git/refs{/sha}","trees_url":"https://api.github.com/repos/queue-hero/queue-hero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/queue-hero/queue-hero/statuses/{sha}","languages_url":"https://api.github.com/repos/queue-hero/queue-hero/languages","stargazers_url":"https://api.github.com/repos/queue-hero/queue-hero/stargazers","contributors_url":"https://api.github.com/repos/queue-hero/queue-hero/contributors","subscribers_url":"https://api.github.com/repos/queue-hero/queue-hero/subscribers","subscription_url":"https://api.github.com/repos/queue-hero/queue-hero/subscription","commits_url":"https://api.github.com/repos/queue-hero/queue-hero/commits{/sha}","git_commits_url":"https://api.github.com/repos/queue-hero/queue-hero/git/commits{/sha}","comments_url":"https://api.github.com/repos/queue-hero/queue-hero/comments{/number}","issue_comment_url":"https://api.github.com/repos/queue-hero/queue-hero/issues/comments{/number}","contents_url":"https://api.github.com/repos/queue-hero/queue-hero/contents/{+path}","compare_url":"https://api.github.com/repos/queue-hero/queue-hero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/queue-hero/queue-hero/merges","archive_url":"https://api.github.com/repos/queue-hero/queue-hero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/queue-hero/queue-hero/downloads","issues_url":"https://api.github.com/repos/queue-hero/queue-hero/issues{/number}","pulls_url":"https://api.github.com/repos/queue-hero/queue-hero/pulls{/number}","milestones_url":"https://api.github.com/repos/queue-hero/queue-hero/milestones{/number}","notifications_url":"https://api.github.com/repos/queue-hero/queue-hero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/queue-hero/queue-hero/labels{/name}","releases_url":"https://api.github.com/repos/queue-hero/queue-hero/releases{/id}","created_at":"2015-09-25T18:38:19Z","updated_at":"2015-10-01T19:24:13Z","pushed_at":"2015-10-10T01:55:48Z","git_url":"git://github.com/queue-hero/queue-hero.git","ssh_url":"git@github.com:queue-hero/queue-hero.git","clone_url":"https://github.com/queue-hero/queue-hero.git","svn_url":"https://github.com/queue-hero/queue-hero","homepage":null,"size":2511,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/queue-hero/queue-hero/pulls/97"},"html":{"href":"https://github.com/queue-hero/queue-hero/pull/97"},"issue":{"href":"https://api.github.com/repos/queue-hero/queue-hero/issues/97"},"comments":{"href":"https://api.github.com/repos/queue-hero/queue-hero/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/queue-hero/queue-hero/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/queue-hero/queue-hero/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/queue-hero/queue-hero/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/queue-hero/queue-hero/statuses/ac8799be8c7d18f19083cbc9db663d0cbaf9e769"}}}}