Travis build: 2024 [cron]
This commit is contained in:
149
docs/index.html
149
docs/index.html
File diff suppressed because one or more lines are too long
@ -3,5 +3,7 @@ n < 0
|
|||||||
? (() => {
|
? (() => {
|
||||||
throw new TypeError('Negative numbers are not allowed!');
|
throw new TypeError('Negative numbers are not allowed!');
|
||||||
})()
|
})()
|
||||||
: n <= 1 ? 1 : n * factorial(n - 1);
|
: n <= 1
|
||||||
|
? 1
|
||||||
|
: n * factorial(n - 1);
|
||||||
module.exports = factorial;
|
module.exports = factorial;
|
||||||
@ -1,5 +1,9 @@
|
|||||||
const getMeridiemSuffixOfInteger = num =>
|
const getMeridiemSuffixOfInteger = num =>
|
||||||
num === 0 || num === 24
|
num === 0 || num === 24
|
||||||
? 12 + 'am'
|
? 12 + 'am'
|
||||||
: num === 12 ? 12 + 'pm' : num < 12 ? num % 12 + 'am' : num % 12 + 'pm';
|
: num === 12
|
||||||
|
? 12 + 'pm'
|
||||||
|
: num < 12
|
||||||
|
? num % 12 + 'am'
|
||||||
|
: num % 12 + 'pm';
|
||||||
module.exports = getMeridiemSuffixOfInteger;
|
module.exports = getMeridiemSuffixOfInteger;
|
||||||
@ -3,7 +3,9 @@ arr.reduce(
|
|||||||
(acc, val, i) =>
|
(acc, val, i) =>
|
||||||
i === arr.length - 2
|
i === arr.length - 2
|
||||||
? acc + val + end
|
? acc + val + end
|
||||||
: i === arr.length - 1 ? acc + val : acc + val + separator,
|
: i === arr.length - 1
|
||||||
|
? acc + val
|
||||||
|
: acc + val + separator,
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
module.exports = join;
|
module.exports = join;
|
||||||
@ -3,5 +3,7 @@ Array.isArray(val)
|
|||||||
? val.length
|
? val.length
|
||||||
: val && typeof val === 'object'
|
: val && typeof val === 'object'
|
||||||
? val.size || val.length || Object.keys(val).length
|
? val.size || val.length || Object.keys(val).length
|
||||||
: typeof val === 'string' ? new Blob([val]).size : 0;
|
: typeof val === 'string'
|
||||||
|
? new Blob([val]).size
|
||||||
|
: 0;
|
||||||
module.exports = size;
|
module.exports = size;
|
||||||
@ -1,4 +1,4 @@
|
|||||||
Test log for: Wed May 02 2018 16:58:23 GMT+0000 (UTC)
|
Test log for: Wed May 02 2018 21:04:05 GMT+0000 (UTC)
|
||||||
|
|
||||||
> 30-seconds-of-code@0.0.3 test /home/travis/build/Chalarangelo/30-seconds-of-code
|
> 30-seconds-of-code@0.0.3 test /home/travis/build/Chalarangelo/30-seconds-of-code
|
||||||
> tape test/**/*.test.js | tap-spec
|
> tape test/**/*.test.js | tap-spec
|
||||||
@ -2000,8 +2000,8 @@ Test log for: Wed May 02 2018 16:58:23 GMT+0000 (UTC)
|
|||||||
✔ zipWith is a Function
|
✔ zipWith is a Function
|
||||||
✔ Sends a GET request
|
✔ Sends a GET request
|
||||||
✔ Runs the function provided
|
✔ Runs the function provided
|
||||||
✔ Runs promises in series
|
|
||||||
✔ Sends a POST request
|
✔ Sends a POST request
|
||||||
|
✔ Runs promises in series
|
||||||
✔ Works as expecting, passing arguments properly
|
✔ Works as expecting, passing arguments properly
|
||||||
✔ Works with multiple promises
|
✔ Works with multiple promises
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user