lint compliance
This commit is contained in:
parent
7d2a1b35ae
commit
9d52e9e9c6
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ define([
|
|||
var diagrams = doc.querySelectorAll('diagram');
|
||||
|
||||
diagrams.forEach(function(diagram) {
|
||||
if (diagram.childNodes.length == 1 && diagram.firstChild && diagram.firstChild.nodeType === TEXT_NODE) {
|
||||
if (diagram.childNodes.length === 1 && diagram.firstChild && diagram.firstChild.nodeType === TEXT_NODE) {
|
||||
const innerText = diagram.firstChild.nodeValue;
|
||||
const bin = Nacl.util.decodeBase64(innerText);
|
||||
const xmlUrlStr = pako.inflateRaw(bin, {to: 'string'});
|
||||
|
|
Loading…
Reference in a new issue