Closed gaand closed 7 years ago
Is there any reason we might want to show them this so Ember convention doesn't look so different?
function goBoom () {
console.log(this);
};
@payne-chris-r That's not what we do in Ember?
Everything in Ember is modifying prototypes. What we do in Ember is actually:
// note the enclosing object
exports default Ember.Object.extend({
goBoom () {
console.log(this);
},
});
I'm in agreement with @gaand that these examples should change to expressions not declarations.
So this:
not this: