Comparing version 8.0.0-beta.1 to 8.0.0-beta.2
{ | ||
"name": "mermaid", | ||
"version": "8.0.0-beta.1", | ||
"version": "8.0.0-beta.2", | ||
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.", | ||
@@ -5,0 +5,0 @@ "main": "dist/mermaid.core.js", |
@@ -385,3 +385,6 @@ /** | ||
// pre-defined theme | ||
let style = config.theme !== undefined ? themes[config.theme] : '' | ||
let style = themes[config.theme] | ||
if (style === undefined) { | ||
style = '' | ||
} | ||
@@ -445,3 +448,3 @@ // user provided theme CSS | ||
for (let i = 0; i < lvl1Keys.length; i++) { | ||
if (typeof cnf[lvl1Keys[i]] === 'object') { | ||
if (typeof cnf[lvl1Keys[i]] === 'object' && cnf[lvl1Keys[i]] != null) { | ||
const lvl2Keys = Object.keys(cnf[lvl1Keys[i]]) | ||
@@ -448,0 +451,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
11124552
84685