1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Ignore 'type' when detecting config nodes

This commit is contained in:
Nick O'Leary 2015-03-04 22:38:53 +00:00
parent 444a897410
commit 10b092a9a7

View File

@ -321,6 +321,7 @@ Flow.prototype.parseConfig = function(config) {
}
for (var prop in nodeConfig) {
if (nodeConfig.hasOwnProperty(prop) &&
prop != "type" &&
prop != "id" &&
prop != "z" &&
prop != "wires" &&