From 9feff6612adcb13238039f2bef1299e3a9d78aaf Mon Sep 17 00:00:00 2001 From: thegrandpoobah Date: Tue, 1 Feb 2011 09:57:17 -0500 Subject: [PATCH] Remove extra that assignments --- mustache.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mustache.js b/mustache.js index c3c9293..50ce7c8 100644 --- a/mustache.js +++ b/mustache.js @@ -685,8 +685,6 @@ var Mustache = function() { contextStack.pop(); } else if (this.is_function(value)) { // higher order section - var that = this; - var result = value.call(contextStack[contextStack.length-1], fragmentTokens.join(''), function(resultFragment) { var tempStream = []; var old_send_func = that.user_send_func; @@ -812,8 +810,6 @@ var Mustache = function() { } }; - var that = this; - if (sectionType==='invertedSection') { this.user_send_func(function(contextStack, send_func) { var value = that.find_in_stack(key, contextStack);