Add Web3 library and service
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
import Ember from 'ember';
|
||||
|
||||
const {
|
||||
computed
|
||||
computed,
|
||||
inject: {
|
||||
service
|
||||
}
|
||||
} = Ember;
|
||||
|
||||
export default Ember.Controller.extend({
|
||||
|
||||
kredits: service(),
|
||||
|
||||
contributorsCount: computed('model.contributors.[]', function() {
|
||||
return this.get('model.contributors').length;
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user