{"action":"created","issue":{"url":"https://api.github.com/repos/matthiasmullie/minify/issues/142","repository_url":"https://api.github.com/repos/matthiasmullie/minify","labels_url":"https://api.github.com/repos/matthiasmullie/minify/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/matthiasmullie/minify/issues/142/comments","events_url":"https://api.github.com/repos/matthiasmullie/minify/issues/142/events","html_url":"https://github.com/matthiasmullie/minify/issues/142","id":186070475,"number":142,"title":"Problem with `//` comments in javascript","user":{"login":"vanderlee","id":649240,"avatar_url":"https://avatars.githubusercontent.com/u/649240?v=3","gravatar_id":"","url":"https://api.github.com/users/vanderlee","html_url":"https://github.com/vanderlee","followers_url":"https://api.github.com/users/vanderlee/followers","following_url":"https://api.github.com/users/vanderlee/following{/other_user}","gists_url":"https://api.github.com/users/vanderlee/gists{/gist_id}","starred_url":"https://api.github.com/users/vanderlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanderlee/subscriptions","organizations_url":"https://api.github.com/users/vanderlee/orgs","repos_url":"https://api.github.com/users/vanderlee/repos","events_url":"https://api.github.com/users/vanderlee/events{/privacy}","received_events_url":"https://api.github.com/users/vanderlee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-29T10:04:13Z","updated_at":"2016-11-11T19:53:18Z","closed_at":"2016-11-10T09:30:50Z","body":"Minify seems to have problems with `//` comments at the end of code lines.\n\nThe following fragment:`\n\n```\nreturn {\n    l: ((116 * y) - 16) / 100,  // [0,100]\n    a: ((500 * (x - y)) + 128) / 255,   // [-128,127]\n    b: ((200 * (y - z)) + 128) / 255    // [-128,127]\n};\n```\n\nProduces the following output:\n\n```\nreturn{l:((116*y)-16)/ 100, // [0,100]\na:((500*(x-y))+128)/ 255,   // [-128,127]\nb:((200*(y-z))+128)/ 255    // [-128,127]}},_lab_to_xyz=function(lab){\n```\n\nFrom line ~1924 in file `jquery.colorpicker.js` of project https://github.com/vanderlee/colorpicker\n\nI've noticed the same problem in other javascript files too.\n"},"comment":{"url":"https://api.github.com/repos/matthiasmullie/minify/issues/comments/260041238","html_url":"https://github.com/matthiasmullie/minify/issues/142#issuecomment-260041238","issue_url":"https://api.github.com/repos/matthiasmullie/minify/issues/142","id":260041238,"user":{"login":"vanderlee","id":649240,"avatar_url":"https://avatars.githubusercontent.com/u/649240?v=3","gravatar_id":"","url":"https://api.github.com/users/vanderlee","html_url":"https://github.com/vanderlee","followers_url":"https://api.github.com/users/vanderlee/followers","following_url":"https://api.github.com/users/vanderlee/following{/other_user}","gists_url":"https://api.github.com/users/vanderlee/gists{/gist_id}","starred_url":"https://api.github.com/users/vanderlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanderlee/subscriptions","organizations_url":"https://api.github.com/users/vanderlee/orgs","repos_url":"https://api.github.com/users/vanderlee/repos","events_url":"https://api.github.com/users/vanderlee/events{/privacy}","received_events_url":"https://api.github.com/users/vanderlee/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T19:53:18Z","updated_at":"2016-11-11T19:53:18Z","body":"The problem is fixed. Thanks for the quick response!"}}
{"actor":{"display_login":"vanderlee"}}