From 921a68e4a281c5b27716b01f8cc152a0370154d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Tue, 8 Oct 2013 20:25:26 +0200 Subject: [PATCH] Rename _removeFromNamed to _removeNamed. --- src/item/Item.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/item/Item.js b/src/item/Item.js index ff4cc614..e6edddbb 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -318,7 +318,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{ // If the item already had a name, remove the reference to it from the // parent's children object: if (this._name) - this._removeFromNamed(); + this._removeNamed(); if (name && this._parent) { var children = this._parent._children, namedChildren = this._parent._namedChildren, @@ -1700,7 +1700,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{ /** * Removes the item from its parent's named children list. */ - _removeFromNamed: function() { + _removeNamed: function() { var children = this._parent._children, namedChildren = this._parent._namedChildren, name = this._name, @@ -1729,7 +1729,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{ _remove: function(notify) { if (this._parent) { if (this._name) - this._removeFromNamed(); + this._removeNamed(); if (this._index != null) Base.splice(this._parent._children, null, this._index, 1); // Notify parent of changed hierarchy