-
Notifications
You must be signed in to change notification settings - Fork 79
'use strict' in faye.js causes problems on production #48
Comments
Doesn't Sprockets do this automatically? |
It seems to be doing it for everything but |
It's not just you :(
|
Can you try using version 1.0.10 and get back to me? |
It still seems to be broken for me, but I'm going to play around with it and make sure that it's not a problem on my side. The file is wrapped in the closure, so, it should work. |
Okay, so, update: for whatever reason, faye-rails 1.0.10 breaks everything, but I've separated faye from the assets and loaded version 1.0.8 separately and it works (this doesn't work for v1.0.10). So, this is still broken, but for now, this should at least be posted as a workaround. |
Okay, I've updated the closure to pass in |
I still seem to be getting a |
faye.js
and other related files should be enclosed in(function(){
})();
blocks to avoid leaking this definition into other scripts when sprockets concatenates the files.The text was updated successfully, but these errors were encountered: