本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
jan
/
mustache.js
镜像来自
https://github.com/janl/mustache.js
關注
1
收藏
0
複製
0
程式碼
問題
0
版本發佈
46
Wiki
活動
瀏覽代碼
Can not use path.parse in version node 0.10
pull/717/head
Justin Staubach
6 年之前
父節點
deb13b7fc6
當前提交
51bd7fd494
共有
1 個檔案被更改
,包括
1 行新增
和
1 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
bin/mustache
+ 1
- 1
bin/mustache
查看文件
@@ -131,7 +131,7 @@ function isStdin (view) {
}
function isJson (view) {
return path.
parse(view).ext
=== '.js';
return path.
extname(view)
=== '.js';
}
function wasNotFound (err) {
Write
Preview
Loading…
取消
儲存