Przeglądaj źródła

Fixed a problem with undefined function.

The default value was returned. But i need the value returned from pipelines
pull/691/head
Kieling 7 lat temu
rodzic
commit
9e0ddbcd31
2 zmienionych plików z 2 dodań i 2 usunięć
  1. +1
    -1
      mustache.js
  2. +1
    -1
      mustache.min.js

+ 1
- 1
mustache.js Wyświetl plik

@@ -388,7 +388,7 @@
} else if (self.parent && self.parent.view.hasOwnProperty(func)){
return self.parent.view[func](val);
} else {
return value;
return val;
}
};
return pipelines.reduce(pipelineResolver,value);


+ 1
- 1
mustache.min.js
Plik diff jest za duży
Wyświetl plik


Ładowanie…
Anuluj
Zapisz