DawPi Posted April 17, 2021 Posted April 17, 2021 Hi, I have simple "stock" JS code: ;( function($, _, undefined) { "use strict"; ips.controller.mixin('customSubmitWrapper', 'gallery.front.submit.wrapper', true, function() { }); }(jQuery, _)); But every time when I rebuild app I'm gettings this: <?xml version="1.0" encoding="UTF-8"?> <javascript app="dp45ytembedgallery"> <file javascript_app="dp45ytembedgallery" javascript_location="front" javascript_path="controllers/submit" javascript_name="ips.submit.main.customYTSubmitWrapper.js" javascript_type="controller" javascript_version="10000" javascript_position="1000050">;( function($, _, undefined) { "use strict"; ips.controller.mixin('customYTSubmitWrapper', 'gallery.front.submit.wrapper', true, function() { }); }(jQuery, _));</file> </javascript> What I'm doing wrong?
Recommended Posts