Added inherit function

This commit is contained in:
Egil Moeller 2012-03-13 17:42:15 +01:00
parent 6fb0e00f03
commit 3ffed70850
2 changed files with 21 additions and 11 deletions

View file

@ -1,5 +1,5 @@
<% e.begin_define_block("foo"); %>
YY
<% e.end_define_block(); %>
<% e.inherit("./bar.ejs"); %>
<% e.require("./bar.ejs"); %>
<% e.begin_define_block("foo"); %>
YY
<% e.end_define_block(); %>