You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Also downgraded to uglifier 4.1.14 and now everything seems to be working as intended, will report back if that actually was the issue, but as the other issues suggested the seems to be some breaking changes in 4.1.15 and later versions.
-- 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: