• I’m having an issue with the following javascript code in ajax-load-more.js on lines 1084 – 1088:

    // Include almWaitForImages() for paging add-on
    ;(function (factory) {
        if (typeof define === 'function' && define.amd) {
            // AMD. Register as an anonymous module.
            define(['jquery'], factory);

    I am using requirejs to handle all of the js for my theme, and when it hits this I get a “Mismatched anonymous define() module” error.

    Do you have any recommended ways of getting around this? It’s causing all of my js to break for my whole site.

    https://www.ads-software.com/plugins/ajax-load-more/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Javascript problem with define() and amd’ is closed to new replies.