mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Ensure global context is seeded properly
This commit is contained in:
parent
4fc568856a
commit
db319e0ebc
@ -19,7 +19,7 @@ var when = require("when");
|
||||
var util = require("../util");
|
||||
|
||||
function createContext(id,seed) {
|
||||
var data = {};
|
||||
var data = seed || {};
|
||||
var obj = seed || {};
|
||||
obj.get = function get(key) {
|
||||
return util.getMessageProperty(data,key);
|
||||
|
Loading…
Reference in New Issue
Block a user