Jump to content


Can't export JS properly

Recommended Posts


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) {&#13;
    &quot;use strict&quot;;&#13;
    ips.controller.mixin('customYTSubmitWrapper', 'gallery.front.submit.wrapper', true, function() {&#13;
}(jQuery, _));</file>

What I'm doing wrong?

Link to comment
Share on other sites


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy