{"action":"created","issue":{"url":"https://api.github.com/repos/khirayama/handson-front-end/issues/2","labels_url":"https://api.github.com/repos/khirayama/handson-front-end/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/khirayama/handson-front-end/issues/2/comments","events_url":"https://api.github.com/repos/khirayama/handson-front-end/issues/2/events","html_url":"https://github.com/khirayama/handson-front-end/pull/2","id":106948379,"number":2,"title":"Fix unexpected closure","user":{"login":"kjirou","id":648041,"avatar_url":"https://avatars.githubusercontent.com/u/648041?v=3","gravatar_id":"","url":"https://api.github.com/users/kjirou","html_url":"https://github.com/kjirou","followers_url":"https://api.github.com/users/kjirou/followers","following_url":"https://api.github.com/users/kjirou/following{/other_user}","gists_url":"https://api.github.com/users/kjirou/gists{/gist_id}","starred_url":"https://api.github.com/users/kjirou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjirou/subscriptions","organizations_url":"https://api.github.com/users/kjirou/orgs","repos_url":"https://api.github.com/users/kjirou/repos","events_url":"https://api.github.com/users/kjirou/events{/privacy}","received_events_url":"https://api.github.com/users/kjirou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-17T09:48:26Z","updated_at":"2015-09-17T09:55:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/khirayama/handson-front-end/pulls/2","html_url":"https://github.com/khirayama/handson-front-end/pull/2","diff_url":"https://github.com/khirayama/handson-front-end/pull/2.diff","patch_url":"https://github.com/khirayama/handson-front-end/pull/2.patch"},"body":"`_index` variable is bound by `TabView` class statically.\r\nI think that it is not necessary if there is no special reason.\r\n\r\nWhat do you think?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/khirayama/handson-front-end/issues/comments/141027554","html_url":"https://github.com/khirayama/handson-front-end/pull/2#issuecomment-141027554","issue_url":"https://api.github.com/repos/khirayama/handson-front-end/issues/2","id":141027554,"user":{"login":"kjirou","id":648041,"avatar_url":"https://avatars.githubusercontent.com/u/648041?v=3","gravatar_id":"","url":"https://api.github.com/users/kjirou","html_url":"https://github.com/kjirou","followers_url":"https://api.github.com/users/kjirou/followers","following_url":"https://api.github.com/users/kjirou/following{/other_user}","gists_url":"https://api.github.com/users/kjirou/gists{/gist_id}","starred_url":"https://api.github.com/users/kjirou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjirou/subscriptions","organizations_url":"https://api.github.com/users/kjirou/orgs","repos_url":"https://api.github.com/users/kjirou/repos","events_url":"https://api.github.com/users/kjirou/events{/privacy}","received_events_url":"https://api.github.com/users/kjirou/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T09:55:27Z","updated_at":"2015-09-17T09:55:27Z","body":"supplement:\r\n\r\n```coffee\r\nclass Foo\r\n  foo = 0\r\n\r\n  constructor: ->\r\n    @bar = 0\r\n\r\n  increment: ->\r\n    foo += 1\r\n    @bar += 1\r\n\r\n  getFoo: -> foo\r\n  getBar: -> @bar\r\n\r\nf1 = new Foo\r\nf1.increment()\r\nconsole.log f1.getFoo()  # -> 1\r\nconsole.log f1.getBar()  # -> 1\r\n\r\nf2 = new Foo\r\nf2.increment()\r\nconsole.log f2.getFoo()  # -> 2  .. unexpected?\r\nconsole.log f2.getBar()  # -> 1\r\n```"}}