From c93d5ff7c01bee1aef64eb989b416325a9348091 Mon Sep 17 00:00:00 2001 From: David Chambers Date: Wed, 19 Mar 2014 18:08:45 -0700 Subject: [PATCH] use each (rather than _.each) internally --- underscore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/underscore.js b/underscore.js index 66b4dd6d2..9750d0ba2 100644 --- a/underscore.js +++ b/underscore.js @@ -1188,7 +1188,7 @@ }; // Functions for escaping and unescaping strings to/from HTML interpolation. - _.each(['escape', 'unescape'], function(method) { + each(['escape', 'unescape'], function(method) { _[method] = function(string) { if (string == null) return ''; return ('' + string).replace(entityRegexes[method], function(match) {