canjs / can-map-define

Define rich attribute behavior
https://canjs.com/doc/can-map-define.html
MIT License
3 stars 2 forks source link

Loading can-list after can-map-define breaks `type` and `Type` #30

Closed ccummings closed 7 years ago

ccummings commented 7 years ago

From https://github.com/canjs/can-list/issues/33

If can-list is imported into a project after can-map-define, can-lists __type override will be called before can-map-define's __type overide.

This makes all type and Type definitions not work for Array-like values (Everything will become a can-list regardless).

We need to ensure can-list is imported before can-map-define.