MDN/Archives/Kuma/Scripting: Difference between revisions

Line 101: Line 101:
** Macros are usable by all content editors
** Macros are usable by all content editors
** Macros are neutered function calls, basically, and not full JS expressions
** Macros are neutered function calls, basically, and not full JS expressions
** Macros are handled by a custom parser, and definitely not just <code>eval()</code>'ed
* Support '''template scripts''' that are evaluated in a node.js sandbox as [https://github.com/visionmedia/ejs EJS templates].
* Support '''template scripts''' that are evaluated in a node.js sandbox as [https://github.com/visionmedia/ejs EJS templates].
** '''Template scripts''' could be made editable only by elevated-privilege editors
** '''Template scripts''' could be made editable only by elevated-privilege editors
Confirmed users
920

edits