From 782de8743fe27ed01ad171ea05c5986cd4dfba43 Mon Sep 17 00:00:00 2001 From: Michael Ficarra Date: Sat, 18 Dec 2010 14:48:43 -0500 Subject: [PATCH] updated comment for arrayEqual function, mentioning that it tests for functional equivalence --- Cakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cakefile b/Cakefile index be315747..56144e9a 100644 --- a/Cakefile +++ b/Cakefile @@ -171,7 +171,8 @@ runTests = (CoffeeScript) -> e.source = fn.toString() if fn.toString? failures.push file: currentFile, error: e - # A recursive equality helper + # A recursive functional equivalence helper; uses egal for testing equivalence. + # See http://wiki.ecmascript.org/doku.php?id=harmony:egal arrayEqual = (a, b) -> if a is b # 0 isnt -0