Add basic code for fine-grained change tracking, as required by on-the fly SVG DOM manipulation.

This commit is contained in:
Jürg Lehni 2011-09-22 10:32:17 +02:00
parent a2358a0fc0
commit 6052e94a2a
2 changed files with 16 additions and 0 deletions
src/project

View file

@ -55,6 +55,9 @@ var Project = this.Project = PaperScopeItem.extend(/** @lends Project# */{
this.layers = [];
this.symbols = [];
this.activeLayer = new Layer();
// Change tracking, not in use for now. Activate once required:
// this._changes = [];
// this._changesById = {};
},
_needsRedraw: function() {