{"issue":{"created_at":"2011-12-12T10:36:21Z","state":"closed","updated_at":"2011-12-13T02:05:40Z","user":{"gravatar_id":"fccf42643feb2aaf9e6b4bfce0d737cc","id":820,"url":"https://api.github.com/users/weepy","avatar_url":"https://secure.gravatar.com/avatar/fccf42643feb2aaf9e6b4bfce0d737cc?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"weepy"},"comments":2,"body":"Slightly unexpected behaviour \r\n\r\n```\r\nclass Loop extends require \"../model\"\r\n  method: ->\r\n```\r\ncompiles to \r\n\r\n```\r\n__extends(Loop, require(\"../model\", {\r\n    method: function() {}\r\n  }));\r\n\r\n  function Loop() {\r\n    Loop.__super__.constructor.apply(this, arguments);\r\n  }\r\n```\r\n\r\nI understand why - whether it should be fixed is another question.","assignee":null,"id":2521516,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"duplicate","color":"cccccc","url":"https://api.github.com/repos/jashkenas/coffee-script/labels/duplicate"}],"number":1928,"title":"special case needed for class definition","closed_at":"2011-12-13T02:05:40Z","html_url":"https://github.com/jashkenas/coffee-script/issues/1928","url":"https://api.github.com/repos/jashkenas/coffee-script/issues/1928","milestone":null},"action":"created","comment":{"created_at":"2011-12-13T02:05:40Z","updated_at":"2011-12-13T02:05:40Z","user":{"gravatar_id":"5b423b0537cb831484ed7e95e968225d","id":22668,"url":"https://api.github.com/users/satyr","avatar_url":"https://secure.gravatar.com/avatar/5b423b0537cb831484ed7e95e968225d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"satyr"},"body":"→ #981","id":3117671,"url":"https://api.github.com/repos/jashkenas/coffee-script/issues/comments/3117671"}}