dmn-js-shared
Advanced tools
Comparing version 1.4.3 to 1.5.0
@@ -494,3 +494,3 @@ import EventBus from 'diagram-js/lib/core/EventBus'; | ||
/////////// helpers //////////////////////////////// | ||
// helpers ////////////////////// | ||
@@ -497,0 +497,0 @@ function noop() {} |
@@ -57,4 +57,4 @@ | ||
////////// helpers ///////////////////////////// | ||
// helpers ////////////////////// | ||
function noop() { } |
@@ -63,3 +63,3 @@ import di from 'didi'; | ||
////////// helpers ////////// | ||
// helpers ////////////////////// | ||
@@ -66,0 +66,0 @@ function bootstrap(bootstrapModules) { |
@@ -189,3 +189,3 @@ import { Component } from 'inferno'; | ||
ref={ node => this.node = node } | ||
dangerouslySetInnerHTML={{ __html: value }}></div> | ||
dangerouslySetInnerHTML={ { __html: value } }></div> | ||
); | ||
@@ -192,0 +192,0 @@ } |
@@ -94,3 +94,3 @@ import { Component } from 'inferno'; | ||
const asPairs = Object.entries(groupedItems); | ||
const asPairs = toPairs(groupedItems); | ||
@@ -150,2 +150,15 @@ return ( | ||
} | ||
} | ||
// helpers //////////// | ||
function toPairs(object) { | ||
const entrys = []; | ||
for (let key in object) { | ||
entrys.push([key, object[key]]); | ||
} | ||
return entrys; | ||
} |
@@ -37,4 +37,5 @@ import { forEach } from 'min-dash/lib/collection'; | ||
////////// helpers ////////// | ||
// helpers ////////////////////// | ||
function isIdChange(oldProperties, properties) { | ||
@@ -41,0 +42,0 @@ return ID in oldProperties && ID in properties; |
@@ -140,3 +140,3 @@ import { reduce } from 'min-dash/lib/collection'; | ||
////////// helpers ////////// | ||
// helpers ////////////////////// | ||
@@ -143,0 +143,0 @@ function isIdChange(properties, element) { |
{ | ||
"name": "dmn-js-shared", | ||
"description": "Shared components used by dmn-js", | ||
"version": "1.4.3", | ||
"version": "1.5.0", | ||
"scripts": { | ||
@@ -6,0 +6,0 @@ "test": "karma start", |
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
52372
1838