These are chat archives for ractivejs/ractive

Mar 2015
Truong Nguyen
Mar 02 2015 23:29
hey team, is there a way to have default data for a component that’s extended from another component?
var A = Ractive.extend({ data: { foo: 'bar' }});
var B = A.extend({ data: { x: 'y' }})

var view = new B();
B.get('foo'); // expect 'bar'
Truong Nguyen
Mar 02 2015 23:34
ah, looks like it’s already working as expected :D