--
http://nodered.org
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Julian,
The idea of Node-RED is to expose all the features necessary to do a task, not necessarily ALL the features.
If we added partials you would still need to pass them into the node at the same time as the payload so they would need storing and managing and mixing anyway, and a preceding template node is a simple way to do this (otherwise you would need a function or change node to create msg.partial - if it were called that - and that would be even messier.
A Jade node sounds useful, though I'm sure it will have it's own complexities given the richness of the code.
Dean,
I thought it would be more like the template node, and open an editor window that you put jade into, with parts of the msg being includes... The whole thing then getting rendered when messages arrive...
Dean, that select box picks what syntax highlighting is used, not what template engine is used. It really needs a better label to avoid that confusion.
Nick
engine.render(string_of_template, locals_object)--