Преглед на файлове

preserve translation-hint correctly

tags/0.4.0
Ben Cherry преди 15 години
родител
ревизия
4930a1dfe7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Целия файл

@@ -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


Loading…
Отказ
Запис