From 215e27f1c866fcf74e28cfb731f5d41167afc334 Mon Sep 17 00:00:00 2001 From: winpzs Date: Mon, 1 Aug 2016 19:44:24 +0800 Subject: [PATCH 1/2] update --- history.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/history.md b/history.md index 350a9dc..65a282d 100644 --- a/history.md +++ b/history.md @@ -1,19 +1,19 @@ #### 2.0.0.160731 -1. 增强bingo.compile +-- 1.增强bingo.compile ```javascript bingo.compile({ tmpl:'{{include src="inc1" /}}', node:document.body, ctrl:null}).then(....) ``` -2. app.tmpl 与 cp.$loadTmpl 支持子模板 +-- 2.app.tmpl 与 cp.$loadTmpl 支持子模板 ```javascript app.tmpl('user/tmpls', { tmplid:'userinof'}).then(....) cp.$loadTmpl('user/tmpls', { tmplid:'userinof'}).then(....) ``` -3. route promise 添加参数 context +-- 3. route promise 添加参数 context ```javascript app.route({ @@ -24,7 +24,7 @@ }); ``` -4. 强化{{route}} +-- 4.强化{{route}} -5. 优化代码 +-- 5.优化代码 From 040356c8ea1e3c69e833a447f66dd2e59e4c48b9 Mon Sep 17 00:00:00 2001 From: winpzs Date: Mon, 1 Aug 2016 19:45:13 +0800 Subject: [PATCH 2/2] update --- history.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/history.md b/history.md index 65a282d..932d52a 100644 --- a/history.md +++ b/history.md @@ -1,19 +1,19 @@ #### 2.0.0.160731 --- 1.增强bingo.compile +- 1.增强bingo.compile ```javascript bingo.compile({ tmpl:'{{include src="inc1" /}}', node:document.body, ctrl:null}).then(....) ``` --- 2.app.tmpl 与 cp.$loadTmpl 支持子模板 +- 2.app.tmpl 与 cp.$loadTmpl 支持子模板 ```javascript app.tmpl('user/tmpls', { tmplid:'userinof'}).then(....) cp.$loadTmpl('user/tmpls', { tmplid:'userinof'}).then(....) ``` --- 3. route promise 添加参数 context +- 3. route promise 添加参数 context ```javascript app.route({ @@ -24,7 +24,7 @@ }); ``` --- 4.强化{{route}} +- 4.强化{{route}} --- 5.优化代码 +- 5.优化代码