Correct misnamed function call

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/5dde9401
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/5dde9401
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/5dde9401

Branch: refs/heads/0.4.0
Commit: 5dde94015c0bf80a30b91b63f39d158c3488a97a
Parents: f648083
Author: sjcorbett <[email protected]>
Authored: Wed Apr 18 18:45:21 2012 +0100
Committer: sjcorbett <[email protected]>
Committed: Wed Apr 18 18:45:21 2012 +0100

----------------------------------------------------------------------
 usage/web-console/web-app/js/console/util/brooklyn-util.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/5dde9401/usage/web-console/web-app/js/console/util/brooklyn-util.js
----------------------------------------------------------------------
diff --git a/usage/web-console/web-app/js/console/util/brooklyn-util.js 
b/usage/web-console/web-app/js/console/util/brooklyn-util.js
index 1df6cb4..ded575c 100644
--- a/usage/web-console/web-app/js/console/util/brooklyn-util.js
+++ b/usage/web-console/web-app/js/console/util/brooklyn-util.js
@@ -20,7 +20,7 @@ Brooklyn.util = (function(){
         if (!(x instanceof Object) || !(y instanceof Object)) return false;
 
         // they must have the exact same prototype chain, the closest we can 
do is
-        // test there constructor.
+        // test their constructors.
         if (x.constructor !== y.constructor) return false;
 
         for (var p in x) {
@@ -37,7 +37,7 @@ Brooklyn.util = (function(){
             if (typeof(x[p]) !== "object") return false;
 
             // Objects and Arrays must be tested recursively
-            if (!testEquivalent2(x[p], y[p])) return false;
+            if (!testEquivalent(x[p], y[p])) return false;
         }
 
         for (p in y) {

Reply via email to