// Generated by CoffeeScript 2.7.0
import Ember from 'ember';

import config from 'ember-get-config';

export default Ember.Component.extend({
  tagName: 'img',
  init: function() {
    var src;
    src = config.environment === 'development' || config.environment === 'test' ? `${config.rootURL}ember-panda/assets/${this.get('path')}` : `${config.rootURL}assets/${this.get('path')}`;
    this.set('full_src', src);
    return this._super(...arguments);
  },
  attributeBindings: ['full_src:src']
});
