-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JS processed by Uglifier 4.1.15 not working with phantomjs #150
Comments
I have the same problem using Uglifier on Rails:
My repo is https://github.com/DevinDow/ToDoRuby. |
I just encountered the same problem.
My Gemfile.lock showed I was using I am invoking uglifier as follows: I was having issues in particular with dsmorse/gridster.js added to the asset pipeline with its gem 'gridster.js-rails' Also downgraded to -- EDIT -- So, as it turns out, uglifier deffo wasn't the issue, as it kept happening again albeit more sporadically, dunno if I'm just imagining something here though. Turbolinks is my next best guess, as to why it happened in the first place, I entirely removed uglifier thinking it was this causing it, but it as I said before it kept happening after some time, which leads me to believe it's maybe a caching thing? - Well, as it's no longer an ugliefier issues, I will not comment further on this. |
I had problems with a Phantomjs script that told me that jQuery and other global variables where not defined.
Anyway in development mode everything was fine.
In the end I discovered that the problem was that in production we use Uglifier to compress the Js and downgrading Uglifier to v4.1.13 solved the problem.
The version 4.1.15 had the problem.
The text was updated successfully, but these errors were encountered: