{"action":"created","comment":{"url":"https://api.github.com/repos/danliris/bateeq-ui/pulls/comments/93724707","pull_request_review_id":14258309,"id":93724707,"diff_hunk":"@@ -1,13 +1,29 @@\n-import {inject, Aurelia} from 'aurelia-framework';\n+import {inject, Aurelia, BindingEngine} from 'aurelia-framework';\n import {Router} from 'aurelia-router';\n import {Session} from './utils/session';\n \n-@inject(Aurelia, Router, Session)\n+@inject(Aurelia, Router, BindingEngine, Session)\n export class NavBar {\n-    constructor(aurelia, router, session) {\n+    constructor(aurelia, router, bindingEngine, session) {\n         this.aurelia = aurelia;\n         this.router = router;\n+        this.bindingEngine = bindingEngine;\n         this.session = session;\n+\n+        this.storeId = this.session.store._id;\n+    }\n+    \n+    attached() {\n+        this.stores = this.session.stores;\n+        this.bindingEngine.propertyObserver(this, \"storeId\").subscribe((newValue, oldValue) => {\n+            for (var store of this.stores) {","path":"src/nav-bar.js","position":22,"original_position":22,"commit_id":"1976acb60a1f2c6b68a4dd11de6e6a13d6f3d4f7","original_commit_id":"1976acb60a1f2c6b68a4dd11de6e6a13d6f3d4f7","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'for of' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).","created_at":"2016-12-23T02:29:11Z","updated_at":"2016-12-23T02:29:11Z","html_url":"https://github.com/danliris/bateeq-ui/pull/54#discussion_r93724707","pull_request_url":"https://api.github.com/repos/danliris/bateeq-ui/pulls/54","_links":{"self":{"href":"https://api.github.com/repos/danliris/bateeq-ui/pulls/comments/93724707"},"html":{"href":"https://github.com/danliris/bateeq-ui/pull/54#discussion_r93724707"},"pull_request":{"href":"https://api.github.com/repos/danliris/bateeq-ui/pulls/54"}}},"pull_request":{"url":"https://api.github.com/repos/danliris/bateeq-ui/pulls/54","id":99196747,"html_url":"https://github.com/danliris/bateeq-ui/pull/54","diff_url":"https://github.com/danliris/bateeq-ui/pull/54.diff","patch_url":"https://github.com/danliris/bateeq-ui/pull/54.patch","issue_url":"https://api.github.com/repos/danliris/bateeq-ui/issues/54","number":54,"state":"open","locked":false,"title":"security matrix","user":{"login":"lioenel","id":16473523,"avatar_url":"https://avatars.githubusercontent.com/u/16473523?v=3","gravatar_id":"","url":"https://api.github.com/users/lioenel","html_url":"https://github.com/lioenel","followers_url":"https://api.github.com/users/lioenel/followers","following_url":"https://api.github.com/users/lioenel/following{/other_user}","gists_url":"https://api.github.com/users/lioenel/gists{/gist_id}","starred_url":"https://api.github.com/users/lioenel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lioenel/subscriptions","organizations_url":"https://api.github.com/users/lioenel/orgs","repos_url":"https://api.github.com/users/lioenel/repos","events_url":"https://api.github.com/users/lioenel/events{/privacy}","received_events_url":"https://api.github.com/users/lioenel/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-23T02:29:01Z","updated_at":"2016-12-23T02:29:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b4049144600e4262fa84b64821d68ea655e6663b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/danliris/bateeq-ui/pulls/54/commits","review_comments_url":"https://api.github.com/repos/danliris/bateeq-ui/pulls/54/comments","review_comment_url":"https://api.github.com/repos/danliris/bateeq-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/danliris/bateeq-ui/issues/54/comments","statuses_url":"https://api.github.com/repos/danliris/bateeq-ui/statuses/1976acb60a1f2c6b68a4dd11de6e6a13d6f3d4f7","head":{"label":"lioenel:dev","ref":"dev","sha":"1976acb60a1f2c6b68a4dd11de6e6a13d6f3d4f7","user":{"login":"lioenel","id":16473523,"avatar_url":"https://avatars.githubusercontent.com/u/16473523?v=3","gravatar_id":"","url":"https://api.github.com/users/lioenel","html_url":"https://github.com/lioenel","followers_url":"https://api.github.com/users/lioenel/followers","following_url":"https://api.github.com/users/lioenel/following{/other_user}","gists_url":"https://api.github.com/users/lioenel/gists{/gist_id}","starred_url":"https://api.github.com/users/lioenel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lioenel/subscriptions","organizations_url":"https://api.github.com/users/lioenel/orgs","repos_url":"https://api.github.com/users/lioenel/repos","events_url":"https://api.github.com/users/lioenel/events{/privacy}","received_events_url":"https://api.github.com/users/lioenel/received_events","type":"User","site_admin":false},"repo":{"id":64379152,"name":"bateeq-ui","full_name":"lioenel/bateeq-ui","owner":{"login":"lioenel","id":16473523,"avatar_url":"https://avatars.githubusercontent.com/u/16473523?v=3","gravatar_id":"","url":"https://api.github.com/users/lioenel","html_url":"https://github.com/lioenel","followers_url":"https://api.github.com/users/lioenel/followers","following_url":"https://api.github.com/users/lioenel/following{/other_user}","gists_url":"https://api.github.com/users/lioenel/gists{/gist_id}","starred_url":"https://api.github.com/users/lioenel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lioenel/subscriptions","organizations_url":"https://api.github.com/users/lioenel/orgs","repos_url":"https://api.github.com/users/lioenel/repos","events_url":"https://api.github.com/users/lioenel/events{/privacy}","received_events_url":"https://api.github.com/users/lioenel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lioenel/bateeq-ui","description":null,"fork":true,"url":"https://api.github.com/repos/lioenel/bateeq-ui","forks_url":"https://api.github.com/repos/lioenel/bateeq-ui/forks","keys_url":"https://api.github.com/repos/lioenel/bateeq-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lioenel/bateeq-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lioenel/bateeq-ui/teams","hooks_url":"https://api.github.com/repos/lioenel/bateeq-ui/hooks","issue_events_url":"https://api.github.com/repos/lioenel/bateeq-ui/issues/events{/number}","events_url":"https://api.github.com/repos/lioenel/bateeq-ui/events","assignees_url":"https://api.github.com/repos/lioenel/bateeq-ui/assignees{/user}","branches_url":"https://api.github.com/repos/lioenel/bateeq-ui/branches{/branch}","tags_url":"https://api.github.com/repos/lioenel/bateeq-ui/tags","blobs_url":"https://api.github.com/repos/lioenel/bateeq-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lioenel/bateeq-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lioenel/bateeq-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/lioenel/bateeq-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lioenel/bateeq-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/lioenel/bateeq-ui/languages","stargazers_url":"https://api.github.com/repos/lioenel/bateeq-ui/stargazers","contributors_url":"https://api.github.com/repos/lioenel/bateeq-ui/contributors","subscribers_url":"https://api.github.com/repos/lioenel/bateeq-ui/subscribers","subscription_url":"https://api.github.com/repos/lioenel/bateeq-ui/subscription","commits_url":"https://api.github.com/repos/lioenel/bateeq-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/lioenel/bateeq-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/lioenel/bateeq-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/lioenel/bateeq-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/lioenel/bateeq-ui/contents/{+path}","compare_url":"https://api.github.com/repos/lioenel/bateeq-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lioenel/bateeq-ui/merges","archive_url":"https://api.github.com/repos/lioenel/bateeq-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lioenel/bateeq-ui/downloads","issues_url":"https://api.github.com/repos/lioenel/bateeq-ui/issues{/number}","pulls_url":"https://api.github.com/repos/lioenel/bateeq-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/lioenel/bateeq-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/lioenel/bateeq-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lioenel/bateeq-ui/labels{/name}","releases_url":"https://api.github.com/repos/lioenel/bateeq-ui/releases{/id}","deployments_url":"https://api.github.com/repos/lioenel/bateeq-ui/deployments","created_at":"2016-07-28T08:46:08Z","updated_at":"2016-08-01T07:00:11Z","pushed_at":"2016-12-21T08:55:31Z","git_url":"git://github.com/lioenel/bateeq-ui.git","ssh_url":"git@github.com:lioenel/bateeq-ui.git","clone_url":"https://github.com/lioenel/bateeq-ui.git","svn_url":"https://github.com/lioenel/bateeq-ui","homepage":null,"size":414,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"danliris:dev","ref":"dev","sha":"a56ba1bd638e875f3de7ff50b23430cbeb5846f7","user":{"login":"danliris","id":20855729,"avatar_url":"https://avatars.githubusercontent.com/u/20855729?v=3","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"repo":{"id":60683096,"name":"bateeq-ui","full_name":"danliris/bateeq-ui","owner":{"login":"danliris","id":20855729,"avatar_url":"https://avatars.githubusercontent.com/u/20855729?v=3","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danliris/bateeq-ui","description":null,"fork":false,"url":"https://api.github.com/repos/danliris/bateeq-ui","forks_url":"https://api.github.com/repos/danliris/bateeq-ui/forks","keys_url":"https://api.github.com/repos/danliris/bateeq-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danliris/bateeq-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danliris/bateeq-ui/teams","hooks_url":"https://api.github.com/repos/danliris/bateeq-ui/hooks","issue_events_url":"https://api.github.com/repos/danliris/bateeq-ui/issues/events{/number}","events_url":"https://api.github.com/repos/danliris/bateeq-ui/events","assignees_url":"https://api.github.com/repos/danliris/bateeq-ui/assignees{/user}","branches_url":"https://api.github.com/repos/danliris/bateeq-ui/branches{/branch}","tags_url":"https://api.github.com/repos/danliris/bateeq-ui/tags","blobs_url":"https://api.github.com/repos/danliris/bateeq-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danliris/bateeq-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danliris/bateeq-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/danliris/bateeq-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danliris/bateeq-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/danliris/bateeq-ui/languages","stargazers_url":"https://api.github.com/repos/danliris/bateeq-ui/stargazers","contributors_url":"https://api.github.com/repos/danliris/bateeq-ui/contributors","subscribers_url":"https://api.github.com/repos/danliris/bateeq-ui/subscribers","subscription_url":"https://api.github.com/repos/danliris/bateeq-ui/subscription","commits_url":"https://api.github.com/repos/danliris/bateeq-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/danliris/bateeq-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/danliris/bateeq-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/danliris/bateeq-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/danliris/bateeq-ui/contents/{+path}","compare_url":"https://api.github.com/repos/danliris/bateeq-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danliris/bateeq-ui/merges","archive_url":"https://api.github.com/repos/danliris/bateeq-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danliris/bateeq-ui/downloads","issues_url":"https://api.github.com/repos/danliris/bateeq-ui/issues{/number}","pulls_url":"https://api.github.com/repos/danliris/bateeq-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/danliris/bateeq-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/danliris/bateeq-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danliris/bateeq-ui/labels{/name}","releases_url":"https://api.github.com/repos/danliris/bateeq-ui/releases{/id}","deployments_url":"https://api.github.com/repos/danliris/bateeq-ui/deployments","created_at":"2016-06-08T08:48:48Z","updated_at":"2016-12-20T11:45:34Z","pushed_at":"2016-12-23T02:29:02Z","git_url":"git://github.com/danliris/bateeq-ui.git","ssh_url":"git@github.com:danliris/bateeq-ui.git","clone_url":"https://github.com/danliris/bateeq-ui.git","svn_url":"https://github.com/danliris/bateeq-ui","homepage":null,"size":386,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danliris/bateeq-ui/pulls/54"},"html":{"href":"https://github.com/danliris/bateeq-ui/pull/54"},"issue":{"href":"https://api.github.com/repos/danliris/bateeq-ui/issues/54"},"comments":{"href":"https://api.github.com/repos/danliris/bateeq-ui/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/danliris/bateeq-ui/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/danliris/bateeq-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/danliris/bateeq-ui/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/danliris/bateeq-ui/statuses/1976acb60a1f2c6b68a4dd11de6e6a13d6f3d4f7"}}}}
{"actor":{"display_login":"houndci-bot"}}