2023 walkthrough changes

This commit is contained in:
2023-11-28 14:30:02 -05:00
parent 0b236e142f
commit a4321d0a23
40 changed files with 314 additions and 231 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
// Generated by CoffeeScript 1.12.5
// Generated by CoffeeScript 2.7.0
import Ember from 'ember';
import config from 'ember-get-config';
@@ -7,9 +7,9 @@ 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'));
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.apply(this, arguments);
return this._super(...arguments);
},
attributeBindings: ['full_src:src']
});