_createClass(fellow)

es2015/index.js

Update our fellow with the passed value

Parameters

Returns

this

Fellow

es2015/index.js

A fellow with similarties to other people

Static members

.add(value)

Add a fellow or a series of people, denoted by the value, to the singleton list

add(value)

source/index.js

Add a fellow or a series of people, denoted by the value, to the singleton list

Parameters

  • Mixed value :

    The fellow or people to add

Returns

Array :

An array of the fellow objects for the passed people

.authorsRepository(repoSlug)

Get all fellows who author a particular repository

authorsRepository(repoSlug)

source/index.js

Get all fellows who author a particular repository

Parameters

  • String repoSlug :

    The repository slug

Returns

Array :

An array of the fellow objects that author to the repository

.contributesRepository(repoSlug)

Get all fellows who contribute to a particular repository

contributesRepository(repoSlug)

source/index.js

Get all fellows who contribute to a particular repository

Parameters

  • String repoSlug :

    The repository slug

Returns

Array :

An array of the fellow objects that contribute to the repository

.create(value)

Create a new Fellow instance with the value, however if the value is already a fellow instance, then just return it

create(value)

source/index.js

Create a new Fellow instance with the value, however if the value is already a fellow instance, then just return it

Parameters

  • Mixed value :

Returns

Fellow :

The new fellow instance

.ensure(value, [add])

With the value, see if an existing fellow exists in our singleton list property with the value, otherwise create a new fellow instance with the value and add them to our singleton list

ensure(value, [add])

source/index.js

With the value, see if an existing fellow exists in our singleton list property with the value, otherwise create a new fellow instance with the value and add them to our singleton list

Parameters

  • Mixed value :

    The value to create a new fellow instance or find the existing fellow instance with

  • boolean = add (default true) :

    Whether to add the created person to the list

Returns

Fellow :

The new or existing fellow instance

.get(value)

Get a fellow from the singleton list

get(value)

source/index.js

Get a fellow from the singleton list

Parameters

  • Mixed value :

    The value to fetch the value with

Returns

( Fellow | Null ) :

The fetched fellow, if they exist with that value

.list

A singleton array attached to the class object that stores it's people objects

list

source/index.js

A singleton array attached to the class object that stores it's people objects

Properties

.maintainsRepository(repoSlug)

Get all fellows who maintain a particular repository

maintainsRepository(repoSlug)

source/index.js

Get all fellows who maintain a particular repository

Parameters

  • String repoSlug :

    The repository slug

Returns

Array :

An array of the fellow objects that maintain to the repository

Instance members

#authoredRepositories

Get all added github repository slugs that this fellow authors

authoredRepositories

source/index.js

Get all added github repository slugs that this fellow authors

Properties

  • Array authoredRepositories
#authorsRepository(slug)

Make note that this fellow authors this repository slug

authorsRepository(slug)

source/index.js

Make note that this fellow authors this repository slug

Parameters

  • String slug :

    The github repository slug that this user authors

Returns

this
#compare(other)

Compare a fellow to another fellow, uses ensureFields for the comparison If an ensureField is an array for both ourself and the other fellow, we will check to see if only one item of that array is similar (this is useful for email comparisons)

compare(other)

source/index.js

Compare a fellow to another fellow, uses ensureFields for the comparison If an ensureField is an array for both ourself and the other fellow, we will check to see if only one item of that array is similar (this is useful for email comparisons)

Parameters

  • Fellow other :

    The other fellow to compare ourselves with

Returns

Boolean :

Returns true if they appear to be the same person, or false if not

#constructor(value)

constructor(value)

source/index.js

Parameters

  • value :

Properties

#constructor(value)

constructor(value)

source/index.js

Parameters

  • value :

Properties

#constructor(value)

Construct our fellow instance with the value

constructor(value)

source/index.js

Construct our fellow instance with the value

Parameters

  • Mixed value :

    The value used to set the properties of the fellow, forwarded to set

#constructor(value)

constructor(value)

source/index.js

Parameters

  • value :

Properties

#constructor(value)

constructor(value)

source/index.js

Parameters

  • value :

Properties

#constructor(value)

constructor(value)

source/index.js

Parameters

  • value :

Properties

#constructor(value)

constructor(value)

source/index.js

Parameters

  • value :

Properties

#constructor(value)

constructor(value)

source/index.js

Parameters

  • value :

Properties

#contributedRepositories

Get all added github repository slugs that this fellow contributes to

contributedRepositories

source/index.js

Get all added github repository slugs that this fellow contributes to

Properties

  • Array contributedRepositories
#contributesRepository(slug)

Make note that this fellow contributes to this repository slug

contributesRepository(slug)

source/index.js

Make note that this fellow contributes to this repository slug

Parameters

  • String slug :

    The github repository slug that this user contributes to

Returns

this
#email(value)

Updating the email will add the email to the start of the emails array

email(value)

source/index.js

Updating the email will add the email to the start of the emails array

Parameters

  • String value :

    The email to add to the emails

Properties

#ensureFields

An array of fields that will denote if the user is the same user or not when using ensure

ensureFields

source/index.js

An array of fields that will denote if the user is the same user or not when using ensure

Properties

#json

Get the serialisable values of this fellow

json

source/index.js

Get the serialisable values of this fellow

Properties

#maintainedRepositories

Get all added github repository slugs that this fellow maintains

maintainedRepositories

source/index.js

Get all added github repository slugs that this fellow maintains

Properties

  • Array maintainedRepositories
#maintainsRepository(slug)

Make note that this fellow maintains this repository slug

maintainsRepository(slug)

source/index.js

Make note that this fellow maintains this repository slug

Parameters

  • String slug :

    The github repository slug that this user maintains

Returns

this
#set(fellow)

Update our fellow with the passed value

set(fellow)

source/index.js

Update our fellow with the passed value

Parameters

Returns

this
#url(value)

When set, will determine if it is a github, facebook, or twitter url If it is, then it will extract the username and url from it If this is not one of those urls, then it will set the homepage variable When fetching, it will fetch homepage || githubUrl || facebookUrl || twitterUrl || null

url(value)

source/index.js

When set, will determine if it is a github, facebook, or twitter url If it is, then it will extract the username and url from it If this is not one of those urls, then it will set the homepage variable When fetching, it will fetch homepage || githubUrl || facebookUrl || twitterUrl || null

Parameters

Properties

Fellow

source/index.js

A fellow with similarties to other people

Static members

.add(value)

Add a fellow or a series of people, denoted by the value, to the singleton list

add(value)

source/index.js

Add a fellow or a series of people, denoted by the value, to the singleton list

Parameters

  • Mixed value :

    The fellow or people to add

Returns

Array :

An array of the fellow objects for the passed people

.authorsRepository(repoSlug)

Get all fellows who author a particular repository

authorsRepository(repoSlug)

source/index.js

Get all fellows who author a particular repository

Parameters

  • String repoSlug :

    The repository slug

Returns

Array :

An array of the fellow objects that author to the repository

.contributesRepository(repoSlug)

Get all fellows who contribute to a particular repository

contributesRepository(repoSlug)

source/index.js

Get all fellows who contribute to a particular repository

Parameters

  • String repoSlug :

    The repository slug

Returns

Array :

An array of the fellow objects that contribute to the repository

.create(value)

Create a new Fellow instance with the value, however if the value is already a fellow instance, then just return it

create(value)

source/index.js

Create a new Fellow instance with the value, however if the value is already a fellow instance, then just return it

Parameters

  • Mixed value :

Returns

Fellow :

The new fellow instance

.ensure(value, [add])

With the value, see if an existing fellow exists in our singleton list property with the value, otherwise create a new fellow instance with the value and add them to our singleton list

ensure(value, [add])

source/index.js

With the value, see if an existing fellow exists in our singleton list property with the value, otherwise create a new fellow instance with the value and add them to our singleton list

Parameters

  • Mixed value :

    The value to create a new fellow instance or find the existing fellow instance with

  • boolean = add (default true) :

    Whether to add the created person to the list

Returns

Fellow :

The new or existing fellow instance

.get(value)

Get a fellow from the singleton list

get(value)

source/index.js

Get a fellow from the singleton list

Parameters

  • Mixed value :

    The value to fetch the value with

Returns

( Fellow | Null ) :

The fetched fellow, if they exist with that value

.list

A singleton array attached to the class object that stores it's people objects

list

source/index.js

A singleton array attached to the class object that stores it's people objects

Properties

.maintainsRepository(repoSlug)

Get all fellows who maintain a particular repository

maintainsRepository(repoSlug)

source/index.js

Get all fellows who maintain a particular repository

Parameters

  • String repoSlug :

    The repository slug

Returns

Array :

An array of the fellow objects that maintain to the repository

Instance members

#authoredRepositories

Get all added github repository slugs that this fellow authors

authoredRepositories

source/index.js

Get all added github repository slugs that this fellow authors

Properties

  • Array authoredRepositories
#authorsRepository(slug)

Make note that this fellow authors this repository slug

authorsRepository(slug)

source/index.js

Make note that this fellow authors this repository slug

Parameters

  • String slug :

    The github repository slug that this user authors

Returns

this
#compare(other)

Compare a fellow to another fellow, uses ensureFields for the comparison If an ensureField is an array for both ourself and the other fellow, we will check to see if only one item of that array is similar (this is useful for email comparisons)

compare(other)

source/index.js

Compare a fellow to another fellow, uses ensureFields for the comparison If an ensureField is an array for both ourself and the other fellow, we will check to see if only one item of that array is similar (this is useful for email comparisons)

Parameters

  • Fellow other :

    The other fellow to compare ourselves with

Returns

Boolean :

Returns true if they appear to be the same person, or false if not

#constructor(value)

constructor(value)

source/index.js

Parameters

  • value :

Properties

#constructor(value)

constructor(value)

source/index.js

Parameters

  • value :

Properties

#constructor(value)

Construct our fellow instance with the value

constructor(value)

source/index.js

Construct our fellow instance with the value

Parameters

  • Mixed value :

    The value used to set the properties of the fellow, forwarded to set

#constructor(value)

constructor(value)

source/index.js

Parameters

  • value :

Properties

#constructor(value)

constructor(value)

source/index.js

Parameters

  • value :

Properties

#constructor(value)

constructor(value)

source/index.js

Parameters

  • value :

Properties

#constructor(value)

constructor(value)

source/index.js

Parameters

  • value :

Properties

#constructor(value)

constructor(value)

source/index.js

Parameters

  • value :

Properties

#contributedRepositories

Get all added github repository slugs that this fellow contributes to

contributedRepositories

source/index.js

Get all added github repository slugs that this fellow contributes to

Properties

  • Array contributedRepositories
#contributesRepository(slug)

Make note that this fellow contributes to this repository slug

contributesRepository(slug)

source/index.js

Make note that this fellow contributes to this repository slug

Parameters

  • String slug :

    The github repository slug that this user contributes to

Returns

this
#email(value)

Updating the email will add the email to the start of the emails array

email(value)

source/index.js

Updating the email will add the email to the start of the emails array

Parameters

  • String value :

    The email to add to the emails

Properties

#ensureFields

An array of fields that will denote if the user is the same user or not when using ensure

ensureFields

source/index.js

An array of fields that will denote if the user is the same user or not when using ensure

Properties

#json

Get the serialisable values of this fellow

json

source/index.js

Get the serialisable values of this fellow

Properties

#maintainedRepositories

Get all added github repository slugs that this fellow maintains

maintainedRepositories

source/index.js

Get all added github repository slugs that this fellow maintains

Properties

  • Array maintainedRepositories
#maintainsRepository(slug)

Make note that this fellow maintains this repository slug

maintainsRepository(slug)

source/index.js

Make note that this fellow maintains this repository slug

Parameters

  • String slug :

    The github repository slug that this user maintains

Returns

this
#set(fellow)

Update our fellow with the passed value

set(fellow)

source/index.js

Update our fellow with the passed value

Parameters

Returns

this
#url(value)

When set, will determine if it is a github, facebook, or twitter url If it is, then it will extract the username and url from it If this is not one of those urls, then it will set the homepage variable When fetching, it will fetch homepage || githubUrl || facebookUrl || twitterUrl || null

url(value)

source/index.js

When set, will determine if it is a github, facebook, or twitter url If it is, then it will extract the username and url from it If this is not one of those urls, then it will set the homepage variable When fetching, it will fetch homepage || githubUrl || facebookUrl || twitterUrl || null

Parameters

Properties

get

es2015/index.js

Get the serialisable values of this fellow

Properties

get

es2015/index.js

Properties

get(value)

es2015/index.js

Construct our fellow instance with the value

Parameters

  • Mixed value :

    The value used to set the properties of the fellow, forwarded to set

get

es2015/index.js

Properties

get

es2015/index.js

Properties

get

es2015/index.js

Properties

get(value)

es2015/index.js

Get a fellow from the singleton list

Parameters

  • Mixed value :

    The value to fetch the value with

Returns

( Fellow | Null ) :

The fetched fellow, if they exist with that value

get

es2015/index.js

An array of fields that will denote if the user is the same user or not when using ensure

Properties

get

es2015/index.js

Properties

get(value)

es2015/index.js

Updating the email will add the email to the start of the emails array

Parameters

  • String value :

    The email to add to the emails

Properties

get(value)

es2015/index.js

When set, will determine if it is a github, facebook, or twitter url If it is, then it will extract the username and url from it If this is not one of those urls, then it will set the homepage variable When fetching, it will fetch homepage || githubUrl || facebookUrl || twitterUrl || null

Parameters

Properties

get

es2015/index.js

Properties

get

es2015/index.js

Properties

value(slug)

es2015/index.js

Make note that this fellow authors this repository slug

Parameters

  • String slug :

    The github repository slug that this user authors

Returns

this

value

es2015/index.js

A singleton array attached to the class object that stores it's people objects

Properties

value(value, [add])

es2015/index.js

With the value, see if an existing fellow exists in our singleton list property with the value, otherwise create a new fellow instance with the value and add them to our singleton list

Parameters

  • Mixed value :

    The value to create a new fellow instance or find the existing fellow instance with

  • boolean = add (default true) :

    Whether to add the created person to the list

Returns

Fellow :

The new or existing fellow instance

value(value)

es2015/index.js

Add a fellow or a series of people, denoted by the value, to the singleton list

Parameters

  • Mixed value :

    The fellow or people to add

Returns

Array :

An array of the fellow objects for the passed people

value(repoSlug)

es2015/index.js

Get all fellows who contribute to a particular repository

Parameters

  • String repoSlug :

    The repository slug

Returns

Array :

An array of the fellow objects that contribute to the repository

value(repoSlug)

es2015/index.js

Get all fellows who maintain a particular repository

Parameters

  • String repoSlug :

    The repository slug

Returns

Array :

An array of the fellow objects that maintain to the repository

value(repoSlug)

es2015/index.js

Get all fellows who author a particular repository

Parameters

  • String repoSlug :

    The repository slug

Returns

Array :

An array of the fellow objects that author to the repository

value(value)

es2015/index.js

Create a new Fellow instance with the value, however if the value is already a fellow instance, then just return it

Parameters

  • Mixed value :

Returns

Fellow :

The new fellow instance

value

es2015/index.js

Get all added github repository slugs that this fellow contributes to

Properties

  • Array contributedRepositories

value(slug)

es2015/index.js

Make note that this fellow contributes to this repository slug

Parameters

  • String slug :

    The github repository slug that this user contributes to

Returns

this

value

es2015/index.js

Get all added github repository slugs that this fellow maintains

Properties

  • Array maintainedRepositories

value(slug)

es2015/index.js

Make note that this fellow maintains this repository slug

Parameters

  • String slug :

    The github repository slug that this user maintains

Returns

this

value

es2015/index.js

Get all added github repository slugs that this fellow authors

Properties

  • Array authoredRepositories

value(other)

es2015/index.js

Compare a fellow to another fellow, uses ensureFields for the comparison If an ensureField is an array for both ourself and the other fellow, we will check to see if only one item of that array is similar (this is useful for email comparisons)

Parameters

  • Fellow other :

    The other fellow to compare ourselves with

Returns

Boolean :

Returns true if they appear to be the same person, or false if not