소스 검색
Change function call to isJsFile as well
pull/717/head
Justin
GitHub
6 년 전
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일과
1개의 추가작업 그리고
1개의 파일을 삭제
-
bin/mustache
|
|
|
@@ -54,7 +54,7 @@ function run (/*args*/) { |
|
|
|
|
|
|
|
function readView (cb) { |
|
|
|
var view; |
|
|
|
if (isJson(viewArg)) { |
|
|
|
if (isJsFile(viewArg)) { |
|
|
|
view = require(path.join(process.cwd(),viewArg)); |
|
|
|
cb(view); |
|
|
|
} else { |
|
|
|
|