Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 106d58b

Browse files
committed
chore(syntax): remove unused parameter in each
1 parent ca39eeb commit 106d58b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/element.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ ElementArrayFinder.prototype.then = function(fn, errorFn) {
484484
*
485485
* @param {function(ElementFinder)} fn Input function
486486
*/
487-
ElementArrayFinder.prototype.each = function(fn, index) {
487+
ElementArrayFinder.prototype.each = function(fn) {
488488
return this.map(fn).then(function() {
489489
return null;
490490
});

0 commit comments

Comments
 (0)