Closed mickmcgrath13 closed 7 years ago
var MyMap = CanMap.extend({ define: { propA: { value(){ return 1; } } } }); var map = new MyMap();
With this code, MyMap will now have 'propA' on its defaults
defaults
(can 2.3-legacy issue: https://github.com/canjs/canjs/issues/3057)
With this code, MyMap will now have 'propA' on its
defaults
(can 2.3-legacy issue: https://github.com/canjs/canjs/issues/3057)