{"action":"created","comment":{"url":"https://api.github.com/repos/jashkenas/coffeescript/pulls/comments/40750205","id":40750205,"diff_hunk":"@@ -185,7 +186,7 @@ compileScript = (file, input, base = null) ->\n     else\n       compiled = CoffeeScript.compile t.input, t.options\n       t.output = compiled\n-      if o.map\n+      if o.map and not o['inline-map']","path":"src/command.coffee","position":13,"original_position":13,"commit_id":"e49a099900404b32f78cc6bf76678a82ed05addc","original_commit_id":"e49a099900404b32f78cc6bf76678a82ed05addc","user":{"login":"DylanPiercey","id":4985201,"avatar_url":"https://avatars.githubusercontent.com/u/4985201?v=3","gravatar_id":"","url":"https://api.github.com/users/DylanPiercey","html_url":"https://github.com/DylanPiercey","followers_url":"https://api.github.com/users/DylanPiercey/followers","following_url":"https://api.github.com/users/DylanPiercey/following{/other_user}","gists_url":"https://api.github.com/users/DylanPiercey/gists{/gist_id}","starred_url":"https://api.github.com/users/DylanPiercey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DylanPiercey/subscriptions","organizations_url":"https://api.github.com/users/DylanPiercey/orgs","repos_url":"https://api.github.com/users/DylanPiercey/repos","events_url":"https://api.github.com/users/DylanPiercey/events{/privacy}","received_events_url":"https://api.github.com/users/DylanPiercey/received_events","type":"User","site_admin":false},"body":"I'm not sure it's possible to have both an inline-map and an external map the browser would just go with whichever was last.\r\n\r\n","created_at":"2015-09-30T01:15:23Z","updated_at":"2015-09-30T01:15:23Z","html_url":"https://github.com/jashkenas/coffeescript/pull/4111#discussion_r40750205","pull_request_url":"https://api.github.com/repos/jashkenas/coffeescript/pulls/4111","_links":{"self":{"href":"https://api.github.com/repos/jashkenas/coffeescript/pulls/comments/40750205"},"html":{"href":"https://github.com/jashkenas/coffeescript/pull/4111#discussion_r40750205"},"pull_request":{"href":"https://api.github.com/repos/jashkenas/coffeescript/pulls/4111"}}},"pull_request":{"url":"https://api.github.com/repos/jashkenas/coffeescript/pulls/4111","id":46086730,"html_url":"https://github.com/jashkenas/coffeescript/pull/4111","diff_url":"https://github.com/jashkenas/coffeescript/pull/4111.diff","patch_url":"https://github.com/jashkenas/coffeescript/pull/4111.patch","issue_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4111","number":4111,"state":"open","locked":false,"title":"Add inline sourcemap support","user":{"login":"DylanPiercey","id":4985201,"avatar_url":"https://avatars.githubusercontent.com/u/4985201?v=3","gravatar_id":"","url":"https://api.github.com/users/DylanPiercey","html_url":"https://github.com/DylanPiercey","followers_url":"https://api.github.com/users/DylanPiercey/followers","following_url":"https://api.github.com/users/DylanPiercey/following{/other_user}","gists_url":"https://api.github.com/users/DylanPiercey/gists{/gist_id}","starred_url":"https://api.github.com/users/DylanPiercey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DylanPiercey/subscriptions","organizations_url":"https://api.github.com/users/DylanPiercey/orgs","repos_url":"https://api.github.com/users/DylanPiercey/repos","events_url":"https://api.github.com/users/DylanPiercey/events{/privacy}","received_events_url":"https://api.github.com/users/DylanPiercey/received_events","type":"User","site_admin":false},"body":"This closes #3678 and is similar to #3697, however this PR also add's inline maps to \"coffee-script/register\" and reuses existing \"browser.coffee\" generation. This also allows for file names to be used in the source map.\r\n\r\nIt also allows CS to work with node-inspector by directly using register.\r\n\r\n---\r\n\r\nCLI Usage:\r\n```console\r\ncoffee -c -M myFile.coffee\r\ncoffee -c --inline-map myFile.coffee\r\n```\r\nRequire Hook Usage:\r\n```javascript\r\nrequire(\"coffee-script/register\");\r\nrequire(\"myFile.coffee\");\r\n```\r\n\r\n---\r\n\r\nLet me know if any modifications are needed for this PR as it is my first to coffeescript.","created_at":"2015-09-26T18:21:59Z","updated_at":"2015-09-30T01:15:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0da85157638a55abb83c564661ea7742ed1fedd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jashkenas/coffeescript/pulls/4111/commits","review_comments_url":"https://api.github.com/repos/jashkenas/coffeescript/pulls/4111/comments","review_comment_url":"https://api.github.com/repos/jashkenas/coffeescript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4111/comments","statuses_url":"https://api.github.com/repos/jashkenas/coffeescript/statuses/e49a099900404b32f78cc6bf76678a82ed05addc","head":{"label":"DylanPiercey:master","ref":"master","sha":"e49a099900404b32f78cc6bf76678a82ed05addc","user":{"login":"DylanPiercey","id":4985201,"avatar_url":"https://avatars.githubusercontent.com/u/4985201?v=3","gravatar_id":"","url":"https://api.github.com/users/DylanPiercey","html_url":"https://github.com/DylanPiercey","followers_url":"https://api.github.com/users/DylanPiercey/followers","following_url":"https://api.github.com/users/DylanPiercey/following{/other_user}","gists_url":"https://api.github.com/users/DylanPiercey/gists{/gist_id}","starred_url":"https://api.github.com/users/DylanPiercey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DylanPiercey/subscriptions","organizations_url":"https://api.github.com/users/DylanPiercey/orgs","repos_url":"https://api.github.com/users/DylanPiercey/repos","events_url":"https://api.github.com/users/DylanPiercey/events{/privacy}","received_events_url":"https://api.github.com/users/DylanPiercey/received_events","type":"User","site_admin":false},"repo":{"id":43213658,"name":"coffeescript","full_name":"DylanPiercey/coffeescript","owner":{"login":"DylanPiercey","id":4985201,"avatar_url":"https://avatars.githubusercontent.com/u/4985201?v=3","gravatar_id":"","url":"https://api.github.com/users/DylanPiercey","html_url":"https://github.com/DylanPiercey","followers_url":"https://api.github.com/users/DylanPiercey/followers","following_url":"https://api.github.com/users/DylanPiercey/following{/other_user}","gists_url":"https://api.github.com/users/DylanPiercey/gists{/gist_id}","starred_url":"https://api.github.com/users/DylanPiercey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DylanPiercey/subscriptions","organizations_url":"https://api.github.com/users/DylanPiercey/orgs","repos_url":"https://api.github.com/users/DylanPiercey/repos","events_url":"https://api.github.com/users/DylanPiercey/events{/privacy}","received_events_url":"https://api.github.com/users/DylanPiercey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DylanPiercey/coffeescript","description":"Unfancy JavaScript","fork":true,"url":"https://api.github.com/repos/DylanPiercey/coffeescript","forks_url":"https://api.github.com/repos/DylanPiercey/coffeescript/forks","keys_url":"https://api.github.com/repos/DylanPiercey/coffeescript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DylanPiercey/coffeescript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DylanPiercey/coffeescript/teams","hooks_url":"https://api.github.com/repos/DylanPiercey/coffeescript/hooks","issue_events_url":"https://api.github.com/repos/DylanPiercey/coffeescript/issues/events{/number}","events_url":"https://api.github.com/repos/DylanPiercey/coffeescript/events","assignees_url":"https://api.github.com/repos/DylanPiercey/coffeescript/assignees{/user}","branches_url":"https://api.github.com/repos/DylanPiercey/coffeescript/branches{/branch}","tags_url":"https://api.github.com/repos/DylanPiercey/coffeescript/tags","blobs_url":"https://api.github.com/repos/DylanPiercey/coffeescript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DylanPiercey/coffeescript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DylanPiercey/coffeescript/git/refs{/sha}","trees_url":"https://api.github.com/repos/DylanPiercey/coffeescript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DylanPiercey/coffeescript/statuses/{sha}","languages_url":"https://api.github.com/repos/DylanPiercey/coffeescript/languages","stargazers_url":"https://api.github.com/repos/DylanPiercey/coffeescript/stargazers","contributors_url":"https://api.github.com/repos/DylanPiercey/coffeescript/contributors","subscribers_url":"https://api.github.com/repos/DylanPiercey/coffeescript/subscribers","subscription_url":"https://api.github.com/repos/DylanPiercey/coffeescript/subscription","commits_url":"https://api.github.com/repos/DylanPiercey/coffeescript/commits{/sha}","git_commits_url":"https://api.github.com/repos/DylanPiercey/coffeescript/git/commits{/sha}","comments_url":"https://api.github.com/repos/DylanPiercey/coffeescript/comments{/number}","issue_comment_url":"https://api.github.com/repos/DylanPiercey/coffeescript/issues/comments{/number}","contents_url":"https://api.github.com/repos/DylanPiercey/coffeescript/contents/{+path}","compare_url":"https://api.github.com/repos/DylanPiercey/coffeescript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DylanPiercey/coffeescript/merges","archive_url":"https://api.github.com/repos/DylanPiercey/coffeescript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DylanPiercey/coffeescript/downloads","issues_url":"https://api.github.com/repos/DylanPiercey/coffeescript/issues{/number}","pulls_url":"https://api.github.com/repos/DylanPiercey/coffeescript/pulls{/number}","milestones_url":"https://api.github.com/repos/DylanPiercey/coffeescript/milestones{/number}","notifications_url":"https://api.github.com/repos/DylanPiercey/coffeescript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DylanPiercey/coffeescript/labels{/name}","releases_url":"https://api.github.com/repos/DylanPiercey/coffeescript/releases{/id}","created_at":"2015-09-26T16:42:48Z","updated_at":"2015-09-26T16:42:51Z","pushed_at":"2015-09-28T02:12:06Z","git_url":"git://github.com/DylanPiercey/coffeescript.git","ssh_url":"git@github.com:DylanPiercey/coffeescript.git","clone_url":"https://github.com/DylanPiercey/coffeescript.git","svn_url":"https://github.com/DylanPiercey/coffeescript","homepage":"http://coffeescript.org/","size":15155,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jashkenas:master","ref":"master","sha":"36e80d7f5c9b5bf598fbf87bbc84ef7ee9933d36","user":{"login":"jashkenas","id":4732,"avatar_url":"https://avatars.githubusercontent.com/u/4732?v=3","gravatar_id":"","url":"https://api.github.com/users/jashkenas","html_url":"https://github.com/jashkenas","followers_url":"https://api.github.com/users/jashkenas/followers","following_url":"https://api.github.com/users/jashkenas/following{/other_user}","gists_url":"https://api.github.com/users/jashkenas/gists{/gist_id}","starred_url":"https://api.github.com/users/jashkenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jashkenas/subscriptions","organizations_url":"https://api.github.com/users/jashkenas/orgs","repos_url":"https://api.github.com/users/jashkenas/repos","events_url":"https://api.github.com/users/jashkenas/events{/privacy}","received_events_url":"https://api.github.com/users/jashkenas/received_events","type":"User","site_admin":false},"repo":{"id":441269,"name":"coffeescript","full_name":"jashkenas/coffeescript","owner":{"login":"jashkenas","id":4732,"avatar_url":"https://avatars.githubusercontent.com/u/4732?v=3","gravatar_id":"","url":"https://api.github.com/users/jashkenas","html_url":"https://github.com/jashkenas","followers_url":"https://api.github.com/users/jashkenas/followers","following_url":"https://api.github.com/users/jashkenas/following{/other_user}","gists_url":"https://api.github.com/users/jashkenas/gists{/gist_id}","starred_url":"https://api.github.com/users/jashkenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jashkenas/subscriptions","organizations_url":"https://api.github.com/users/jashkenas/orgs","repos_url":"https://api.github.com/users/jashkenas/repos","events_url":"https://api.github.com/users/jashkenas/events{/privacy}","received_events_url":"https://api.github.com/users/jashkenas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jashkenas/coffeescript","description":"Unfancy JavaScript","fork":false,"url":"https://api.github.com/repos/jashkenas/coffeescript","forks_url":"https://api.github.com/repos/jashkenas/coffeescript/forks","keys_url":"https://api.github.com/repos/jashkenas/coffeescript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jashkenas/coffeescript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jashkenas/coffeescript/teams","hooks_url":"https://api.github.com/repos/jashkenas/coffeescript/hooks","issue_events_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/events{/number}","events_url":"https://api.github.com/repos/jashkenas/coffeescript/events","assignees_url":"https://api.github.com/repos/jashkenas/coffeescript/assignees{/user}","branches_url":"https://api.github.com/repos/jashkenas/coffeescript/branches{/branch}","tags_url":"https://api.github.com/repos/jashkenas/coffeescript/tags","blobs_url":"https://api.github.com/repos/jashkenas/coffeescript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jashkenas/coffeescript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jashkenas/coffeescript/git/refs{/sha}","trees_url":"https://api.github.com/repos/jashkenas/coffeescript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jashkenas/coffeescript/statuses/{sha}","languages_url":"https://api.github.com/repos/jashkenas/coffeescript/languages","stargazers_url":"https://api.github.com/repos/jashkenas/coffeescript/stargazers","contributors_url":"https://api.github.com/repos/jashkenas/coffeescript/contributors","subscribers_url":"https://api.github.com/repos/jashkenas/coffeescript/subscribers","subscription_url":"https://api.github.com/repos/jashkenas/coffeescript/subscription","commits_url":"https://api.github.com/repos/jashkenas/coffeescript/commits{/sha}","git_commits_url":"https://api.github.com/repos/jashkenas/coffeescript/git/commits{/sha}","comments_url":"https://api.github.com/repos/jashkenas/coffeescript/comments{/number}","issue_comment_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/comments{/number}","contents_url":"https://api.github.com/repos/jashkenas/coffeescript/contents/{+path}","compare_url":"https://api.github.com/repos/jashkenas/coffeescript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jashkenas/coffeescript/merges","archive_url":"https://api.github.com/repos/jashkenas/coffeescript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jashkenas/coffeescript/downloads","issues_url":"https://api.github.com/repos/jashkenas/coffeescript/issues{/number}","pulls_url":"https://api.github.com/repos/jashkenas/coffeescript/pulls{/number}","milestones_url":"https://api.github.com/repos/jashkenas/coffeescript/milestones{/number}","notifications_url":"https://api.github.com/repos/jashkenas/coffeescript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jashkenas/coffeescript/labels{/name}","releases_url":"https://api.github.com/repos/jashkenas/coffeescript/releases{/id}","created_at":"2009-12-18T01:39:53Z","updated_at":"2015-09-30T01:01:44Z","pushed_at":"2015-09-28T02:12:09Z","git_url":"git://github.com/jashkenas/coffeescript.git","ssh_url":"git@github.com:jashkenas/coffeescript.git","clone_url":"https://github.com/jashkenas/coffeescript.git","svn_url":"https://github.com/jashkenas/coffeescript","homepage":"http://coffeescript.org/","size":23723,"stargazers_count":11946,"watchers_count":11946,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1620,"mirror_url":null,"open_issues_count":300,"forks":1620,"open_issues":300,"watchers":11946,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jashkenas/coffeescript/pulls/4111"},"html":{"href":"https://github.com/jashkenas/coffeescript/pull/4111"},"issue":{"href":"https://api.github.com/repos/jashkenas/coffeescript/issues/4111"},"comments":{"href":"https://api.github.com/repos/jashkenas/coffeescript/issues/4111/comments"},"review_comments":{"href":"https://api.github.com/repos/jashkenas/coffeescript/pulls/4111/comments"},"review_comment":{"href":"https://api.github.com/repos/jashkenas/coffeescript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jashkenas/coffeescript/pulls/4111/commits"},"statuses":{"href":"https://api.github.com/repos/jashkenas/coffeescript/statuses/e49a099900404b32f78cc6bf76678a82ed05addc"}}}}