VoliJS / Type-R

Reactive and serializable objects with transactional changes.
MIT License
51 stars 8 forks source link

move patching global objects to the `type-r/globals` #39

Closed gaperton closed 6 years ago

gaperton commented 6 years ago

By default, type-r should not add any public properties to JS objects. import 'type-r/globals' must provide full backward compatibility with versions 2.X.

That includes:

All built-in Type-R types must retain their interface. At that stage, we will keep private constructor members like _attribute (to be addressed at the next stage).

Since that moment, type( AttributeType ) becomes the recommended and preferred way to define attributes metadata taking place of AttributeType.has.

gaperton commented 6 years ago

Done in develop, perfect job @begemotx2 !