Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @ykocyigit – We don’t use any function called define(). Nor do we hardcode any scripts, they are all properly enqueued via wp_enqueue_script. Are you sure that Popup Maker is the one causing this issue, or did you just notice it when testing popup maker?

    Just to confirm I did a quick check in our JS file https://github.com/PopupMaker/Popup-Maker/blob/master/assets/scripts/popup-maker-site.js and found no usage of define() at all.

    PS i’ve never used the Jupiter theme, but I am not sure why they would use require js for loading anything outside their own theme. Seems like it would be very buggy to begin with. I have used Require JS for apps ive developed but never with a software as dynamic as WordPress. WP already has its own built in selective script enqueuing systems in place.

    If you have a link I would be glad to take a look and may be able to be more helpful.

    Plugin Author Daniel Iser

    (@danieliser)

    More on what I meant by require.js and WP don’t mesh well. https://kaidez.com/requirejs-wordpress/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Require js mismatch’ is closed to new replies.