Permalink
Browse files

- make it return the value

  • Loading branch information...
nickolay
nickolay committed Jul 14, 2010
1 parent c8432f6 commit 54608712c98ca88dfe47d4c6b50eece12b10ddc6
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Data/Visitor.js
View
@@ -54,15 +54,15 @@ Class('Data.Visitor', {
assignRefAdrTo : function (object) {
if (!object.__REFADR__) object.__REFADR__ = this.getRefAdrFor(object)
+
+ return object.__REFADR__
},
visitNotSeen : function (object) {
var className = this.getClassNameFor(object)
- this.assignRefAdrTo(object)
-
- var REFADR = object.__REFADR__
+ var REFADR = this.assignRefAdrTo(object)
this.markSeen(object)

0 comments on commit 5460871

Please sign in to comment.