{"action":"closed","issue":{"url":"https://api.github.com/repos/js2coffee/js2coffee/issues/287","labels_url":"https://api.github.com/repos/js2coffee/js2coffee/issues/287/labels{/name}","comments_url":"https://api.github.com/repos/js2coffee/js2coffee/issues/287/comments","events_url":"https://api.github.com/repos/js2coffee/js2coffee/issues/287/events","html_url":"https://github.com/js2coffee/js2coffee/issues/287","id":34355488,"number":287,"title":"convertion missing return","user":{"login":"kngchn","id":5180724,"avatar_url":"https://avatars.githubusercontent.com/u/5180724?v=3","gravatar_id":"","url":"https://api.github.com/users/kngchn","html_url":"https://github.com/kngchn","followers_url":"https://api.github.com/users/kngchn/followers","following_url":"https://api.github.com/users/kngchn/following{/other_user}","gists_url":"https://api.github.com/users/kngchn/gists{/gist_id}","starred_url":"https://api.github.com/users/kngchn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kngchn/subscriptions","organizations_url":"https://api.github.com/users/kngchn/orgs","repos_url":"https://api.github.com/users/kngchn/repos","events_url":"https://api.github.com/users/kngchn/events{/privacy}","received_events_url":"https://api.github.com/users/kngchn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/js2coffee/js2coffee/labels/fixed%20in%20redux","name":"fixed in redux","color":"bfe5bf"},{"url":"https://api.github.com/repos/js2coffee/js2coffee/labels/if-else","name":"if-else","color":"fad8c7"},{"url":"https://api.github.com/repos/js2coffee/js2coffee/labels/return%20value","name":"return value","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-05-27T09:36:05Z","updated_at":"2015-01-31T15:46:01Z","closed_at":"2015-01-31T15:46:01Z","body":"when i converted this piece of script below: \r\n```\r\nfunction series(item) {\r\n  if(item) {\r\n    async( item, function(result) {\r\n      results.push(result);\r\n      return series(items.shift());\r\n    });\r\n  } else {\r\n    return final();\r\n  }\r\n}\r\n```\r\non the website http://js2coffee.org/ , it produced below:\r\n```\r\nseries = (item) ->\r\n  if item\r\n    async item, (result) ->\r\n      results.push result\r\n      series items.shift()\r\n\r\n  else\r\n    final()\r\n  return\r\n```\r\nbut it would not equal if you converted it back to js, the coffeescript should be\r\n```\r\nseries = (item) ->\r\n  if item\r\n    async item, (result) ->\r\n      results.push result\r\n      series items.shift()\r\n\r\n  else\r\n    return final()\r\n  return\r\n```\r\nsorry for my poor english and hope you will fix it."}}