瀏覽代碼

Fixed a problem with undefined function.

The default value was returned. But i need the value returned from pipelines
pull/691/head
Kieling 7 年之前
父節點
當前提交
9e0ddbcd31
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      mustache.js
  2. +1
    -1
      mustache.min.js

+ 1
- 1
mustache.js 查看文件

@@ -388,7 +388,7 @@
} else if (self.parent && self.parent.view.hasOwnProperty(func)){
return self.parent.view[func](val);
} else {
return value;
return val;
}
};
return pipelines.reduce(pipelineResolver,value);


+ 1
- 1
mustache.min.js
文件差異過大導致無法顯示
查看文件


Loading…
取消
儲存