cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

hybris 6.4 smartedit addon is not working with require js (require.js is using in our storefront)

Former Member
0 Likes
540

hybris 6.4 smartedit addon is not working with require js (require.js is using in our storefront)

it shows error for webapplicationinjector.js ($script is not defined), if we remove require js it works fine.

please suggest how could we go ahead with require js + smartedit.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

You could look into jQuery noconflict

Something like this.. for your own code .. leaving the $script alone.. jQuery.noConflict();

 jQuery( document ).ready(function( $ ) {
     // You can use the locally-scoped $ in here as an alias to jQuery.
     $( "div" ).hide();
 });