vue-dragula icon indicating copy to clipboard operation
vue-dragula copied to clipboard

msg is not defined.

Open height opened this issue 8 years ago • 1 comments

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);<<<<<<<<<<<<
	      }

height avatar Nov 29 '16 07:11 height

errMsg is your variable, not msg

aaroniker avatar Dec 01 '16 14:12 aaroniker