{"action":"opened","issue":{"url":"https://api.github.com/repos/segmentio/analytics.js/issues/471","labels_url":"https://api.github.com/repos/segmentio/analytics.js/issues/471/labels{/name}","comments_url":"https://api.github.com/repos/segmentio/analytics.js/issues/471/comments","events_url":"https://api.github.com/repos/segmentio/analytics.js/issues/471/events","html_url":"https://github.com/segmentio/analytics.js/issues/471","id":87847919,"number":471,"title":"YUI compressor error on analytics.js","user":{"login":"worthwhileindustries","id":3536254,"avatar_url":"https://avatars.githubusercontent.com/u/3536254?v=3","gravatar_id":"","url":"https://api.github.com/users/worthwhileindustries","html_url":"https://github.com/worthwhileindustries","followers_url":"https://api.github.com/users/worthwhileindustries/followers","following_url":"https://api.github.com/users/worthwhileindustries/following{/other_user}","gists_url":"https://api.github.com/users/worthwhileindustries/gists{/gist_id}","starred_url":"https://api.github.com/users/worthwhileindustries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/worthwhileindustries/subscriptions","organizations_url":"https://api.github.com/users/worthwhileindustries/orgs","repos_url":"https://api.github.com/users/worthwhileindustries/repos","events_url":"https://api.github.com/users/worthwhileindustries/events{/privacy}","received_events_url":"https://api.github.com/users/worthwhileindustries/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-12T20:52:25Z","updated_at":"2015-06-12T20:52:25Z","closed_at":null,"body":"I am having an issue compressing analytics.js using YUI. I understand it comes with a minified version but, it's part of our workflow to do it this way. \r\n\r\nThere is a parse error somewhere as far as I can tell. Any ideas?\r\n\r\n// I tried using an online compressor and it gets a parse error as well.\r\nhttp://www.piliapp.com/minify/yui-compressor/\r\n\r\nError:\r\n\r\n     [exec]     [COMPRESSOR ERROR] 14359:17:missing name after . operator\r\n\r\n     [exec]     [COMPRESSOR ERROR] 1:0:Compilation produced 1 syntax errors.\r\n     [exec] Exception in thread \"main\" org.mozilla.javascript.EvaluatorException: Compilation produced 1 syntax errors.\r\n     [exec] \tat webAppBuilder.pkg.JavaScriptPackage$1.runtimeError(JavaScriptPackage.java:62)\r\n     [exec] \tat org.mozilla.javascript.Parser.parse(Parser.java:392)\r\n     [exec] \tat org.mozilla.javascript.Parser.parse(Parser.java:337)\r\n     [exec] \tat com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:312)\r\n     [exec] \tat com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:533)\r\n     [exec] \tat webAppBuilder.pkg.JavaScriptPackage.createMinifiedContents(JavaScriptPackage.java:40)\r\n     [exec] \tat webAppBuilder.pkg.Package.getMinifiedContents(Package.java:163)\r\n     [exec] \tat webAppBuilder.pkg.Package.writeOutput(Package.java:213)\r\n     [exec] \tat webAppBuilder.Project.writeOutput(Project.java:78)\r\n     [exec] \tat webAppBuilder.WebAppBuilder.main(WebAppBuilder.java:16)\r\n\r\n"}}