re-integrated simple serialization and deserialization with new attrs structure

This commit is contained in:
Eric Rowell
2012-04-07 14:39:31 -07:00
parent ff896a4946
commit 58eb778e9a
10 changed files with 82 additions and 118 deletions

View File

@@ -11,6 +11,7 @@
*/
Kinetic.Layer = function(config) {
this.nodeType = 'Layer';
this.canvas = document.createElement('canvas');
this.context = this.canvas.getContext('2d');
this.canvas.style.position = 'absolute';