This topic has 5 replies, 3 voices, and was last updated 9 years by kirilenko.

  • Author

    Tagged: 

  • #76225
     kirilenko
    Participant

    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?

    #76340
     Laura
    Moderator

    Hello, 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 solution

    Laura 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 🙂

    #76347
     Andrei
    Moderator

    Probably 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 solution
    #76372
     kirilenko
    Participant

    I tried to use empty AMD module, but the error remained.
    The problem (conflict of ‘define/require’) was resolved via ‘almond/jQuery.ajax’.
    ツ

    Thanks

    #76376
     Andrei
    Moderator

    I 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
    #76377
     kirilenko
    Participant

    This problem is resolved.
    If somebody need solution – I’ll post it.

Viewing 6 posts - 1 through 6 (of 6 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?