@antv/g6-core
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -50,3 +50,3 @@ var subjectColor = 'rgb(95, 149, 255)'; | ||
export default { | ||
version: '0.5.2', | ||
version: '0.5.3', | ||
rootContainerClassName: 'root-container', | ||
@@ -238,3 +238,3 @@ nodeContainerClassName: 'node-container', | ||
}, | ||
windowFontFamily: typeof window !== 'undefined' && window.getComputedStyle ? window.getComputedStyle(document.body, null).getPropertyValue('font-family') || 'Arial, sans-serif' : 'Arial, sans-serif' | ||
windowFontFamily: typeof window !== 'undefined' && window.getComputedStyle && document.body ? window.getComputedStyle(document.body, null).getPropertyValue('font-family') || 'Arial, sans-serif' : 'Arial, sans-serif' | ||
}; |
@@ -56,3 +56,3 @@ "use strict"; | ||
var _default = { | ||
version: '0.5.2', | ||
version: '0.5.3', | ||
rootContainerClassName: 'root-container', | ||
@@ -244,4 +244,4 @@ nodeContainerClassName: 'node-container', | ||
}, | ||
windowFontFamily: typeof window !== 'undefined' && window.getComputedStyle ? window.getComputedStyle(document.body, null).getPropertyValue('font-family') || 'Arial, sans-serif' : 'Arial, sans-serif' | ||
windowFontFamily: typeof window !== 'undefined' && window.getComputedStyle && document.body ? window.getComputedStyle(document.body, null).getPropertyValue('font-family') || 'Arial, sans-serif' : 'Arial, sans-serif' | ||
}; | ||
exports.default = _default; |
{ | ||
"name": "@antv/g6-core", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "A Graph Visualization Framework in JavaScript", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1142533