These are chat archives for canjs/canjs

18th
Sep 2016
Justin Meyer
@justinbmeyer
Sep 18 2016 19:41
@nriesco you can do stuff like:
var Person = DefineMap.extend("Person",{
  addresses: [Address],
  name: { type: {first: "string", last: "string"} },
  cars: { Type: [{make: "string", year: "number"}] }
});

var person = new Person({
  addresses: [{street: "1134 Pinetree"}],
  name: {first: "Kath", last: "Iann"}
  cars: [{ make: "Nissan", year: 2010 }]
});
in 3.0
Justin Meyer
@justinbmeyer
Sep 18 2016 21:55
@/all I got a working draft of TodoMVC with 3.0 going: http://canjs.github.io/canjs/doc/guides/todomvc.html Let me know what you think! Thanks!