mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 09:26:14 -04:00
First attempt to implement the block system from django templates on top of the npm module ejs.
This commit is contained in:
parent
7b518eeb2d
commit
92dc3e59d6
3 changed files with 102 additions and 0 deletions
7
src/node/eejs/examples/foo.ejs
Normal file
7
src/node/eejs/examples/foo.ejs
Normal file
|
@ -0,0 +1,7 @@
|
|||
<% var e = require("./eejs.js"); e.init(buf); %>
|
||||
|
||||
<% e.begin_define_block("foo"); %>
|
||||
YY
|
||||
<% e.end_define_block(); %>
|
||||
|
||||
<% e.require("./bar.ejs"); %>
|
Loading…
Add table
Add a link
Reference in a new issue