equal
deleted
inserted
replaced
28 }), |
28 }), |
29 |
29 |
30 subjects: Ember.computed('item.subjects', function() { |
30 subjects: Ember.computed('item.subjects', function() { |
31 var subjects = []; |
31 var subjects = []; |
32 if(this.get('item')) { |
32 if(this.get('item')) { |
33 this.get('subjects').forEach(function(subject) { |
33 this.get('item').get('subjects').forEach(function(subject) { |
34 var object = {}; |
34 var object = {}; |
35 if(typeof subject === 'object') { |
35 if(typeof subject === 'object') { |
36 if(subject.datatype) { |
36 if(subject.datatype) { |
37 object['url'] = subject.datatype; |
37 object['url'] = subject.datatype; |
38 } |
38 } |