Well, maybe that's too strong but...
So I have this bundle inside manifest.ajaxmin file and one of the inputs is scripts.js file that does this:
$(".twentytwenty-container").twentytwenty();
But this code exists in another js file that was bundled AFTER the scripts js. What needs to happen is it needs to be BEFORE script.js becuase scripts calls twenty, therefore twenty should be loaded BEFORE scripts.js
<input path="js/CessnaResponsive/vendor/event.js"/>
<input path="js/CessnaResponsive/vendor/twenty.js"/>
<input path="js/CessnaResponsive/scripts.js"/>
No comments:
Post a Comment