Refactoring Code for Javascript Code

This commit is contained in:
Luis Fernando Molina committed 2019-12-06 18:06:56 +01:00
1 parent 849d6b8a51
commit 58d48edfa6
14 files changed
+25 -29

No files matched your search

@@ -7,7 +7,7 @@ function newProtocolNode () {
function getProtocolNode (node, removePersonalData, parseCode, includeIds, includePayload, includeReferences, followReferenceParent, includeParent, followAncestors, excludeChildren, excludeType) {
if (node === undefined) { return }
switch (node.type) {
case 'Code':
case 'Javascript Code':
{
let object = {
type: node.type,