Permalink
Browse files

Add more attributes to Dashboard.Repository

  • Loading branch information...
pangratz committed Jul 23, 2012
1 parent 1aad8a2 commit d8673977f6d1414866edabb956f242a1a91fc142
Showing with 9 additions and 1 deletion.
  1. +9 −1 app/lib/model.js
View
@@ -1,7 +1,15 @@
require('dashboard/core');
Dashboard.Repository = DS.Model.extend({
+ name: DS.attr('string'),
full_name: DS.attr('string'),
description: DS.attr('string'),
- html_url: DS.attr('string')
+ html_url: DS.attr('string'),
+ homepage: DS.attr('string'),
+ watchers: DS.attr('number'),
+ forks: DS.attr('number'),
+ language: DS.attr('string'),
+ owner: function() {
+ return this.get('data.owner')
+ }.property('data')
});

0 comments on commit d867397

Please sign in to comment.