Skip to content

Commit

Permalink
added a period before each method
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsofaly committed Jan 22, 2017
1 parent 0334f17 commit 251fa57
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion lib/chai/utils/addChainableMethod.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var call = Function.prototype.call,
apply = Function.prototype.apply;

/**
* ### addChainableMethod (ctx, name, method, chainingBehavior)
* ### .addChainableMethod (ctx, name, method, chainingBehavior)
*
* Adds a method to an object, such that the method can also be chained.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/chai/utils/addLengthGuard.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var fnLengthDesc = Object.getOwnPropertyDescriptor(function () {}, 'length');
*/

/**
* ### addLengthGuard(fn, assertionName, isChainable)
* ### .addLengthGuard(fn, assertionName, isChainable)
*
* Define `length` as a getter on the given uninvoked method assertion. The
* getter acts as a guard against chaining `length` directly off of an uninvoked
Expand Down
2 changes: 1 addition & 1 deletion lib/chai/utils/addProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var isProxyEnabled = require('./isProxyEnabled');
var transferFlags = require('./transferFlags');

/**
* ### addProperty (ctx, name, getter)
* ### .addProperty (ctx, name, getter)
*
* Adds a property to the prototype of an object.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/chai/utils/expectTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/**
* ### expectTypes(obj, types)
* ### .expectTypes(obj, types)
*
* Ensures that the object being tested against is of a valid type.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/chai/utils/flag.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/**
* ### flag(object, key, [value])
* ### .flag(object, key, [value])
*
* Get or set a flag value on an object. If a
* value is provided it will be set, else it will
Expand Down
2 changes: 1 addition & 1 deletion lib/chai/utils/getActual.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/**
* ### getActual(object, [actual])
* ### .getActual(object, [actual])
*
* Returns the `actual` value for an Assertion.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/chai/utils/isNaN.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/**
* ### isNaN(value)
* ### .isNaN(value)
*
* Checks if the given value is NaN or not.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/chai/utils/isProxyEnabled.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var config = require('../config');
*/

/**
* ### isProxyEnabled()
* ### .isProxyEnabled()
*
* Helper function to check if Chai's proxy protection feature is enabled. If
* proxies are unsupported or disabled via the user's Chai config, then return
Expand Down
2 changes: 1 addition & 1 deletion lib/chai/utils/overwriteChainableMethod.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var chai = require('../../chai');
var transferFlags = require('./transferFlags');

/**
* ### overwriteChainableMethod (ctx, name, method, chainingBehavior)
* ### .overwriteChainableMethod (ctx, name, method, chainingBehavior)
*
* Overwites an already existing chainable method
* and provides access to the previous function or
Expand Down
2 changes: 1 addition & 1 deletion lib/chai/utils/overwriteMethod.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var proxify = require('./proxify');
var transferFlags = require('./transferFlags');

/**
* ### overwriteMethod (ctx, name, fn)
* ### .overwriteMethod (ctx, name, fn)
*
* Overwites an already existing method and provides
* access to previous function. Must return function
Expand Down
2 changes: 1 addition & 1 deletion lib/chai/utils/overwriteProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var isProxyEnabled = require('./isProxyEnabled');
var transferFlags = require('./transferFlags');

/**
* ### overwriteProperty (ctx, name, fn)
* ### .overwriteProperty (ctx, name, fn)
*
* Overwites an already existing property getter and provides
* access to previous value. Must return function to use as getter.
Expand Down
2 changes: 1 addition & 1 deletion lib/chai/utils/proxify.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var isProxyEnabled = require('./isProxyEnabled');
*/

/**
* ### proxify(object)
* ### .proxify(object)
*
* Return a proxy of given object that throws an error when a non-existent
* property is read. By default, the root cause is assumed to be a misspelled
Expand Down
2 changes: 1 addition & 1 deletion lib/chai/utils/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
var flag = require('./flag');

/**
* ### test(object, expression)
* ### .test(object, expression)
*
* Test and object for expression.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/chai/utils/transferFlags.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/**
* ### transferFlags(assertion, object, includeAll = true)
* ### .transferFlags(assertion, object, includeAll = true)
*
* Transfer all the flags for `assertion` to `object`. If
* `includeAll` is set to `false`, then the base Chai
Expand Down

0 comments on commit 251fa57

Please sign in to comment.