Branch: refs/heads/unstable
Home: https://github.com/cytoscape/cytoscape.js
Commit: e2d9745fabfc8a45041c58b0a9ab6c8633cca1a6
https://github.com/cytoscape/cytoscape.js/commit/e2d9745fabfc8a45041c58b0a9ab6c8633cca1a6
Author: Max Franz <[email protected]>
Date: 2019-01-18 (Fri, 18 Jan 2019)
Changed paths:
M src/collection/iteration.js
Log Message:
-----------
`eles.forEach()` should read `length` only at the start of the function #2272
Commit: bf67cd9bc6d3f206ceafe6ac2eeb580fc733300d
https://github.com/cytoscape/cytoscape.js/commit/bf67cd9bc6d3f206ceafe6ac2eeb580fc733300d
Author: Max Franz <[email protected]>
Date: 2019-01-18 (Fri, 18 Jan 2019)
Changed paths:
M documentation/docmaker.json
M src/collection/traversing.js
M test/collection-traversing.js
Log Message:
-----------
Add `ele.component()`
- Repurpose `eles.components()` to be more general by allowing setting of the
`root` collection -- components that `root` nodes belong to will be returned.
The signature is now `eles.components(root)`, where `root` is `eles.nodes()` by
default.
- The repurposing of `eles.components()` makes it so `ele.component()` is
basically a one-liner.
- Improve performance a bit by avoiding intermediary collections.
- Add `eles.componentsOf()` alias.
Ref #1878
Compare:
https://github.com/cytoscape/cytoscape.js/compare/a5fc10e0a65b...bf67cd9bc6d3
**NOTE:** This service has been marked for deprecation:
https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/cytoscape-cvs.
For more options, visit https://groups.google.com/d/optout.