Merge pull request #44 from 67P/add-contributors-alias
Add Contributors alias for Contributor
This commit is contained in:
commit
c367c9cf6b
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
build
|
||||
node_modules
|
||||
.ganache-db
|
||||
.tm_properties
|
||||
|
@ -63,6 +63,11 @@ class Kredits {
|
||||
return this.contractFor('contributors');
|
||||
}
|
||||
|
||||
get Contributors() {
|
||||
console.log('Contributors is deprecated use Contributor instead');
|
||||
return this.Contributor;
|
||||
}
|
||||
|
||||
get Operator() {
|
||||
return this.contractFor('operator');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user