Bug Fixed with for without let
This commit is contained in:
1 parent
ce0f51a8b2
commit
4a23a032b1
9 files changed
+15
-12
No files matched your search
@@ -1676,7 +1676,7 @@ function newProtocolNode () {
|
||||
if (excludeChildren !== true) {
|
||||
/* Children Nodes */
|
||||
if (nodeDefinition.properties !== undefined) {
|
||||
for (i = 0; i < nodeDefinition.properties.length; i++) {
|
||||
for (let i = 0; i < nodeDefinition.properties.length; i++) {
|
||||
let property = nodeDefinition.properties[i]
|
||||
|
||||
switch (property.type) {
|
||||
@@ -1750,6 +1750,9 @@ function newProtocolNode () {
|
||||
}
|
||||
|
||||
function getSavedPayload (node, includeReferences) {
|
||||
if (node.payload === undefined) {
|
||||
console.log('HERE')
|
||||
}
|
||||
let savedPayload = {
|
||||
position: {
|
||||
x: node.payload.position.x,
|
||||
|
||||
Reference in new issue
Block a user