Uncaught TypeError: Cannot read property 'mintNew' of undefined
at initializeNewInstanceAtBase (mashlib.js:109240)
at initializeNewInstanceInWorkspace (mashlib.js:109232)
at gotWS (mashlib.js:121529)
at HTMLButtonElement.<anonymous> (mashlib.js:121401)
Top level: this is undefined in this.mintNew(…)
var initializeNewInstanceAtBase = function initializeNewInstanceAtBase(thisInstance, newBase) {
var options = {
thisInstance: thisInstance,
newBase: newBase
};
this.mintNew(context, options).then(function (options) {
var p = div.appendChild(dom.createElement('p'));
p.setAttribute('style', 'font-size: 140%;');