API Docs for: 0.0.0
Show:

__subject Class

Defined in: src/index.js:38
Module: subject

Mock

Item Index

Methods

Properties

Methods

extend

(
  • [initialize]
  • protoProps
  • staticProps
)

Defined in src/index.js:72

Define a function that when run will return an instance of its prototype object.

All arguments passed to the extend method will be passed on to this.prototype.extend method.

Parameters:

  • [initialize] Function optional
  • protoProps Object
  • staticProps Object

proto

()

Defined in src/index.js:56

Augments the prototype.

Properties

prototype

Object

Defined in src/index.js:44

The prototype object. When the __subject function is run, it will create an instance of this.prototype and call its initialize method.