From 4c35fc80dc00f2e347eb874d32f37a391cfd254c Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Thu, 23 Sep 2010 12:37:42 -0400 Subject: [PATCH] Cleaning up testcase's variable names for readability. --- test/utility.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/utility.js b/test/utility.js index 0b07b9fd1..b7f742e0e 100644 --- a/test/utility.js +++ b/test/utility.js @@ -59,7 +59,7 @@ $(document).ready(function() { result = fancyTemplate({people : {moe : "Moe", larry : "Larry", curly : "Curly"}}); equals(result, "", 'can run arbitrary javascript in templates'); - var namespaceCollisionTemplate = _.template("<%= pageCount %> <%= thumbnails[pageCount] %> <% _.each(thumbnails, function(p) { %>
\" />
<% }); %>"); + var namespaceCollisionTemplate = _.template("<%= pageCount %> <%= thumbnails[pageCount] %> <% _.each(thumbnails, function(p) { %>
\" />
<% }); %>"); result = namespaceCollisionTemplate({ pageCount: 3, thumbnails: { @@ -68,7 +68,7 @@ $(document).ready(function() { 3: "p3-thumbnail.gif" } }); - equals(result, "3 p3-thumbnail.gif
"); + equals(result, "3 p3-thumbnail.gif
"); var noInterpolateTemplate = _.template("

Just some text. Hey, I know this is silly but it aids consistency.

"); result = noInterpolateTemplate();