I'm working on a Meteor app. I can call $.get()
perfectly fine in this client javascript I run on a button click. But this client javascript calls some server javascript (with Meteor.call()
) in which I use $.get()
and see the error:
Exception while invoking method 'server_facebook_authentication' ReferenceError: $ is not defined
I am not super solid on how Meteor loads resources and libraries and whatnot. What is wrong and how can I fix this?