on 2018 Feb 15 1:06 PM
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.
Request clarification before answering.
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();
});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.