소스 검색

Change function call to isJsFile as well

pull/717/head
Justin GitHub 6 년 전
부모
커밋
58960ed562
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      bin/mustache

+ 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 {


불러오는 중...
취소
저장