From 3587febd8e45aa53a8eeeae61f5e04899031dfb3 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Wed, 19 Oct 2011 14:47:20 -0400 Subject: [PATCH] Comment formatting. --- underscore.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/underscore.js b/underscore.js index d219bc206..f2c8c94b7 100644 --- a/underscore.js +++ b/underscore.js @@ -679,12 +679,12 @@ if (a.length !== b.length) return false; // Objects with different constructors are not equal. if (a.constructor !== b.constructor) return false; - // Assume equality for cyclic structures. The algorithm for detecting cyclic structures is - // adapted from ES 5.1 section 15.12.3, abstract operation `JO`. + // Assume equality for cyclic structures. The algorithm for detecting cyclic + // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. var length = stack.length; while (length--) { - // Linear search. Performance is inversely proportional to the number of unique nested - // structures. + // Linear search. Performance is inversely proportional to the number of + // unique nested structures. if (stack[length] == a) return true; } // Add the first object to the stack of traversed objects.