This website works better with JavaScript.
Home
Explore
Help
Sign In
jan
/
mustache.js
mirror of
https://github.com/janl/mustache.js
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
46
Wiki
Activity
Browse Source
Can not use path.parse in version node 0.10
pull/717/head
Justin Staubach
6 years ago
parent
deb13b7fc6
commit
51bd7fd494
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
bin/mustache
+ 1
- 1
bin/mustache
View File
@@ -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…
Cancel
Save