Skip to content

Commit 8e2b184

Browse files
committed
Auto-generated commit
1 parent 3515d7d commit 8e2b184

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ bench( pkg, function benchmark( b ) {
3636
for ( i = 0; i < b.iterations; i++ ) {
3737
// Note: the following *could* be optimized away via loop-invariant code motion. If so, the entire loop will disappear.
3838
bool = hasSharedArrayBufferSupport();
39-
if ( !isBoolean( bool ) ) {
39+
if ( typeof bool !== 'boolean' ) {
4040
b.fail( 'should return a boolean' );
4141
}
4242
}

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232

3333
// MODULES //
3434

35-
var hasSharedArrayBufferSupport = require( './main.js' ); // eslint-disable-line id-length
35+
var main = require( './main.js' );
3636

3737

3838
// EXPORTS //
3939

40-
module.exports = hasSharedArrayBufferSupport;
40+
module.exports = main;

0 commit comments

Comments
 (0)