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

jQuery not defined as $ #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

jQuery not defined as $ #102

wants to merge 1 commit into from

Conversation

Paxxi
Copy link

@Paxxi Paxxi commented Mar 14, 2016

Trying to use this with meteor 1.2.1 and I'm getting errors in the console that $ is undefined.

TypeError: $ is not a function
    at null.<anonymous> (autoform-file.coffee:52)
    at template.js:116
    at Function.Template._withTemplateInstanceFunc (template.js:457)
    at fireCallbacks (template.js:112)
    at null.<anonymous> (template.js:205)
    at view.js:107
    at Object.Blaze._withCurrentView (view.js:538)
    at view.js:106
    at Object.Tracker._runFlush (tracker.js:497)
    at onGlobalMessage (setimmediate.js:102)

Testing manually in the console gives this

$(document)
VM6976:2 Uncaught TypeError: $ is not a function(…)
jQuery(document)
[#document]

This small fix solves the issue for me and should be fully compatible however jQuery is exported/defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant