Permalink
Browse files

- return ID from pin operations

  • Loading branch information...
1 parent ce33055 commit 012cd181e249e7224421c9337ad9c6cb045823c0 Nickolay Platonov committed Dec 1, 2010
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/KiokuJS/Scope.js
View
4 lib/KiokuJS/Scope.js
@@ -104,8 +104,6 @@ Class('KiokuJS.Scope', {
var REFADR = node.getObject().__REFADR__
delete this.nodesByREFADR[ REFADR ]
-
- return node.ID
// } else
// // XXX no proto inheritance already
// this.parent.unpinNode(node)
@@ -119,7 +117,7 @@ Class('KiokuJS.Scope', {
node.acquireID(ID)
- this.pinNode(node)
+ return this.pinNode(node)
},

0 comments on commit 012cd18

Please sign in to comment.