summaryrefslogtreecommitdiff
path: root/js/src/Ice/Object.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/Ice/Object.js')
-rw-r--r--js/src/Ice/Object.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/src/Ice/Object.js b/js/src/Ice/Object.js
index 7900041df27..71bca77d9aa 100644
--- a/js/src/Ice/Object.js
+++ b/js/src/Ice/Object.js
@@ -100,6 +100,13 @@ var IceObject = Class({
__mostDerivedType: function()
{
return IceObject;
+ },
+ //
+ // The default implementation of equals compare references.
+ //
+ equals: function(other)
+ {
+ return this === other;
}
});