Skip to content

Instantly share code, notes, and snippets.

@CharlesKozel
CharlesKozel / components.user-info.js
Last active December 12, 2017 18:02
Data Binding Example
import Ember from 'ember';
export default Ember.Component.extend({
});
@CharlesKozel
CharlesKozel / controllers.application.js
Last active October 25, 2017 01:17
Nested Computed Properties Bug
import Ember from 'ember';
export default Ember.Controller.extend({
init() {
this.set('firstSubObject', this.get('dummy.tiers.firstObject.subObject'));
console.log(this.get('dummy.tiers.firstObject.subObject'));
},
dummy: Ember.Object.create({
tiers: [