text: import Ember from 'ember';
  import TaxonomyTag from 'gooru-web/models/taxonomy/taxonomy-tag';
  import TaxonomyTagData from 'gooru-web/models/taxonomy/taxonomy-tag-data';
  
  export default Ember.Component.extend({
    // -------------------------------------------------------------------------
    // Attributes
    classNames: ['cards', 'resource-preview-card'],
  
    // -------------------------------------------------------------------------
    // Properties
    /**
     * @property {TaxonomyTag[]} List of taxonomy tags
     */
    taxonomyTags: Ember.computed('resource.standards.[]', function() {
      var standards = this.get('resource.standards');
      if (standards) {
        standards = standards.filter(function(standard) {
          // Filter out learning targets (they're too long for the card)
          return !TaxonomyTagData.isMicroStandardId(standard.get('id'));
        });
      }
      return TaxonomyTag.getTaxonomyTags(standards);
    })
  });
  