mirror of
https://github.com/chaijs/chai
synced 2024-11-15 00:07:11 +00:00
remove space between method name and opening parenthesis
This commit is contained in:
parent
251fa57c16
commit
38d3ccaf0c
8 changed files with 8 additions and 8 deletions
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -11,7 +11,7 @@ var proxify = require('./proxify');
|
|||
var transferFlags = require('./transferFlags');
|
||||
|
||||
/**
|
||||
* ### .addMethod (ctx, name, method)
|
||||
* ### .addMethod(ctx, name, method)
|
||||
*
|
||||
* Adds a method to the prototype of an object.
|
||||
*
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
var inspect = require('./inspect');
|
||||
|
||||
/**
|
||||
* ### .compareByInspect (mixed, mixed)
|
||||
* ### .compareByInspect(mixed, mixed)
|
||||
*
|
||||
* To be used as a compareFunction with Array.prototype.sort. Compares elements
|
||||
* using inspect instead of default behavior of using toString so that Symbols
|
||||
|
|
|
@ -12,7 +12,7 @@ var inspect = require('./inspect');
|
|||
var config = require('../config');
|
||||
|
||||
/**
|
||||
* ### .objDisplay (object)
|
||||
* ### .objDisplay(object)
|
||||
*
|
||||
* Determines if an object or an array matches
|
||||
* criteria to be inspected in-line for error
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue