Skip to content

Commit

Permalink
Core: Remove delay parameters from setTimeouts in processing code (#1246
Browse files Browse the repository at this point in the history
)
  • Loading branch information
trentmwillis committed Jan 7, 2018
1 parent 2999953 commit 89f3611
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/core.js
Expand Up @@ -272,7 +272,7 @@ function scheduleBegin() {
if ( defined.setTimeout ) {
setTimeout( function() {
begin();
}, 13 );
} );
} else {
begin();
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/processing-queue.js
Expand Up @@ -40,7 +40,7 @@ function advance() {

config.queue.shift()();
} else {
setTimeout( advance, 13 );
setTimeout( advance );
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/test.js
Expand Up @@ -789,7 +789,7 @@ function internalStart( test ) {
}

begin();
}, 13 );
} );
} else {
begin();
}
Expand Down
2 changes: 1 addition & 1 deletion test/main/promise.js
Expand Up @@ -13,7 +13,7 @@ function createMockPromise( assert, reject, value ) {
return reject ?
rejectedCallback.call( thenable, value ) :
fulfilledCallback.call( thenable, value );
}, 13 );
} );
}
};
return thenable;
Expand Down

0 comments on commit 89f3611

Please sign in to comment.