mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 01:46: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
11
src/node/eejs/examples/bar.ejs
Normal file
11
src/node/eejs/examples/bar.ejs
Normal file
|
@ -0,0 +1,11 @@
|
|||
<% var e = require("./eejs.js"); e.init(buf); %>
|
||||
|
||||
a
|
||||
<% e.begin_block("bar"); %>
|
||||
A
|
||||
<% e.begin_block("foo"); %>
|
||||
XX
|
||||
<% e.end_block(); %>
|
||||
B
|
||||
<% e.end_block(); %>
|
||||
b
|
Loading…
Add table
Add a link
Reference in a new issue