Genbank URL

This commit is contained in:
Matthew Dillon 2015-06-11 13:45:10 -08:00
parent 559c0a3d9f
commit e4f01246c2
4 changed files with 31 additions and 1 deletions

View file

@ -0,0 +1,10 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'a',
attributeBindings: ['href', 'target'],
href: function() {
return 'http://www.ncbi.nlm.nih.gov/nucleotide/' + this.get('genbank');
}.property(),
target: '_blank',
});