{"action":"closed","number":9,"pull_request":{"url":"https://api.github.com/repos/forresto/system-coffee/pulls/9","id":58362963,"html_url":"https://github.com/forresto/system-coffee/pull/9","diff_url":"https://github.com/forresto/system-coffee/pull/9.diff","patch_url":"https://github.com/forresto/system-coffee/pull/9.patch","issue_url":"https://api.github.com/repos/forresto/system-coffee/issues/9","number":9,"state":"closed","locked":false,"title":"fix source maps (SystemJS v0.19.19 compatibility)","user":{"login":"chrmoritz","id":1686759,"avatar_url":"https://avatars.githubusercontent.com/u/1686759?v=3","gravatar_id":"","url":"https://api.github.com/users/chrmoritz","html_url":"https://github.com/chrmoritz","followers_url":"https://api.github.com/users/chrmoritz/followers","following_url":"https://api.github.com/users/chrmoritz/following{/other_user}","gists_url":"https://api.github.com/users/chrmoritz/gists{/gist_id}","starred_url":"https://api.github.com/users/chrmoritz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrmoritz/subscriptions","organizations_url":"https://api.github.com/users/chrmoritz/orgs","repos_url":"https://api.github.com/users/chrmoritz/repos","events_url":"https://api.github.com/users/chrmoritz/events{/privacy}","received_events_url":"https://api.github.com/users/chrmoritz/received_events","type":"User","site_admin":false},"body":"Using the current version (v0.1.2) of `system-coffee` with SystemJS v0.19.19+ throws the following error during `translate` (both in browser and during bundling/building):\r\n```\r\n Error: load.metadata.sourceMap must be set to an object.\r\n```\r\n\r\nThis is because the CoffeeScript compiler outputs source maps as JSON strings, see:\r\nhttps://github.com/jashkenas/coffeescript/blob/1.9.3/lib/coffee-script/sourcemap.js#L122\r\nbut SystemJS expects them to be an Object and throws an error otherwise since v0.19.19, see:\r\nhttps://github.com/systemjs/systemjs/commit/2a30444#diff-9254b9e79d2209a77d013bf4df7e4810R187\r\n\r\nThis PR fixed this issue by parsing the JSON string outputted by the CoffeeScript compiler using JSON.parse().\r\n\r\nIt also updates the CoffeeScript compiler to v1.10.0 ([changelog](http://coffeescript.org/#1.10.0) including support for ES6-style destructuring defaults).","created_at":"2016-02-04T22:55:32Z","updated_at":"2016-02-06T14:44:33Z","closed_at":"2016-02-06T14:44:33Z","merged_at":"2016-02-06T14:44:33Z","merge_commit_sha":"4ced2684cb676e7989c0164aee6657bc89b5e203","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/forresto/system-coffee/pulls/9/commits","review_comments_url":"https://api.github.com/repos/forresto/system-coffee/pulls/9/comments","review_comment_url":"https://api.github.com/repos/forresto/system-coffee/pulls/comments{/number}","comments_url":"https://api.github.com/repos/forresto/system-coffee/issues/9/comments","statuses_url":"https://api.github.com/repos/forresto/system-coffee/statuses/e76656876b7821544ba30a7ef79f8481ab7f1e6a","head":{"label":"chrmoritz:master","ref":"master","sha":"e76656876b7821544ba30a7ef79f8481ab7f1e6a","user":{"login":"chrmoritz","id":1686759,"avatar_url":"https://avatars.githubusercontent.com/u/1686759?v=3","gravatar_id":"","url":"https://api.github.com/users/chrmoritz","html_url":"https://github.com/chrmoritz","followers_url":"https://api.github.com/users/chrmoritz/followers","following_url":"https://api.github.com/users/chrmoritz/following{/other_user}","gists_url":"https://api.github.com/users/chrmoritz/gists{/gist_id}","starred_url":"https://api.github.com/users/chrmoritz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrmoritz/subscriptions","organizations_url":"https://api.github.com/users/chrmoritz/orgs","repos_url":"https://api.github.com/users/chrmoritz/repos","events_url":"https://api.github.com/users/chrmoritz/events{/privacy}","received_events_url":"https://api.github.com/users/chrmoritz/received_events","type":"User","site_admin":false},"repo":{"id":51108840,"name":"system-coffee","full_name":"chrmoritz/system-coffee","owner":{"login":"chrmoritz","id":1686759,"avatar_url":"https://avatars.githubusercontent.com/u/1686759?v=3","gravatar_id":"","url":"https://api.github.com/users/chrmoritz","html_url":"https://github.com/chrmoritz","followers_url":"https://api.github.com/users/chrmoritz/followers","following_url":"https://api.github.com/users/chrmoritz/following{/other_user}","gists_url":"https://api.github.com/users/chrmoritz/gists{/gist_id}","starred_url":"https://api.github.com/users/chrmoritz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrmoritz/subscriptions","organizations_url":"https://api.github.com/users/chrmoritz/orgs","repos_url":"https://api.github.com/users/chrmoritz/repos","events_url":"https://api.github.com/users/chrmoritz/events{/privacy}","received_events_url":"https://api.github.com/users/chrmoritz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrmoritz/system-coffee","description":"SystemJS plugin for compiling CoffeeScript","fork":true,"url":"https://api.github.com/repos/chrmoritz/system-coffee","forks_url":"https://api.github.com/repos/chrmoritz/system-coffee/forks","keys_url":"https://api.github.com/repos/chrmoritz/system-coffee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrmoritz/system-coffee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrmoritz/system-coffee/teams","hooks_url":"https://api.github.com/repos/chrmoritz/system-coffee/hooks","issue_events_url":"https://api.github.com/repos/chrmoritz/system-coffee/issues/events{/number}","events_url":"https://api.github.com/repos/chrmoritz/system-coffee/events","assignees_url":"https://api.github.com/repos/chrmoritz/system-coffee/assignees{/user}","branches_url":"https://api.github.com/repos/chrmoritz/system-coffee/branches{/branch}","tags_url":"https://api.github.com/repos/chrmoritz/system-coffee/tags","blobs_url":"https://api.github.com/repos/chrmoritz/system-coffee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrmoritz/system-coffee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrmoritz/system-coffee/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrmoritz/system-coffee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrmoritz/system-coffee/statuses/{sha}","languages_url":"https://api.github.com/repos/chrmoritz/system-coffee/languages","stargazers_url":"https://api.github.com/repos/chrmoritz/system-coffee/stargazers","contributors_url":"https://api.github.com/repos/chrmoritz/system-coffee/contributors","subscribers_url":"https://api.github.com/repos/chrmoritz/system-coffee/subscribers","subscription_url":"https://api.github.com/repos/chrmoritz/system-coffee/subscription","commits_url":"https://api.github.com/repos/chrmoritz/system-coffee/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrmoritz/system-coffee/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrmoritz/system-coffee/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrmoritz/system-coffee/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrmoritz/system-coffee/contents/{+path}","compare_url":"https://api.github.com/repos/chrmoritz/system-coffee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrmoritz/system-coffee/merges","archive_url":"https://api.github.com/repos/chrmoritz/system-coffee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrmoritz/system-coffee/downloads","issues_url":"https://api.github.com/repos/chrmoritz/system-coffee/issues{/number}","pulls_url":"https://api.github.com/repos/chrmoritz/system-coffee/pulls{/number}","milestones_url":"https://api.github.com/repos/chrmoritz/system-coffee/milestones{/number}","notifications_url":"https://api.github.com/repos/chrmoritz/system-coffee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrmoritz/system-coffee/labels{/name}","releases_url":"https://api.github.com/repos/chrmoritz/system-coffee/releases{/id}","deployments_url":"https://api.github.com/repos/chrmoritz/system-coffee/deployments","created_at":"2016-02-04T22:01:24Z","updated_at":"2016-02-04T22:01:25Z","pushed_at":"2016-02-06T05:54:05Z","git_url":"git://github.com/chrmoritz/system-coffee.git","ssh_url":"git@github.com:chrmoritz/system-coffee.git","clone_url":"https://github.com/chrmoritz/system-coffee.git","svn_url":"https://github.com/chrmoritz/system-coffee","homepage":"","size":124,"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":"forresto:master","ref":"master","sha":"37df929748dc59cad6b1d3a5e5ef27c789adcd49","user":{"login":"forresto","id":395307,"avatar_url":"https://avatars.githubusercontent.com/u/395307?v=3","gravatar_id":"","url":"https://api.github.com/users/forresto","html_url":"https://github.com/forresto","followers_url":"https://api.github.com/users/forresto/followers","following_url":"https://api.github.com/users/forresto/following{/other_user}","gists_url":"https://api.github.com/users/forresto/gists{/gist_id}","starred_url":"https://api.github.com/users/forresto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forresto/subscriptions","organizations_url":"https://api.github.com/users/forresto/orgs","repos_url":"https://api.github.com/users/forresto/repos","events_url":"https://api.github.com/users/forresto/events{/privacy}","received_events_url":"https://api.github.com/users/forresto/received_events","type":"User","site_admin":false},"repo":{"id":29101813,"name":"system-coffee","full_name":"forresto/system-coffee","owner":{"login":"forresto","id":395307,"avatar_url":"https://avatars.githubusercontent.com/u/395307?v=3","gravatar_id":"","url":"https://api.github.com/users/forresto","html_url":"https://github.com/forresto","followers_url":"https://api.github.com/users/forresto/followers","following_url":"https://api.github.com/users/forresto/following{/other_user}","gists_url":"https://api.github.com/users/forresto/gists{/gist_id}","starred_url":"https://api.github.com/users/forresto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forresto/subscriptions","organizations_url":"https://api.github.com/users/forresto/orgs","repos_url":"https://api.github.com/users/forresto/repos","events_url":"https://api.github.com/users/forresto/events{/privacy}","received_events_url":"https://api.github.com/users/forresto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/forresto/system-coffee","description":"SystemJS plugin for compiling CoffeeScript","fork":false,"url":"https://api.github.com/repos/forresto/system-coffee","forks_url":"https://api.github.com/repos/forresto/system-coffee/forks","keys_url":"https://api.github.com/repos/forresto/system-coffee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/forresto/system-coffee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/forresto/system-coffee/teams","hooks_url":"https://api.github.com/repos/forresto/system-coffee/hooks","issue_events_url":"https://api.github.com/repos/forresto/system-coffee/issues/events{/number}","events_url":"https://api.github.com/repos/forresto/system-coffee/events","assignees_url":"https://api.github.com/repos/forresto/system-coffee/assignees{/user}","branches_url":"https://api.github.com/repos/forresto/system-coffee/branches{/branch}","tags_url":"https://api.github.com/repos/forresto/system-coffee/tags","blobs_url":"https://api.github.com/repos/forresto/system-coffee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/forresto/system-coffee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/forresto/system-coffee/git/refs{/sha}","trees_url":"https://api.github.com/repos/forresto/system-coffee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/forresto/system-coffee/statuses/{sha}","languages_url":"https://api.github.com/repos/forresto/system-coffee/languages","stargazers_url":"https://api.github.com/repos/forresto/system-coffee/stargazers","contributors_url":"https://api.github.com/repos/forresto/system-coffee/contributors","subscribers_url":"https://api.github.com/repos/forresto/system-coffee/subscribers","subscription_url":"https://api.github.com/repos/forresto/system-coffee/subscription","commits_url":"https://api.github.com/repos/forresto/system-coffee/commits{/sha}","git_commits_url":"https://api.github.com/repos/forresto/system-coffee/git/commits{/sha}","comments_url":"https://api.github.com/repos/forresto/system-coffee/comments{/number}","issue_comment_url":"https://api.github.com/repos/forresto/system-coffee/issues/comments{/number}","contents_url":"https://api.github.com/repos/forresto/system-coffee/contents/{+path}","compare_url":"https://api.github.com/repos/forresto/system-coffee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/forresto/system-coffee/merges","archive_url":"https://api.github.com/repos/forresto/system-coffee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/forresto/system-coffee/downloads","issues_url":"https://api.github.com/repos/forresto/system-coffee/issues{/number}","pulls_url":"https://api.github.com/repos/forresto/system-coffee/pulls{/number}","milestones_url":"https://api.github.com/repos/forresto/system-coffee/milestones{/number}","notifications_url":"https://api.github.com/repos/forresto/system-coffee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/forresto/system-coffee/labels{/name}","releases_url":"https://api.github.com/repos/forresto/system-coffee/releases{/id}","deployments_url":"https://api.github.com/repos/forresto/system-coffee/deployments","created_at":"2015-01-11T18:47:07Z","updated_at":"2016-01-25T14:22:52Z","pushed_at":"2016-02-06T14:44:33Z","git_url":"git://github.com/forresto/system-coffee.git","ssh_url":"git@github.com:forresto/system-coffee.git","clone_url":"https://github.com/forresto/system-coffee.git","svn_url":"https://github.com/forresto/system-coffee","homepage":"","size":314,"stargazers_count":6,"watchers_count":6,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/forresto/system-coffee/pulls/9"},"html":{"href":"https://github.com/forresto/system-coffee/pull/9"},"issue":{"href":"https://api.github.com/repos/forresto/system-coffee/issues/9"},"comments":{"href":"https://api.github.com/repos/forresto/system-coffee/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/forresto/system-coffee/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/forresto/system-coffee/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/forresto/system-coffee/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/forresto/system-coffee/statuses/e76656876b7821544ba30a7ef79f8481ab7f1e6a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"forresto","id":395307,"avatar_url":"https://avatars.githubusercontent.com/u/395307?v=3","gravatar_id":"","url":"https://api.github.com/users/forresto","html_url":"https://github.com/forresto","followers_url":"https://api.github.com/users/forresto/followers","following_url":"https://api.github.com/users/forresto/following{/other_user}","gists_url":"https://api.github.com/users/forresto/gists{/gist_id}","starred_url":"https://api.github.com/users/forresto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forresto/subscriptions","organizations_url":"https://api.github.com/users/forresto/orgs","repos_url":"https://api.github.com/users/forresto/repos","events_url":"https://api.github.com/users/forresto/events{/privacy}","received_events_url":"https://api.github.com/users/forresto/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":8,"deletions":8,"changed_files":2}}