Add Web3 library and service

This commit is contained in:
2017-02-02 17:27:50 +08:00
parent 256798ae40
commit 5f108557cc
5 changed files with 62 additions and 3 deletions
+6 -1
View File
@@ -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;
}),