Add comment to removeOn() code.

This commit is contained in:
Jürg Lehni 2012-12-15 02:40:47 -08:00
parent 09ee9a0689
commit ddf982a446

View file

@ -325,6 +325,8 @@ var Tool = this.Tool = PaperScopeItem.extend(/** @lends Tool# */{
if (set) {
for (var id in set) {
var item = set[id];
// If we remove this item, we also need to erase it from all
// other sets.
for (var key in sets) {
var other = sets[key];
if (other && other != set && other[item._id])