Skip to content

Commit

Permalink
Updated the documentation comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Oct 30, 2016
1 parent 0a3c2ab commit eec9f0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class Client {
/**
* Initializes a new instance of the class.
* @param {string} apiKey The Akismet API key used to query the service.
* @param {(string|Blog)} blog The front page or home URL transmitted when making requests.
* @param {string|Blog} blog The front page or home URL transmitted when making requests.
* @param {object} [options] An object specifying additional values used to initialize this instance.
*/
constructor(apiKey, blog, options = {}) {
Expand Down
4 changes: 2 additions & 2 deletions src/comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class Comment {

/**
* The UTC timestamp of the creation of the comment.
* @avar {Date}
* @type {Date}
*/
this.date = options.date instanceof Date ? options.date : null;

Expand All @@ -37,7 +37,7 @@ export class Comment {

/**
* The UTC timestamp of the publication time for the post, page or thread on which the comment was posted.
* @avar {Date}
* @type {Date}
*/
this.postModified = options.postModified instanceof Date ? options.postModified : null;

Expand Down

0 comments on commit eec9f0d

Please sign in to comment.