{"action":"created","issue":{"url":"https://api.github.com/repos/thlorenz/convert-source-map/issues/19","labels_url":"https://api.github.com/repos/thlorenz/convert-source-map/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/thlorenz/convert-source-map/issues/19/comments","events_url":"https://api.github.com/repos/thlorenz/convert-source-map/issues/19/events","html_url":"https://github.com/thlorenz/convert-source-map/pull/19","id":60734419,"number":19,"title":"adding support for generating a multi-line map","user":{"login":"dominicbarnes","id":160197,"avatar_url":"https://avatars.githubusercontent.com/u/160197?v=3","gravatar_id":"","url":"https://api.github.com/users/dominicbarnes","html_url":"https://github.com/dominicbarnes","followers_url":"https://api.github.com/users/dominicbarnes/followers","following_url":"https://api.github.com/users/dominicbarnes/following{/other_user}","gists_url":"https://api.github.com/users/dominicbarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicbarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicbarnes/subscriptions","organizations_url":"https://api.github.com/users/dominicbarnes/orgs","repos_url":"https://api.github.com/users/dominicbarnes/repos","events_url":"https://api.github.com/users/dominicbarnes/events{/privacy}","received_events_url":"https://api.github.com/users/dominicbarnes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-11T21:39:34Z","updated_at":"2015-03-11T22:17:46Z","closed_at":"2015-03-11T21:45:11Z","pull_request":{"url":"https://api.github.com/repos/thlorenz/convert-source-map/pulls/19","html_url":"https://github.com/thlorenz/convert-source-map/pull/19","diff_url":"https://github.com/thlorenz/convert-source-map/pull/19.diff","patch_url":"https://github.com/thlorenz/convert-source-map/pull/19.patch"},"body":"CSS source-maps use a comment that looks like: `/*# sourceMappingURL=... */`\r\n\r\nThis looks like what is labeled internally as a \"multi-line\" source-map, so I've added an optional flag to `toComment()` that uses the multi-line format when truthy. (fixes #15)"},"comment":{"url":"https://api.github.com/repos/thlorenz/convert-source-map/issues/comments/78384871","html_url":"https://github.com/thlorenz/convert-source-map/pull/19#issuecomment-78384871","issue_url":"https://api.github.com/repos/thlorenz/convert-source-map/issues/19","id":78384871,"user":{"login":"dominicbarnes","id":160197,"avatar_url":"https://avatars.githubusercontent.com/u/160197?v=3","gravatar_id":"","url":"https://api.github.com/users/dominicbarnes","html_url":"https://github.com/dominicbarnes","followers_url":"https://api.github.com/users/dominicbarnes/followers","following_url":"https://api.github.com/users/dominicbarnes/following{/other_user}","gists_url":"https://api.github.com/users/dominicbarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicbarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicbarnes/subscriptions","organizations_url":"https://api.github.com/users/dominicbarnes/orgs","repos_url":"https://api.github.com/users/dominicbarnes/repos","events_url":"https://api.github.com/users/dominicbarnes/events{/privacy}","received_events_url":"https://api.github.com/users/dominicbarnes/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T22:17:46Z","updated_at":"2015-03-11T22:17:46Z","body":"@thlorenz I'm talking about converting *to* an comment. Converting _from_ is totally taken care of already. :)\r\n\r\n```js\r\nvar map = convert.fromComment('/*# sourceMappingURL=... */'); // this already works\r\n\r\nmap.toComment(); // this always outputs //#, which doesn't work for CSS\r\n```"}}