Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
"-",
"--",
":",
"-.",
"none"
"-",
"--",
":",
"-.",
"none"
]
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ var limit = require( './limit.js' );
*
* // Create a collection over which to iterate:
* var files = [
* './beep.js',
* './boop.js'
* './beep.js'
* ];
*
* // Define a callback which handles errors:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

'use strict';

var parallel = require( '@stdlib/utils/async/parallel' );
var parallel = require('../lib/main');

function foo( resolve ) {
setTimeout( onTimeout, 300 );
Expand Down
6 changes: 3 additions & 3 deletions lib/node_modules/@stdlib/utils/async/while/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ function whileAsync( predicate, fcn, done, thisArg ) {

// Cache the most recent results...
if ( arguments.length > 1 ) {
args = new Array( arguments.length-1 );
for ( i = 1; i < arguments.length; i++ ) {
args[ i-1 ] = arguments[ i ];
args = [];
for ( i = 0; i < arguments.length-1; i++ ) {
args.push( arguments[ i+1 ] );
}
}
// Run the test condition:
Expand Down
6 changes: 3 additions & 3 deletions lib/node_modules/@stdlib/utils/some-by/examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ var bool;
var arr;
var i;

arr = new Array( 100 );
for ( i = 0; i < arr.length; i++ ) {
arr[ i ] = randu();
arr = [];
for ( i = 0; i < 100; i++ ) {
arr.push( randu() );
}

bool = someBy( arr, 5, threshold );
Expand Down
Loading