-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Version
0.3.3
Describe the bug
Anonymous mixins don't include any defined properties.
To Reproduce
Steps to reproduce the behavior:
- Define an anonymous mixin as the below code:
let toggleable = luda.mixin({
toggleableCreate: function(){
console.log('creating a instance.')
},
toggleableActivate: function(){
console.log('activate a instance.')
}
})
- Try getting all properties in the defined mixin:
// returns {}
toggleable.all()
Expected behavior
An object with all the defined properties should be returned.
What is Actually Happening
An object without any defined properties is returned.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working