Skip to content

Releases: DavidAlphaFox/aihtml

v0.3.5

04 Mar 02:50
Compare
Choose a tag to compare

Using atom keys instead of binary keys in the context.

不在使用binary作为渲染时Context的key,使用原子作为渲染时Context的key

v0.3.4

04 Jan 05:52
Compare
Choose a tag to compare
  1. Add having section {{+ tag}} and {{- tag}} to replace old section extends.
  2. Add DOM tool to generate DOM tree using Erlang code.

tag-0.2.4

31 Oct 14:41
Compare
Choose a tag to compare

更新ai_mustache的规则,此次更新将不再兼容以前的版本

  1. mustach模版将共享同一个Context
  2. 局部模版都统一使用全路径,不再区分当前目录和其它目录
  3. 扩展section的语义,支持函数条件渲染

This version changes the base rule of ai_mustache, it will not compatible with older versions.

  1. All the mustache in one rendering process, they will share the same Context.
  2. Partial templates will search begin base view directory.
  3. It extends the semantics of mustach's section, it will support an one argument's condition function.

tag-0.2.2

20 Feb 08:47
Compare
Choose a tag to compare
  1. 修复ai_dom_node的id不被渲染到节点属性中的Bug

tag-0.2.1

18 Feb 02:26
Compare
Choose a tag to compare
  1. 增加ai_dom_node及ai_dom_render,可以通过代码手工构建DOM的方式构建HTML页面。
  2. 修改ai_mustache_loader,减少一个ets占用。

tag-0.1.9

22 Jan 02:13
Compare
Choose a tag to compare

取消对OTP 19的支持

0.1.7 release

02 Jan 09:02
Compare
Choose a tag to compare

特性:
1.使用全新的mustache解析器,基本上支持mustach所有的语法
2.增加模板引擎,自动管理指定目录下所有模板的引用

修复:
1.引擎未正确加载子模板就立刻范围的错误