File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 1
1
Changelog
2
2
=========
3
+
4
+ ## 4.1.1
5
+ - Improves the way mixins are applied to classes and ensures that:
6
+ - Sub classes always inherit all mixins applied to parent classes, even when this happens "later on"
7
+ - All sub classes inherit the static mixin properties, even after extending the base class
8
+
9
+ - Adds the following helpers are added to ` Space.Object ` for convenience:
10
+ - ** static**
11
+ - ` MyClass.hasSuperClass() `
12
+ - ` MyClass.superClass([key]) ` - either returns the super class constructor or static property/method
13
+ - ` MyClass.subClasses() ` - returns flat array of all sub classes
14
+ - ** prototype**
15
+ - ` myInstance.hasSuperClass() `
16
+ - ` myInstance.superClass([key]) ` - same as static version but returns prototype props/methods
17
+
3
18
## 4.1.0
4
19
- Adds ` hasMixin() ` instance method to Space.Object to check if the class has applied or inherited a specific mixin
5
20
Original file line number Diff line number Diff line change 1
1
Package . describe ( {
2
2
summary : 'Modular Application Architecture for Meteor.' ,
3
3
name : 'space:base' ,
4
- version : '4.1.0 ' ,
4
+ version : '4.1.1 ' ,
5
5
git : 'https://github.com/meteor-space/base.git' ,
6
6
documentation : 'README.md'
7
7
} ) ;
You can’t perform that action at this time.
0 commit comments