v0.5.0
Package

Fruits

Pineapple module

Module

Banana

Banana test module

Very awesome banana module.
const

Constants

NAME

string

Test constant

Code:

var NAME = 'banana';
constructor

Constructors

Banana

Banana constructor

Code:

var Banana = function() { };
method

Methods

tastes

Tastes method of Banana

Returns:

string
Returns how bananas tastes

Code:

Banana.prototype.tastes = function() { return 'awesome'; };

isGreen

Private

Private method

Params:

PropertyTypeDescription
isGreenbooleanReturns true if banana is green
callbackfunctionCallback function

Returns:

object
Returns this property

Code:

Banana.prototype.isGreen = function(green) { };
property

Properties

isSweet

boolean

Is sweet property

Code:

Banana.prototype.isSweet = false;
ungrouped

Ungroupded

Protected method

Protected

Protected method

Code:

Banana.prototype.isProtected = function() { };

Private method

Private

Private method

Code:

Banana.prototype.isPrivate = function() { };

Deprecated method

Deprecated

Deprecated method

Code:

Banana.prototype.isDeprecated = function() { };

Deprecated since method

Deprecated

Deprecated since method

Code:

Banana.prototype.isDeprecated = function() { };

Unimplemented method

Unimplemented

Unimplemented method

Code:

Banana.prototype.isUnimplemented = function() { };

Add new banana

Add new banana

Fires:

EventDescription
banana.add
Fires a banana.add event
Args:
banana.change
Fires a banana.change event
Args:

Code:

Banana.prototype.addBanana = function() { };

Code:

Banana.prototype.hasLinks = function() { };

Show a preview

Show a preview

Preview:

Code:

Banana.prototype.showPreview = function() { }; //--
event

Events

banana.change

Register listener

Code:

Banana.prototype.registerListener = function() { };
Module

Pineapple

Pineapple module

var

Variables

taste

String

Taste variable

Code:

var taste = 'sweet';
function

Functions

eat

Eat method

Code:

var eat = function() { };

peal

Peal method

Returns:

boolean
Is peeled

Code:

var peal = function() { };