Skip to content
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

application.js - requires order #11

Closed
mdanlowski opened this issue Apr 17, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@mdanlowski
Copy link

commented Apr 17, 2019

HI!
A really cool tutorial :) One of the most bulletproof I've followed so far.
Dunno if it was already pointed out - apologies if so - but
//=require jquery3 and all the stuff
must come before
//=require_tree. Otherwise js throws $ not defined in the browser.
The article says append the following... and does not mention the order :)
just a cosmetic, though it might stave off some beginners

Cheers!

@iridakos

This comment has been minimized.

Copy link
Owner

commented Apr 17, 2019

Hi @mdanlowski and thank you very much for the feedback :)

You are right, the order of requirements in
application.js was not mentioned in the post. Post updated.

https://iridakos.com/tutorials/2019/04/04/creating-chat-application-rails-websockets.html#acknowledgments

@iridakos iridakos closed this Apr 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.