Skip to content

Commit

Permalink
improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Nov 3, 2016
1 parent 7a7187a commit 9856e3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/Common.js
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ module.exports = Common;

/**
* Chains a function to excute before the original function on the given `path` relative to `base`.
* See also docs for `Common.chain`.
* @method chainPathBefore
* @param {} base The base object
* @param {string} path The path relative to `base`
Expand All @@ -543,6 +544,7 @@ module.exports = Common;

/**
* Chains a function to excute after the original function on the given `path` relative to `base`.
* See also docs for `Common.chain`.
* @method chainPathAfter
* @param {} base The base object
* @param {string} path The path relative to `base`
Expand Down
2 changes: 2 additions & 0 deletions src/core/Matter.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ var Common = require('./Common');

/**
* Chains a function to excute before the original function on the given `path` relative to `Matter`.
* See also docs for `Common.chain`.
* @method before
* @param {string} path The path relative to `Matter`
* @param {function} func The function to chain before the original
Expand All @@ -71,6 +72,7 @@ var Common = require('./Common');

/**
* Chains a function to excute after the original function on the given `path` relative to `Matter`.
* See also docs for `Common.chain`.
* @method after
* @param {string} path The path relative to `Matter`
* @param {function} func The function to chain after the original
Expand Down

0 comments on commit 9856e3c

Please sign in to comment.