{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":60},{"__isSmartRef__":true,"id":114},{"__isSmartRef__":true,"id":186},{"__isSmartRef__":true,"id":392},{"__isSmartRef__":true,"id":484},{"__isSmartRef__":true,"id":740},{"__isSmartRef__":true,"id":828},{"__isSmartRef__":true,"id":890}],"scripts":[],"id":"C4D31202-2405-468E-81F9-EEBEB9FB4B40","shape":{"__isSmartRef__":true,"id":966},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"TwoRowDock","partsBinMetaInfo":{"__isSmartRef__":true,"id":967},"eventHandler":{"__isSmartRef__":true,"id":989},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975","AE728811-FEB4-44BD-BF8F-40F9859880E7"],"partTests":{"__isSmartRef__":true,"id":990},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"__serializedExpressions__":["_Position"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":995},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"1":{"submorphs":[{"__isSmartRef__":true,"id":2}],"scripts":[],"id":"3A85E477-47CE-4F81-B225-5EC464465856","shape":{"__isSmartRef__":true,"id":14},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem10","partsBinMetaInfo":{"__isSmartRef__":true,"id":15},"eventHandler":{"__isSmartRef__":true,"id":35},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975","AE728811-FEB4-44BD-BF8F-40F9859880E7","9D9E126A-0340-4CB2-B1A7-2060A1F8ABA7","C7A30E8C-E693-4117-AE7D-FB88524103FC","5DCEE14A-8732-4B24-AF2C-F10DDF84D142","C615CE4C-E3E4-4304-809E-D4C9824B59BF","247B3E4F-1BA6-451E-9D9F-504C01C09A24"],"partTests":{"__isSmartRef__":true,"id":36},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":41},"__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"_ToolTip":"Ellipse","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":49},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"2":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3},"id":"A88ABCCE-75A2-4452-A097-A01623207E10","eventHandler":{"__isSmartRef__":true,"id":4},"droppingEnabled":false,"halosEnabled":false,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":9},"name":"Ellipse1","partsBinMetaInfo":{"__isSmartRef__":true,"id":10},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","13233823-1113-464C-ADCF-071B43D6AEF6","2F1DBF66-E53D-4B13-9793-53EBDA946EEB","E31A1B04-A10B-4352-ABB2-A93C5679E6DA","E92BBD88-EBFC-49E3-AB70-F6B87208388D"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":1},"grabbingEnabled":false,"draggingEnabled":false,"__serializedExpressions__":["_Position"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(25.0,25.0)"},"3":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-23.0,-23.0)","_Extent":"lively.pt(46.0,46.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(105,116,105)"},"4":{"morph":{"__isSmartRef__":true,"id":2},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5":{"relayFunc":{"__isSmartRef__":true,"id":6}},"6":{"varMapping":{"__isSmartRef__":true,"id":7},"source":"function relayToMorphBeneath(evt, target) {\n                if (evt.isCommandKey()) return false;\n                var morphBeneath = target.morphBeneath(evt.getPosition());\n                morphBeneath && morphBeneath.triggerEvent(evt);\n                return true;\n            }","funcProperties":{"__isSmartRef__":true,"id":8},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7":{},"8":{},"9":{},"10":{"partName":"Ellipse","requiredModules":[],"migrationLevel":8,"partsSpaceName":"PartsBin/Basic/","comment":"This is a \"Ellipse\"","changes":[{"__isSmartRef__":true,"id":11},{"__isSmartRef__":true,"id":12},{"__isSmartRef__":true,"id":13}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Tue Jul 23 2013 23:21:08 GMT-0700 (PDT)\")"},"11":{"author":null,"message":"no comment","id":"8081E212-F627-4DBF-A925-E884B7F401F7","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jul 12 2013 12:14:02 GMT-0700 (PDT)\")"},"12":{"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287","__serializedExpressions__":["date"],"date":"new Date(\"Tue Apr 03 2012 00:08:08 GMT-0700 (PDT)\")"},"13":{"author":"robertkrahn","message":"no comment","id":"EE799F0E-9E4A-4AF8-98F7-DAEF09F6A8DC","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 15 2013 11:22:02 GMT-0800 (PST)\")"},"14":{"_BorderWidth":2.036,"_ClipMode":"visible","_BorderRadius":7.03,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,50.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(247,247,247)","_Padding":"lively.rect(0,0,0,0)"},"15":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":16},{"__isSmartRef__":true,"id":17},{"__isSmartRef__":true,"id":18},{"__isSmartRef__":true,"id":19},{"__isSmartRef__":true,"id":20},{"__isSmartRef__":true,"id":21},{"__isSmartRef__":true,"id":22},{"__isSmartRef__":true,"id":23},{"__isSmartRef__":true,"id":24},{"__isSmartRef__":true,"id":25},{"__isSmartRef__":true,"id":26},{"__isSmartRef__":true,"id":27},{"__isSmartRef__":true,"id":28},{"__isSmartRef__":true,"id":29},{"__isSmartRef__":true,"id":30},{"__isSmartRef__":true,"id":31},{"__isSmartRef__":true,"id":32},{"__isSmartRef__":true,"id":33},{"__isSmartRef__":true,"id":34}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"16":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"17":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"18":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"19":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"20":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"21":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"22":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"23":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"24":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"25":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"26":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"27":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"28":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"29":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"30":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"31":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"32":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"33":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"34":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"35":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"36":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":37}},"37":{"test01IsMorph":{"__isSmartRef__":true,"id":38}},"38":{"varMapping":{"__isSmartRef__":true,"id":39},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":40},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"39":{"this":{"__isSmartRef__":true,"id":36}},"40":{},"41":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":42},"id":"E31A1B04-A10B-4352-ABB2-A93C5679E6DA","eventHandler":{"__isSmartRef__":true,"id":43},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":44},"name":"Ellipse","partsBinMetaInfo":{"__isSmartRef__":true,"id":45},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","13233823-1113-464C-ADCF-071B43D6AEF6","2F1DBF66-E53D-4B13-9793-53EBDA946EEB"],"_ClipMode":"visible","__serializedExpressions__":["_Position"],"_Rotation":0,"_Scale":1,"isCopyMorphRef":true,"morphRefId":1,"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(1105.0,266.0)"},"42":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(100.0,100.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(105,116,105)"},"43":{"morph":{"__isSmartRef__":true,"id":41},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"44":{},"45":{"partName":"Ellipse","requiredModules":[],"migrationLevel":8,"partsSpaceName":"PartsBin/Basic/","comment":"This is a \"Ellipse\"","changes":[{"__isSmartRef__":true,"id":46},{"__isSmartRef__":true,"id":47},{"__isSmartRef__":true,"id":48}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Tue Jul 23 2013 23:21:08 GMT-0700 (PDT)\")"},"46":{"author":null,"message":"no comment","id":"8081E212-F627-4DBF-A925-E884B7F401F7","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jul 12 2013 12:14:02 GMT-0700 (PDT)\")"},"47":{"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287","__serializedExpressions__":["date"],"date":"new Date(\"Tue Apr 03 2012 00:08:08 GMT-0700 (PDT)\")"},"48":{"author":"robertkrahn","message":"no comment","id":"EE799F0E-9E4A-4AF8-98F7-DAEF09F6A8DC","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 15 2013 11:22:02 GMT-0800 (PST)\")"},"49":{"onMouseDown":{"__isSmartRef__":true,"id":50},"initPrototype":{"__isSmartRef__":true,"id":57}},"50":{"varMapping":{"__isSmartRef__":true,"id":51},"source":"function onMouseDown(evt) {\n    var newMorph = this.prototypeMorph.copy();\n    var dockOwner = $world;\n    if (this.owner && this.owner.owner) {\n        dockOwner = this.owner.owner;\n    } \n    dockOwner.addMorph(newMorph);\n    newMorph.setPosition(pt(10,10))\n}","funcProperties":{"__isSmartRef__":true,"id":56},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"51":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":52}},"52":{"$super":{"__isSmartRef__":true,"id":53}},"53":{"varMapping":{"__isSmartRef__":true,"id":54},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":55},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"54":{"obj":{"__isSmartRef__":true,"id":1},"name":"onMouseDown"},"55":{},"56":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:12:10 GMT-0700 (PDT)\")"},"57":{"varMapping":{"__isSmartRef__":true,"id":58},"source":"function initPrototype() {\n    this.removeAllMorphs()\n    this.prototypeMorph = $world.get('Ellipse');\n    this.prototypeMorph.show();\n    var iconMorph = this.prototypeMorph.copy();\n    this.addMorph(iconMorph);\n    iconMorph.setExtent(pt(46,46));\n    iconMorph.setPosition(pt(25,25));\n    iconMorph.disableGrabbing()\n    iconMorph.disableDragging()\n    iconMorph.disableDropping()\n    iconMorph.relayMouseEventsToMorphBeneath()\n    iconMorph.disableHalos()\n    \n}","funcProperties":{"__isSmartRef__":true,"id":59},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"58":{"this":{"__isSmartRef__":true,"id":1}},"59":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:47:25 GMT-0700 (PDT)\")"},"60":{"submorphs":[{"__isSmartRef__":true,"id":61}],"scripts":[],"id":"5CFF7C6D-249A-4BA5-A761-AD1E30651F28","shape":{"__isSmartRef__":true,"id":69},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem11","partsBinMetaInfo":{"__isSmartRef__":true,"id":70},"eventHandler":{"__isSmartRef__":true,"id":90},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975","AE728811-FEB4-44BD-BF8F-40F9859880E7","9D9E126A-0340-4CB2-B1A7-2060A1F8ABA7","C7A30E8C-E693-4117-AE7D-FB88524103FC","5DCEE14A-8732-4B24-AF2C-F10DDF84D142"],"partTests":{"__isSmartRef__":true,"id":91},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":96},"__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"_ToolTip":"Image","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":100},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(55.0,0.0)"},"61":{"submorphs":[],"scripts":[],"id":"74A268B2-EDC2-4405-9D5B-6DB4E6FC32BD","shape":{"__isSmartRef__":true,"id":62},"droppingEnabled":false,"halosEnabled":false,"registeredForMouseEvents":true,"eventHandler":{"__isSmartRef__":true,"id":63},"showsHalos":false,"name":"Image1","partsBinMetaInfo":{"__isSmartRef__":true,"id":68},"derivationIds":[707,"A3599566-EDD0-4429-B3F5-567BCEE44942","A7998491-ABD1-460F-9AE8-D580A6F912F0"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":60},"grabbingEnabled":false,"draggingEnabled":false,"__serializedExpressions__":["_Position"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Image","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(2.0,2.0)"},"62":{"_ImageURL":"http://lively-kernel.org/repository/webwerkstatt/media/hpi_logo.png","isLoaded":true,"__serializedExpressions__":["position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Image","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(46.0,46.0)","_Padding":"lively.rect(0,0,0,0)"},"63":{"morph":{"__isSmartRef__":true,"id":61},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":64},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"64":{"relayFunc":{"__isSmartRef__":true,"id":65}},"65":{"varMapping":{"__isSmartRef__":true,"id":66},"source":"function relayToMorphBeneath(evt, target) {\n                if (evt.isCommandKey()) return false;\n                var morphBeneath = target.morphBeneath(evt.getPosition());\n                morphBeneath && morphBeneath.triggerEvent(evt);\n                return true;\n            }","funcProperties":{"__isSmartRef__":true,"id":67},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"66":{},"67":{},"68":{"partsSpaceName":"PartsBin/Basic/","partName":"Image","migrationLevel":2,"comment":"an pixmap image morph","__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Sep 05 2012 16:01:34 GMT-0700 (PDT)\")"},"69":{"_BorderWidth":2.036,"_ClipMode":"visible","_BorderRadius":7.03,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,50.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(247,247,247)","_Padding":"lively.rect(0,0,0,0)"},"70":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":71},{"__isSmartRef__":true,"id":72},{"__isSmartRef__":true,"id":73},{"__isSmartRef__":true,"id":74},{"__isSmartRef__":true,"id":75},{"__isSmartRef__":true,"id":76},{"__isSmartRef__":true,"id":77},{"__isSmartRef__":true,"id":78},{"__isSmartRef__":true,"id":79},{"__isSmartRef__":true,"id":80},{"__isSmartRef__":true,"id":81},{"__isSmartRef__":true,"id":82},{"__isSmartRef__":true,"id":83},{"__isSmartRef__":true,"id":84},{"__isSmartRef__":true,"id":85},{"__isSmartRef__":true,"id":86},{"__isSmartRef__":true,"id":87},{"__isSmartRef__":true,"id":88},{"__isSmartRef__":true,"id":89}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"71":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"72":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"73":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"74":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"75":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"76":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"77":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"78":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"79":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"80":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"81":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"82":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"83":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"84":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"85":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"86":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"87":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"88":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"89":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"90":{"morph":{"__isSmartRef__":true,"id":60},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"91":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":92}},"92":{"test01IsMorph":{"__isSmartRef__":true,"id":93}},"93":{"varMapping":{"__isSmartRef__":true,"id":94},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":95},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"94":{"this":{"__isSmartRef__":true,"id":91}},"95":{},"96":{"submorphs":[],"scripts":[],"id":"A3599566-EDD0-4429-B3F5-567BCEE44942","shape":{"__isSmartRef__":true,"id":97},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"eventHandler":{"__isSmartRef__":true,"id":98},"__serializedExpressions__":["_Position"],"showsHalos":false,"name":"Image","partsBinMetaInfo":{"__isSmartRef__":true,"id":99},"derivationIds":[707],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"isCopyMorphRef":true,"morphRefId":1,"__LivelyClassName__":"lively.morphic.Image","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(69.0,50.0)"},"97":{"__serializedExpressions__":["position","_Extent","_Padding"],"_ImageURL":"http://lively-kernel.org/repository/webwerkstatt/media/hpi_logo.png","isLoaded":true,"__LivelyClassName__":"lively.morphic.Shapes.Image","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,100.0)","_Padding":"lively.rect(0,0,0,0)"},"98":{"morph":{"__isSmartRef__":true,"id":96},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"99":{"partsSpaceName":"PartsBin/Basic/","partName":"Image","migrationLevel":2,"comment":"an pixmap image morph","__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Sep 05 2012 16:01:34 GMT-0700 (PDT)\")"},"100":{"onMouseDown":{"__isSmartRef__":true,"id":101},"setDockOwner":{"__isSmartRef__":true,"id":108},"initPrototype":{"__isSmartRef__":true,"id":111}},"101":{"varMapping":{"__isSmartRef__":true,"id":102},"source":"function onMouseDown(evt) {\n    var newMorph = this.prototypeMorph.copy();\n    var dockOwner = $world;\n    if (this.owner && this.owner.owner) {\n        dockOwner = this.owner.owner;\n    } \n    dockOwner.addMorph(newMorph);\n    newMorph.setPosition(pt(10,10))\n}","funcProperties":{"__isSmartRef__":true,"id":107},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"102":{"this":{"__isSmartRef__":true,"id":60},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":103}},"103":{"$super":{"__isSmartRef__":true,"id":104}},"104":{"varMapping":{"__isSmartRef__":true,"id":105},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":106},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"105":{"obj":{"__isSmartRef__":true,"id":60},"name":"onMouseDown"},"106":{},"107":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:12:44 GMT-0700 (PDT)\")"},"108":{"varMapping":{"__isSmartRef__":true,"id":109},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":110},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"109":{"this":{"__isSmartRef__":true,"id":60}},"110":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"111":{"varMapping":{"__isSmartRef__":true,"id":112},"source":"function initPrototype() {\n    this.removeAllMorphs()\n    this.prototypeMorph = $world.get('Image');\n    this.prototypeMorph.show();\n    var iconMorph = this.prototypeMorph.copy();\n    this.addMorph(iconMorph);\n    iconMorph.setExtent(pt(46,46));\n    iconMorph.setPosition(pt(2,2));\n    iconMorph.disableGrabbing()\n    iconMorph.disableDragging()\n    iconMorph.disableDropping()\n    iconMorph.relayMouseEventsToMorphBeneath()\n    iconMorph.disableHalos()\n    \n}","funcProperties":{"__isSmartRef__":true,"id":113},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"112":{"this":{"__isSmartRef__":true,"id":60}},"113":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:42:20 GMT-0700 (PDT)\")"},"114":{"submorphs":[{"__isSmartRef__":true,"id":115}],"scripts":[],"id":"B106E8CB-B9C5-4F20-BD44-C989F7C2634D","shape":{"__isSmartRef__":true,"id":132},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem12","partsBinMetaInfo":{"__isSmartRef__":true,"id":133},"eventHandler":{"__isSmartRef__":true,"id":153},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975","AE728811-FEB4-44BD-BF8F-40F9859880E7","9D9E126A-0340-4CB2-B1A7-2060A1F8ABA7","C7A30E8C-E693-4117-AE7D-FB88524103FC"],"partTests":{"__isSmartRef__":true,"id":154},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":159},"__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"_ToolTip":"Triangle","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":172},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(110.0,0.0)"},"115":{"submorphs":[],"scripts":[],"id":"E495DDB6-DB12-4B83-B70E-DE3AD74E2E87","shape":{"__isSmartRef__":true,"id":116},"droppingEnabled":false,"halosEnabled":false,"eventHandler":{"__isSmartRef__":true,"id":121},"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":126},{"__isSmartRef__":true,"id":127},{"__isSmartRef__":true,"id":128},{"__isSmartRef__":true,"id":129}],"layout":{"__isSmartRef__":true,"id":130},"name":"Triangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":131},"derivationIds":[147,"66581ABE-A430-40EC-8335-AAB745D44D23","854B4DFE-B7E0-426C-850B-E6D9AB6052B0"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":114},"grabbingEnabled":false,"draggingEnabled":false,"__serializedExpressions__":["_Position"],"_Rotation":0,"_Scale":0.4669747052543718,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(2.0,2.0)"},"116":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":117},{"__isSmartRef__":true,"id":118},{"__isSmartRef__":true,"id":119},{"__isSmartRef__":true,"id":120}],"_BorderWidth":2.8160000000000003,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Fill","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-1.0,-1.1)","_Extent":"lively.pt(94.0,87.0)","_Fill":"Color.rgb(255,143,0)","_BorderColor":"Color.rgb(66,66,66)","_Padding":"lively.rect(0,0,0,0)"},"117":{"isAbsolute":true,"x":1.021276595744681,"y":0.9425287356321839,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"118":{"isAbsolute":true,"x":92.02127659574468,"y":36.94252873563218,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"119":{"isAbsolute":true,"x":14.02127659574468,"y":84.94252873563218,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"120":{"isAbsolute":true,"x":1.021276595744681,"y":0.9425287356321839,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"121":{"morph":{"__isSmartRef__":true,"id":115},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":122},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"122":{"relayFunc":{"__isSmartRef__":true,"id":123}},"123":{"varMapping":{"__isSmartRef__":true,"id":124},"source":"function relayToMorphBeneath(evt, target) {\n                if (evt.isCommandKey()) return false;\n                var morphBeneath = target.morphBeneath(evt.getPosition());\n                morphBeneath && morphBeneath.triggerEvent(evt);\n                return true;\n            }","funcProperties":{"__isSmartRef__":true,"id":125},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"124":{},"125":{},"126":{"morph":{"__isSmartRef__":true,"id":115},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"127":{"morph":{"__isSmartRef__":true,"id":115},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"128":{"morph":{"__isSmartRef__":true,"id":115},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"129":{"morph":{"__isSmartRef__":true,"id":115},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"130":{},"131":{"partName":"Triangle","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Basic/","comment":"A triangle formed polygon.\nCreate other polygons out of it by dragging the round handles.","__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Sep 05 2012 16:01:34 GMT-0700 (PDT)\")"},"132":{"_BorderWidth":2.036,"_ClipMode":"visible","_BorderRadius":7.03,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,50.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(247,247,247)","_Padding":"lively.rect(0,0,0,0)"},"133":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":134},{"__isSmartRef__":true,"id":135},{"__isSmartRef__":true,"id":136},{"__isSmartRef__":true,"id":137},{"__isSmartRef__":true,"id":138},{"__isSmartRef__":true,"id":139},{"__isSmartRef__":true,"id":140},{"__isSmartRef__":true,"id":141},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":143},{"__isSmartRef__":true,"id":144},{"__isSmartRef__":true,"id":145},{"__isSmartRef__":true,"id":146},{"__isSmartRef__":true,"id":147},{"__isSmartRef__":true,"id":148},{"__isSmartRef__":true,"id":149},{"__isSmartRef__":true,"id":150},{"__isSmartRef__":true,"id":151},{"__isSmartRef__":true,"id":152}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"134":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"135":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"136":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"137":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"138":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"139":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"140":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"141":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"142":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"143":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"144":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"145":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"146":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"147":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"148":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"149":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"150":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"151":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"152":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"153":{"morph":{"__isSmartRef__":true,"id":114},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"154":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":155}},"155":{"test01IsMorph":{"__isSmartRef__":true,"id":156}},"156":{"varMapping":{"__isSmartRef__":true,"id":157},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":158},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"157":{"this":{"__isSmartRef__":true,"id":154}},"158":{},"159":{"submorphs":[],"scripts":[],"id":"66581ABE-A430-40EC-8335-AAB745D44D23","shape":{"__isSmartRef__":true,"id":160},"droppingEnabled":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":165},"__serializedExpressions__":["_Position"],"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":166},{"__isSmartRef__":true,"id":167},{"__isSmartRef__":true,"id":168},{"__isSmartRef__":true,"id":169}],"layout":{"__isSmartRef__":true,"id":170},"name":"Triangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":171},"derivationIds":[147],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"isCopyMorphRef":true,"morphRefId":1,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(107.0,198.0)"},"160":{"dontChangeShape":false,"__serializedExpressions__":["cachedVertices.0","cachedVertices.1","cachedVertices.2","cachedVertices.3","_Position","_Extent","_Fill","_BorderColor","_Padding"],"cachedVertices":["lively.pt(0.0,0.0)","lively.pt(91.0,36.0)","lively.pt(13.0,84.0)","lively.pt(0.0,0.0)"],"_PathElements":[{"__isSmartRef__":true,"id":161},{"__isSmartRef__":true,"id":162},{"__isSmartRef__":true,"id":163},{"__isSmartRef__":true,"id":164}],"_BorderWidth":2.8160000000000003,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-2.0,-2.0)","_Extent":"lively.pt(94.0,87.0)","_Fill":"Color.rgb(255,143,0)","_BorderColor":"Color.rgb(66,66,66)","_Padding":"lively.rect(0,0,0,0)"},"161":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"162":{"isAbsolute":true,"x":91,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"163":{"isAbsolute":true,"x":13,"y":84,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"164":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"165":{"morph":{"__isSmartRef__":true,"id":159},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"166":{"morph":{"__isSmartRef__":true,"id":159},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"167":{"morph":{"__isSmartRef__":true,"id":159},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"168":{"morph":{"__isSmartRef__":true,"id":159},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"169":{"morph":{"__isSmartRef__":true,"id":159},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"170":{},"171":{"partName":"Triangle","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Basic/","comment":"A triangle formed polygon.\nCreate other polygons out of it by dragging the round handles.","__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Sep 05 2012 16:01:34 GMT-0700 (PDT)\")"},"172":{"onMouseDown":{"__isSmartRef__":true,"id":173},"setDockOwner":{"__isSmartRef__":true,"id":180},"initPrototype":{"__isSmartRef__":true,"id":183}},"173":{"varMapping":{"__isSmartRef__":true,"id":174},"source":"function onMouseDown(evt) {\n    var newMorph = this.prototypeMorph.copy();\n    var dockOwner = $world;\n    if (this.owner && this.owner.owner) {\n        dockOwner = this.owner.owner;\n    } \n    dockOwner.addMorph(newMorph);\n    newMorph.setPosition(pt(10,10))\n}","funcProperties":{"__isSmartRef__":true,"id":179},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"174":{"this":{"__isSmartRef__":true,"id":114},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":175}},"175":{"$super":{"__isSmartRef__":true,"id":176}},"176":{"varMapping":{"__isSmartRef__":true,"id":177},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":178},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"177":{"obj":{"__isSmartRef__":true,"id":114},"name":"onMouseDown"},"178":{},"179":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:12:56 GMT-0700 (PDT)\")"},"180":{"varMapping":{"__isSmartRef__":true,"id":181},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"181":{"this":{"__isSmartRef__":true,"id":114}},"182":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"183":{"varMapping":{"__isSmartRef__":true,"id":184},"source":"function initPrototype() {\n    this.removeAllMorphs()\n    this.prototypeMorph = $world.get('Triangle');\n    this.prototypeMorph.show();\n    var iconMorph = this.prototypeMorph.copy();\n    this.addMorph(iconMorph);\n    iconMorph.setExtent(pt(46,46));\n    iconMorph.setPosition(pt(2,2));\n    iconMorph.disableGrabbing()\n    iconMorph.disableDragging()\n    iconMorph.disableDropping()\n    iconMorph.relayMouseEventsToMorphBeneath()\n    iconMorph.disableHalos()\n    \n}","funcProperties":{"__isSmartRef__":true,"id":185},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"184":{"this":{"__isSmartRef__":true,"id":114}},"185":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:39:48 GMT-0700 (PDT)\")"},"186":{"submorphs":[{"__isSmartRef__":true,"id":187},{"__isSmartRef__":true,"id":219}],"scripts":[],"id":"9D9E126A-0340-4CB2-B1A7-2060A1F8ABA7","shape":{"__isSmartRef__":true,"id":323},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem","partsBinMetaInfo":{"__isSmartRef__":true,"id":324},"eventHandler":{"__isSmartRef__":true,"id":344},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975","AE728811-FEB4-44BD-BF8F-40F9859880E7"],"partTests":{"__isSmartRef__":true,"id":345},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":0},"prototypeMorph":{"__isSmartRef__":true,"id":350},"_Rotation":0,"_Scale":1,"_ToolTip":"Rectangle","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":378},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(165.0,0.0)"},"187":{"submorphs":[],"scripts":[],"id":"10A24D04-071D-4B83-BDEA-E336BE20761D","shape":{"__isSmartRef__":true,"id":188},"__layered_droppingEnabled__":true,"halosEnabled":false,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":189},"eventHandler":{"__isSmartRef__":true,"id":209},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975","AE728811-FEB4-44BD-BF8F-40F9859880E7"],"partTests":{"__isSmartRef__":true,"id":214},"_ClipMode":"visible","moved":true,"droppingEnabled":false,"isBeingDragged":false,"__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":186},"grabbingEnabled":false,"draggingEnabled":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(2.0,2.0)"},"188":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(46.0,46.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,204)","_Padding":"lively.rect(0,0,0,0)"},"189":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":190},{"__isSmartRef__":true,"id":191},{"__isSmartRef__":true,"id":192},{"__isSmartRef__":true,"id":193},{"__isSmartRef__":true,"id":194},{"__isSmartRef__":true,"id":195},{"__isSmartRef__":true,"id":196},{"__isSmartRef__":true,"id":197},{"__isSmartRef__":true,"id":198},{"__isSmartRef__":true,"id":199},{"__isSmartRef__":true,"id":200},{"__isSmartRef__":true,"id":201},{"__isSmartRef__":true,"id":202},{"__isSmartRef__":true,"id":203},{"__isSmartRef__":true,"id":204},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":206},{"__isSmartRef__":true,"id":207},{"__isSmartRef__":true,"id":208}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"190":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"191":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"192":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"193":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"194":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"195":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"196":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"197":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"198":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"199":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"200":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"201":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"202":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"203":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"204":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"205":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"206":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"207":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"208":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"209":{"morph":{"__isSmartRef__":true,"id":187},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":210},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"210":{"relayFunc":{"__isSmartRef__":true,"id":211}},"211":{"varMapping":{"__isSmartRef__":true,"id":212},"source":"function relayToMorphBeneath(evt, target) {\n                if (evt.isCommandKey()) return false;\n                var morphBeneath = target.morphBeneath(evt.getPosition());\n                morphBeneath && morphBeneath.triggerEvent(evt);\n                return true;\n            }","funcProperties":{"__isSmartRef__":true,"id":213},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"212":{},"213":{},"214":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":215}},"215":{"test01IsMorph":{"__isSmartRef__":true,"id":216}},"216":{"varMapping":{"__isSmartRef__":true,"id":217},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":218},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"217":{"this":{"__isSmartRef__":true,"id":214}},"218":{},"219":{"submorphs":[{"__isSmartRef__":true,"id":220}],"scripts":[],"id":"8641E1BE-1392-4319-B1DE-3DAE570AD1F3","shape":{"__isSmartRef__":true,"id":253},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem7","partsBinMetaInfo":{"__isSmartRef__":true,"id":254},"eventHandler":{"__isSmartRef__":true,"id":274},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975","AE728811-FEB4-44BD-BF8F-40F9859880E7","9D9E126A-0340-4CB2-B1A7-2060A1F8ABA7","C7A30E8C-E693-4117-AE7D-FB88524103FC","5DCEE14A-8732-4B24-AF2C-F10DDF84D142","C615CE4C-E3E4-4304-809E-D4C9824B59BF","247B3E4F-1BA6-451E-9D9F-504C01C09A24","BA0C6383-5233-4F06-BF88-1AA53A086FD2"],"partTests":{"__isSmartRef__":true,"id":275},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":280},"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":186},"_Rotation":0,"_Scale":1,"_ToolTip":"Star","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":309},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(56.0,54.0)","distanceToDragEvent":"lively.pt(34.0,-12.0)"},"220":{"submorphs":[],"scripts":[],"id":"58AC71E6-FC37-4EF3-89BF-06D6AB819E0B","shape":{"__isSmartRef__":true,"id":221},"droppingEnabled":false,"halosEnabled":false,"eventHandler":{"__isSmartRef__":true,"id":233},"showsHalos":false,"name":"Star1","partsBinMetaInfo":{"__isSmartRef__":true,"id":238},"controlPoints":[{"__isSmartRef__":true,"id":241},{"__isSmartRef__":true,"id":242},{"__isSmartRef__":true,"id":243},{"__isSmartRef__":true,"id":244},{"__isSmartRef__":true,"id":245},{"__isSmartRef__":true,"id":246},{"__isSmartRef__":true,"id":247},{"__isSmartRef__":true,"id":248},{"__isSmartRef__":true,"id":249},{"__isSmartRef__":true,"id":250},{"__isSmartRef__":true,"id":251}],"layout":{"__isSmartRef__":true,"id":252},"derivationIds":[1769,"55E9957F-2362-4765-9FD9-288A6977C339","F880E4E2-8C3C-48FF-A5A6-57F71E07D4ED"],"_ClipMode":"visible","__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":219},"grabbingEnabled":false,"draggingEnabled":false,"_Rotation":-1.5720853822591316,"_Scale":0.27548673144337543,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(25.0,25.0)"},"221":{"dontChangeShape":false,"__serializedExpressions__":["cachedVertices.0","cachedVertices.1","cachedVertices.2","cachedVertices.3","cachedVertices.4","cachedVertices.5","cachedVertices.6","cachedVertices.7","cachedVertices.8","cachedVertices.9","cachedVertices.10","_Position","_Extent","_BorderColor","_Fill","_Padding"],"cachedVertices":["lively.pt(39.0,0.0)","lively.pt(80.9,58.8)","lively.pt(12.1,37.1)","lively.pt(-30.9,95.1)","lively.pt(-31.6,22.9)","lively.pt(-100.0,0.0)","lively.pt(-31.6,-22.9)","lively.pt(-30.9,-95.1)","lively.pt(12.1,-37.1)","lively.pt(80.9,-58.8)","lively.pt(39.0,0.0)"],"_PathElements":[{"__isSmartRef__":true,"id":222},{"__isSmartRef__":true,"id":223},{"__isSmartRef__":true,"id":224},{"__isSmartRef__":true,"id":225},{"__isSmartRef__":true,"id":226},{"__isSmartRef__":true,"id":227},{"__isSmartRef__":true,"id":228},{"__isSmartRef__":true,"id":229},{"__isSmartRef__":true,"id":230},{"__isSmartRef__":true,"id":231},{"__isSmartRef__":true,"id":232}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(191,191,161)","_Padding":"lively.rect(0,0,0,0)"},"222":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"223":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"224":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"225":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"226":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"227":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"228":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"229":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"230":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"231":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"232":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"233":{"morph":{"__isSmartRef__":true,"id":220},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":234},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"234":{"relayFunc":{"__isSmartRef__":true,"id":235}},"235":{"varMapping":{"__isSmartRef__":true,"id":236},"source":"function relayToMorphBeneath(evt, target) {\n                if (evt.isCommandKey()) return false;\n                var morphBeneath = target.morphBeneath(evt.getPosition());\n                morphBeneath && morphBeneath.triggerEvent(evt);\n                return true;\n            }","funcProperties":{"__isSmartRef__":true,"id":237},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"236":{},"237":{},"238":{"requiredModules":[],"migrationLevel":8,"partsSpaceName":"PartsBin/Basic/","partName":"Star","comment":"A star formed polygon. Not just some star, its the Lively Star! ","changes":[{"__isSmartRef__":true,"id":239},{"__isSmartRef__":true,"id":240}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Sun Nov 10 2013 16:53:57 GMT-0800 (PST)\")"},"239":{"author":"TedKaehler","message":"no comment","id":"E5FE1C7F-778F-47FB-94BE-4204E1A1952C","__serializedExpressions__":["date"],"date":"new Date(\"Sun Nov 10 2013 16:54:07 GMT-0800 (PST)\")"},"240":{"author":"fbo","message":"Remove getHaloClasses as this is already handled in lively.morphic.Path","id":"C2E352F0-C50E-4979-98E6-CDE22922DFE2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Nov 04 2011 16:19:31 GMT-0700 (PDT)\")"},"241":{"morph":{"__isSmartRef__":true,"id":220},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"242":{"morph":{"__isSmartRef__":true,"id":220},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"243":{"morph":{"__isSmartRef__":true,"id":220},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"244":{"morph":{"__isSmartRef__":true,"id":220},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"245":{"morph":{"__isSmartRef__":true,"id":220},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"246":{"morph":{"__isSmartRef__":true,"id":220},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"247":{"morph":{"__isSmartRef__":true,"id":220},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"248":{"morph":{"__isSmartRef__":true,"id":220},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"249":{"morph":{"__isSmartRef__":true,"id":220},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"250":{"morph":{"__isSmartRef__":true,"id":220},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"251":{"morph":{"__isSmartRef__":true,"id":220},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"252":{},"253":{"_BorderWidth":2.036,"_ClipMode":"visible","_BorderRadius":7.03,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,50.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(247,247,247)","_Padding":"lively.rect(0,0,0,0)"},"254":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":255},{"__isSmartRef__":true,"id":256},{"__isSmartRef__":true,"id":257},{"__isSmartRef__":true,"id":258},{"__isSmartRef__":true,"id":259},{"__isSmartRef__":true,"id":260},{"__isSmartRef__":true,"id":261},{"__isSmartRef__":true,"id":262},{"__isSmartRef__":true,"id":263},{"__isSmartRef__":true,"id":264},{"__isSmartRef__":true,"id":265},{"__isSmartRef__":true,"id":266},{"__isSmartRef__":true,"id":267},{"__isSmartRef__":true,"id":268},{"__isSmartRef__":true,"id":269},{"__isSmartRef__":true,"id":270},{"__isSmartRef__":true,"id":271},{"__isSmartRef__":true,"id":272},{"__isSmartRef__":true,"id":273}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"255":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"256":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"257":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"258":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"259":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"260":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"261":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"262":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"263":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"264":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"265":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"266":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"267":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"268":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"269":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"270":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"271":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"272":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"273":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"274":{"morph":{"__isSmartRef__":true,"id":219},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"275":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":276}},"276":{"test01IsMorph":{"__isSmartRef__":true,"id":277}},"277":{"varMapping":{"__isSmartRef__":true,"id":278},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":279},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"278":{"this":{"__isSmartRef__":true,"id":275}},"279":{},"280":{"submorphs":[],"scripts":[],"id":"F880E4E2-8C3C-48FF-A5A6-57F71E07D4ED","shape":{"__isSmartRef__":true,"id":281},"droppingEnabled":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":293},"showsHalos":false,"name":"Star","partsBinMetaInfo":{"__isSmartRef__":true,"id":294},"controlPoints":[{"__isSmartRef__":true,"id":297},{"__isSmartRef__":true,"id":298},{"__isSmartRef__":true,"id":299},{"__isSmartRef__":true,"id":300},{"__isSmartRef__":true,"id":301},{"__isSmartRef__":true,"id":302},{"__isSmartRef__":true,"id":303},{"__isSmartRef__":true,"id":304},{"__isSmartRef__":true,"id":305},{"__isSmartRef__":true,"id":306},{"__isSmartRef__":true,"id":307}],"layout":{"__isSmartRef__":true,"id":308},"derivationIds":[1769,"55E9957F-2362-4765-9FD9-288A6977C339"],"_ClipMode":"visible","__serializedExpressions__":["_Position"],"_Rotation":-1.5720853822591316,"_Scale":0.9999999999999983,"isCopyMorphRef":true,"morphRefId":1,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(1138.0,546.0)"},"281":{"dontChangeShape":false,"__serializedExpressions__":["cachedVertices.0","cachedVertices.1","cachedVertices.2","cachedVertices.3","cachedVertices.4","cachedVertices.5","cachedVertices.6","cachedVertices.7","cachedVertices.8","cachedVertices.9","cachedVertices.10","_Position","_Extent","_BorderColor","_Fill","_Padding"],"cachedVertices":["lively.pt(39.0,0.0)","lively.pt(80.9,58.8)","lively.pt(12.1,37.1)","lively.pt(-30.9,95.1)","lively.pt(-31.6,22.9)","lively.pt(-100.0,0.0)","lively.pt(-31.6,-22.9)","lively.pt(-30.9,-95.1)","lively.pt(12.1,-37.1)","lively.pt(80.9,-58.8)","lively.pt(39.0,0.0)"],"_PathElements":[{"__isSmartRef__":true,"id":282},{"__isSmartRef__":true,"id":283},{"__isSmartRef__":true,"id":284},{"__isSmartRef__":true,"id":285},{"__isSmartRef__":true,"id":286},{"__isSmartRef__":true,"id":287},{"__isSmartRef__":true,"id":288},{"__isSmartRef__":true,"id":289},{"__isSmartRef__":true,"id":290},{"__isSmartRef__":true,"id":291},{"__isSmartRef__":true,"id":292}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(191,191,161)","_Padding":"lively.rect(0,0,0,0)"},"282":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"283":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"284":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"285":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"286":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"287":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"288":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"289":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"290":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"291":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"292":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"293":{"morph":{"__isSmartRef__":true,"id":280},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"294":{"requiredModules":[],"migrationLevel":8,"partsSpaceName":"PartsBin/Basic/","partName":"Star","comment":"A star formed polygon. Not just some star, its the Lively Star! ","changes":[{"__isSmartRef__":true,"id":295},{"__isSmartRef__":true,"id":296}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Sun Nov 10 2013 16:53:57 GMT-0800 (PST)\")"},"295":{"author":"TedKaehler","message":"no comment","id":"E5FE1C7F-778F-47FB-94BE-4204E1A1952C","__serializedExpressions__":["date"],"date":"new Date(\"Sun Nov 10 2013 16:54:07 GMT-0800 (PST)\")"},"296":{"author":"fbo","message":"Remove getHaloClasses as this is already handled in lively.morphic.Path","id":"C2E352F0-C50E-4979-98E6-CDE22922DFE2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Nov 04 2011 16:19:31 GMT-0700 (PDT)\")"},"297":{"morph":{"__isSmartRef__":true,"id":280},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"298":{"morph":{"__isSmartRef__":true,"id":280},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"299":{"morph":{"__isSmartRef__":true,"id":280},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"300":{"morph":{"__isSmartRef__":true,"id":280},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"301":{"morph":{"__isSmartRef__":true,"id":280},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"302":{"morph":{"__isSmartRef__":true,"id":280},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"303":{"morph":{"__isSmartRef__":true,"id":280},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"304":{"morph":{"__isSmartRef__":true,"id":280},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"305":{"morph":{"__isSmartRef__":true,"id":280},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"306":{"morph":{"__isSmartRef__":true,"id":280},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"307":{"morph":{"__isSmartRef__":true,"id":280},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"308":{},"309":{"onMouseDown":{"__isSmartRef__":true,"id":310},"setDockOwner":{"__isSmartRef__":true,"id":317},"initPrototype":{"__isSmartRef__":true,"id":320}},"310":{"varMapping":{"__isSmartRef__":true,"id":311},"source":"function onMouseDown(evt) {\n    var newMorph = this.prototypeMorph.copy();\n    var dockOwner = $world;\n    if (this.owner && this.owner.owner) {\n        dockOwner = this.owner.owner;\n    } \n    dockOwner.addMorph(newMorph);\n    newMorph.setPosition(pt(10,10))\n}","funcProperties":{"__isSmartRef__":true,"id":316},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"311":{"this":{"__isSmartRef__":true,"id":219},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":312}},"312":{"$super":{"__isSmartRef__":true,"id":313}},"313":{"varMapping":{"__isSmartRef__":true,"id":314},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":315},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"314":{"obj":{"__isSmartRef__":true,"id":219},"name":"onMouseDown"},"315":{},"316":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:14:00 GMT-0700 (PDT)\")"},"317":{"varMapping":{"__isSmartRef__":true,"id":318},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":319},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"318":{"this":{"__isSmartRef__":true,"id":219}},"319":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"320":{"varMapping":{"__isSmartRef__":true,"id":321},"source":"function initPrototype() {\n    this.removeAllMorphs()\n    this.prototypeMorph = $world.get('Star');\n    this.prototypeMorph.show();\n    var iconMorph = $world.get('Star1')\n    this.addMorph(iconMorph);\n    iconMorph.setPosition(pt(2,2));\n    iconMorph.disableGrabbing()\n    iconMorph.disableDragging()\n    iconMorph.disableDropping()\n    iconMorph.relayMouseEventsToMorphBeneath()\n    iconMorph.disableHalos()\n    \n}","funcProperties":{"__isSmartRef__":true,"id":322},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"321":{"this":{"__isSmartRef__":true,"id":219}},"322":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:52:10 GMT-0700 (PDT)\")"},"323":{"_BorderWidth":2.036,"_ClipMode":"visible","_BorderRadius":7.03,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,50.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(247,247,247)","_Padding":"lively.rect(0,0,0,0)"},"324":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":325},{"__isSmartRef__":true,"id":326},{"__isSmartRef__":true,"id":327},{"__isSmartRef__":true,"id":328},{"__isSmartRef__":true,"id":329},{"__isSmartRef__":true,"id":330},{"__isSmartRef__":true,"id":331},{"__isSmartRef__":true,"id":332},{"__isSmartRef__":true,"id":333},{"__isSmartRef__":true,"id":334},{"__isSmartRef__":true,"id":335},{"__isSmartRef__":true,"id":336},{"__isSmartRef__":true,"id":337},{"__isSmartRef__":true,"id":338},{"__isSmartRef__":true,"id":339},{"__isSmartRef__":true,"id":340},{"__isSmartRef__":true,"id":341},{"__isSmartRef__":true,"id":342},{"__isSmartRef__":true,"id":343}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"325":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"326":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"327":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"328":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"329":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"330":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"331":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"332":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"333":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"334":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"335":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"336":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"337":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"338":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"339":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"340":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"341":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"342":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"343":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"344":{"morph":{"__isSmartRef__":true,"id":186},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"345":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":346}},"346":{"test01IsMorph":{"__isSmartRef__":true,"id":347}},"347":{"varMapping":{"__isSmartRef__":true,"id":348},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":349},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"348":{"this":{"__isSmartRef__":true,"id":345}},"349":{},"350":{"submorphs":[],"scripts":[],"id":"AE728811-FEB4-44BD-BF8F-40F9859880E7","shape":{"__isSmartRef__":true,"id":351},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":352},"eventHandler":{"__isSmartRef__":true,"id":372},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975"],"partTests":{"__isSmartRef__":true,"id":373},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"__serializedExpressions__":["_Position"],"isBeingDragged":false,"_Rotation":0,"_Scale":1,"isCopyMorphRef":true,"morphRefId":1,"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(80.0,304.0)"},"351":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,100.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,204)","_Padding":"lively.rect(0,0,0,0)"},"352":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":353},{"__isSmartRef__":true,"id":354},{"__isSmartRef__":true,"id":355},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":357},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":359},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":363},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":365},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":367},{"__isSmartRef__":true,"id":368},{"__isSmartRef__":true,"id":369},{"__isSmartRef__":true,"id":370},{"__isSmartRef__":true,"id":371}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"353":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"354":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"355":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"356":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"357":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"358":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"359":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"360":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"361":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"362":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"363":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"364":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"365":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"366":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"367":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"368":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"369":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"370":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"371":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"372":{"morph":{"__isSmartRef__":true,"id":350},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"373":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":374}},"374":{"test01IsMorph":{"__isSmartRef__":true,"id":375}},"375":{"varMapping":{"__isSmartRef__":true,"id":376},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":377},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"376":{"this":{"__isSmartRef__":true,"id":373}},"377":{},"378":{"onMouseDown":{"__isSmartRef__":true,"id":379},"setDockOwner":{"__isSmartRef__":true,"id":386},"initPrototype":{"__isSmartRef__":true,"id":389}},"379":{"varMapping":{"__isSmartRef__":true,"id":380},"source":"function onMouseDown(evt) {\n    var newMorph = this.prototypeMorph.copy();\n    var dockOwner = $world;\n    if (this.owner && this.owner.owner) {\n        dockOwner = this.owner.owner;\n    } \n    dockOwner.addMorph(newMorph);\n    newMorph.setPosition(pt(10,10))\n}","funcProperties":{"__isSmartRef__":true,"id":385},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"380":{"this":{"__isSmartRef__":true,"id":186},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":381}},"381":{"$super":{"__isSmartRef__":true,"id":382}},"382":{"varMapping":{"__isSmartRef__":true,"id":383},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":384},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"383":{"obj":{"__isSmartRef__":true,"id":186},"name":"onMouseDown"},"384":{},"385":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:13:07 GMT-0700 (PDT)\")"},"386":{"varMapping":{"__isSmartRef__":true,"id":387},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":388},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"387":{"this":{"__isSmartRef__":true,"id":186}},"388":{"__serializedExpressions__":["timestamp"],"user":"rick","tags":[],"timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"389":{"varMapping":{"__isSmartRef__":true,"id":390},"source":"function initPrototype() {\n    this.removeAllMorphs()\n    this.prototypeMorph = $world.get('Rectangle');\n    this.prototypeMorph.show();\n    var iconMorph = this.prototypeMorph.copy();\n    this.addMorph(iconMorph);\n    iconMorph.setExtent(pt(46,46));\n    iconMorph.setPosition(pt(2,2));\n    iconMorph.disableGrabbing()\n    iconMorph.disableDragging()\n    iconMorph.disableDropping()\n    iconMorph.relayMouseEventsToMorphBeneath()\n    iconMorph.disableHalos()\n    \n}","funcProperties":{"__isSmartRef__":true,"id":391},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"390":{"this":{"__isSmartRef__":true,"id":186}},"391":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:39:23 GMT-0700 (PDT)\")"},"392":{"submorphs":[{"__isSmartRef__":true,"id":393}],"scripts":[],"id":"C615CE4C-E3E4-4304-809E-D4C9824B59BF","shape":{"__isSmartRef__":true,"id":420},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem3","partsBinMetaInfo":{"__isSmartRef__":true,"id":421},"eventHandler":{"__isSmartRef__":true,"id":441},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975","AE728811-FEB4-44BD-BF8F-40F9859880E7","9D9E126A-0340-4CB2-B1A7-2060A1F8ABA7","C7A30E8C-E693-4117-AE7D-FB88524103FC","5DCEE14A-8732-4B24-AF2C-F10DDF84D142"],"partTests":{"__isSmartRef__":true,"id":442},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":447},"__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"_ToolTip":"Button","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":470},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(220.0,0.0)"},"393":{"submorphs":[{"__isSmartRef__":true,"id":394}],"scripts":[],"shape":{"__isSmartRef__":true,"id":399},"eventHandler":{"__isSmartRef__":true,"id":400},"_ClipMode":"visible","derivationIds":["EC7EBB28-54AE-4244-80ED-3E13650F82B7","9FD2DCE2-B997-4536-B2A5-90D7DD92B3E6","0D8CC908-BD1C-4062-BB03-3FCEB910483D","2D6C2E94-573A-464E-A8AC-7A06E0E64EA9"],"id":"3D27FD82-5A05-4C61-B201-075D7A498353","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":394},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":405}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"Button1","partsBinMetaInfo":{"__isSmartRef__":true,"id":407},"pinSpecs":[{"__isSmartRef__":true,"id":415}],"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":392},"draggingEnabled":false,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":416},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(2.0,2.0)","distanceToDragEvent":"lively.pt(74.0,7.0)"},"394":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":395},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":396}],"eventHandler":{"__isSmartRef__":true,"id":398},"_ClipMode":"hidden","derivationIds":["7884E73F-0D17-44B3-907F-44A5223F1F3D","444B63A6-D9E7-4AB2-AB57-4A9146C18BFF","08999E10-CCC3-4CAB-99BC-4EF500309EC4","25D04998-727B-4546-8E55-26B11C8512F3"],"id":"7D26C341-DA25-4130-B276-63D67C797E1D","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":393},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"showsHalos":false,"eventsAreDisabled":true,"_PointerEvents":"none","__serializedExpressions__":["_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"395":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(46.0,46.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"396":{"style":{"__isSmartRef__":true,"id":397},"chunkOwner":{"__isSmartRef__":true,"id":394},"_id":"_325589","storedString":"Button","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"397":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"398":{"morph":{"__isSmartRef__":true,"id":394},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"399":{"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(46.0,46.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"400":{"morph":{"__isSmartRef__":true,"id":393},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":401},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"401":{"relayFunc":{"__isSmartRef__":true,"id":402}},"402":{"varMapping":{"__isSmartRef__":true,"id":403},"source":"function relayToMorphBeneath(evt, target) {\n                if (evt.isCommandKey()) return false;\n                var morphBeneath = target.morphBeneath(evt.getPosition());\n                morphBeneath && morphBeneath.triggerEvent(evt);\n                return true;\n            }","funcProperties":{"__isSmartRef__":true,"id":404},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"403":{},"404":{},"405":{"sourceObj":{"__isSmartRef__":true,"id":393},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":393},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":406},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"406":{"source":{"__isSmartRef__":true,"id":393},"target":{"__isSmartRef__":true,"id":393}},"407":{"partName":"Button","requiredModules":[],"partsSpaceName":"PartsBin/Inputs/","comment":"A simple button that calls a method #doAction when pressed.","changes":[{"__isSmartRef__":true,"id":408},{"__isSmartRef__":true,"id":409},{"__isSmartRef__":true,"id":410},{"__isSmartRef__":true,"id":411},{"__isSmartRef__":true,"id":412},{"__isSmartRef__":true,"id":413},{"__isSmartRef__":true,"id":414}],"migrationLevel":7,"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Tue Jul 23 2013 23:21:11 GMT-0700 (PDT)\")"},"408":{"author":"Dan","message":"no comment","id":"CFEC4071-14FF-4AEB-A399-197884CD18BF","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 17 2013 10:24:50 GMT-0700 (PDT)\")"},"409":{"author":"Dan","message":"no comment","id":"A594459F-DA9B-49DD-A105-547B3F613CC5","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 17 2013 10:22:38 GMT-0700 (PDT)\")"},"410":{"author":"robertkrahn","message":"no comment","id":"BB2EA501-D9AF-414B-A035-E1487DA6F0FD","__serializedExpressions__":["date"],"date":"new Date(\"Tue Apr 30 2013 20:36:30 GMT-0700 (PDT)\")"},"411":{"author":"robertkrahn","message":"no comment","id":"811BDE87-D8DD-48BB-97B2-7A3C3F3FAE32","__serializedExpressions__":["date"],"date":"new Date(\"Tue Apr 30 2013 20:35:59 GMT-0700 (PDT)\")"},"412":{"author":"robertkrahn","message":"test","id":"ACA617B4-0416-4E3C-9F4D-171A40F44F0F","__serializedExpressions__":["date"],"date":"new Date(\"Tue Apr 30 2013 20:34:25 GMT-0700 (PDT)\")"},"413":{"author":"robertkrahn","message":"no comment","id":"9B8B6BE4-4519-4A6C-8F47-70DE61BBB0FB","__serializedExpressions__":["date"],"date":"new Date(\"Tue Dec 11 2012 13:53:16 GMT-0800 (PST)\")"},"414":{"author":null,"message":"no comment","id":"F8B70225-5143-4A51-ABB4-344B488B3811","__serializedExpressions__":["date"],"date":"new Date(\"Tue Dec 11 2012 13:15:42 GMT-0800 (PST)\")"},"415":{"pinName":"fire","modality":"output","type":"Boolean","accessor":"fire","location":1.5},"416":{"doAction":{"__isSmartRef__":true,"id":417}},"417":{"varMapping":{"__isSmartRef__":true,"id":418},"source":"function doAction() {\n    \n}","funcProperties":{"__isSmartRef__":true,"id":419},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"418":{"this":{"__isSmartRef__":true,"id":393}},"419":{"user":"undefined","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Dec 11 2012 13:14:29 GMT-0800 (PST)\")"},"420":{"_BorderWidth":2.036,"_ClipMode":"visible","_BorderRadius":7.03,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,50.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(247,247,247)","_Padding":"lively.rect(0,0,0,0)"},"421":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":422},{"__isSmartRef__":true,"id":423},{"__isSmartRef__":true,"id":424},{"__isSmartRef__":true,"id":425},{"__isSmartRef__":true,"id":426},{"__isSmartRef__":true,"id":427},{"__isSmartRef__":true,"id":428},{"__isSmartRef__":true,"id":429},{"__isSmartRef__":true,"id":430},{"__isSmartRef__":true,"id":431},{"__isSmartRef__":true,"id":432},{"__isSmartRef__":true,"id":433},{"__isSmartRef__":true,"id":434},{"__isSmartRef__":true,"id":435},{"__isSmartRef__":true,"id":436},{"__isSmartRef__":true,"id":437},{"__isSmartRef__":true,"id":438},{"__isSmartRef__":true,"id":439},{"__isSmartRef__":true,"id":440}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"422":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"423":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"424":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"425":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"426":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"427":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"428":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"429":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"430":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"431":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"432":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"433":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"434":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"435":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"436":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"437":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"438":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"439":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"440":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"441":{"morph":{"__isSmartRef__":true,"id":392},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"442":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":443}},"443":{"test01IsMorph":{"__isSmartRef__":true,"id":444}},"444":{"varMapping":{"__isSmartRef__":true,"id":445},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":446},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"445":{"this":{"__isSmartRef__":true,"id":442}},"446":{},"447":{"submorphs":[{"__isSmartRef__":true,"id":448}],"scripts":[],"shape":{"__isSmartRef__":true,"id":453},"eventHandler":{"__isSmartRef__":true,"id":454},"_ClipMode":"visible","derivationIds":["EC7EBB28-54AE-4244-80ED-3E13650F82B7","9FD2DCE2-B997-4536-B2A5-90D7DD92B3E6","0D8CC908-BD1C-4062-BB03-3FCEB910483D"],"id":"2D6C2E94-573A-464E-A8AC-7A06E0E64EA9","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":448},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":455}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"Button","partsBinMetaInfo":{"__isSmartRef__":true,"id":457},"pinSpecs":[{"__isSmartRef__":true,"id":465}],"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"isCopyMorphRef":true,"morphRefId":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":466},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(414.0,30.0)","distanceToDragEvent":"lively.pt(74.0,7.0)"},"448":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":449},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":450}],"eventHandler":{"__isSmartRef__":true,"id":452},"_ClipMode":"hidden","derivationIds":["7884E73F-0D17-44B3-907F-44A5223F1F3D","444B63A6-D9E7-4AB2-AB57-4A9146C18BFF","08999E10-CCC3-4CAB-99BC-4EF500309EC4"],"id":"25D04998-727B-4546-8E55-26B11C8512F3","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":447},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"showsHalos":false,"eventsAreDisabled":true,"_PointerEvents":"none","__serializedExpressions__":["_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"449":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"450":{"style":{"__isSmartRef__":true,"id":451},"chunkOwner":{"__isSmartRef__":true,"id":448},"_id":"_325589","storedString":"Button","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"451":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"452":{"morph":{"__isSmartRef__":true,"id":448},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"453":{"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"454":{"morph":{"__isSmartRef__":true,"id":447},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"455":{"sourceObj":{"__isSmartRef__":true,"id":447},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":447},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":456},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"456":{"source":{"__isSmartRef__":true,"id":447},"target":{"__isSmartRef__":true,"id":447}},"457":{"partName":"Button","requiredModules":[],"partsSpaceName":"PartsBin/Inputs/","comment":"A simple button that calls a method #doAction when pressed.","changes":[{"__isSmartRef__":true,"id":458},{"__isSmartRef__":true,"id":459},{"__isSmartRef__":true,"id":460},{"__isSmartRef__":true,"id":461},{"__isSmartRef__":true,"id":462},{"__isSmartRef__":true,"id":463},{"__isSmartRef__":true,"id":464}],"migrationLevel":7,"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Tue Jul 23 2013 23:21:11 GMT-0700 (PDT)\")"},"458":{"author":"Dan","message":"no comment","id":"CFEC4071-14FF-4AEB-A399-197884CD18BF","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 17 2013 10:24:50 GMT-0700 (PDT)\")"},"459":{"author":"Dan","message":"no comment","id":"A594459F-DA9B-49DD-A105-547B3F613CC5","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 17 2013 10:22:38 GMT-0700 (PDT)\")"},"460":{"author":"robertkrahn","message":"no comment","id":"BB2EA501-D9AF-414B-A035-E1487DA6F0FD","__serializedExpressions__":["date"],"date":"new Date(\"Tue Apr 30 2013 20:36:30 GMT-0700 (PDT)\")"},"461":{"author":"robertkrahn","message":"no comment","id":"811BDE87-D8DD-48BB-97B2-7A3C3F3FAE32","__serializedExpressions__":["date"],"date":"new Date(\"Tue Apr 30 2013 20:35:59 GMT-0700 (PDT)\")"},"462":{"author":"robertkrahn","message":"test","id":"ACA617B4-0416-4E3C-9F4D-171A40F44F0F","__serializedExpressions__":["date"],"date":"new Date(\"Tue Apr 30 2013 20:34:25 GMT-0700 (PDT)\")"},"463":{"author":"robertkrahn","message":"no comment","id":"9B8B6BE4-4519-4A6C-8F47-70DE61BBB0FB","__serializedExpressions__":["date"],"date":"new Date(\"Tue Dec 11 2012 13:53:16 GMT-0800 (PST)\")"},"464":{"author":null,"message":"no comment","id":"F8B70225-5143-4A51-ABB4-344B488B3811","__serializedExpressions__":["date"],"date":"new Date(\"Tue Dec 11 2012 13:15:42 GMT-0800 (PST)\")"},"465":{"pinName":"fire","modality":"output","type":"Boolean","accessor":"fire","location":1.5},"466":{"doAction":{"__isSmartRef__":true,"id":467}},"467":{"varMapping":{"__isSmartRef__":true,"id":468},"source":"function doAction() {\n    \n}","funcProperties":{"__isSmartRef__":true,"id":469},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"468":{"this":{"__isSmartRef__":true,"id":447}},"469":{"user":"undefined","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Dec 11 2012 13:14:29 GMT-0800 (PST)\")"},"470":{"onMouseDown":{"__isSmartRef__":true,"id":471},"setDockOwner":{"__isSmartRef__":true,"id":478},"initPrototype":{"__isSmartRef__":true,"id":481}},"471":{"varMapping":{"__isSmartRef__":true,"id":472},"source":"function onMouseDown(evt) {\n    var newMorph = this.prototypeMorph.copy();\n    var dockOwner = $world;\n    if (this.owner && this.owner.owner) {\n        dockOwner = this.owner.owner;\n    } \n    dockOwner.addMorph(newMorph);\n    newMorph.setPosition(pt(10,10))\n}","funcProperties":{"__isSmartRef__":true,"id":477},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"472":{"this":{"__isSmartRef__":true,"id":392},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":473}},"473":{"$super":{"__isSmartRef__":true,"id":474}},"474":{"varMapping":{"__isSmartRef__":true,"id":475},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":476},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"475":{"obj":{"__isSmartRef__":true,"id":392},"name":"onMouseDown"},"476":{},"477":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:12:32 GMT-0700 (PDT)\")"},"478":{"varMapping":{"__isSmartRef__":true,"id":479},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":480},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"479":{"this":{"__isSmartRef__":true,"id":392}},"480":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"481":{"varMapping":{"__isSmartRef__":true,"id":482},"source":"function initPrototype() {\n    this.removeAllMorphs()\n    this.prototypeMorph = $world.get('Button');\n    this.prototypeMorph.show();\n    var iconMorph = this.prototypeMorph.copy();\n    this.addMorph(iconMorph);\n    iconMorph.setExtent(pt(46,46));\n    iconMorph.setPosition(pt(2,2));\n    iconMorph.disableGrabbing()\n    iconMorph.disableDragging()\n    iconMorph.disableDropping()\n    iconMorph.relayMouseEventsToMorphBeneath()\n    iconMorph.disableHalos()\n    \n}","funcProperties":{"__isSmartRef__":true,"id":483},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"482":{"this":{"__isSmartRef__":true,"id":392}},"483":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:43:53 GMT-0700 (PDT)\")"},"484":{"submorphs":[{"__isSmartRef__":true,"id":485}],"scripts":[],"id":"C668AAE5-74EC-4098-B422-7253B8475DFE","shape":{"__isSmartRef__":true,"id":594},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem6","partsBinMetaInfo":{"__isSmartRef__":true,"id":595},"eventHandler":{"__isSmartRef__":true,"id":615},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975","AE728811-FEB4-44BD-BF8F-40F9859880E7","9D9E126A-0340-4CB2-B1A7-2060A1F8ABA7"],"partTests":{"__isSmartRef__":true,"id":616},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":621},"__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"_ToolTip":"Pen","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":726},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,55.0)"},"485":{"submorphs":[],"scripts":[],"id":"1CA12A09-3D8C-4C23-BF9D-15579734AC27","shape":{"__isSmartRef__":true,"id":486},"droppingEnabled":false,"halosEnabled":false,"eventHandler":{"__isSmartRef__":true,"id":491},"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":496},{"__isSmartRef__":true,"id":497},{"__isSmartRef__":true,"id":498},{"__isSmartRef__":true,"id":499}],"layout":{"__isSmartRef__":true,"id":500},"name":"Pen1","partsBinMetaInfo":{"__isSmartRef__":true,"id":501},"derivationIds":[147,"1C3C008B-8212-44B2-AD73-60A48F06CD6A","EE3B27B8-84C6-4C19-A73C-534A6C1746E9","7E928C44-55BD-4F0B-BD4D-E973373DE6D4","BB8D4BEC-22FA-4AED-B658-8B5D36577570"],"_ClipMode":"visible","moved":true,"isBeingDragged":false,"__serializedExpressions__":["endPoints.0","endPoints.1","endPoints.2","endPoints.3","endPoints.4","endPoints.5","endPoints.6","endPoints.7","endPoints.8","endPoints.9","endPoints.10","endPoints.11","endPoints.12","endPoints.13","endPoints.14","endPoints.15","endPoints.16","endPoints.17","endPoints.18","endPoints.19","endPoints.20","endPoints.21","endPoints.22","endPoints.23","endPoints.24","endPoints.25","endPoints.26","endPoints.27","endPoints.28","endPoints.29","endPoints.30","endPoints.31","endPoints.32","endPoints.33","endPoints.34","endPoints.35","endPoints.36","endPoints.37","endPoints.38","endPoints.39","endPoints.40","endPoints.41","endPoints.42","endPoints.43","endPoints.44","endPoints.45","endPoints.46","endPoints.47","endPoints.48","endPoints.49","endPoints.50","endPoints.51","endPoints.52","endPoints.53","endPoints.54","endPoints.55","_Position","location","startingLocation","penColor","hitPoint"],"endPoints":["lively.pt(481.0,401.0)","lively.pt(466.0,401.0)","lively.pt(448.0,401.0)","lively.pt(422.0,401.0)","lively.pt(388.0,401.0)","lively.pt(356.0,401.0)","lively.pt(329.0,401.0)","lively.pt(316.0,401.0)","lively.pt(300.0,401.0)","lively.pt(292.0,401.0)","lively.pt(288.0,401.0)","lively.pt(285.0,401.0)","lively.pt(283.0,401.0)","lively.pt(282.0,401.0)","lively.pt(281.0,401.0)","lively.pt(277.0,401.0)","lively.pt(273.0,401.0)","lively.pt(270.0,401.0)","lively.pt(267.0,403.0)","lively.pt(265.0,404.0)","lively.pt(265.0,405.0)","lively.pt(264.0,405.0)","lively.pt(263.0,406.0)","lively.pt(262.0,406.0)","lively.pt(261.0,408.0)","lively.pt(261.0,409.0)","lively.pt(260.0,414.0)","lively.pt(255.0,423.0)","lively.pt(251.0,430.0)","lively.pt(245.0,437.0)","lively.pt(241.0,442.0)","lively.pt(239.0,446.0)","lively.pt(237.0,447.0)","lively.pt(237.0,448.0)","lively.pt(234.0,452.0)","lively.pt(228.0,462.0)","lively.pt(220.0,477.0)","lively.pt(215.0,485.0)","lively.pt(210.0,494.0)","lively.pt(208.0,496.0)","lively.pt(207.0,498.0)","lively.pt(207.0,497.0)","lively.pt(207.0,496.0)","lively.pt(206.0,496.0)","lively.pt(206.0,495.0)","lively.pt(205.0,495.0)","lively.pt(205.0,494.0)","lively.pt(203.0,494.0)","lively.pt(202.0,493.0)","lively.pt(201.0,493.0)","lively.pt(201.0,491.0)","lively.pt(199.0,490.0)","lively.pt(198.0,489.0)","lively.pt(197.0,487.0)","lively.pt(196.0,487.0)","lively.pt(194.0,487.0)"],"showingAllMoves":true,"lineInProgress":null,"penWidth":2,"worldPts":null,"fillColor":null,"heading":0,"owner":{"__isSmartRef__":true,"id":484},"grabbingEnabled":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9992916708551148,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":506},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(65.0,45.0)","location":"lively.pt(194.0,487.0)","startingLocation":"lively.pt(481.0,401.0)","penColor":"Color.rgb(204,0,0)","hitPoint":"lively.pt(250.0,362.0)"},"486":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":487},{"__isSmartRef__":true,"id":488},{"__isSmartRef__":true,"id":489},{"__isSmartRef__":true,"id":490}],"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-46.0,-25.1)","_Extent":"lively.pt(21.0,11.0)","_BorderColor":"Color.rgb(66,66,66)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(204,0,0)"},"487":{"isAbsolute":true,"x":-25.000000000000007,"y":-19.09090909090909,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"488":{"isAbsolute":true,"x":-45.00000000000001,"y":-14.09090909090909,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"489":{"isAbsolute":true,"x":-45.00000000000001,"y":-24.09090909090909,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"490":{"isAbsolute":true,"x":-25.000000000000007,"y":-19.09090909090909,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"491":{"morph":{"__isSmartRef__":true,"id":485},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":492},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"492":{"relayFunc":{"__isSmartRef__":true,"id":493}},"493":{"varMapping":{"__isSmartRef__":true,"id":494},"source":"function relayToMorphBeneath(evt, target) {\n                if (evt.isCommandKey()) return false;\n                var morphBeneath = target.morphBeneath(evt.getPosition());\n                morphBeneath && morphBeneath.triggerEvent(evt);\n                return true;\n            }","funcProperties":{"__isSmartRef__":true,"id":495},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"494":{},"495":{},"496":{"morph":{"__isSmartRef__":true,"id":485},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"497":{"morph":{"__isSmartRef__":true,"id":485},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"498":{"morph":{"__isSmartRef__":true,"id":485},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"499":{"morph":{"__isSmartRef__":true,"id":485},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"500":{},"501":{"partName":"Pen","requiredModules":[],"migrationLevel":8,"partsSpaceName":"PartsBin/Basic/","comment":"This is a classic implementation of turtle graphics in HTML.  As it draws lines using go() and turn() it makes a list of lines,  drawLines() will them make the drawing visible.  I haven't implemented penuUp/penDown.\n\nA number of examples are in /testing/\nNote you can drag a pen to make a squiggle drawing","changes":[{"__isSmartRef__":true,"id":502},{"__isSmartRef__":true,"id":503},{"__isSmartRef__":true,"id":504},{"__isSmartRef__":true,"id":505}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Sat Feb 08 2014 16:06:40 GMT-0800 (PST)\")"},"502":{"author":"Dan","message":"no comment","id":"758F1776-7F0E-4FBD-921A-051F1A8066D5","__serializedExpressions__":["date"],"date":"new Date(\"Sat Feb 08 2014 16:06:37 GMT-0800 (PST)\")"},"503":{"author":"Dan","message":"no comment","id":"E1CBE899-6925-4B31-86C4-99BE3C465F2A","__serializedExpressions__":["date"],"date":"new Date(\"Sat Feb 08 2014 16:05:39 GMT-0800 (PST)\")"},"504":{"author":"Dan","message":"added makeWorldTracks for embedding on windmills ;-)","id":"03D53DD9-5719-4205-94B6-856ABF4F4626","__serializedExpressions__":["date"],"date":"new Date(\"Tue Apr 16 2013 16:02:49 GMT-0700 (PDT)\")"},"505":{"author":"Dan","message":"no comment","id":"A507117B-A57C-4CE1-966A-403BE34D176A","__serializedExpressions__":["date"],"date":"new Date(\"Tue Apr 16 2013 14:34:31 GMT-0700 (PDT)\")"},"506":{"aboutMe":{"__isSmartRef__":true,"id":507},"drawLines":{"__isSmartRef__":true,"id":510},"filbert":{"__isSmartRef__":true,"id":513},"filberts":{"__isSmartRef__":true,"id":516},"fillLines":{"__isSmartRef__":true,"id":519},"go":{"__isSmartRef__":true,"id":522},"hilbert":{"__isSmartRef__":true,"id":525},"newLine":{"__isSmartRef__":true,"id":528},"reset":{"__isSmartRef__":true,"id":531},"setPenColor":{"__isSmartRef__":true,"id":534},"setPenWidth":{"__isSmartRef__":true,"id":537},"spiral":{"__isSmartRef__":true,"id":540},"testing":{"__isSmartRef__":true,"id":543},"turn":{"__isSmartRef__":true,"id":546},"yetToDo":{"__isSmartRef__":true,"id":549},"showAllMoves":{"__isSmartRef__":true,"id":552},"showState":{"__isSmartRef__":true,"id":555},"drawLineSoFar":{"__isSmartRef__":true,"id":558},"dragon":{"__isSmartRef__":true,"id":561},"goto":{"__isSmartRef__":true,"id":564},"onDrag":{"__isSmartRef__":true,"id":567},"onDragStart":{"__isSmartRef__":true,"id":574},"onDragEnd":{"__isSmartRef__":true,"id":581},"makeTracks":{"__isSmartRef__":true,"id":588},"makeWorldTracks":{"__isSmartRef__":true,"id":591}},"507":{"varMapping":{"__isSmartRef__":true,"id":508},"source":"function aboutMe() {\n    // This is a classic implementation of turtle graphics in HTML\n    // As it draws lines using go() and turn() it makes a list of lines\n    // drawLines() will them make the drawing visible\n    // I haven't implemented penuUp/penDown\n    // A number of examples are in /testing/\n    // Note you can drag a pen to make a squiggle drawing\n}","funcProperties":{"__isSmartRef__":true,"id":509},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"508":{"this":{"__isSmartRef__":true,"id":485}},"509":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 16 2013 14:31:01 GMT-0700 (PDT)\")"},"510":{"varMapping":{"__isSmartRef__":true,"id":511},"source":"function drawLines() {\n    if (this.lineInProgress) this.lineInProgress.remove();\n    this.lineInProgress = null;\n    if (this.fillColor) \n        var morph = lively.morphic.Morph.makePolygon(this.endPoints, this.penWidth, this.penColor, this.fillColor);\n    else \n        var morph = lively.morphic.Morph.makeLine(this.endPoints, this.penWidth, this.penColor);\n\n    if (this.owner) this.owner.addMorph(morph);\n    else $world.addMorph(morph);\n    this.showState();\n    return morph;\n}","funcProperties":{"__isSmartRef__":true,"id":512},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"511":{"this":{"__isSmartRef__":true,"id":485}},"512":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 12:00:57 GMT-0700 (PDT)\")"},"513":{"varMapping":{"__isSmartRef__":true,"id":514},"source":"function filbert(n, s, color) {\n    // Two Hilbert curves form a Hilbert tile\n    this.newLine();  \n    this.setPenColor(Color.black); \n    this.setPenWidth(1);\n    this.hilbert(n, s); \n    this.go(s);\n    this.hilbert(n, s); \n    this.go(s);\n    if (color) this.fillLines(color);\n        else this.drawLines()\n    return this\n}","funcProperties":{"__isSmartRef__":true,"id":515},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"514":{"this":{"__isSmartRef__":true,"id":485}},"515":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Feb 08 2014 15:57:26 GMT-0800 (PST)\")"},"516":{"varMapping":{"__isSmartRef__":true,"id":517},"source":"function filberts(n, s) {\n    // Four interlocking filberts\n    var n2 = Math.pow(2,n-1);\n    var morphs = [ ];\n\n    for (var i = 0; i < 4; i++) {\n        morphs.push(this.filbert(n, s, Color.wheel(4)[i]));\n        this.go((n2 - 1)*s); \n        this.turn(-90); \n        this.go(n2 * s); \n        this.turn(180);\n    }\n    return morphs; \n}","funcProperties":{"__isSmartRef__":true,"id":518},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"517":{"this":{"__isSmartRef__":true,"id":485}},"518":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 15:07:43 GMT-0700 (PDT)\")"},"519":{"varMapping":{"__isSmartRef__":true,"id":520},"source":"function fillLines(color) {\n    this.fillColor = color; \n    return this.drawLines();\n}","funcProperties":{"__isSmartRef__":true,"id":521},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"520":{"this":{"__isSmartRef__":true,"id":485}},"521":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 15:07:43 GMT-0700 (PDT)\")"},"522":{"varMapping":{"__isSmartRef__":true,"id":523},"source":"function go(dist) {\n    var newPoint = this.location.addPt(Point.polar(dist, this.heading.toRadians()));\n    return this.goto(newPoint)\n}","funcProperties":{"__isSmartRef__":true,"id":524},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"523":{"this":{"__isSmartRef__":true,"id":485}},"524":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:17:43 GMT-0700 (PDT)\")"},"525":{"varMapping":{"__isSmartRef__":true,"id":526},"source":"function hilbert(n, s) {\n      // Draw an nth level Hilbert curve with side length s.\n    if (n == 0) \n        return this.turn(180);\n\n    if (n > 0) { \n        var a = 90;  \n        var m = n - 1; \n    } else { \n        var a = -90;  \n        var m = n + 1; \n    }\n    \n    this.turn(a); \n    this.hilbert(0 - m, s);\n    this.turn(a); \n    this.go(s); \n    this.hilbert(m, s);\n    this.turn(0 - a); \n    this.go(s); \n    this.turn(0 - a); \n    this.hilbert(m, s);\n    this.go(s); \n    this.turn(a); \n    this.hilbert(0 - m, s);\n    this.turn(a);\n    return this;\n}","funcProperties":{"__isSmartRef__":true,"id":527},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"526":{"this":{"__isSmartRef__":true,"id":485}},"527":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Feb 08 2014 15:59:30 GMT-0800 (PST)\")"},"528":{"varMapping":{"__isSmartRef__":true,"id":529},"source":"function newLine(loc) {\n    this.startingLocation = loc ? loc : this.location;\n    this.endPoints = [ this.startingLocation ];\n}","funcProperties":{"__isSmartRef__":true,"id":530},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"529":{"this":{"__isSmartRef__":true,"id":485}},"530":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 22:16:29 GMT-0700 (PDT)\")"},"531":{"varMapping":{"__isSmartRef__":true,"id":532},"source":"function reset(loc) {  // this.reset()\n    this.location = (loc !== undefined) ? loc\n            : pt(500, 400);\n    this.penWidth = 2;\n    this.penColor = Color.red;\n    this.fillColor = null;\n    this.heading = 0;\n    this.showingAllMoves = false;\n    this.newLine(this.location);\n    this.showState();\n    return this \n }","funcProperties":{"__isSmartRef__":true,"id":533},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"532":{"this":{"__isSmartRef__":true,"id":485}},"533":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:19:20 GMT-0700 (PDT)\")"},"534":{"varMapping":{"__isSmartRef__":true,"id":535},"source":"function setPenColor(color) {\n    this.penColor = color;\n    if (this.showingAllMoves) this.setFill(color);\n}","funcProperties":{"__isSmartRef__":true,"id":536},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"535":{"this":{"__isSmartRef__":true,"id":485}},"536":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 21:21:31 GMT-0700 (PDT)\")"},"537":{"varMapping":{"__isSmartRef__":true,"id":538},"source":"function setPenWidth(size) {\n    this.penWidth = size;\n}","funcProperties":{"__isSmartRef__":true,"id":539},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"538":{"this":{"__isSmartRef__":true,"id":485}},"539":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 15:07:43 GMT-0700 (PDT)\")"},"540":{"varMapping":{"__isSmartRef__":true,"id":541},"source":"function spiral(n, angle, color, d) { // this.copy().reset().spiral(50, 91)\n    if (!n) n = 100;\n    if (!angle) angle = 89;\n    if (!color) color = Color.red;\n    if (!d) d = 2;\n    this.reset();\n    this.setPenColor(color);\n    for (var i=1; i<=n; i++) {\n        this.go(d*i); this.turn(angle); };\n    return this.drawLines();\n}","funcProperties":{"__isSmartRef__":true,"id":542},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"541":{"this":{"__isSmartRef__":true,"id":485}},"542":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 15:07:43 GMT-0700 (PDT)\")"},"543":{"varMapping":{"__isSmartRef__":true,"id":544},"source":"function testing() {\n    // this.show();\n    // this.copy().reset().spiral(50, 91)\n    // this.copy().reset().openInWorld().showAllMoves(true).go(50).turn(45).go(50)\n    // this.copy().reset().hilbert(2,10).drawLines();\n    // this.copy().reset().filbert(2,10);\n    // this.copy().reset().filbert(2,10, Color.yellow);\n    // this.copy().reset().filberts(2,10);\n    // this.copy().reset().dragon(8,10).drawLines()\n}","funcProperties":{"__isSmartRef__":true,"id":545},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"544":{"this":{"__isSmartRef__":true,"id":485}},"545":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Feb 08 2014 16:05:56 GMT-0800 (PST)\")"},"546":{"varMapping":{"__isSmartRef__":true,"id":547},"source":"function turn(degrees) {\n    this.heading += degrees; \n    if (this.showingAllMoves) this.setRotation(this.heading.toRadians());\n    return this;\n}","funcProperties":{"__isSmartRef__":true,"id":548},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"547":{"this":{"__isSmartRef__":true,"id":485}},"548":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 21:54:19 GMT-0700 (PDT)\")"},"549":{"varMapping":{"__isSmartRef__":true,"id":550},"source":"function yetToDo() {\n    // [X] Make a triangle morph shape showing heading\n    // [X] Add .showAllMoves for visible actions\n    // [X] Cause the morph to show itself after every drawLines or reset\n    // [X] Make setLocation, heading and fillColor into methods that\n    //        update the morph - show morph color as border or fill\n    // [ ] Implement penUp, penDown by use of drawLines, setPosition\n    // [ ] Write a squiggle program\n    // [ ] Make a kaleidoscopic squiggle using makeCommander\n}","funcProperties":{"__isSmartRef__":true,"id":551},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"550":{"this":{"__isSmartRef__":true,"id":485}},"551":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:10:19 GMT-0700 (PDT)\")"},"552":{"varMapping":{"__isSmartRef__":true,"id":553},"source":"function showAllMoves(whetherOrNot) {\n    // Cause the Pen to be shown during line drawing.\n    // Sadly this doesn't work well for, eg, designs, \n    // but you can do things like\n    // this.copy().reset().openInWorld().showAllMoves(true).go(50).turn(45).go(50)\n    // and if you do, eg, go(120) in an inspector of that pen, \n    // you will see the line drawn and the pen move\n    this.showingAllMoves = whetherOrNot;\n    if(whetherOrNot) this.showState();\n    return this;\n}","funcProperties":{"__isSmartRef__":true,"id":554},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"553":{"this":{"__isSmartRef__":true,"id":485}},"554":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 10:54:43 GMT-0700 (PDT)\")"},"555":{"varMapping":{"__isSmartRef__":true,"id":556},"source":"function showState() {\n    this.setRotation((this.heading || 0).toRadians());\n    this.setFill(this.penColor);\n    this.setPosition(this.location)\n}","funcProperties":{"__isSmartRef__":true,"id":557},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"556":{"this":{"__isSmartRef__":true,"id":485}},"557":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:42:28 GMT-0700 (PDT)\")"},"558":{"varMapping":{"__isSmartRef__":true,"id":559},"source":"function drawLineSoFar() {\n    if (this.lineInProgress) this.lineInProgress.remove();\n    this.lineInProgress = lively.morphic.Morph.makeLine(this.endPoints, this.penWidth, this.penColor);\ndebugger;\n    if (this.owner) this.owner.addMorph(this.lineInProgress);\n    else $world.addMorph(this.lineInProgress);\n    this.setPosition(this.location)\n}","funcProperties":{"__isSmartRef__":true,"id":560},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"559":{"this":{"__isSmartRef__":true,"id":485}},"560":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:58:45 GMT-0700 (PDT)\")"},"561":{"varMapping":{"__isSmartRef__":true,"id":562},"source":"function dragon(n, d) { // this.copy().reset().dragon(8,10).drawLines()\n    if (n==0) {return this.go(d); return this}\n    if (n>0) return this.dragon(n-1, d).turn(90).dragon(-(n-1), d);\n        else return this.dragon(-(n+1), d).turn(-90).dragon(n+1, d);\n}","funcProperties":{"__isSmartRef__":true,"id":563},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"562":{"this":{"__isSmartRef__":true,"id":485}},"563":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 20 2013 15:30:20 GMT-0700 (PDT)\")"},"564":{"varMapping":{"__isSmartRef__":true,"id":565},"source":"function goto(newPoint) {\n    this.location = newPoint;\n    this.endPoints.push(this.location);\n    if (this.showingAllMoves) this.drawLineSoFar();\n    return this;\n}","funcProperties":{"__isSmartRef__":true,"id":566},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"565":{"this":{"__isSmartRef__":true,"id":485}},"566":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:15:33 GMT-0700 (PDT)\")"},"567":{"varMapping":{"__isSmartRef__":true,"id":568},"source":"function onDrag(evt) {\n    this.goto(evt.getPosition());\n}","funcProperties":{"__isSmartRef__":true,"id":573},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"568":{"this":{"__isSmartRef__":true,"id":485},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":569}},"569":{"$super":{"__isSmartRef__":true,"id":570}},"570":{"varMapping":{"__isSmartRef__":true,"id":571},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":572},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"571":{"obj":{"__isSmartRef__":true,"id":485},"name":"onDrag"},"572":{},"573":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 12:33:03 GMT-0700 (PDT)\")"},"574":{"varMapping":{"__isSmartRef__":true,"id":575},"source":"function onDragStart(evt) {\n    this.location = evt.getPosition();\n    this.newLine();\n    this.showAllMoves(true);\n}","funcProperties":{"__isSmartRef__":true,"id":580},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"575":{"this":{"__isSmartRef__":true,"id":485},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":576}},"576":{"$super":{"__isSmartRef__":true,"id":577}},"577":{"varMapping":{"__isSmartRef__":true,"id":578},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":579},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"578":{"obj":{"__isSmartRef__":true,"id":485},"name":"onDragStart"},"579":{},"580":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 12:52:35 GMT-0700 (PDT)\")"},"581":{"varMapping":{"__isSmartRef__":true,"id":582},"source":"function onDragEnd(evt) {\n    this.drawLines();\n    this.owner.addMorph(this); // put me on top for grabbing again\n}","funcProperties":{"__isSmartRef__":true,"id":587},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"582":{"this":{"__isSmartRef__":true,"id":485},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":583}},"583":{"$super":{"__isSmartRef__":true,"id":584}},"584":{"varMapping":{"__isSmartRef__":true,"id":585},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":586},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"585":{"obj":{"__isSmartRef__":true,"id":485},"name":"onDragEnd"},"586":{},"587":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 12:59:07 GMT-0700 (PDT)\")"},"588":{"varMapping":{"__isSmartRef__":true,"id":589},"source":"function makeTracks() {\n    // this.showAllMoves()\n    // This method allows drawing tracks in the world\n    // It resets the polyline at the end of every 100 segments\n}","funcProperties":{"__isSmartRef__":true,"id":590},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"589":{"this":{"__isSmartRef__":true,"id":485}},"590":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 16 2013 14:54:07 GMT-0700 (PDT)\")"},"591":{"varMapping":{"__isSmartRef__":true,"id":592},"source":"function makeWorldTracks() {\n    // this.startStepping(300, \"makeWorldTracks\")\n    // this.stopStepping()\n    // this.worldPts = [this.worldPoint(pt(0, 0))];  // trim line\n\n    // This method allows drawing tracks in the world\n    // It trims the polyline at the end to 200 segments\n    if (!this.worldPts || this.worldPts.length > 200) this.worldPts.shift();\n    if (this.lineInProgress) this.lineInProgress.remove();\n    this.worldPts.push(this.worldPoint(pt(0, 0)));\n    this.lineInProgress = lively.morphic.Morph.makeLine(this.worldPts, this.penWidth, this.penColor);\n    if (this.world()) this.world().addMorph(this.lineInProgress);\n    else $world.addMorph(this.lineInProgress);\n}","funcProperties":{"__isSmartRef__":true,"id":593},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"592":{"this":{"__isSmartRef__":true,"id":485}},"593":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 16 2013 15:54:21 GMT-0700 (PDT)\")"},"594":{"_BorderWidth":2.036,"_ClipMode":"visible","_BorderRadius":7.03,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,50.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(247,247,247)","_Padding":"lively.rect(0,0,0,0)"},"595":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":596},{"__isSmartRef__":true,"id":597},{"__isSmartRef__":true,"id":598},{"__isSmartRef__":true,"id":599},{"__isSmartRef__":true,"id":600},{"__isSmartRef__":true,"id":601},{"__isSmartRef__":true,"id":602},{"__isSmartRef__":true,"id":603},{"__isSmartRef__":true,"id":604},{"__isSmartRef__":true,"id":605},{"__isSmartRef__":true,"id":606},{"__isSmartRef__":true,"id":607},{"__isSmartRef__":true,"id":608},{"__isSmartRef__":true,"id":609},{"__isSmartRef__":true,"id":610},{"__isSmartRef__":true,"id":611},{"__isSmartRef__":true,"id":612},{"__isSmartRef__":true,"id":613},{"__isSmartRef__":true,"id":614}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"596":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"597":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"598":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"599":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"600":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"601":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"602":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"603":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"604":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"605":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"606":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"607":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"608":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"609":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"610":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"611":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"612":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"613":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"614":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"615":{"morph":{"__isSmartRef__":true,"id":484},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"616":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":617}},"617":{"test01IsMorph":{"__isSmartRef__":true,"id":618}},"618":{"varMapping":{"__isSmartRef__":true,"id":619},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":620},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"619":{"this":{"__isSmartRef__":true,"id":616}},"620":{},"621":{"submorphs":[],"scripts":[],"id":"BB8D4BEC-22FA-4AED-B658-8B5D36577570","shape":{"__isSmartRef__":true,"id":622},"droppingEnabled":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":627},"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":628},{"__isSmartRef__":true,"id":629},{"__isSmartRef__":true,"id":630},{"__isSmartRef__":true,"id":631}],"layout":{"__isSmartRef__":true,"id":632},"name":"Pen","partsBinMetaInfo":{"__isSmartRef__":true,"id":633},"derivationIds":[147,"1C3C008B-8212-44B2-AD73-60A48F06CD6A","EE3B27B8-84C6-4C19-A73C-534A6C1746E9","7E928C44-55BD-4F0B-BD4D-E973373DE6D4"],"_ClipMode":"visible","moved":true,"isBeingDragged":false,"__serializedExpressions__":["endPoints.0","endPoints.1","endPoints.2","endPoints.3","endPoints.4","endPoints.5","endPoints.6","endPoints.7","endPoints.8","endPoints.9","endPoints.10","endPoints.11","endPoints.12","endPoints.13","endPoints.14","endPoints.15","endPoints.16","endPoints.17","endPoints.18","endPoints.19","endPoints.20","endPoints.21","endPoints.22","endPoints.23","endPoints.24","endPoints.25","endPoints.26","endPoints.27","endPoints.28","endPoints.29","endPoints.30","endPoints.31","endPoints.32","endPoints.33","endPoints.34","endPoints.35","endPoints.36","endPoints.37","endPoints.38","endPoints.39","endPoints.40","endPoints.41","endPoints.42","endPoints.43","endPoints.44","endPoints.45","endPoints.46","endPoints.47","endPoints.48","endPoints.49","endPoints.50","endPoints.51","endPoints.52","endPoints.53","endPoints.54","endPoints.55","_Position","location","startingLocation","penColor","hitPoint"],"endPoints":["lively.pt(481.0,401.0)","lively.pt(466.0,401.0)","lively.pt(448.0,401.0)","lively.pt(422.0,401.0)","lively.pt(388.0,401.0)","lively.pt(356.0,401.0)","lively.pt(329.0,401.0)","lively.pt(316.0,401.0)","lively.pt(300.0,401.0)","lively.pt(292.0,401.0)","lively.pt(288.0,401.0)","lively.pt(285.0,401.0)","lively.pt(283.0,401.0)","lively.pt(282.0,401.0)","lively.pt(281.0,401.0)","lively.pt(277.0,401.0)","lively.pt(273.0,401.0)","lively.pt(270.0,401.0)","lively.pt(267.0,403.0)","lively.pt(265.0,404.0)","lively.pt(265.0,405.0)","lively.pt(264.0,405.0)","lively.pt(263.0,406.0)","lively.pt(262.0,406.0)","lively.pt(261.0,408.0)","lively.pt(261.0,409.0)","lively.pt(260.0,414.0)","lively.pt(255.0,423.0)","lively.pt(251.0,430.0)","lively.pt(245.0,437.0)","lively.pt(241.0,442.0)","lively.pt(239.0,446.0)","lively.pt(237.0,447.0)","lively.pt(237.0,448.0)","lively.pt(234.0,452.0)","lively.pt(228.0,462.0)","lively.pt(220.0,477.0)","lively.pt(215.0,485.0)","lively.pt(210.0,494.0)","lively.pt(208.0,496.0)","lively.pt(207.0,498.0)","lively.pt(207.0,497.0)","lively.pt(207.0,496.0)","lively.pt(206.0,496.0)","lively.pt(206.0,495.0)","lively.pt(205.0,495.0)","lively.pt(205.0,494.0)","lively.pt(203.0,494.0)","lively.pt(202.0,493.0)","lively.pt(201.0,493.0)","lively.pt(201.0,491.0)","lively.pt(199.0,490.0)","lively.pt(198.0,489.0)","lively.pt(197.0,487.0)","lively.pt(196.0,487.0)","lively.pt(194.0,487.0)"],"showingAllMoves":true,"lineInProgress":null,"penWidth":2,"worldPts":null,"fillColor":null,"heading":0,"_Rotation":0,"_Scale":0.9992916708551148,"isCopyMorphRef":true,"morphRefId":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":638},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(111.0,624.0)","location":"lively.pt(194.0,487.0)","startingLocation":"lively.pt(481.0,401.0)","penColor":"Color.rgb(204,0,0)","hitPoint":"lively.pt(250.0,362.0)"},"622":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":623},{"__isSmartRef__":true,"id":624},{"__isSmartRef__":true,"id":625},{"__isSmartRef__":true,"id":626}],"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-21.0,-6.0)","_Extent":"lively.pt(21.0,11.0)","_BorderColor":"Color.rgb(66,66,66)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(204,0,0)"},"623":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"624":{"isAbsolute":true,"x":-20,"y":5,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"625":{"isAbsolute":true,"x":-20,"y":-5,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"626":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"627":{"morph":{"__isSmartRef__":true,"id":621},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"628":{"morph":{"__isSmartRef__":true,"id":621},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"629":{"morph":{"__isSmartRef__":true,"id":621},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"630":{"morph":{"__isSmartRef__":true,"id":621},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"631":{"morph":{"__isSmartRef__":true,"id":621},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"632":{},"633":{"partName":"Pen","requiredModules":[],"migrationLevel":8,"partsSpaceName":"PartsBin/Basic/","comment":"This is a classic implementation of turtle graphics in HTML.  As it draws lines using go() and turn() it makes a list of lines,  drawLines() will them make the drawing visible.  I haven't implemented penuUp/penDown.\n\nA number of examples are in /testing/\nNote you can drag a pen to make a squiggle drawing","changes":[{"__isSmartRef__":true,"id":634},{"__isSmartRef__":true,"id":635},{"__isSmartRef__":true,"id":636},{"__isSmartRef__":true,"id":637}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Sat Feb 08 2014 16:06:40 GMT-0800 (PST)\")"},"634":{"author":"Dan","message":"no comment","id":"758F1776-7F0E-4FBD-921A-051F1A8066D5","__serializedExpressions__":["date"],"date":"new Date(\"Sat Feb 08 2014 16:06:37 GMT-0800 (PST)\")"},"635":{"author":"Dan","message":"no comment","id":"E1CBE899-6925-4B31-86C4-99BE3C465F2A","__serializedExpressions__":["date"],"date":"new Date(\"Sat Feb 08 2014 16:05:39 GMT-0800 (PST)\")"},"636":{"author":"Dan","message":"added makeWorldTracks for embedding on windmills ;-)","id":"03D53DD9-5719-4205-94B6-856ABF4F4626","__serializedExpressions__":["date"],"date":"new Date(\"Tue Apr 16 2013 16:02:49 GMT-0700 (PDT)\")"},"637":{"author":"Dan","message":"no comment","id":"A507117B-A57C-4CE1-966A-403BE34D176A","__serializedExpressions__":["date"],"date":"new Date(\"Tue Apr 16 2013 14:34:31 GMT-0700 (PDT)\")"},"638":{"aboutMe":{"__isSmartRef__":true,"id":639},"drawLines":{"__isSmartRef__":true,"id":642},"filbert":{"__isSmartRef__":true,"id":645},"filberts":{"__isSmartRef__":true,"id":648},"fillLines":{"__isSmartRef__":true,"id":651},"go":{"__isSmartRef__":true,"id":654},"hilbert":{"__isSmartRef__":true,"id":657},"newLine":{"__isSmartRef__":true,"id":660},"reset":{"__isSmartRef__":true,"id":663},"setPenColor":{"__isSmartRef__":true,"id":666},"setPenWidth":{"__isSmartRef__":true,"id":669},"spiral":{"__isSmartRef__":true,"id":672},"testing":{"__isSmartRef__":true,"id":675},"turn":{"__isSmartRef__":true,"id":678},"yetToDo":{"__isSmartRef__":true,"id":681},"showAllMoves":{"__isSmartRef__":true,"id":684},"showState":{"__isSmartRef__":true,"id":687},"drawLineSoFar":{"__isSmartRef__":true,"id":690},"dragon":{"__isSmartRef__":true,"id":693},"goto":{"__isSmartRef__":true,"id":696},"onDrag":{"__isSmartRef__":true,"id":699},"onDragStart":{"__isSmartRef__":true,"id":706},"onDragEnd":{"__isSmartRef__":true,"id":713},"makeTracks":{"__isSmartRef__":true,"id":720},"makeWorldTracks":{"__isSmartRef__":true,"id":723}},"639":{"varMapping":{"__isSmartRef__":true,"id":640},"source":"function aboutMe() {\n    // This is a classic implementation of turtle graphics in HTML\n    // As it draws lines using go() and turn() it makes a list of lines\n    // drawLines() will them make the drawing visible\n    // I haven't implemented penuUp/penDown\n    // A number of examples are in /testing/\n    // Note you can drag a pen to make a squiggle drawing\n}","funcProperties":{"__isSmartRef__":true,"id":641},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"640":{"this":{"__isSmartRef__":true,"id":621}},"641":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 16 2013 14:31:01 GMT-0700 (PDT)\")"},"642":{"varMapping":{"__isSmartRef__":true,"id":643},"source":"function drawLines() {\n    if (this.lineInProgress) this.lineInProgress.remove();\n    this.lineInProgress = null;\n    if (this.fillColor) \n        var morph = lively.morphic.Morph.makePolygon(this.endPoints, this.penWidth, this.penColor, this.fillColor);\n    else \n        var morph = lively.morphic.Morph.makeLine(this.endPoints, this.penWidth, this.penColor);\n\n    if (this.owner) this.owner.addMorph(morph);\n    else $world.addMorph(morph);\n    this.showState();\n    return morph;\n}","funcProperties":{"__isSmartRef__":true,"id":644},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"643":{"this":{"__isSmartRef__":true,"id":621}},"644":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 12:00:57 GMT-0700 (PDT)\")"},"645":{"varMapping":{"__isSmartRef__":true,"id":646},"source":"function filbert(n, s, color) {\n    // Two Hilbert curves form a Hilbert tile\n    this.newLine();  \n    this.setPenColor(Color.black); \n    this.setPenWidth(1);\n    this.hilbert(n, s); \n    this.go(s);\n    this.hilbert(n, s); \n    this.go(s);\n    if (color) this.fillLines(color);\n        else this.drawLines()\n    return this\n}","funcProperties":{"__isSmartRef__":true,"id":647},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"646":{"this":{"__isSmartRef__":true,"id":621}},"647":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Feb 08 2014 15:57:26 GMT-0800 (PST)\")"},"648":{"varMapping":{"__isSmartRef__":true,"id":649},"source":"function filberts(n, s) {\n    // Four interlocking filberts\n    var n2 = Math.pow(2,n-1);\n    var morphs = [ ];\n\n    for (var i = 0; i < 4; i++) {\n        morphs.push(this.filbert(n, s, Color.wheel(4)[i]));\n        this.go((n2 - 1)*s); \n        this.turn(-90); \n        this.go(n2 * s); \n        this.turn(180);\n    }\n    return morphs; \n}","funcProperties":{"__isSmartRef__":true,"id":650},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"649":{"this":{"__isSmartRef__":true,"id":621}},"650":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 15:07:43 GMT-0700 (PDT)\")"},"651":{"varMapping":{"__isSmartRef__":true,"id":652},"source":"function fillLines(color) {\n    this.fillColor = color; \n    return this.drawLines();\n}","funcProperties":{"__isSmartRef__":true,"id":653},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"652":{"this":{"__isSmartRef__":true,"id":621}},"653":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 15:07:43 GMT-0700 (PDT)\")"},"654":{"varMapping":{"__isSmartRef__":true,"id":655},"source":"function go(dist) {\n    var newPoint = this.location.addPt(Point.polar(dist, this.heading.toRadians()));\n    return this.goto(newPoint)\n}","funcProperties":{"__isSmartRef__":true,"id":656},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"655":{"this":{"__isSmartRef__":true,"id":621}},"656":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:17:43 GMT-0700 (PDT)\")"},"657":{"varMapping":{"__isSmartRef__":true,"id":658},"source":"function hilbert(n, s) {\n      // Draw an nth level Hilbert curve with side length s.\n    if (n == 0) \n        return this.turn(180);\n\n    if (n > 0) { \n        var a = 90;  \n        var m = n - 1; \n    } else { \n        var a = -90;  \n        var m = n + 1; \n    }\n    \n    this.turn(a); \n    this.hilbert(0 - m, s);\n    this.turn(a); \n    this.go(s); \n    this.hilbert(m, s);\n    this.turn(0 - a); \n    this.go(s); \n    this.turn(0 - a); \n    this.hilbert(m, s);\n    this.go(s); \n    this.turn(a); \n    this.hilbert(0 - m, s);\n    this.turn(a);\n    return this;\n}","funcProperties":{"__isSmartRef__":true,"id":659},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"658":{"this":{"__isSmartRef__":true,"id":621}},"659":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Feb 08 2014 15:59:30 GMT-0800 (PST)\")"},"660":{"varMapping":{"__isSmartRef__":true,"id":661},"source":"function newLine(loc) {\n    this.startingLocation = loc ? loc : this.location;\n    this.endPoints = [ this.startingLocation ];\n}","funcProperties":{"__isSmartRef__":true,"id":662},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"661":{"this":{"__isSmartRef__":true,"id":621}},"662":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 22:16:29 GMT-0700 (PDT)\")"},"663":{"varMapping":{"__isSmartRef__":true,"id":664},"source":"function reset(loc) {  // this.reset()\n    this.location = (loc !== undefined) ? loc\n            : pt(500, 400);\n    this.penWidth = 2;\n    this.penColor = Color.red;\n    this.fillColor = null;\n    this.heading = 0;\n    this.showingAllMoves = false;\n    this.newLine(this.location);\n    this.showState();\n    return this \n }","funcProperties":{"__isSmartRef__":true,"id":665},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"664":{"this":{"__isSmartRef__":true,"id":621}},"665":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:19:20 GMT-0700 (PDT)\")"},"666":{"varMapping":{"__isSmartRef__":true,"id":667},"source":"function setPenColor(color) {\n    this.penColor = color;\n    if (this.showingAllMoves) this.setFill(color);\n}","funcProperties":{"__isSmartRef__":true,"id":668},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"667":{"this":{"__isSmartRef__":true,"id":621}},"668":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 21:21:31 GMT-0700 (PDT)\")"},"669":{"varMapping":{"__isSmartRef__":true,"id":670},"source":"function setPenWidth(size) {\n    this.penWidth = size;\n}","funcProperties":{"__isSmartRef__":true,"id":671},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"670":{"this":{"__isSmartRef__":true,"id":621}},"671":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 15:07:43 GMT-0700 (PDT)\")"},"672":{"varMapping":{"__isSmartRef__":true,"id":673},"source":"function spiral(n, angle, color, d) { // this.copy().reset().spiral(50, 91)\n    if (!n) n = 100;\n    if (!angle) angle = 89;\n    if (!color) color = Color.red;\n    if (!d) d = 2;\n    this.reset();\n    this.setPenColor(color);\n    for (var i=1; i<=n; i++) {\n        this.go(d*i); this.turn(angle); };\n    return this.drawLines();\n}","funcProperties":{"__isSmartRef__":true,"id":674},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"673":{"this":{"__isSmartRef__":true,"id":621}},"674":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 15:07:43 GMT-0700 (PDT)\")"},"675":{"varMapping":{"__isSmartRef__":true,"id":676},"source":"function testing() {\n    // this.show();\n    // this.copy().reset().spiral(50, 91)\n    // this.copy().reset().openInWorld().showAllMoves(true).go(50).turn(45).go(50)\n    // this.copy().reset().hilbert(2,10).drawLines();\n    // this.copy().reset().filbert(2,10);\n    // this.copy().reset().filbert(2,10, Color.yellow);\n    // this.copy().reset().filberts(2,10);\n    // this.copy().reset().dragon(8,10).drawLines()\n}","funcProperties":{"__isSmartRef__":true,"id":677},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"676":{"this":{"__isSmartRef__":true,"id":621}},"677":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Feb 08 2014 16:05:56 GMT-0800 (PST)\")"},"678":{"varMapping":{"__isSmartRef__":true,"id":679},"source":"function turn(degrees) {\n    this.heading += degrees; \n    if (this.showingAllMoves) this.setRotation(this.heading.toRadians());\n    return this;\n}","funcProperties":{"__isSmartRef__":true,"id":680},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"679":{"this":{"__isSmartRef__":true,"id":621}},"680":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 21:54:19 GMT-0700 (PDT)\")"},"681":{"varMapping":{"__isSmartRef__":true,"id":682},"source":"function yetToDo() {\n    // [X] Make a triangle morph shape showing heading\n    // [X] Add .showAllMoves for visible actions\n    // [X] Cause the morph to show itself after every drawLines or reset\n    // [X] Make setLocation, heading and fillColor into methods that\n    //        update the morph - show morph color as border or fill\n    // [ ] Implement penUp, penDown by use of drawLines, setPosition\n    // [ ] Write a squiggle program\n    // [ ] Make a kaleidoscopic squiggle using makeCommander\n}","funcProperties":{"__isSmartRef__":true,"id":683},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"682":{"this":{"__isSmartRef__":true,"id":621}},"683":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:10:19 GMT-0700 (PDT)\")"},"684":{"varMapping":{"__isSmartRef__":true,"id":685},"source":"function showAllMoves(whetherOrNot) {\n    // Cause the Pen to be shown during line drawing.\n    // Sadly this doesn't work well for, eg, designs, \n    // but you can do things like\n    // this.copy().reset().openInWorld().showAllMoves(true).go(50).turn(45).go(50)\n    // and if you do, eg, go(120) in an inspector of that pen, \n    // you will see the line drawn and the pen move\n    this.showingAllMoves = whetherOrNot;\n    if(whetherOrNot) this.showState();\n    return this;\n}","funcProperties":{"__isSmartRef__":true,"id":686},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"685":{"this":{"__isSmartRef__":true,"id":621}},"686":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 10:54:43 GMT-0700 (PDT)\")"},"687":{"varMapping":{"__isSmartRef__":true,"id":688},"source":"function showState() {\n    this.setRotation((this.heading || 0).toRadians());\n    this.setFill(this.penColor);\n    this.setPosition(this.location)\n}","funcProperties":{"__isSmartRef__":true,"id":689},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"688":{"this":{"__isSmartRef__":true,"id":621}},"689":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:42:28 GMT-0700 (PDT)\")"},"690":{"varMapping":{"__isSmartRef__":true,"id":691},"source":"function drawLineSoFar() {\n    if (this.lineInProgress) this.lineInProgress.remove();\n    this.lineInProgress = lively.morphic.Morph.makeLine(this.endPoints, this.penWidth, this.penColor);\ndebugger;\n    if (this.owner) this.owner.addMorph(this.lineInProgress);\n    else $world.addMorph(this.lineInProgress);\n    this.setPosition(this.location)\n}","funcProperties":{"__isSmartRef__":true,"id":692},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"691":{"this":{"__isSmartRef__":true,"id":621}},"692":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:58:45 GMT-0700 (PDT)\")"},"693":{"varMapping":{"__isSmartRef__":true,"id":694},"source":"function dragon(n, d) { // this.copy().reset().dragon(8,10).drawLines()\n    if (n==0) {return this.go(d); return this}\n    if (n>0) return this.dragon(n-1, d).turn(90).dragon(-(n-1), d);\n        else return this.dragon(-(n+1), d).turn(-90).dragon(n+1, d);\n}","funcProperties":{"__isSmartRef__":true,"id":695},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"694":{"this":{"__isSmartRef__":true,"id":621}},"695":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 20 2013 15:30:20 GMT-0700 (PDT)\")"},"696":{"varMapping":{"__isSmartRef__":true,"id":697},"source":"function goto(newPoint) {\n    this.location = newPoint;\n    this.endPoints.push(this.location);\n    if (this.showingAllMoves) this.drawLineSoFar();\n    return this;\n}","funcProperties":{"__isSmartRef__":true,"id":698},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"697":{"this":{"__isSmartRef__":true,"id":621}},"698":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:15:33 GMT-0700 (PDT)\")"},"699":{"varMapping":{"__isSmartRef__":true,"id":700},"source":"function onDrag(evt) {\n    this.goto(evt.getPosition());\n}","funcProperties":{"__isSmartRef__":true,"id":705},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"700":{"this":{"__isSmartRef__":true,"id":621},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":701}},"701":{"$super":{"__isSmartRef__":true,"id":702}},"702":{"varMapping":{"__isSmartRef__":true,"id":703},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":704},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"703":{"obj":{"__isSmartRef__":true,"id":621},"name":"onDrag"},"704":{},"705":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 12:33:03 GMT-0700 (PDT)\")"},"706":{"varMapping":{"__isSmartRef__":true,"id":707},"source":"function onDragStart(evt) {\n    this.location = evt.getPosition();\n    this.newLine();\n    this.showAllMoves(true);\n}","funcProperties":{"__isSmartRef__":true,"id":712},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"707":{"this":{"__isSmartRef__":true,"id":621},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":708}},"708":{"$super":{"__isSmartRef__":true,"id":709}},"709":{"varMapping":{"__isSmartRef__":true,"id":710},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":711},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"710":{"obj":{"__isSmartRef__":true,"id":621},"name":"onDragStart"},"711":{},"712":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 12:52:35 GMT-0700 (PDT)\")"},"713":{"varMapping":{"__isSmartRef__":true,"id":714},"source":"function onDragEnd(evt) {\n    this.drawLines();\n    this.owner.addMorph(this); // put me on top for grabbing again\n}","funcProperties":{"__isSmartRef__":true,"id":719},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"714":{"this":{"__isSmartRef__":true,"id":621},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":715}},"715":{"$super":{"__isSmartRef__":true,"id":716}},"716":{"varMapping":{"__isSmartRef__":true,"id":717},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":718},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"717":{"obj":{"__isSmartRef__":true,"id":621},"name":"onDragEnd"},"718":{},"719":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 12:59:07 GMT-0700 (PDT)\")"},"720":{"varMapping":{"__isSmartRef__":true,"id":721},"source":"function makeTracks() {\n    // this.showAllMoves()\n    // This method allows drawing tracks in the world\n    // It resets the polyline at the end of every 100 segments\n}","funcProperties":{"__isSmartRef__":true,"id":722},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"721":{"this":{"__isSmartRef__":true,"id":621}},"722":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 16 2013 14:54:07 GMT-0700 (PDT)\")"},"723":{"varMapping":{"__isSmartRef__":true,"id":724},"source":"function makeWorldTracks() {\n    // this.startStepping(300, \"makeWorldTracks\")\n    // this.stopStepping()\n    // this.worldPts = [this.worldPoint(pt(0, 0))];  // trim line\n\n    // This method allows drawing tracks in the world\n    // It trims the polyline at the end to 200 segments\n    if (!this.worldPts || this.worldPts.length > 200) this.worldPts.shift();\n    if (this.lineInProgress) this.lineInProgress.remove();\n    this.worldPts.push(this.worldPoint(pt(0, 0)));\n    this.lineInProgress = lively.morphic.Morph.makeLine(this.worldPts, this.penWidth, this.penColor);\n    if (this.world()) this.world().addMorph(this.lineInProgress);\n    else $world.addMorph(this.lineInProgress);\n}","funcProperties":{"__isSmartRef__":true,"id":725},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"724":{"this":{"__isSmartRef__":true,"id":621}},"725":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 16 2013 15:54:21 GMT-0700 (PDT)\")"},"726":{"onMouseDown":{"__isSmartRef__":true,"id":727},"setDockOwner":{"__isSmartRef__":true,"id":734},"initPrototype":{"__isSmartRef__":true,"id":737}},"727":{"varMapping":{"__isSmartRef__":true,"id":728},"source":"function onMouseDown(evt) {\n    var newMorph = this.prototypeMorph.copy();\n    var dockOwner = $world;\n    if (this.owner && this.owner.owner) {\n        dockOwner = this.owner.owner;\n    } \n    dockOwner.addMorph(newMorph);\n    newMorph.setPosition(pt(10,10))\n}","funcProperties":{"__isSmartRef__":true,"id":733},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"728":{"this":{"__isSmartRef__":true,"id":484},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":729}},"729":{"$super":{"__isSmartRef__":true,"id":730}},"730":{"varMapping":{"__isSmartRef__":true,"id":731},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":732},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"731":{"obj":{"__isSmartRef__":true,"id":484},"name":"onMouseDown"},"732":{},"733":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:13:18 GMT-0700 (PDT)\")"},"734":{"varMapping":{"__isSmartRef__":true,"id":735},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":736},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"735":{"this":{"__isSmartRef__":true,"id":484}},"736":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"737":{"varMapping":{"__isSmartRef__":true,"id":738},"source":"function initPrototype() {\n    this.removeAllMorphs()\n    this.prototypeMorph = $world.get('Pen');\n    this.prototypeMorph.show();\n    var iconMorph = this.prototypeMorph.copy();\n    this.addMorph(iconMorph);\n    iconMorph.setExtent(pt(46,46));\n    iconMorph.setPosition(pt(65,45));\n    iconMorph.disableGrabbing()\n    iconMorph.disableDragging()\n    iconMorph.disableDropping()\n    iconMorph.relayMouseEventsToMorphBeneath()\n    iconMorph.disableHalos()\n    \n}","funcProperties":{"__isSmartRef__":true,"id":739},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"738":{"this":{"__isSmartRef__":true,"id":484}},"739":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:50:49 GMT-0700 (PDT)\")"},"740":{"submorphs":[{"__isSmartRef__":true,"id":741}],"scripts":[],"id":"534A5E55-DE01-4FA9-9B73-D4A6D56D1AE4","shape":{"__isSmartRef__":true,"id":766},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem16","partsBinMetaInfo":{"__isSmartRef__":true,"id":767},"eventHandler":{"__isSmartRef__":true,"id":787},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975","AE728811-FEB4-44BD-BF8F-40F9859880E7","9D9E126A-0340-4CB2-B1A7-2060A1F8ABA7","C7A30E8C-E693-4117-AE7D-FB88524103FC","5DCEE14A-8732-4B24-AF2C-F10DDF84D142","C615CE4C-E3E4-4304-809E-D4C9824B59BF","247B3E4F-1BA6-451E-9D9F-504C01C09A24","BA0C6383-5233-4F06-BF88-1AA53A086FD2","8641E1BE-1392-4319-B1DE-3DAE570AD1F3","7FED1DDC-DB39-4EB4-B4BD-F4005BB03126","69435578-F8E9-4451-B3DC-8D3B279E1908"],"partTests":{"__isSmartRef__":true,"id":788},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":793},"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"_ToolTip":"LineWithArrow","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":814},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(55.0,55.0)","distanceToDragEvent":"lively.pt(29.0,-32.0)"},"741":{"submorphs":[{"__isSmartRef__":true,"id":742}],"scripts":[],"id":"0273A8BA-4BDF-4865-91AB-6852939DF559","shape":{"__isSmartRef__":true,"id":753},"droppingEnabled":false,"halosEnabled":false,"eventHandler":{"__isSmartRef__":true,"id":756},"controlPoints":[{"__isSmartRef__":true,"id":761},{"__isSmartRef__":true,"id":762}],"showsHalos":false,"name":"LineWithArrow1","partsBinMetaInfo":{"__isSmartRef__":true,"id":763},"isBeingDragged":false,"derivationIds":[1637,"52ECCE74-965A-4BF4-8AAD-3AC2322C912F","EC6BEC80-0D46-4CD9-8FA2-CF63B7666E76"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":740},"grabbingEnabled":false,"draggingEnabled":false,"__serializedExpressions__":["_Position"],"_Rotation":0,"_Scale":0.3325272405867521,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(25.0,25.0)"},"742":{"submorphs":[],"scripts":[],"id":"C99BA2E2-AC83-464C-B8C4-62B99A6A3ED8","shape":{"__isSmartRef__":true,"id":743},"droppingEnabled":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":748},"owner":{"__isSmartRef__":true,"id":741},"controlPoints":[{"__isSmartRef__":true,"id":749},{"__isSmartRef__":true,"id":750},{"__isSmartRef__":true,"id":751},{"__isSmartRef__":true,"id":752}],"showsHalos":false,"grabbingEnabled":false,"derivationIds":[1638,"942D98EC-2246-45E9-B429-A4486550703B","721C54DD-5411-433F-B401-4DBE1BE61E8A"],"_ClipMode":"visible","__serializedExpressions__":["_Origin","_Position","distanceToDragEvent"],"_Rotation":0.6548320685978207,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Origin":"lively.pt(12.0,6.0)","_Position":"lively.pt(55.0,43.0)","distanceToDragEvent":"lively.pt(15.0,-33.0)"},"743":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":744},{"__isSmartRef__":true,"id":745},{"__isSmartRef__":true,"id":746},{"__isSmartRef__":true,"id":747}],"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_Fill","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-19.0,-8.0)","_Extent":"lively.pt(19.0,16.0)","_Fill":"Color.rgb(0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"744":{"isAbsolute":true,"x":-18,"y":-7,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"745":{"isAbsolute":true,"x":-18,"y":8,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"746":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"747":{"isAbsolute":true,"x":-18,"y":-7,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"748":{"morph":{"__isSmartRef__":true,"id":742},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"749":{"morph":{"__isSmartRef__":true,"id":742},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"750":{"morph":{"__isSmartRef__":true,"id":742},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"751":{"morph":{"__isSmartRef__":true,"id":742},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"752":{"morph":{"__isSmartRef__":true,"id":742},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"753":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":754},{"__isSmartRef__":true,"id":755}],"_BorderWidth":1,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-58.0,-44.0)","_Extent":"lively.pt(113.0,87.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"754":{"isAbsolute":true,"x":-57,"y":-43,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"755":{"isAbsolute":true,"x":55,"y":43.00000000000003,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"756":{"morph":{"__isSmartRef__":true,"id":741},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":757},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"757":{"relayFunc":{"__isSmartRef__":true,"id":758}},"758":{"varMapping":{"__isSmartRef__":true,"id":759},"source":"function relayToMorphBeneath(evt, target) {\n                if (evt.isCommandKey()) return false;\n                var morphBeneath = target.morphBeneath(evt.getPosition());\n                morphBeneath && morphBeneath.triggerEvent(evt);\n                return true;\n            }","funcProperties":{"__isSmartRef__":true,"id":760},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"759":{},"760":{},"761":{"morph":{"__isSmartRef__":true,"id":741},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"762":{"morph":{"__isSmartRef__":true,"id":741},"index":1,"marker":{"__isSmartRef__":true,"id":742},"markerDirection":"prev","connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"763":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic/","partName":"LineWithArrow","comment":"a Line with one arrow","changes":[{"__isSmartRef__":true,"id":764},{"__isSmartRef__":true,"id":765}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Sep 05 2012 16:01:34 GMT-0700 (PDT)\")"},"764":{"author":"jenslincke","message":"disable grabbling in arrow head","id":"4E6AF6E9-9FED-4B0A-85E9-9A73E7171295","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 17 2011 06:54:18 GMT-0800 (PST)\")"},"765":{"author":"lauritz","message":"recreated after origin fix","id":"B14B3E80-753D-4508-A4CA-B29DD1280CB1","__serializedExpressions__":["date"],"date":"new Date(\"Tue Nov 01 2011 22:22:22 GMT-0700 (PDT)\")"},"766":{"_BorderWidth":2.036,"_ClipMode":"visible","_BorderRadius":7.03,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,50.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(247,247,247)","_Padding":"lively.rect(0,0,0,0)"},"767":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":768},{"__isSmartRef__":true,"id":769},{"__isSmartRef__":true,"id":770},{"__isSmartRef__":true,"id":771},{"__isSmartRef__":true,"id":772},{"__isSmartRef__":true,"id":773},{"__isSmartRef__":true,"id":774},{"__isSmartRef__":true,"id":775},{"__isSmartRef__":true,"id":776},{"__isSmartRef__":true,"id":777},{"__isSmartRef__":true,"id":778},{"__isSmartRef__":true,"id":779},{"__isSmartRef__":true,"id":780},{"__isSmartRef__":true,"id":781},{"__isSmartRef__":true,"id":782},{"__isSmartRef__":true,"id":783},{"__isSmartRef__":true,"id":784},{"__isSmartRef__":true,"id":785},{"__isSmartRef__":true,"id":786}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"768":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"769":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"770":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"771":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"772":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"773":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"774":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"775":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"776":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"777":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"778":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"779":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"780":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"781":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"782":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"783":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"784":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"785":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"786":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"787":{"morph":{"__isSmartRef__":true,"id":740},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"788":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":789}},"789":{"test01IsMorph":{"__isSmartRef__":true,"id":790}},"790":{"varMapping":{"__isSmartRef__":true,"id":791},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":792},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"791":{"this":{"__isSmartRef__":true,"id":788}},"792":{},"793":{"submorphs":[{"__isSmartRef__":true,"id":794}],"scripts":[],"id":"52ECCE74-965A-4BF4-8AAD-3AC2322C912F","shape":{"__isSmartRef__":true,"id":805},"droppingEnabled":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":808},"__serializedExpressions__":["_Position"],"controlPoints":[{"__isSmartRef__":true,"id":809},{"__isSmartRef__":true,"id":810}],"showsHalos":false,"name":"LineWithArrow","partsBinMetaInfo":{"__isSmartRef__":true,"id":811},"isBeingDragged":false,"derivationIds":[1637],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"isCopyMorphRef":true,"morphRefId":1,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(1075.0,115.0)"},"794":{"submorphs":[],"scripts":[],"id":"942D98EC-2246-45E9-B429-A4486550703B","shape":{"__isSmartRef__":true,"id":795},"droppingEnabled":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":800},"__serializedExpressions__":["_Origin","_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":793},"controlPoints":[{"__isSmartRef__":true,"id":801},{"__isSmartRef__":true,"id":802},{"__isSmartRef__":true,"id":803},{"__isSmartRef__":true,"id":804}],"showsHalos":false,"grabbingEnabled":false,"derivationIds":[1638],"_ClipMode":"visible","_Rotation":0.6548320685978207,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Origin":"lively.pt(12.0,6.0)","_Position":"lively.pt(55.0,43.0)","distanceToDragEvent":"lively.pt(15.0,-33.0)"},"795":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":796},{"__isSmartRef__":true,"id":797},{"__isSmartRef__":true,"id":798},{"__isSmartRef__":true,"id":799}],"__serializedExpressions__":["_Position","_Extent","_Fill","_BorderColor","_Padding"],"_BorderWidth":0,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-19.0,-8.0)","_Extent":"lively.pt(19.0,16.0)","_Fill":"Color.rgb(0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"796":{"isAbsolute":true,"x":-18,"y":-7,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"797":{"isAbsolute":true,"x":-18,"y":8,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"798":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"799":{"isAbsolute":true,"x":-18,"y":-7,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"800":{"morph":{"__isSmartRef__":true,"id":794},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"801":{"morph":{"__isSmartRef__":true,"id":794},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"802":{"morph":{"__isSmartRef__":true,"id":794},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"803":{"morph":{"__isSmartRef__":true,"id":794},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"804":{"morph":{"__isSmartRef__":true,"id":794},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"805":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":806},{"__isSmartRef__":true,"id":807}],"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"_BorderWidth":1,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-58.0,-44.0)","_Extent":"lively.pt(113.0,87.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"806":{"isAbsolute":true,"x":-57,"y":-43,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"807":{"isAbsolute":true,"x":55,"y":43.00000000000003,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"808":{"morph":{"__isSmartRef__":true,"id":793},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"809":{"morph":{"__isSmartRef__":true,"id":793},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"810":{"morph":{"__isSmartRef__":true,"id":793},"index":1,"marker":{"__isSmartRef__":true,"id":794},"markerDirection":"prev","connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"811":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic/","partName":"LineWithArrow","comment":"a Line with one arrow","changes":[{"__isSmartRef__":true,"id":812},{"__isSmartRef__":true,"id":813}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Sep 05 2012 16:01:34 GMT-0700 (PDT)\")"},"812":{"__serializedExpressions__":["date"],"author":"jenslincke","message":"disable grabbling in arrow head","id":"4E6AF6E9-9FED-4B0A-85E9-9A73E7171295","date":"new Date(\"Thu Nov 17 2011 06:54:18 GMT-0800 (PST)\")"},"813":{"__serializedExpressions__":["date"],"author":"lauritz","message":"recreated after origin fix","id":"B14B3E80-753D-4508-A4CA-B29DD1280CB1","date":"new Date(\"Tue Nov 01 2011 22:22:22 GMT-0700 (PDT)\")"},"814":{"onMouseDown":{"__isSmartRef__":true,"id":815},"setDockOwner":{"__isSmartRef__":true,"id":822},"initPrototype":{"__isSmartRef__":true,"id":825}},"815":{"varMapping":{"__isSmartRef__":true,"id":816},"source":"function onMouseDown(evt) {\n    var newMorph = this.prototypeMorph.copy();\n    var dockOwner = $world;\n    if (this.owner && this.owner.owner) {\n        dockOwner = this.owner.owner;\n    } \n    dockOwner.addMorph(newMorph);\n    newMorph.setPosition(pt(10,10))\n}","funcProperties":{"__isSmartRef__":true,"id":821},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"816":{"this":{"__isSmartRef__":true,"id":740},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":817}},"817":{"$super":{"__isSmartRef__":true,"id":818}},"818":{"varMapping":{"__isSmartRef__":true,"id":819},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":820},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"819":{"obj":{"__isSmartRef__":true,"id":740},"name":"onMouseDown"},"820":{},"821":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:13:29 GMT-0700 (PDT)\")"},"822":{"varMapping":{"__isSmartRef__":true,"id":823},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":824},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"823":{"this":{"__isSmartRef__":true,"id":740}},"824":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"825":{"varMapping":{"__isSmartRef__":true,"id":826},"source":"function initPrototype() {\n    this.removeAllMorphs()\n    this.prototypeMorph = $world.get('LineWithArrow');\n    this.prototypeMorph.show();\n    var iconMorph = $world.get('LineWithArrow1')\n    this.addMorph(iconMorph);\n    iconMorph.setPosition(pt(2,2));\n    iconMorph.disableGrabbing()\n    iconMorph.disableDragging()\n    iconMorph.disableDropping()\n    iconMorph.relayMouseEventsToMorphBeneath()\n    iconMorph.disableHalos()\n    \n}","funcProperties":{"__isSmartRef__":true,"id":827},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"826":{"this":{"__isSmartRef__":true,"id":740}},"827":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:58:48 GMT-0700 (PDT)\")"},"828":{"submorphs":[{"__isSmartRef__":true,"id":829}],"scripts":[],"id":"7FED1DDC-DB39-4EB4-B4BD-F4005BB03126","shape":{"__isSmartRef__":true,"id":841},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem8","partsBinMetaInfo":{"__isSmartRef__":true,"id":842},"eventHandler":{"__isSmartRef__":true,"id":862},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975","AE728811-FEB4-44BD-BF8F-40F9859880E7","9D9E126A-0340-4CB2-B1A7-2060A1F8ABA7","C7A30E8C-E693-4117-AE7D-FB88524103FC","5DCEE14A-8732-4B24-AF2C-F10DDF84D142","C615CE4C-E3E4-4304-809E-D4C9824B59BF","247B3E4F-1BA6-451E-9D9F-504C01C09A24","BA0C6383-5233-4F06-BF88-1AA53A086FD2","8641E1BE-1392-4319-B1DE-3DAE570AD1F3"],"partTests":{"__isSmartRef__":true,"id":863},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":868},"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"_ToolTip":"line","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":876},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(110.0,55.0)","distanceToDragEvent":"lively.pt(29.0,-32.0)"},"829":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":830},"id":"15178629-AAE2-425D-BEC7-C5C4E7B5E832","eventHandler":{"__isSmartRef__":true,"id":833},"droppingEnabled":false,"halosEnabled":false,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":838},{"__isSmartRef__":true,"id":839}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":840},"name":"line1","derivationIds":[731,"2A792414-E141-46E2-9704-5B3F71A191B3"],"_ClipMode":"visible","__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":828},"grabbingEnabled":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.4533996471690021,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(2.0,2.0)"},"830":{"dontChangeShape":false,"__serializedExpressions__":["cachedVertices.0","cachedVertices.1","_Padding","_Position","_Extent","_BorderColor"],"cachedVertices":["lively.pt(0.0,0.0)","lively.pt(100.0,100.0)"],"_PathElements":[{"__isSmartRef__":true,"id":831},{"__isSmartRef__":true,"id":832}],"_ClipMode":"visible","_BorderWidth":1,"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-1.0,-1.0)","_Extent":"lively.pt(101.0,101.0)","_BorderColor":"Color.rgb(0,0,0)"},"831":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"832":{"isAbsolute":true,"x":100,"y":100,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"833":{"morph":{"__isSmartRef__":true,"id":829},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":834},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"834":{"relayFunc":{"__isSmartRef__":true,"id":835}},"835":{"varMapping":{"__isSmartRef__":true,"id":836},"source":"function relayToMorphBeneath(evt, target) {\n                if (evt.isCommandKey()) return false;\n                var morphBeneath = target.morphBeneath(evt.getPosition());\n                morphBeneath && morphBeneath.triggerEvent(evt);\n                return true;\n            }","funcProperties":{"__isSmartRef__":true,"id":837},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"836":{},"837":{},"838":{"morph":{"__isSmartRef__":true,"id":829},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"839":{"morph":{"__isSmartRef__":true,"id":829},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"840":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic/","comment":"a line","partName":"line","__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Sep 05 2012 16:01:34 GMT-0700 (PDT)\")"},"841":{"_BorderWidth":2.036,"_ClipMode":"visible","_BorderRadius":7.03,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,50.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(247,247,247)","_Padding":"lively.rect(0,0,0,0)"},"842":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":843},{"__isSmartRef__":true,"id":844},{"__isSmartRef__":true,"id":845},{"__isSmartRef__":true,"id":846},{"__isSmartRef__":true,"id":847},{"__isSmartRef__":true,"id":848},{"__isSmartRef__":true,"id":849},{"__isSmartRef__":true,"id":850},{"__isSmartRef__":true,"id":851},{"__isSmartRef__":true,"id":852},{"__isSmartRef__":true,"id":853},{"__isSmartRef__":true,"id":854},{"__isSmartRef__":true,"id":855},{"__isSmartRef__":true,"id":856},{"__isSmartRef__":true,"id":857},{"__isSmartRef__":true,"id":858},{"__isSmartRef__":true,"id":859},{"__isSmartRef__":true,"id":860},{"__isSmartRef__":true,"id":861}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"843":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"844":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"845":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"846":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"847":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"848":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"849":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"850":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"851":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"852":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"853":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"854":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"855":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"856":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"857":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"858":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"859":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"860":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"861":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"862":{"morph":{"__isSmartRef__":true,"id":828},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"863":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":864}},"864":{"test01IsMorph":{"__isSmartRef__":true,"id":865}},"865":{"varMapping":{"__isSmartRef__":true,"id":866},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":867},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"866":{"this":{"__isSmartRef__":true,"id":863}},"867":{},"868":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":869},"id":"2A792414-E141-46E2-9704-5B3F71A191B3","eventHandler":{"__isSmartRef__":true,"id":872},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"__serializedExpressions__":["_Position"],"controlPoints":[{"__isSmartRef__":true,"id":873},{"__isSmartRef__":true,"id":874}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":875},"name":"line","derivationIds":[731],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"isCopyMorphRef":true,"morphRefId":1,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(724.0,17.0)"},"869":{"dontChangeShape":false,"__serializedExpressions__":["cachedVertices.0","cachedVertices.1","_Padding","_Position","_Extent","_BorderColor"],"cachedVertices":["lively.pt(0.0,0.0)","lively.pt(100.0,100.0)"],"_PathElements":[{"__isSmartRef__":true,"id":870},{"__isSmartRef__":true,"id":871}],"_ClipMode":"visible","_BorderWidth":1,"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-1.0,-1.0)","_Extent":"lively.pt(101.0,101.0)","_BorderColor":"Color.rgb(0,0,0)"},"870":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"871":{"isAbsolute":true,"x":100,"y":100,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"872":{"morph":{"__isSmartRef__":true,"id":868},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"873":{"morph":{"__isSmartRef__":true,"id":868},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"874":{"morph":{"__isSmartRef__":true,"id":868},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"875":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic/","comment":"a line","partName":"line","__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Sep 05 2012 16:01:34 GMT-0700 (PDT)\")"},"876":{"onMouseDown":{"__isSmartRef__":true,"id":877},"setDockOwner":{"__isSmartRef__":true,"id":884},"initPrototype":{"__isSmartRef__":true,"id":887}},"877":{"varMapping":{"__isSmartRef__":true,"id":878},"source":"function onMouseDown(evt) {\n    var newMorph = this.prototypeMorph.copy();\n    var dockOwner = $world;\n    if (this.owner && this.owner.owner) {\n        dockOwner = this.owner.owner;\n    } \n    dockOwner.addMorph(newMorph);\n    newMorph.setPosition(pt(10,10))\n}","funcProperties":{"__isSmartRef__":true,"id":883},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"878":{"this":{"__isSmartRef__":true,"id":828},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":879}},"879":{"$super":{"__isSmartRef__":true,"id":880}},"880":{"varMapping":{"__isSmartRef__":true,"id":881},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":882},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"881":{"obj":{"__isSmartRef__":true,"id":828},"name":"onMouseDown"},"882":{},"883":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:13:40 GMT-0700 (PDT)\")"},"884":{"varMapping":{"__isSmartRef__":true,"id":885},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":886},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"885":{"this":{"__isSmartRef__":true,"id":828}},"886":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"887":{"varMapping":{"__isSmartRef__":true,"id":888},"source":"function initPrototype() {\n    this.removeAllMorphs()\n    this.prototypeMorph = $world.get('line');\n    this.prototypeMorph.show();\n    var iconMorph = $world.get('line1')\n    this.addMorph(iconMorph);\n    iconMorph.setPosition(pt(2,2));\n    iconMorph.disableGrabbing()\n    iconMorph.disableDragging()\n    iconMorph.disableDropping()\n    iconMorph.relayMouseEventsToMorphBeneath()\n    iconMorph.disableHalos()\n    \n}","funcProperties":{"__isSmartRef__":true,"id":889},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"888":{"this":{"__isSmartRef__":true,"id":828}},"889":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:56:45 GMT-0700 (PDT)\")"},"890":{"submorphs":[{"__isSmartRef__":true,"id":891}],"scripts":[],"id":"BA0C6383-5233-4F06-BF88-1AA53A086FD2","shape":{"__isSmartRef__":true,"id":910},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem5","partsBinMetaInfo":{"__isSmartRef__":true,"id":911},"eventHandler":{"__isSmartRef__":true,"id":931},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975","AE728811-FEB4-44BD-BF8F-40F9859880E7","9D9E126A-0340-4CB2-B1A7-2060A1F8ABA7","C7A30E8C-E693-4117-AE7D-FB88524103FC","5DCEE14A-8732-4B24-AF2C-F10DDF84D142","C615CE4C-E3E4-4304-809E-D4C9824B59BF","247B3E4F-1BA6-451E-9D9F-504C01C09A24"],"partTests":{"__isSmartRef__":true,"id":932},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":937},"__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"_ToolTip":"Text","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":952},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(165.0,55.0)"},"891":{"submorphs":[],"scripts":[],"id":"9AD5BE99-B69E-4427-8ABE-7BC8B9684A5E","shape":{"__isSmartRef__":true,"id":892},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":10,"name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":893},"textChunks":[{"__isSmartRef__":true,"id":902}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":904},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","59440FC5-E676-4B9B-A828-C150A05765C0","67B0E512-E4D0-4E82-8FA8-2F031F71587F"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"layout":{"__isSmartRef__":true,"id":909},"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":890},"draggingEnabled":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(2.0,2.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(85.0,-9.0)"},"892":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(46.0,36.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"893":{"partsSpaceName":"PartsBin/Basic/","migrationLevel":8,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":894},{"__isSmartRef__":true,"id":895},{"__isSmartRef__":true,"id":896},{"__isSmartRef__":true,"id":897},{"__isSmartRef__":true,"id":898},{"__isSmartRef__":true,"id":899},{"__isSmartRef__":true,"id":900},{"__isSmartRef__":true,"id":901}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Sat Apr 05 2014 01:51:52 GMT-0700 (PDT)\")"},"894":{"author":"robertkrahn","message":"resizeWidth = true","id":"E402462A-7AB2-487B-82BD-A3369C1C1F75","__serializedExpressions__":["date"],"date":"new Date(\"Sat Apr 05 2014 01:58:52 GMT-0700 (PDT)\")"},"895":{"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598","__serializedExpressions__":["date"],"date":"new Date(\"Tue Mar 12 2013 10:36:22 GMT-0700 (PDT)\")"},"896":{"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0","__serializedExpressions__":["date"],"date":"new Date(\"Sat Apr 21 2012 07:30:30 GMT-0700 (PDT)\")"},"897":{"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)).  This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F","__serializedExpressions__":["date"],"date":"new Date(\"Sun Feb 26 2012 21:20:38 GMT-0800 (PST)\")"},"898":{"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 20 2012 22:31:43 GMT-0700 (PDT)\")"},"899":{"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 20 2012 22:32:09 GMT-0700 (PDT)\")"},"900":{"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194","__serializedExpressions__":["date"],"date":"new Date(\"Tue May 08 2012 05:18:18 GMT-0700 (PDT)\")"},"901":{"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62","__serializedExpressions__":["date"],"date":"new Date(\"Tue Mar 12 2013 09:31:56 GMT-0700 (PDT)\")"},"902":{"style":{"__isSmartRef__":true,"id":903},"morph":{"__isSmartRef__":true,"id":891},"chunkOwner":{"__isSmartRef__":true,"id":891},"storedString":"Some Text","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"903":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"904":{"morph":{"__isSmartRef__":true,"id":891},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":905},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"905":{"relayFunc":{"__isSmartRef__":true,"id":906}},"906":{"varMapping":{"__isSmartRef__":true,"id":907},"source":"function relayToMorphBeneath(evt, target) {\n                if (evt.isCommandKey()) return false;\n                var morphBeneath = target.morphBeneath(evt.getPosition());\n                morphBeneath && morphBeneath.triggerEvent(evt);\n                return true;\n            }","funcProperties":{"__isSmartRef__":true,"id":908},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"907":{},"908":{},"909":{"resizeWidth":true},"910":{"_BorderWidth":2.036,"_ClipMode":"visible","_BorderRadius":7.03,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,50.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(247,247,247)","_Padding":"lively.rect(0,0,0,0)"},"911":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":912},{"__isSmartRef__":true,"id":913},{"__isSmartRef__":true,"id":914},{"__isSmartRef__":true,"id":915},{"__isSmartRef__":true,"id":916},{"__isSmartRef__":true,"id":917},{"__isSmartRef__":true,"id":918},{"__isSmartRef__":true,"id":919},{"__isSmartRef__":true,"id":920},{"__isSmartRef__":true,"id":921},{"__isSmartRef__":true,"id":922},{"__isSmartRef__":true,"id":923},{"__isSmartRef__":true,"id":924},{"__isSmartRef__":true,"id":925},{"__isSmartRef__":true,"id":926},{"__isSmartRef__":true,"id":927},{"__isSmartRef__":true,"id":928},{"__isSmartRef__":true,"id":929},{"__isSmartRef__":true,"id":930}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"912":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"913":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"914":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"915":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"916":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"917":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"918":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"919":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"920":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"921":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"922":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"923":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"924":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"925":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"926":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"927":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"928":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"929":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"930":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"931":{"morph":{"__isSmartRef__":true,"id":890},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"932":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":933}},"933":{"test01IsMorph":{"__isSmartRef__":true,"id":934}},"934":{"varMapping":{"__isSmartRef__":true,"id":935},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":936},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"935":{"this":{"__isSmartRef__":true,"id":932}},"936":{},"937":{"submorphs":[],"scripts":[],"id":"67B0E512-E4D0-4E82-8FA8-2F031F71587F","shape":{"__isSmartRef__":true,"id":938},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":939},"textChunks":[{"__isSmartRef__":true,"id":948}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":950},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","59440FC5-E676-4B9B-A828-C150A05765C0"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"previousSelection":[0,0],"isBeingDragged":false,"moved":true,"layout":{"__isSmartRef__":true,"id":951},"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"isCopyMorphRef":true,"morphRefId":1,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(31.0,507.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(85.0,-9.0)"},"938":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(107.7,28.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"939":{"partsSpaceName":"PartsBin/Basic/","migrationLevel":8,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":940},{"__isSmartRef__":true,"id":941},{"__isSmartRef__":true,"id":942},{"__isSmartRef__":true,"id":943},{"__isSmartRef__":true,"id":944},{"__isSmartRef__":true,"id":945},{"__isSmartRef__":true,"id":946},{"__isSmartRef__":true,"id":947}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Sat Apr 05 2014 01:51:52 GMT-0700 (PDT)\")"},"940":{"author":"robertkrahn","message":"resizeWidth = true","id":"E402462A-7AB2-487B-82BD-A3369C1C1F75","__serializedExpressions__":["date"],"date":"new Date(\"Sat Apr 05 2014 01:58:52 GMT-0700 (PDT)\")"},"941":{"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598","__serializedExpressions__":["date"],"date":"new Date(\"Tue Mar 12 2013 10:36:22 GMT-0700 (PDT)\")"},"942":{"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0","__serializedExpressions__":["date"],"date":"new Date(\"Sat Apr 21 2012 07:30:30 GMT-0700 (PDT)\")"},"943":{"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)).  This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F","__serializedExpressions__":["date"],"date":"new Date(\"Sun Feb 26 2012 21:20:38 GMT-0800 (PST)\")"},"944":{"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 20 2012 22:31:43 GMT-0700 (PDT)\")"},"945":{"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 20 2012 22:32:09 GMT-0700 (PDT)\")"},"946":{"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194","__serializedExpressions__":["date"],"date":"new Date(\"Tue May 08 2012 05:18:18 GMT-0700 (PDT)\")"},"947":{"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62","__serializedExpressions__":["date"],"date":"new Date(\"Tue Mar 12 2013 09:31:56 GMT-0700 (PDT)\")"},"948":{"style":{"__isSmartRef__":true,"id":949},"morph":{"__isSmartRef__":true,"id":937},"chunkOwner":{"__isSmartRef__":true,"id":937},"storedString":"Some Text","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"949":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"950":{"morph":{"__isSmartRef__":true,"id":937},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"951":{"resizeWidth":true},"952":{"onMouseDown":{"__isSmartRef__":true,"id":953},"setDockOwner":{"__isSmartRef__":true,"id":960},"initPrototype":{"__isSmartRef__":true,"id":963}},"953":{"varMapping":{"__isSmartRef__":true,"id":954},"source":"function onMouseDown(evt) {\n    var newMorph = this.prototypeMorph.copy();\n    var dockOwner = $world;\n    if (this.owner && this.owner.owner) {\n        dockOwner = this.owner.owner;\n    } \n    dockOwner.addMorph(newMorph);\n    newMorph.setPosition(pt(10,10))\n}","funcProperties":{"__isSmartRef__":true,"id":959},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"954":{"this":{"__isSmartRef__":true,"id":890},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":955}},"955":{"$super":{"__isSmartRef__":true,"id":956}},"956":{"varMapping":{"__isSmartRef__":true,"id":957},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":958},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"957":{"obj":{"__isSmartRef__":true,"id":890},"name":"onMouseDown"},"958":{},"959":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:13:51 GMT-0700 (PDT)\")"},"960":{"varMapping":{"__isSmartRef__":true,"id":961},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":962},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"961":{"this":{"__isSmartRef__":true,"id":890}},"962":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"963":{"varMapping":{"__isSmartRef__":true,"id":964},"source":"function initPrototype() {\n    this.removeAllMorphs()\n    this.prototypeMorph = $world.get('Text');\n    this.prototypeMorph.show();\n    var iconMorph = this.prototypeMorph.copy();\n    this.addMorph(iconMorph);\n    iconMorph.setFontSize(10);\n    iconMorph.setExtent(pt(46,46));\n    iconMorph.setPosition(pt(2,2));\n    iconMorph.disableGrabbing()\n    iconMorph.disableDragging()\n    iconMorph.disableDropping()\n    iconMorph.relayMouseEventsToMorphBeneath()\n    iconMorph.disableHalos()\n    \n}","funcProperties":{"__isSmartRef__":true,"id":965},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"964":{"this":{"__isSmartRef__":true,"id":890}},"965":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:46:59 GMT-0700 (PDT)\")"},"966":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(270.0,105.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"967":{"partsSpaceName":"PartsBin/Rick/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"TwoRowDock","changes":[{"__isSmartRef__":true,"id":968},{"__isSmartRef__":true,"id":969},{"__isSmartRef__":true,"id":970},{"__isSmartRef__":true,"id":971},{"__isSmartRef__":true,"id":972},{"__isSmartRef__":true,"id":973},{"__isSmartRef__":true,"id":974},{"__isSmartRef__":true,"id":975},{"__isSmartRef__":true,"id":976},{"__isSmartRef__":true,"id":977},{"__isSmartRef__":true,"id":978},{"__isSmartRef__":true,"id":979},{"__isSmartRef__":true,"id":980},{"__isSmartRef__":true,"id":981},{"__isSmartRef__":true,"id":982},{"__isSmartRef__":true,"id":983},{"__isSmartRef__":true,"id":984},{"__isSmartRef__":true,"id":985},{"__isSmartRef__":true,"id":986},{"__isSmartRef__":true,"id":987},{"__isSmartRef__":true,"id":988}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Fri Aug 08 2014 22:21:13 GMT-0700 (PDT)\")"},"968":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"969":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"970":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"971":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"972":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"973":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"974":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"975":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"976":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"977":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"978":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"979":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"980":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"981":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"982":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"983":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"984":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"985":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"986":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"987":{"__serializedExpressions__":["date"],"author":"rick","message":"no comment","id":"76BCF0B4-62BF-40D0-BBBD-EAF196BDCAC3","date":"new Date(\"Fri Aug 08 2014 22:21:09 GMT-0700 (PDT)\")"},"988":{"__serializedExpressions__":["date"],"author":"rick","message":"no comment","id":"7A498579-4D03-4CED-91A8-D3DC2ED6354E","date":"new Date(\"Fri Aug 08 2014 22:31:19 GMT-0700 (PDT)\")"},"989":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"990":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":991}},"991":{"test01IsMorph":{"__isSmartRef__":true,"id":992}},"992":{"varMapping":{"__isSmartRef__":true,"id":993},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":994},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"993":{"this":{"__isSmartRef__":true,"id":990}},"994":{},"995":{"init":{"__isSmartRef__":true,"id":996},"tooltips":{"__isSmartRef__":true,"id":999}},"996":{"varMapping":{"__isSmartRef__":true,"id":997},"source":"function init() {\n    var x = 0, y = 0;\n    for(var i = 0; i < this.submorphs.length; i++) {\n        this.submorphs[i].setPosition(pt(x, y));\n        x += 55;\n        if (x > 250) {\n            x = 0;\n            y = 55;\n        }\n    }\n    \n}","funcProperties":{"__isSmartRef__":true,"id":998},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"997":{"this":{"__isSmartRef__":true,"id":0}},"998":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:18:34 GMT-0700 (PDT)\")"},"999":{"varMapping":{"__isSmartRef__":true,"id":1000},"source":"function tooltips() {\n    for(var i = 0; i < this.submorphs.length; i++) {\n        this.submorphs[i].setToolTip(this.submorphs[i].prototypeMorph.name)\n    }\n    \n}","funcProperties":{"__isSmartRef__":true,"id":1001},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1000":{"this":{"__isSmartRef__":true,"id":0}},"1001":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:30:26 GMT-0700 (PDT)\")"},"isSimplifiedRegistry":true}}