{"action":"created","issue":{"url":"https://api.github.com/repos/tedious/JShrink/issues/40","labels_url":"https://api.github.com/repos/tedious/JShrink/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/tedious/JShrink/issues/40/comments","events_url":"https://api.github.com/repos/tedious/JShrink/issues/40/events","html_url":"https://github.com/tedious/JShrink/issues/40","id":48227115,"number":40,"title":"Detail with comments","user":{"login":"ilichmx","id":1236460,"avatar_url":"https://avatars.githubusercontent.com/u/1236460?v=3","gravatar_id":"","url":"https://api.github.com/users/ilichmx","html_url":"https://github.com/ilichmx","followers_url":"https://api.github.com/users/ilichmx/followers","following_url":"https://api.github.com/users/ilichmx/following{/other_user}","gists_url":"https://api.github.com/users/ilichmx/gists{/gist_id}","starred_url":"https://api.github.com/users/ilichmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilichmx/subscriptions","organizations_url":"https://api.github.com/users/ilichmx/orgs","repos_url":"https://api.github.com/users/ilichmx/repos","events_url":"https://api.github.com/users/ilichmx/events{/privacy}","received_events_url":"https://api.github.com/users/ilichmx/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-11-10T03:38:33Z","updated_at":"2015-01-16T08:28:36Z","closed_at":"2014-11-11T03:54:14Z","body":"Hello Good evening, I was checking your library which I think is very good option, but when I was testing it on a project I saw something that caught my attention, other than marking me error code javascript.\r\n\r\nSo I explain the situation well so you can understand the details.\r\n\r\nWhen I schedule sometimes javascript code sometimes under certain lines with `/**/` to highlight that part I should check then sometimes I take sometimes not remove.\r\n\r\nIn a snippet so is the original.\r\n\r\n```javascript\r\n\thtml+= this.header();\r\n\thtml+= this.cabeceras();\r\n\t\t\t\r\n\t/**/\r\n\tvar prevmes = this.fecha.mesPrevio();\t\t\t\r\n\tvar previo  = year;\r\n\t\t\t\r\n\tif(prevmes == 11){previo--;}\r\n\t\t\t\r\n\tprevio \t= new Date(previo, prevmes, 1);\r\n\tdias\t= previo.mesDias();\r\n\tprevio \t= previo.mesDias() - (inicio - 1);\r\n\t/**/\r\n\t\t\t\r\n\thtml+= '\t<div class=\"row\">';\r\n\tfor(var a = previo; a <= dias; a++){\r\n\t\thtml+= '<div class=\"cell noActivo\"><div><div><span>'+ a +'</span></div></div></div>';\r\n\t}\r\n```\r\nNow when I compile your library skips the code that is between `/**/` and I compiled this way.\r\n```javascript\r\nhtml+=this.header();html+=this.cabeceras();html+=' <div class=\"row\">';for(var a=previo;a<=dias;a++){html+='  <div class=\"cell noActivo\"><div><div><span>'+a+'</span></div></div></div>';}\r\n```\r\nAs you can see I removed the code that is `/**/`[CODE]`/**/` Now if I delete the `/**/` I compile it in a good way."},"comment":{"url":"https://api.github.com/repos/tedious/JShrink/issues/comments/70222160","html_url":"https://github.com/tedious/JShrink/issues/40#issuecomment-70222160","issue_url":"https://api.github.com/repos/tedious/JShrink/issues/40","id":70222160,"user":{"login":"nickolasgregory","id":42079,"avatar_url":"https://avatars.githubusercontent.com/u/42079?v=3","gravatar_id":"","url":"https://api.github.com/users/nickolasgregory","html_url":"https://github.com/nickolasgregory","followers_url":"https://api.github.com/users/nickolasgregory/followers","following_url":"https://api.github.com/users/nickolasgregory/following{/other_user}","gists_url":"https://api.github.com/users/nickolasgregory/gists{/gist_id}","starred_url":"https://api.github.com/users/nickolasgregory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickolasgregory/subscriptions","organizations_url":"https://api.github.com/users/nickolasgregory/orgs","repos_url":"https://api.github.com/users/nickolasgregory/repos","events_url":"https://api.github.com/users/nickolasgregory/events{/privacy}","received_events_url":"https://api.github.com/users/nickolasgregory/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T08:28:36Z","updated_at":"2015-01-16T08:28:36Z","body":"Hi.\r\nUnfortunately this fix broke my style of coding - using ```/**/``` to disable blocks of code by only adding/removing a single \"/\"\r\n\r\n```javascript\r\n/**\r\nalert('A BLOCK OF COMMENTED OUT CODE');\r\n/**/\r\n\r\n/**/\r\nalert('A BLOCK OF RUNNING CODE');\r\n/**/\r\n```\r\nGives\r\n```\r\nUncaught exception 'RuntimeException' with message 'Unclosed multiline comment at position: 137' in JShrink\\Minifier.php:398\r\n```\r\n\r\nJust thought I'd let you know.\r\nGreat lib by the way, I'd like to see it included here -> https://thephpleague.com/ :)"}}