Parcourir la source

preserve translation-hint correctly

tags/0.4.0
Ben Cherry il y a 15 ans
Parent
révision
4930a1dfe7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Voir le fichier

@@ -37,7 +37,7 @@ var Mustache = function() {

// Branching or moving down the partial stack, save any translation mode info.
if (this.pragmas['TRANSLATION-HINT']) {
context['_mode'] = this.pragmas['TRANSLATION-HINT']['mode'];
context['_TRANSLATION-HINT_mode'] = this.pragmas['TRANSLATION-HINT'].mode;
}

// get the pragmas together


Chargement…
Annuler
Enregistrer