You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get can't convert undefined to object. If I change the method to this though it works:
MicroEvent.mixin2 = function(destObject)
{
for (var k in MicroEvent.prototype)
{
if (MicroEvent.prototype.hasOwnProperty(k))
{
destObject[k] = MicroEvent.prototype[k];
}
}
}
The text was updated successfully, but these errors were encountered:
I'm doubt this is an issue, probably just a problem with what I'm doing but I can't get mixins to work using the default method.
When trying with an object
I get
can't convert undefined to object
. If I change the method to this though it works:The text was updated successfully, but these errors were encountered: