mm_tpl 2.1.6 → 2.1.7

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -242,9 +242,9 @@ Tpl.prototype.view = function(file, model, options) {
242
242
  if (!f.hasFile()) {
243
243
  f = file.fullname(this.dir + this.config.defualt_theme);
244
244
  if (!f.hasFile()) {
245
- f = file.fullname(this.defualt_dir + this.config.current_theme);
245
+ f = file.fullname(this.config.defualt_dir + this.config.current_theme);
246
246
  if (!f.hasFile()) {
247
- f = file.fullname(this.defualt_dir + this.config.defualt_theme);
247
+ f = file.fullname(this.config.defualt_dir + this.config.defualt_theme);
248
248
  }
249
249
  }
250
250
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_tpl",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "description": "这是超级美眉模板帮助类模块,用于MVC模式下的视图渲染",
5
5
  "main": "index.js",
6
6
  "scripts": {