mm_tpl 2.2.8 → 2.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,6 +7,7 @@
7
7
  <body>
8
8
  <h5>系统名称</h5>
9
9
  <p>您真的是人才!</p>
10
+ <p>您真的是人才!</p>
10
11
  <ul>
11
12
  <li>123</li>
12
13
  <li>234</li>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_tpl",
3
- "version": "2.2.8",
3
+ "version": "2.2.9",
4
4
  "description": "这是超级美眉模板帮助类模块,用于MVC模式下的视图渲染",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -7,6 +7,7 @@
7
7
  <body>
8
8
  <h5>${viewBag.name}</h5>
9
9
  <p>${@hook_filter('test', '你真的是人才!')}</p>
10
+ <p><!--{@hook_filter('test', '你真的是人才!', {key: '123'})}--></p>
10
11
  <ul>
11
12
  ${loop arr value idx}
12
13
  <li>${ value }</li>
package/tpl_rule.js CHANGED
@@ -248,10 +248,10 @@ var pyRule2 = Object.assign({}, artRule, {
248
248
  });
249
249
 
250
250
  module.exports = {
251
- nativeRule,
252
- artRule,
253
- jsRule,
254
251
  htmlRule,
252
+ jsRule,
253
+ artRule,
254
+ nativeRule,
255
255
  pyRule,
256
256
  pyRule2
257
257
  };