Skip to content

jQuery not defined as $#102

Open
Paxxi wants to merge 1 commit into
yogiben:masterfrom
Paxxi:master
Open

jQuery not defined as $#102
Paxxi wants to merge 1 commit into
yogiben:masterfrom
Paxxi:master

Conversation

@Paxxi

@Paxxi Paxxi commented Mar 14, 2016

Copy link
Copy Markdown

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