cancel
Showing results for 
Search instead for 
Did you mean: 

Extending agreements-assigner.js

Extending agreements-assigner.js

I was trying for the past hour to extend /magento/module-checkout-agreements/view/frontend/web/js/model/agreements-assigner.js to change one of the variables but unsuccessfully. Is it even possible to extend via mixins that file - im not trusting myself anymore my opinion is its not possible due to the fact it is not returning an object nor it is a component nor a widget. What I did now is I just mapped it to my custom file where I have rewritten it but this does not sit too well with me. It would be great if I could somehow extend it instead of rewrite it completely.  Does anybody have any suggestion or is the rewrite a way to go in this case.