react-sigma
Advanced tools
Comparing version 1.2.19 to 1.2.20
@@ -95,3 +95,2 @@ import React from 'react'; | ||
componentWillUnmount() { | ||
console.log("Sigma unmounting"); | ||
this.sigma.kill(); | ||
@@ -158,3 +157,3 @@ this.sigmaRenderer = null; | ||
settings: require('react').PropTypes.any.isRequired, | ||
renderer: require('react').PropTypes.oneOf(['webgl', 'canvas']), | ||
renderer: require('react').PropTypes.oneOf(['webgl', 'canvas', 'svg']), | ||
style: require('react').PropTypes.any, | ||
@@ -161,0 +160,0 @@ children: require('react').PropTypes.any, |
@@ -123,3 +123,2 @@ 'use strict'; | ||
value: function componentWillUnmount() { | ||
console.log("Sigma unmounting"); | ||
this.sigma.kill(); | ||
@@ -192,3 +191,3 @@ this.sigmaRenderer = null; | ||
settings: require('react').PropTypes.any.isRequired, | ||
renderer: require('react').PropTypes.oneOf(['webgl', 'canvas']), | ||
renderer: require('react').PropTypes.oneOf(['webgl', 'canvas', 'svg']), | ||
style: require('react').PropTypes.any, | ||
@@ -195,0 +194,0 @@ children: require('react').PropTypes.any, |
@@ -5,3 +5,3 @@ { | ||
"author": "Maxim Vorobjov <maxim.vorobjov@gmail.com>", | ||
"version": "1.2.19", | ||
"version": "1.2.20", | ||
"license": "MIT", | ||
@@ -24,4 +24,4 @@ "bugs": "https://github.com/dunnock/react-sigma/issues", | ||
"storybook": "start-storybook -p 9009 -s public", | ||
"build:storybook": "build-storybook -s public", | ||
"publish:storybook": "storybook-to-ghpages" | ||
"build-storybook": "build-storybook -s public", | ||
"deploy-storybook": "storybook-to-ghpages" | ||
}, | ||
@@ -72,3 +72,3 @@ "files": [ | ||
"babel-preset-react": "^6.23.0", | ||
"canvas": "^1.6.4", | ||
"canvas": "^1.6.5", | ||
"case-sensitive-paths-webpack-plugin": "^1.1.4", | ||
@@ -92,2 +92,3 @@ "child-process-promise": "^2.2.0", | ||
"flow-bin": "^0.40.0", | ||
"flow-typed": "^2.1.5", | ||
"fs-extra": "^2.0.0", | ||
@@ -94,0 +95,0 @@ "fs-promise": "^2.0.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
3984794
59
65628