-
Author
Tagged: requirejs
-
September 4, 2015 at 17:42 #76225kirilenkoParticipant
Hello.
I try to create simple addon for Visual Composer and get error in …kleo/assets/js/app.min.js (TypeError: f(…).waypoint is not a function).
I think – this error is the result of conflict requirejs (in my addon) and some other lib in your theme.Have you ever had such problems?
What can you recommend?September 6, 2015 at 00:03 #76340LauraModeratorHello, will assign the ticket to a higher support lever who can help and advise you in your query.
Thanks! 🙂Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
September 6, 2015 at 01:34 #76347AndreiModeratorProbably what you’re trying to do isn’t compatible with the waypoint library that we use OR maybe your development might entirely brake js scrips and that’s why you might get that error.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 6, 2015 at 07:27 #76372kirilenkoParticipantI tried to use empty AMD module, but the error remained.
The problem (conflict of ‘define/require’) was resolved via ‘almond/jQuery.ajax’.
ツThanks
September 6, 2015 at 12:38 #76376AndreiModeratorI don’t have experience with the requirejs library but from what I can see there are different ways in order to use it with jQuery. Maybe you should give a closer look into those.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.