mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-13 02:24:31 +00:00
8deb9d30a1
This commit ensures we correctly detect and import Data*Associations and Associations. It aligns logging across the import components, too, being slightly more verbose and helpful. Related to #112
7 lines
151 B
JavaScript
7 lines
151 B
JavaScript
module.exports.elementToString = function(e) {
|
|
if (!e) {
|
|
return '<null>';
|
|
}
|
|
|
|
return '<' + e.$type + (e.id ? ' id="' + e.id : '') + '" />';
|
|
}; |