Skip to content

onehilltech/base-object

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base Object

Base object that enables OOP-like support with JavaScript objects

npm version node version Build Status Coverage Status Dependencies devDependencies Status

Features

  • Define classes using hashes consisting of both methods and data
  • Define mixins containing reusable methods and data
  • Use mixins when defining classes, and instantiating objects.
  • Supports polymorphic behavior when defining methods
  • Computed properties simplify defining data properties on types and instances.

Documentation

See the chapter on The Object Model from the Blueprint documentation to learn how to use Base Object.