I'm trying to reuse a function from existing webpack module instead recreating it again.
Example code from first module for view#1 looks like:
    SearchPopupView.prototype.highlightUser = function(item)
    {
        var self = this;
        self.selUser(item);
    }    
then in the new module, for view#2 - the same HTML template as view#1, I try to reuse the same function:
 UserSearch = __webpack_require__(/*! View/Popup/UserSearch */ 17)
 SearchAccountPopupView.prototype.highlightAccount = function(item)
 {
    UserSearch.prototype.highlightUser(item);
 }
it will execute function from a first module but will throw an error that
self.selUser is not a function
My question is can I reuse any function which operates on a view#1 elements or just those which are only computing values?
 
    