Write comment about calling base() from Layer#initialize().

This commit is contained in:
Jürg Lehni 2011-05-17 13:14:23 +01:00
parent c07f9b438e
commit e5f8ee0464

View file

@ -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;