Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.39 KB

index.md

File metadata and controls

50 lines (37 loc) · 1.39 KB

Modules

  1. First class modules
  2. MVC modules
  3. Traits
  4. Utilities

First class modules

First class modules are modules that exist at the top level of nbd.js because they offer basic mechanics that are useful in a variety of situations

MVC modules

All MVC modules are Class constructors. I.e. they are Classes that are intended to be instanciated with new.

Traits

Traits are simply objects meant to be extend()ed into existing objects or .mixin()ed into Classes.

Utilities

Utilities are usually functions meant to be run by themselves. However some utility functions have extra functionality attached.