Justin
GitHub
il y a 6 ans
Parent
révision
58960ed562
Aucune clé connue n'a été trouvée dans la base pour cette signature
ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec
1 ajouts et
1 suppressions
-
bin/mustache
|
|
@@ -54,7 +54,7 @@ function run (/*args*/) { |
|
|
|
|
|
|
|
|
function readView (cb) { |
|
|
function readView (cb) { |
|
|
var view; |
|
|
var view; |
|
|
if (isJson(viewArg)) { |
|
|
|
|
|
|
|
|
if (isJsFile(viewArg)) { |
|
|
view = require(path.join(process.cwd(),viewArg)); |
|
|
view = require(path.join(process.cwd(),viewArg)); |
|
|
cb(view); |
|
|
cb(view); |
|
|
} else { |
|
|
} else { |
|
|
|