ObjectModel

Strong Dynamically Typed Object Modeling for JavaScript

MIT License

Downloads
15K
Stars
467
Committers
9
ObjectModel - v1.1.0

Published by sylvainpolletvillard over 8 years ago

  • model.extend can now take models and/or models definitions as arguments
  • fixed some issues with object deep merging on model extensions
  • make array models keys enumerable
ObjectModel - v1.2.0

Published by sylvainpolletvillard over 8 years ago

  • null is now a valid value for an optional property
  • stack errors instead of throwing the first error catched
  • added custom error collectors
  • assert API has changed and now receives an optional description
  • validate API has changed and now receives an optional error collector
ObjectModel - v2.0.0

Published by sylvainpolletvillard over 8 years ago

  • support for IE<11 had to be dropped (explainations)
  • removed Model.instanceOf as it is not useful anymore: use the instanceof operator
  • reduced the library size by ~ 20%
ObjectModel - v2.0.1

Published by sylvainpolletvillard over 8 years ago

  • better model string formatting
  • fixed custom error collector inheritance in extended models