Commit 4e3ad60a authored by Nicolas Biri's avatar Nicolas Biri

Check for jsmfID for all jsmfElements

parent 6c2cc826
Pipeline #800 passed with stage
in 1 minute and 4 seconds
......@@ -37,6 +37,7 @@ function isJSMFElement(o) {
const implement = conformsTo(o)
return implement
&& _.get(implement, 'getInheritanceChain') !== undefined
&& jsmfId(o) !== undefined
}
function generateId() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment