vue-dragula
vue-dragula copied to clipboard
msg is not defined.
vue-dragula.js?c9f2:1448 Uncaught ReferenceError: msg is not defined
if (this.find(name)) {
this.log('existing drakes', this.drakeNames);
var errMsg = 'Drake named: "' + name + '" already exists for this service [' + this.name + ']. \n Most likely this error in cause by a race condition evaluating multiple template elements with \n the v-dragula directive having the same drake name. Please initialise the drake in the created() life cycle hook of the VM to fix this problem.';
this.error(msg);<<<<<<<<<<<<
}
errMsg is your variable, not msg