{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/baf018e2cc4616e4776d323215c7136c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"baf018e2cc4616e4776d323215c7136c","url":"https://api.github.com/users/maccman","login":"maccman","id":2142},"labels":[{"name":"bug","color":"fc2929","url":"https://api.github.com/repos/jashkenas/coffee-script/labels/bug"}],"assignee":null,"updated_at":"2011-11-14T17:13:13Z","comments":10,"closed_at":null,"url":"https://api.github.com/repos/jashkenas/coffee-script/issues/1842","body":"This is a bit of a bug in the way the new binding works. I noticed you were replacing __bind with _this. However, the following now breaks:\r\n\r\n    class Store\r\n      @fetchRemote: =>\r\n        do =>\r\n         # context is window!\r\n         console.log @\r\n\r\n    Store.fetchRemote()\r\n\r\nThe console logs the window - the context should be the class.","html_url":"https://github.com/jashkenas/coffee-script/issues/1842","number":1842,"title":"New binding implementation scope issue","id":2183297,"created_at":"2011-11-09T05:16:19Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/24fb0088507077f7852adaec4f6b679f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"24fb0088507077f7852adaec4f6b679f","url":"https://api.github.com/users/michaelficarra","login":"michaelficarra","id":218840},"updated_at":"2011-11-14T17:13:12Z","url":"https://api.github.com/repos/jashkenas/coffee-script/issues/comments/2733248","body":"@jashkenas: It's worth it, we just need to be smarter about it.","id":2733248,"created_at":"2011-11-14T17:13:12Z"}}