Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Latest commit

 

History

History
executable file
·
29 lines (22 loc) · 1.39 KB

index.md

File metadata and controls

executable file
·
29 lines (22 loc) · 1.39 KB

API Documentation

Documentation Convention

An Object is documented like this:

  • Type Name: Description
    • description of properties
    • returns Return value.

If returns is omitted then the Object is either not a function or it returns undefined.

The following types are available:

  • Undefined Javascripts undefined.
  • Object A javascript object of string / object pairs. Often used as namespace.
  • Boolean A javascript boolean object. Is either true or false.
  • Number A javascript number object. This should not be NaN, Infinity or -Infinity unless specefied otherwise.
  • String A javascript string.
  • Function A javascript function.
  • Instance[Function] Instance of the specefied function. Addtionally has the following abbreviations:
    • jQuery is the same as Instance[jQuery]. Note that any jQuery element may also just be a jQuery selector.
    • JOBAD is the same as Instance[JOBAD]
  • Array[Type][Length] Array of specefied type and length. Unless specefied otherwise, this may be empty. If length is omitted, the array can have any length.
  • Mixed May be any of the types specefied above. May be further restricted by the appopriate description.