Преглед изворни кода

Change function call to isJsFile as well

pull/717/head
Justin GitHub пре 6 година
родитељ
комит
58960ed562
No known key found for this signature in database GPG Key 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 {


Loading…
Откажи
Сачувај