mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Clean up comments.
This commit is contained in:
parent
c87ce4de4c
commit
2c9e15b070
2 changed files with 12 additions and 12 deletions
|
@ -2178,8 +2178,8 @@ var Item = Base.extend(Callback, /** @lends Item# */{
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes the item from its parent's named children list.
|
* Removes the item from its parent's named children list.
|
||||||
*/
|
*/
|
||||||
_removeNamed: function() {
|
_removeNamed: function() {
|
||||||
var parent = this._parent;
|
var parent = this._parent;
|
||||||
if (parent) {
|
if (parent) {
|
||||||
|
@ -2207,8 +2207,8 @@ var Item = Base.extend(Callback, /** @lends Item# */{
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes the item from its parent's children list.
|
* Removes the item from its parent's children list.
|
||||||
*/
|
*/
|
||||||
_remove: function(notifySelf, notifyParent) {
|
_remove: function(notifySelf, notifyParent) {
|
||||||
var parent = this._parent;
|
var parent = this._parent;
|
||||||
if (parent) {
|
if (parent) {
|
||||||
|
@ -2234,11 +2234,11 @@ var Item = Base.extend(Callback, /** @lends Item# */{
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes the item from the project. If the item has children, they are also
|
* Removes the item and all its children from the project. The item is not
|
||||||
* removed.
|
* destroyed and can be inserted again after removal.
|
||||||
*
|
*
|
||||||
* @return {Boolean} {@true if the item was removed}
|
* @return {Boolean} {@true if the item was removed}
|
||||||
*/
|
*/
|
||||||
remove: function() {
|
remove: function() {
|
||||||
// Notify self and parent of change:
|
// Notify self and parent of change:
|
||||||
return this._remove(true, true);
|
return this._remove(true, true);
|
||||||
|
|
|
@ -78,9 +78,9 @@ var Layer = Group.extend(/** @lends Layer# */{
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes the layer from its project's layers list
|
* Removes the layer from its project's layers list
|
||||||
* or its parent's children list.
|
* or its parent's children list.
|
||||||
*/
|
*/
|
||||||
_remove: function _remove(notify) {
|
_remove: function _remove(notify) {
|
||||||
if (this._parent)
|
if (this._parent)
|
||||||
return _remove.base.call(this, notify);
|
return _remove.base.call(this, notify);
|
||||||
|
|
Loading…
Reference in a new issue