From 1edff659601745fc438296ebf928a0dd20bdfa1e Mon Sep 17 00:00:00 2001 From: tlrobinson Date: Fri, 16 Oct 2009 12:58:42 -0700 Subject: [PATCH] Added missing "var"s --- mustache.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mustache.js b/mustache.js index 333a032..0f5da76 100644 --- a/mustache.js +++ b/mustache.js @@ -29,7 +29,7 @@ var Mustache = { } // keep context around for recursive calls - this.context = context = this.merge((this.context || {}), view); + var context = this.context = this.merge((this.context || {}), view); // first, render all sections var html = this.render_section(template); @@ -105,7 +105,7 @@ var Mustache = { // tit for tat var that = this; - regex = new_regex(); + var regex = new_regex(); var lines = template; // for each {{(!<{)?foo}} tag, do...