Open parhelium opened 7 years ago
Example from docs :
Picker.route("/", function(params, req, res, next) { var ejsonData = {aa: 10}; InjectData.pushData(res, "some-key", ejsonData); // make sure to move the routing forward. next(); });
AND
InjectData.getData("some-key", function(data) { console.log(data); });
doesn't work. On client data is undefined and should be {{aa:10}}
data
undefined
{{aa:10}}
What is more important, this bug breaks FastRender !
Use the great fork by @abecks .
https://github.com/abecks/meteor-inject-data
https://atmospherejs.com/staringatlights/inject-data
Thanks @abecks !
-Daniel
Example from docs :
AND
doesn't work. On client
data
isundefined
and should be{{aa:10}}
What is more important, this bug breaks FastRender !