refactoring schemaDocument
This commit is contained in:
1 parent
c71b8efd05
commit
50a2bfc6b9
40 files changed
+370
-370
No files matched your search
+2
-2
@@ -1,6 +1,6 @@
|
||||
function getNodeDefinition(node, project) {
|
||||
function getSchemaDocument(node, project) {
|
||||
if (node === null || node === undefined) {
|
||||
console.log('[Error] Can not get the node definition of a null or undefined node ')
|
||||
console.log('[Error] Can not get the schema document of a null or undefined node ')
|
||||
return
|
||||
}
|
||||
if (project === undefined) { project = node.project }
|
||||
|
||||
Reference in new issue
Block a user