From 4930a1dfe7996850bdc59d9bea1bebb5945f4d0f Mon Sep 17 00:00:00 2001 From: Ben Cherry Date: Mon, 6 Dec 2010 17:54:54 -0800 Subject: [PATCH] preserve translation-hint correctly --- mustache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mustache.js b/mustache.js index 5810822..f088cdd 100644 --- a/mustache.js +++ b/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