Branch: refs/heads/unstable
  Home:   https://github.com/cytoscape/cytoscape.js
  Commit: 174b0dea94e52bfc7305d2618b977a20fa028ed6
      
https://github.com/cytoscape/cytoscape.js/commit/174b0dea94e52bfc7305d2618b977a20fa028ed6
  Author: Max Franz <maxkfr...@gmail.com>
  Date:   2017-10-06 (Fri, 06 Oct 2017)

  Changed paths:
    M src/core/renderer.js
    M src/extensions/renderer/base/index.js

  Log Message:
  -----------
  `cy.resize()` is called just after init #1988

In order to solve this, it's necessary for `this.load()`-- which inits dom 
listeners etc -- to be called when we get an `init` notification.  The 
`CanvasRenderer` writes to the container's attributes, and `load()` sets up a 
`MutationListener` to detect possible resizes made (e.g. by applying a class to 
the container).  The core sends an `init` notification when a new renderer is 
created.  This ensures that `load()` is always called after all renderer 
constructors are called.


  Commit: 1f708ff86eca4c0fd62292e05490700086bf6c17
      
https://github.com/cytoscape/cytoscape.js/commit/1f708ff86eca4c0fd62292e05490700086bf6c17
  Author: Max Franz <maxkfr...@gmail.com>
  Date:   2017-10-06 (Fri, 06 Oct 2017)

  Changed paths:
    M src/core/index.js
    M src/style/index.js
    M src/style/json.js
    M src/style/string-sheet.js
    M src/stylesheet.js

  Log Message:
  -----------
  `cy.style()` is not always available #1989

Make the default stylesheet available before creating the renderer and loading 
the external stylesheet.  When loaded, append the external stylesheet to the 
existing style.


Compare: 
https://github.com/cytoscape/cytoscape.js/compare/ded083109bd6...1f708ff86eca

-- 
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 cytoscape-cvs+unsubscr...@googlegroups.com.
To post to this group, send email to cytoscape-cvs@googlegroups.com.
Visit this group at https://groups.google.com/group/cytoscape-cvs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to