From 65d5d60bfa2878b7d30ef4e32c310fa0a87ba1d6 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Wed, 23 Nov 2011 10:40:08 -0500 Subject: [PATCH] Fixes #372 -- preserve dynamic scope for _.template functions. --- test/utility.js | 6 ++++++ underscore.js | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/test/utility.js b/test/utility.js index 0f53bd510..e49d5e27f 100644 --- a/test/utility.js +++ b/test/utility.js @@ -93,6 +93,12 @@ $(document).ready(function() { var result = template({value: "