Skip to content

Commit

Permalink
refactor(GaspardElements): Removing unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaperret committed Aug 11, 2017
1 parent 8458ca1 commit 514b972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gaspard.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export default class GaspardElements {
* @param {string} selector Accepts a string containing a CSS selector which is then used to match a set of elements
* @return {GaspardElements} A collection of Gaspard Elements to chain actions
*/
find (selector, ici) {
find (selector) {
return this.elements
.map(element => find(selector, element))
.filter(element => element.length || element instanceof Element === true)
Expand Down

0 comments on commit 514b972

Please sign in to comment.