mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Write comment about calling base() from Layer#initialize().
This commit is contained in:
parent
c07f9b438e
commit
e5f8ee0464
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ var Layer = this.Layer = Group.extend({
|
|||
beans: true,
|
||||
|
||||
initialize: function() {
|
||||
// TODO: Isn't there a way to call this.base() here and then move the
|
||||
// layer into layers instead?
|
||||
this._children = [];
|
||||
this._namedChildren = {};
|
||||
this._project = paper.project;
|
||||
|
|
Loading…
Reference in a new issue