Comparing version 1.1.0 to 1.2.0
@@ -201,2 +201,3 @@ { | ||
"line": 155, | ||
"description": "If the name is empty, we will try to fallback to githubUsername then twitterUsername\nIf the name is prefixed with a series of numbers, that is considered the year\nE.g. In `2015+ Bevry Pty Ltd` then `2015+` is the years\nE.g. In `2013-2015 Bevry Pty Ltd` then `2013-2015` is the years", | ||
"itemtype": "property", | ||
@@ -209,4 +210,4 @@ "name": "name", | ||
"file": "esnext/lib/fellow.js", | ||
"line": 171, | ||
"description": "If the name is prefixed with a series of numbers, that is considered the year\nE.g. In `2015+ Bevry Pty Ltd` then `2015+` is the years\nE.g. In `2013-2015 Bevry Pty Ltd` then `2013-2015` is the years", | ||
"line": 175, | ||
"description": "The years that this fellow has", | ||
"itemtype": "property", | ||
@@ -219,3 +220,3 @@ "name": "years", | ||
"file": "esnext/lib/fellow.js", | ||
"line": 179, | ||
"line": 181, | ||
"itemtype": "property", | ||
@@ -228,3 +229,3 @@ "name": "email", | ||
"file": "esnext/lib/fellow.js", | ||
"line": 184, | ||
"line": 186, | ||
"description": "When set, will determine if it is a github, facebook, or twitter url\nIf it is, then it will extract the username and url from it\nIf this is not one of those urls, then it will set the homepage variable\nWhen fetching, it will fetch `homepage || githubUrl || facebookUrl || twitterUrl || null`", | ||
@@ -238,3 +239,3 @@ "itemtype": "property", | ||
"file": "esnext/lib/fellow.js", | ||
"line": 220, | ||
"line": 222, | ||
"itemtype": "property", | ||
@@ -247,3 +248,3 @@ "name": "homepage", | ||
"file": "esnext/lib/fellow.js", | ||
"line": 225, | ||
"line": 227, | ||
"itemtype": "property", | ||
@@ -256,3 +257,3 @@ "name": "githubUrl", | ||
"file": "esnext/lib/fellow.js", | ||
"line": 230, | ||
"line": 232, | ||
"itemtype": "property", | ||
@@ -265,3 +266,3 @@ "name": "githubUsername", | ||
"file": "esnext/lib/fellow.js", | ||
"line": 238, | ||
"line": 240, | ||
"description": "Construct our fellow instance with the value", | ||
@@ -275,3 +276,3 @@ "itemtype": "property", | ||
"file": "esnext/lib/fellow.js", | ||
"line": 247, | ||
"line": 249, | ||
"description": "Update our fellow with the passed value", | ||
@@ -286,3 +287,3 @@ "itemtype": "property", | ||
"file": "esnext/lib/fellow.js", | ||
"line": 296, | ||
"line": 298, | ||
"description": "Ensures that the github repository exists on the class", | ||
@@ -308,3 +309,3 @@ "access": "private", | ||
"file": "esnext/lib/fellow.js", | ||
"line": 309, | ||
"line": 311, | ||
"description": "Get all added github repository slugs that this fellow contributes to", | ||
@@ -318,3 +319,3 @@ "itemtype": "property", | ||
"file": "esnext/lib/fellow.js", | ||
"line": 325, | ||
"line": 327, | ||
"description": "Make note that this fellow contributes to this repository slug", | ||
@@ -335,3 +336,3 @@ "itemtype": "method", | ||
"file": "esnext/lib/fellow.js", | ||
"line": 336, | ||
"line": 338, | ||
"description": "Get all added github repository slugs that this fellow maintains", | ||
@@ -345,3 +346,3 @@ "itemtype": "property", | ||
"file": "esnext/lib/fellow.js", | ||
"line": 352, | ||
"line": 354, | ||
"description": "Make note that this fellow maintains this repository slug", | ||
@@ -362,3 +363,3 @@ "itemtype": "method", | ||
"file": "esnext/lib/fellow.js", | ||
"line": 363, | ||
"line": 365, | ||
"description": "Get all added github repository slugs that this fellow authors", | ||
@@ -372,3 +373,3 @@ "itemtype": "property", | ||
"file": "esnext/lib/fellow.js", | ||
"line": 379, | ||
"line": 381, | ||
"description": "Make note that this fellow authors this repository slug", | ||
@@ -375,0 +376,0 @@ "itemtype": "method", |
@@ -25,2 +25,6 @@ /** | ||
/** | ||
If the name is empty, we will try to fallback to githubUsername then twitterUsername | ||
If the name is prefixed with a series of numbers, that is considered the year | ||
E.g. In `2015+ Bevry Pty Ltd` then `2015+` is the years | ||
E.g. In `2013-2015 Bevry Pty Ltd` then `2013-2015` is the years | ||
@property name | ||
@@ -37,9 +41,7 @@ @type String | ||
get: function get() { | ||
return this._name; | ||
return this._name || this.githubUsername || this.twitterUsername || null; | ||
} | ||
/** | ||
If the name is prefixed with a series of numbers, that is considered the year | ||
E.g. In `2015+ Bevry Pty Ltd` then `2015+` is the years | ||
E.g. In `2013-2015 Bevry Pty Ltd` then `2013-2015` is the years | ||
The years that this fellow has | ||
@property years | ||
@@ -46,0 +48,0 @@ @type String |
@@ -156,2 +156,6 @@ /** | ||
/** | ||
If the name is empty, we will try to fallback to githubUsername then twitterUsername | ||
If the name is prefixed with a series of numbers, that is considered the year | ||
E.g. In `2015+ Bevry Pty Ltd` then `2015+` is the years | ||
E.g. In `2013-2015 Bevry Pty Ltd` then `2013-2015` is the years | ||
@property name | ||
@@ -169,9 +173,7 @@ @type String | ||
get name () { | ||
return this._name | ||
return this._name || this.githubUsername || this.twitterUsername || null | ||
} | ||
/** | ||
If the name is prefixed with a series of numbers, that is considered the year | ||
E.g. In `2015+ Bevry Pty Ltd` then `2015+` is the years | ||
E.g. In `2013-2015 Bevry Pty Ltd` then `2013-2015` is the years | ||
The years that this fellow has | ||
@property years | ||
@@ -178,0 +180,0 @@ @type String |
# History | ||
## v1.2.0 September 16, 2015 | ||
- Added name fallbacks to githubUsername then twitterUsername | ||
## v1.1.0 September 16, 2015 | ||
@@ -4,0 +7,0 @@ - Added repository helpers |
{ | ||
"name": "fellow", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Fellow is a package for creating people that can be unified by their shared values via a singleton list on the class", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/bevry/fellow", |
@@ -45,3 +45,3 @@ <!-- TITLE/ --> | ||
<li>Use: <code>require('fellow')</code></li> | ||
<li>CDN URL: <code>//wzrd.in/bundle/fellow@1.1.0</code></li></ul> | ||
<li>CDN URL: <code>//wzrd.in/bundle/fellow@1.2.0</code></li></ul> | ||
@@ -48,0 +48,0 @@ <a href="http://enderjs.com" title="Ender is a full featured package manager for your browser"><h3>Ender</h3></a><ul> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
223375
2931