equal
deleted
inserted
replaced
8 |
8 |
9 bnfResolver: Ember.inject.service(), |
9 bnfResolver: Ember.inject.service(), |
10 |
10 |
11 _resolveBnfIds: Ember.on('init', Ember.observer('url', function() { |
11 _resolveBnfIds: Ember.on('init', Ember.observer('url', function() { |
12 this.get('bnfResolver').getLabel(this.get('url')).then(function(str) { |
12 this.get('bnfResolver').getLabel(this.get('url')).then(function(str) { |
|
13 if (!(this.get('isDestroyed') || this.get('isDestroying'))) { |
13 this.set('resolvedLabel', str); |
14 this.set('resolvedLabel', str); |
|
15 } |
14 }.bind(this)); |
16 }.bind(this)); |
15 })), |
17 })), |
16 |
18 |
17 code: Ember.computed('url', function() { |
19 code: Ember.computed('url', function() { |
18 var rawSubject = this.get('url'); |
20 var rawSubject = this.get('url'); |