Add Contributors alias for Contributor #44

Merged
fsmanuel merged 1 commits from add-contributors-alias into master 2018-04-26 11:52:25 +00:00
2 changed files with 7 additions and 1 deletions
Showing only changes of commit ad5fe3ae77 - Show all commits
+1
View File
@@ -1,3 +1,4 @@
build build
node_modules node_modules
.ganache-db .ganache-db
.tm_properties
+5
View File
@@ -63,6 +63,11 @@ class Kredits {
return this.contractFor('contributors'); return this.contractFor('contributors');
} }
get Contributors() {
console.log('Contributors is deprecated use Contributor instead');
return this.Contributor;
}
get Operator() { get Operator() {
return this.contractFor('operator'); return this.contractFor('operator');
} }