Parcourir la source

Fixed a problem with undefined function.

The default value was returned. But i need the value returned from pipelines
pull/691/head
Kieling il y a 7 ans
Parent
révision
9e0ddbcd31
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +1
    -1
      mustache.js
  2. +1
    -1
      mustache.min.js

+ 1
- 1
mustache.js Voir le fichier

@@ -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
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


Chargement…
Annuler
Enregistrer