Meet
03/02/2020, 10:56 PMJavaScript
and we want to use modules from Commons
(SCA 2019.2.0 version) from base JavaScript
folder in Extension Developer Tools
but couldn’t find a way to use it. For example ModalView
from GlobalViews
Can anyone tell us how we can use those modules?Steve Goldberg
03/03/2020, 11:25 AMshowInModal()
method.eminero
03/03/2020, 1:37 PMSteve Goldberg
03/03/2020, 1:39 PMSteve Goldberg
03/03/2020, 1:41 PMSteve Goldberg
03/03/2020, 1:42 PMjQuery
in your dependencies whenever you use it but jQuery is a soft dependency of Backbone, which means that as long as we use it as our library of choice to power Backbone, you don't technically need to require it. The same is true of Underscore, which is actually a hard dependency of Backbone.eminero
03/03/2020, 1:45 PMimport Backbone = require('../../../Commons/Utilities/JavaScript/backbone.custom');
The backbon.custom is used in all the front-end models on 2019.2eminero
03/03/2020, 1:46 PM