Skip to content

Commit

Permalink
adds chainable jsdoc tag to methods
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Dec 9, 2016
1 parent 87ea445 commit 57de473
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Priestley.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export default class Priestley extends Viz {
@memberof Priestley
@desc If *value* is specified, sets the config method for the axis and returns the current class instance. If *value* is not specified, returns the current axis configuration.
@param {Object} [*value*]
@chainable
*/
axisConfig(_) {
return arguments.length ? (this._axisConfig = assign(this._axisConfig, _), this) : this._axisConfig;
Expand All @@ -142,6 +143,7 @@ export default class Priestley extends Viz {
@memberof Priestley
@desc If *value* is specified, sets the end accessor to the specified function or key and returns the current class instance. If *value* is not specified, returns the current end accessor.
@param {Function|String} [*value*]
@chainable
*/
end(_) {
if (arguments.length) {
Expand All @@ -159,6 +161,7 @@ export default class Priestley extends Viz {
@memberof Priestley
@desc If *value* is specified, sets the start accessor to the specified function or key and returns the current class instance. If *value* is not specified, returns the current start accessor.
@param {Function|String} [*value*]
@chainable
*/
start(_) {
if (arguments.length) {
Expand Down

0 comments on commit 57de473

Please sign in to comment.