New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functions with the `function(i, ele)` signature become `function(ele, i)` etc, e.g. `eles.each()` #1531

Closed
maxkfranz opened this Issue Sep 21, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@maxkfranz
Member

maxkfranz commented Sep 21, 2016

Affected APIs:

  • eles.bfs()
  • eles.dfs()
  • eles.each()
  • eles.filter()
  • eles.positions()
  • eles.layoutPositions()

2.x eles.filter(function(){ return this.selected(); }) becomes 3.x eles.filter(function( ele ){ return ele.selected(); })

@maxkfranz maxkfranz added this to the 3.0.0 milestone Sep 21, 2016

maxkfranz added a commit that referenced this issue Sep 21, 2016

@maxkfranz maxkfranz closed this Sep 21, 2016

maxkfranz added a commit that referenced this issue Mar 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment