mirror of
https://github.com/chaijs/chai
synced 2024-11-14 15:57:10 +00:00
chore: spelling: shortcut
This commit is contained in:
parent
ba3bf3245e
commit
8cc21a8b5b
2 changed files with 2 additions and 2 deletions
2
chai.js
2
chai.js
|
@ -8397,7 +8397,7 @@ function formatValue(ctx, value, recurseTimes) {
|
|||
|
||||
var name, nameSuffix;
|
||||
|
||||
// Some type of object without properties can be shortcutted.
|
||||
// Some type of object without properties can be shortcut.
|
||||
// In IE, errors have a single `stack` property, or if they are vanilla `Error`,
|
||||
// a `stack` plus `description` property; ignore those for consistency.
|
||||
if (keys.length === 0 || (isError(value) && (
|
||||
|
|
|
@ -105,7 +105,7 @@ function formatValue(ctx, value, recurseTimes) {
|
|||
|
||||
var name, nameSuffix;
|
||||
|
||||
// Some type of object without properties can be shortcutted.
|
||||
// Some type of object without properties can be shortcut.
|
||||
// In IE, errors have a single `stack` property, or if they are vanilla `Error`,
|
||||
// a `stack` plus `description` property; ignore those for consistency.
|
||||
if (keys.length === 0 || (isError(value) && (
|
||||
|
|
Loading…
Reference in a new issue