Error when jQuery is in no-conflict mode

36 views
Skip to first unread message

rafa...@gmail.com

unread,
Sep 7, 2016, 10:12:05 AM9/7/16
to Mergely
Hello,

I'm trying mergely in my project, which has jQuery configured in no-conflict mode. This causes mergely to fail because the '$' var is not defined:

mergely.js:687 Uncaught TypeError: $ is not a function

var color = $('<div style="display:none" class="mergely current start" />').appendTo('body').css('border-top-color');

Is there a workaround for this?

Jamie Peabody

unread,
Sep 7, 2016, 10:25:23 AM9/7/16
to rafa...@gmail.com, Mergely
Ah, the "$" snuck in there - sorry.  It'd need to be fixed in the source to use "jQuery".  You can DIY and push the change, or wait until I get around to it.


--
You received this message because you are subscribed to the Google Groups "Mergely" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mergely+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jamie Peabody

unread,
Sep 7, 2016, 2:09:15 PM9/7/16
to Rafa Rob, Mergely

rafa...@gmail.com

unread,
Sep 8, 2016, 12:24:56 AM9/8/16
to Mergely, rafa...@gmail.com
> To unsubscribe from this group and stop receiving emails from it, send an email to mergely+u...@googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

Great! Thank you.

Rafa
Reply all
Reply to author
Forward
0 new messages