Ver código fonte

Fixed a problem with undefined function.

The default value was returned. But i need the value returned from pipelines
pull/691/head
Kieling 7 anos atrás
pai
commit
9e0ddbcd31
2 arquivos alterados com 2 adições e 2 exclusões
  1. +1
    -1
      mustache.js
  2. +1
    -1
      mustache.min.js

+ 1
- 1
mustache.js Ver arquivo

@@ -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
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


Carregando…
Cancelar
Salvar