{"action":"created","issue":{"url":"https://api.github.com/repos/PolymerLabs/polybuild/issues/27","labels_url":"https://api.github.com/repos/PolymerLabs/polybuild/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/PolymerLabs/polybuild/issues/27/comments","events_url":"https://api.github.com/repos/PolymerLabs/polybuild/issues/27/events","html_url":"https://github.com/PolymerLabs/polybuild/issues/27","id":128229930,"number":27,"title":"uglify breaks firebase.js","user":{"login":"joncostello","id":739110,"avatar_url":"https://avatars.githubusercontent.com/u/739110?v=3","gravatar_id":"","url":"https://api.github.com/users/joncostello","html_url":"https://github.com/joncostello","followers_url":"https://api.github.com/users/joncostello/followers","following_url":"https://api.github.com/users/joncostello/following{/other_user}","gists_url":"https://api.github.com/users/joncostello/gists{/gist_id}","starred_url":"https://api.github.com/users/joncostello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joncostello/subscriptions","organizations_url":"https://api.github.com/users/joncostello/orgs","repos_url":"https://api.github.com/users/joncostello/repos","events_url":"https://api.github.com/users/joncostello/events{/privacy}","received_events_url":"https://api.github.com/users/joncostello/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-22T19:47:32Z","updated_at":"2016-01-30T13:24:57Z","closed_at":null,"body":"Moved here from: https://github.com/PolymerElements/polymer-starter-kit/issues/378\r\n\r\nSteps to reproduce:\r\n\r\nyo polymer\r\nyo polymer:el test-firebase\r\nbower install --save GoogleWebComponents/firebase-element\r\n\r\nInsert a test-firebase tag in index.html(I put it above the my-greeting tag).\r\n\r\nInside test-firebase.html:\r\nlink firebase-document\r\nabove hello from test-firebase put a firebase-document tag\r\n\r\ngulp serve:dist \r\nResult:\r\nblank page. Dev console has the Uncaught SyntaxError: Unexpected token ILLEGAL"},"comment":{"url":"https://api.github.com/repos/PolymerLabs/polybuild/issues/comments/177175627","html_url":"https://github.com/PolymerLabs/polybuild/issues/27#issuecomment-177175627","issue_url":"https://api.github.com/repos/PolymerLabs/polybuild/issues/27","id":177175627,"user":{"login":"zboralski","id":104316,"avatar_url":"https://avatars.githubusercontent.com/u/104316?v=3","gravatar_id":"","url":"https://api.github.com/users/zboralski","html_url":"https://github.com/zboralski","followers_url":"https://api.github.com/users/zboralski/followers","following_url":"https://api.github.com/users/zboralski/following{/other_user}","gists_url":"https://api.github.com/users/zboralski/gists{/gist_id}","starred_url":"https://api.github.com/users/zboralski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zboralski/subscriptions","organizations_url":"https://api.github.com/users/zboralski/orgs","repos_url":"https://api.github.com/users/zboralski/repos","events_url":"https://api.github.com/users/zboralski/events{/privacy}","received_events_url":"https://api.github.com/users/zboralski/received_events","type":"User","site_admin":false},"created_at":"2016-01-30T13:24:57Z","updated_at":"2016-01-30T13:24:57Z","body":"I don't think uglify is the problem... If I comment out this line :\r\n\r\n```js\r\n  .pipe(crush ? uglify : leftAlign)\r\n```\r\npolybuild succeeds... but then my application crashes at runtime with the same error:\r\n\r\nSo I run HTMLPrettify on elements.build.js to see what line was causing the problem :\r\n```\r\nelements.build.js:9213 Uncaught SyntaxError: Unexpected token ILLEGAL\r\n9213:   if (f--\\x3e0) {\r\n```\r\n\r\nWhat I don't understand is where that \\x3e0 comes from because the code in question is [jsbn.js ](http://www-cs-students.stanford.edu/~tjw/jsbn/jsbn.js)(http://www-cs-students.stanford.edu/~tjw/jsbn/)\r\n\r\nand the original line is  `if (f-- > 0) {` ... and the non-minified version is `  if(i-- > 0) {`\r\n\r\n\r\n\r\n"}}