{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":117},{"__isSmartRef__":true,"id":189},{"__isSmartRef__":true,"id":291},{"__isSmartRef__":true,"id":383},{"__isSmartRef__":true,"id":639},{"__isSmartRef__":true,"id":727},{"__isSmartRef__":true,"id":789},{"__isSmartRef__":true,"id":865}],"scripts":[],"id":"61DBD3FE-6AD7-4981-BD85-625932835859","shape":{"__isSmartRef__":true,"id":969},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"OneRowDock","partsBinMetaInfo":{"__isSmartRef__":true,"id":970},"eventHandler":{"__isSmartRef__":true,"id":992},"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":993},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"__serializedExpressions__":["_Position"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":998},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"1":{"submorphs":[{"__isSmartRef__":true,"id":2}],"scripts":[],"id":"247B3E4F-1BA6-451E-9D9F-504C01C09A24","shape":{"__isSmartRef__":true,"id":14},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem4","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"],"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":"E92BBD88-EBFC-49E3-AB70-F6B87208388D","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"],"_ClipMode":"visible","__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":1},"grabbingEnabled":false,"draggingEnabled":false,"_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},"setDockOwner":{"__isSmartRef__":true,"id":57},"initPrototype":{"__isSmartRef__":true,"id":60}},"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:14:13 GMT-0700 (PDT)\")"},"57":{"varMapping":{"__isSmartRef__":true,"id":58},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":59},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"58":{"this":{"__isSmartRef__":true,"id":1}},"59":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"60":{"varMapping":{"__isSmartRef__":true,"id":61},"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":62},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"61":{"this":{"__isSmartRef__":true,"id":1}},"62":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:47:25 GMT-0700 (PDT)\")"},"63":{"submorphs":[{"__isSmartRef__":true,"id":64}],"scripts":[],"id":"5DCEE14A-8732-4B24-AF2C-F10DDF84D142","shape":{"__isSmartRef__":true,"id":72},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem2","partsBinMetaInfo":{"__isSmartRef__":true,"id":73},"eventHandler":{"__isSmartRef__":true,"id":93},"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":94},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":99},"__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"_ToolTip":"Image","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":103},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(55.0,0.0)"},"64":{"submorphs":[],"scripts":[],"id":"A7998491-ABD1-460F-9AE8-D580A6F912F0","shape":{"__isSmartRef__":true,"id":65},"droppingEnabled":false,"halosEnabled":false,"registeredForMouseEvents":true,"eventHandler":{"__isSmartRef__":true,"id":66},"showsHalos":false,"name":"Image1","partsBinMetaInfo":{"__isSmartRef__":true,"id":71},"derivationIds":[707,"A3599566-EDD0-4429-B3F5-567BCEE44942"],"_ClipMode":"visible","__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":63},"grabbingEnabled":false,"draggingEnabled":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Image","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(2.0,2.0)"},"65":{"_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)"},"66":{"morph":{"__isSmartRef__":true,"id":64},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":67},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"67":{"relayFunc":{"__isSmartRef__":true,"id":68}},"68":{"varMapping":{"__isSmartRef__":true,"id":69},"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":70},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"69":{},"70":{},"71":{"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)\")"},"72":{"_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)"},"73":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__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},{"__isSmartRef__":true,"id":90},{"__isSmartRef__":true,"id":91},{"__isSmartRef__":true,"id":92}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"74":{"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)\")"},"75":{"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)\")"},"76":{"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)\")"},"77":{"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)\")"},"78":{"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)\")"},"79":{"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)\")"},"80":{"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)\")"},"81":{"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)\")"},"82":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"83":{"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)\")"},"84":{"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)\")"},"85":{"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)\")"},"86":{"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)\")"},"87":{"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)\")"},"88":{"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)\")"},"89":{"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)\")"},"90":{"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)\")"},"91":{"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)\")"},"92":{"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)\")"},"93":{"morph":{"__isSmartRef__":true,"id":63},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"94":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":95}},"95":{"test01IsMorph":{"__isSmartRef__":true,"id":96}},"96":{"varMapping":{"__isSmartRef__":true,"id":97},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":98},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"97":{"this":{"__isSmartRef__":true,"id":94}},"98":{},"99":{"submorphs":[],"scripts":[],"id":"A3599566-EDD0-4429-B3F5-567BCEE44942","shape":{"__isSmartRef__":true,"id":100},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"eventHandler":{"__isSmartRef__":true,"id":101},"__serializedExpressions__":["_Position"],"showsHalos":false,"name":"Image","partsBinMetaInfo":{"__isSmartRef__":true,"id":102},"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)"},"100":{"__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)"},"101":{"morph":{"__isSmartRef__":true,"id":99},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"102":{"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)\")"},"103":{"onMouseDown":{"__isSmartRef__":true,"id":104},"setDockOwner":{"__isSmartRef__":true,"id":111},"initPrototype":{"__isSmartRef__":true,"id":114}},"104":{"varMapping":{"__isSmartRef__":true,"id":105},"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":110},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"105":{"this":{"__isSmartRef__":true,"id":63},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":106}},"106":{"$super":{"__isSmartRef__":true,"id":107}},"107":{"varMapping":{"__isSmartRef__":true,"id":108},"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":109},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"108":{"obj":{"__isSmartRef__":true,"id":63},"name":"onMouseDown"},"109":{},"110":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:14:26 GMT-0700 (PDT)\")"},"111":{"varMapping":{"__isSmartRef__":true,"id":112},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":113},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"112":{"this":{"__isSmartRef__":true,"id":63}},"113":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"114":{"varMapping":{"__isSmartRef__":true,"id":115},"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":116},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"115":{"this":{"__isSmartRef__":true,"id":63}},"116":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:42:20 GMT-0700 (PDT)\")"},"117":{"submorphs":[{"__isSmartRef__":true,"id":118}],"scripts":[],"id":"C7A30E8C-E693-4117-AE7D-FB88524103FC","shape":{"__isSmartRef__":true,"id":135},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem1","partsBinMetaInfo":{"__isSmartRef__":true,"id":136},"eventHandler":{"__isSmartRef__":true,"id":156},"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":157},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":162},"__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"_ToolTip":"Triangle","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":175},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(110.0,0.0)"},"118":{"submorphs":[],"scripts":[],"id":"854B4DFE-B7E0-426C-850B-E6D9AB6052B0","shape":{"__isSmartRef__":true,"id":119},"droppingEnabled":false,"halosEnabled":false,"eventHandler":{"__isSmartRef__":true,"id":124},"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":129},{"__isSmartRef__":true,"id":130},{"__isSmartRef__":true,"id":131},{"__isSmartRef__":true,"id":132}],"layout":{"__isSmartRef__":true,"id":133},"name":"Triangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":134},"derivationIds":[147,"66581ABE-A430-40EC-8335-AAB745D44D23"],"_ClipMode":"visible","__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":117},"grabbingEnabled":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.4669747052543718,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(2.0,2.0)"},"119":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":120},{"__isSmartRef__":true,"id":121},{"__isSmartRef__":true,"id":122},{"__isSmartRef__":true,"id":123}],"_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)"},"120":{"isAbsolute":true,"x":1.021276595744681,"y":0.9425287356321839,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"121":{"isAbsolute":true,"x":92.02127659574468,"y":36.94252873563218,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"122":{"isAbsolute":true,"x":14.02127659574468,"y":84.94252873563218,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"123":{"isAbsolute":true,"x":1.021276595744681,"y":0.9425287356321839,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"124":{"morph":{"__isSmartRef__":true,"id":118},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":125},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"125":{"relayFunc":{"__isSmartRef__":true,"id":126}},"126":{"varMapping":{"__isSmartRef__":true,"id":127},"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":128},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"127":{},"128":{},"129":{"morph":{"__isSmartRef__":true,"id":118},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"130":{"morph":{"__isSmartRef__":true,"id":118},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"131":{"morph":{"__isSmartRef__":true,"id":118},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"132":{"morph":{"__isSmartRef__":true,"id":118},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"133":{},"134":{"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)\")"},"135":{"_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)"},"136":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__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},{"__isSmartRef__":true,"id":153},{"__isSmartRef__":true,"id":154},{"__isSmartRef__":true,"id":155}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"137":{"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)\")"},"138":{"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)\")"},"139":{"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)\")"},"140":{"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)\")"},"141":{"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)\")"},"142":{"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)\")"},"143":{"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)\")"},"144":{"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)\")"},"145":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"146":{"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)\")"},"147":{"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)\")"},"148":{"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)\")"},"149":{"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)\")"},"150":{"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)\")"},"151":{"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)\")"},"152":{"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)\")"},"153":{"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)\")"},"154":{"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)\")"},"155":{"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)\")"},"156":{"morph":{"__isSmartRef__":true,"id":117},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"157":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":158}},"158":{"test01IsMorph":{"__isSmartRef__":true,"id":159}},"159":{"varMapping":{"__isSmartRef__":true,"id":160},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":161},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"160":{"this":{"__isSmartRef__":true,"id":157}},"161":{},"162":{"submorphs":[],"scripts":[],"id":"66581ABE-A430-40EC-8335-AAB745D44D23","shape":{"__isSmartRef__":true,"id":163},"droppingEnabled":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":168},"__serializedExpressions__":["_Position"],"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":169},{"__isSmartRef__":true,"id":170},{"__isSmartRef__":true,"id":171},{"__isSmartRef__":true,"id":172}],"layout":{"__isSmartRef__":true,"id":173},"name":"Triangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":174},"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)"},"163":{"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":164},{"__isSmartRef__":true,"id":165},{"__isSmartRef__":true,"id":166},{"__isSmartRef__":true,"id":167}],"_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)"},"164":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"165":{"isAbsolute":true,"x":91,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"166":{"isAbsolute":true,"x":13,"y":84,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"167":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"168":{"morph":{"__isSmartRef__":true,"id":162},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"169":{"morph":{"__isSmartRef__":true,"id":162},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"170":{"morph":{"__isSmartRef__":true,"id":162},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"171":{"morph":{"__isSmartRef__":true,"id":162},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"172":{"morph":{"__isSmartRef__":true,"id":162},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"173":{},"174":{"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)\")"},"175":{"onMouseDown":{"__isSmartRef__":true,"id":176},"setDockOwner":{"__isSmartRef__":true,"id":183},"initPrototype":{"__isSmartRef__":true,"id":186}},"176":{"varMapping":{"__isSmartRef__":true,"id":177},"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":182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"177":{"this":{"__isSmartRef__":true,"id":117},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":178}},"178":{"$super":{"__isSmartRef__":true,"id":179}},"179":{"varMapping":{"__isSmartRef__":true,"id":180},"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":181},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"180":{"obj":{"__isSmartRef__":true,"id":117},"name":"onMouseDown"},"181":{},"182":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:14:36 GMT-0700 (PDT)\")"},"183":{"varMapping":{"__isSmartRef__":true,"id":184},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":185},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"184":{"this":{"__isSmartRef__":true,"id":117}},"185":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"186":{"varMapping":{"__isSmartRef__":true,"id":187},"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":188},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"187":{"this":{"__isSmartRef__":true,"id":117}},"188":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:39:48 GMT-0700 (PDT)\")"},"189":{"submorphs":[{"__isSmartRef__":true,"id":190}],"scripts":[],"id":"21720FBC-FA20-44F4-8F89-9AE5E6B5718F","shape":{"__isSmartRef__":true,"id":222},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem13","partsBinMetaInfo":{"__isSmartRef__":true,"id":223},"eventHandler":{"__isSmartRef__":true,"id":243},"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":244},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":249},"__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"_ToolTip":"Rectangle","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":277},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(165.0,0.0)"},"190":{"submorphs":[],"scripts":[],"id":"3E03FCEC-9790-41CA-BFE0-92EE137C06D0","shape":{"__isSmartRef__":true,"id":191},"__layered_droppingEnabled__":true,"halosEnabled":false,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":192},"eventHandler":{"__isSmartRef__":true,"id":212},"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","10A24D04-071D-4B83-BDEA-E336BE20761D"],"partTests":{"__isSmartRef__":true,"id":217},"_ClipMode":"visible","moved":true,"droppingEnabled":false,"isBeingDragged":false,"owner":{"__isSmartRef__":true,"id":189},"grabbingEnabled":false,"draggingEnabled":false,"__serializedExpressions__":["_Position"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(2.0,2.0)"},"191":{"_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)"},"192":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__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},{"__isSmartRef__":true,"id":209},{"__isSmartRef__":true,"id":210},{"__isSmartRef__":true,"id":211}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"193":{"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)\")"},"194":{"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)\")"},"195":{"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)\")"},"196":{"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)\")"},"197":{"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)\")"},"198":{"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)\")"},"199":{"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)\")"},"200":{"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)\")"},"201":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"202":{"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)\")"},"203":{"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)\")"},"204":{"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)\")"},"205":{"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)\")"},"206":{"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)\")"},"207":{"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)\")"},"208":{"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)\")"},"209":{"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)\")"},"210":{"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)\")"},"211":{"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)\")"},"212":{"morph":{"__isSmartRef__":true,"id":190},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":213},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"213":{"relayFunc":{"__isSmartRef__":true,"id":214}},"214":{"varMapping":{"__isSmartRef__":true,"id":215},"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":216},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"215":{},"216":{},"217":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":218}},"218":{"test01IsMorph":{"__isSmartRef__":true,"id":219}},"219":{"varMapping":{"__isSmartRef__":true,"id":220},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":221},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"220":{"this":{"__isSmartRef__":true,"id":217}},"221":{},"222":{"_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)"},"223":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__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},{"__isSmartRef__":true,"id":233},{"__isSmartRef__":true,"id":234},{"__isSmartRef__":true,"id":235},{"__isSmartRef__":true,"id":236},{"__isSmartRef__":true,"id":237},{"__isSmartRef__":true,"id":238},{"__isSmartRef__":true,"id":239},{"__isSmartRef__":true,"id":240},{"__isSmartRef__":true,"id":241},{"__isSmartRef__":true,"id":242}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"224":{"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)\")"},"225":{"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)\")"},"226":{"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)\")"},"227":{"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)\")"},"228":{"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)\")"},"229":{"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)\")"},"230":{"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)\")"},"231":{"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)\")"},"232":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"233":{"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)\")"},"234":{"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)\")"},"235":{"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)\")"},"236":{"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)\")"},"237":{"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)\")"},"238":{"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)\")"},"239":{"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)\")"},"240":{"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)\")"},"241":{"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)\")"},"242":{"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)\")"},"243":{"morph":{"__isSmartRef__":true,"id":189},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"244":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":245}},"245":{"test01IsMorph":{"__isSmartRef__":true,"id":246}},"246":{"varMapping":{"__isSmartRef__":true,"id":247},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":248},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"247":{"this":{"__isSmartRef__":true,"id":244}},"248":{},"249":{"submorphs":[],"scripts":[],"id":"AE728811-FEB4-44BD-BF8F-40F9859880E7","shape":{"__isSmartRef__":true,"id":250},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":251},"eventHandler":{"__isSmartRef__":true,"id":271},"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":272},"_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)"},"250":{"_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)"},"251":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":252},{"__isSmartRef__":true,"id":253},{"__isSmartRef__":true,"id":254},{"__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}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"252":{"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)\")"},"253":{"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)\")"},"254":{"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)\")"},"255":{"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)\")"},"256":{"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)\")"},"257":{"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)\")"},"258":{"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)\")"},"259":{"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)\")"},"260":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"261":{"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)\")"},"262":{"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)\")"},"263":{"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)\")"},"264":{"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)\")"},"265":{"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)\")"},"266":{"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)\")"},"267":{"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)\")"},"268":{"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)\")"},"269":{"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)\")"},"270":{"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)\")"},"271":{"morph":{"__isSmartRef__":true,"id":249},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"272":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":273}},"273":{"test01IsMorph":{"__isSmartRef__":true,"id":274}},"274":{"varMapping":{"__isSmartRef__":true,"id":275},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":276},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"275":{"this":{"__isSmartRef__":true,"id":272}},"276":{},"277":{"onMouseDown":{"__isSmartRef__":true,"id":278},"setDockOwner":{"__isSmartRef__":true,"id":285},"initPrototype":{"__isSmartRef__":true,"id":288}},"278":{"varMapping":{"__isSmartRef__":true,"id":279},"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":284},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"279":{"this":{"__isSmartRef__":true,"id":189},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":280}},"280":{"$super":{"__isSmartRef__":true,"id":281}},"281":{"varMapping":{"__isSmartRef__":true,"id":282},"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":283},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"282":{"obj":{"__isSmartRef__":true,"id":189},"name":"onMouseDown"},"283":{},"284":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:14:47 GMT-0700 (PDT)\")"},"285":{"varMapping":{"__isSmartRef__":true,"id":286},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":287},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"286":{"this":{"__isSmartRef__":true,"id":189}},"287":{"user":"rick","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"288":{"varMapping":{"__isSmartRef__":true,"id":289},"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":290},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"289":{"this":{"__isSmartRef__":true,"id":189}},"290":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:39:23 GMT-0700 (PDT)\")"},"291":{"submorphs":[{"__isSmartRef__":true,"id":292}],"scripts":[],"id":"97BA1018-0AA6-4CB6-9F8D-0CDB79C7875D","shape":{"__isSmartRef__":true,"id":319},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem14","partsBinMetaInfo":{"__isSmartRef__":true,"id":320},"eventHandler":{"__isSmartRef__":true,"id":340},"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"],"partTests":{"__isSmartRef__":true,"id":341},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":346},"__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"_ToolTip":"Button","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":369},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(220.0,0.0)"},"292":{"submorphs":[{"__isSmartRef__":true,"id":293}],"scripts":[],"shape":{"__isSmartRef__":true,"id":298},"eventHandler":{"__isSmartRef__":true,"id":299},"_ClipMode":"visible","derivationIds":["EC7EBB28-54AE-4244-80ED-3E13650F82B7","9FD2DCE2-B997-4536-B2A5-90D7DD92B3E6","0D8CC908-BD1C-4062-BB03-3FCEB910483D","2D6C2E94-573A-464E-A8AC-7A06E0E64EA9","3D27FD82-5A05-4C61-B201-075D7A498353"],"id":"4D6AA1D7-2B14-42BA-B577-A831B73B0916","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":293},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":304}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"Button1","partsBinMetaInfo":{"__isSmartRef__":true,"id":306},"pinSpecs":[{"__isSmartRef__":true,"id":314}],"owner":{"__isSmartRef__":true,"id":291},"draggingEnabled":false,"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":315},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(2.0,2.0)","distanceToDragEvent":"lively.pt(74.0,7.0)"},"293":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":294},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":295}],"eventHandler":{"__isSmartRef__":true,"id":297},"_ClipMode":"hidden","derivationIds":["7884E73F-0D17-44B3-907F-44A5223F1F3D","444B63A6-D9E7-4AB2-AB57-4A9146C18BFF","08999E10-CCC3-4CAB-99BC-4EF500309EC4","25D04998-727B-4546-8E55-26B11C8512F3","7D26C341-DA25-4130-B276-63D67C797E1D"],"id":"4C26D85B-679D-402B-88A9-17837C61BC56","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":292},"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)"},"294":{"_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)"},"295":{"style":{"__isSmartRef__":true,"id":296},"chunkOwner":{"__isSmartRef__":true,"id":293},"_id":"_325589","storedString":"Button","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"296":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"297":{"morph":{"__isSmartRef__":true,"id":293},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"298":{"_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)"},"299":{"morph":{"__isSmartRef__":true,"id":292},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":300},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"300":{"relayFunc":{"__isSmartRef__":true,"id":301}},"301":{"varMapping":{"__isSmartRef__":true,"id":302},"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":303},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"302":{},"303":{},"304":{"sourceObj":{"__isSmartRef__":true,"id":292},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":292},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":305},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"305":{"source":{"__isSmartRef__":true,"id":292},"target":{"__isSmartRef__":true,"id":292}},"306":{"partName":"Button","requiredModules":[],"partsSpaceName":"PartsBin/Inputs/","comment":"A simple button that calls a method #doAction when pressed.","changes":[{"__isSmartRef__":true,"id":307},{"__isSmartRef__":true,"id":308},{"__isSmartRef__":true,"id":309},{"__isSmartRef__":true,"id":310},{"__isSmartRef__":true,"id":311},{"__isSmartRef__":true,"id":312},{"__isSmartRef__":true,"id":313}],"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)\")"},"307":{"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)\")"},"308":{"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)\")"},"309":{"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)\")"},"310":{"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)\")"},"311":{"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)\")"},"312":{"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)\")"},"313":{"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)\")"},"314":{"pinName":"fire","modality":"output","type":"Boolean","accessor":"fire","location":1.5},"315":{"doAction":{"__isSmartRef__":true,"id":316}},"316":{"varMapping":{"__isSmartRef__":true,"id":317},"source":"function doAction() {\n    \n}","funcProperties":{"__isSmartRef__":true,"id":318},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"317":{"this":{"__isSmartRef__":true,"id":292}},"318":{"user":"undefined","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Dec 11 2012 13:14:29 GMT-0800 (PST)\")"},"319":{"_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)"},"320":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":321},{"__isSmartRef__":true,"id":322},{"__isSmartRef__":true,"id":323},{"__isSmartRef__":true,"id":324},{"__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}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"321":{"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)\")"},"322":{"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)\")"},"323":{"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)\")"},"324":{"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)\")"},"325":{"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)\")"},"326":{"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)\")"},"327":{"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)\")"},"328":{"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)\")"},"329":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"330":{"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)\")"},"331":{"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)\")"},"332":{"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)\")"},"333":{"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)\")"},"334":{"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)\")"},"335":{"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)\")"},"336":{"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)\")"},"337":{"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)\")"},"338":{"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)\")"},"339":{"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)\")"},"340":{"morph":{"__isSmartRef__":true,"id":291},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"341":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":342}},"342":{"test01IsMorph":{"__isSmartRef__":true,"id":343}},"343":{"varMapping":{"__isSmartRef__":true,"id":344},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":345},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"344":{"this":{"__isSmartRef__":true,"id":341}},"345":{},"346":{"submorphs":[{"__isSmartRef__":true,"id":347}],"scripts":[],"shape":{"__isSmartRef__":true,"id":352},"eventHandler":{"__isSmartRef__":true,"id":353},"_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":347},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":354}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"Button","partsBinMetaInfo":{"__isSmartRef__":true,"id":356},"pinSpecs":[{"__isSmartRef__":true,"id":364}],"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"isCopyMorphRef":true,"morphRefId":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":365},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(414.0,30.0)","distanceToDragEvent":"lively.pt(74.0,7.0)"},"347":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":348},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":349}],"eventHandler":{"__isSmartRef__":true,"id":351},"_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":346},"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)"},"348":{"_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)"},"349":{"style":{"__isSmartRef__":true,"id":350},"chunkOwner":{"__isSmartRef__":true,"id":347},"_id":"_325589","storedString":"Button","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"350":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"351":{"morph":{"__isSmartRef__":true,"id":347},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"352":{"_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)"},"353":{"morph":{"__isSmartRef__":true,"id":346},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"354":{"sourceObj":{"__isSmartRef__":true,"id":346},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":346},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":355},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"355":{"source":{"__isSmartRef__":true,"id":346},"target":{"__isSmartRef__":true,"id":346}},"356":{"partName":"Button","requiredModules":[],"partsSpaceName":"PartsBin/Inputs/","comment":"A simple button that calls a method #doAction when pressed.","changes":[{"__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}],"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)\")"},"357":{"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)\")"},"358":{"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)\")"},"359":{"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)\")"},"360":{"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)\")"},"361":{"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)\")"},"362":{"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)\")"},"363":{"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)\")"},"364":{"pinName":"fire","modality":"output","type":"Boolean","accessor":"fire","location":1.5},"365":{"doAction":{"__isSmartRef__":true,"id":366}},"366":{"varMapping":{"__isSmartRef__":true,"id":367},"source":"function doAction() {\n    \n}","funcProperties":{"__isSmartRef__":true,"id":368},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"367":{"this":{"__isSmartRef__":true,"id":346}},"368":{"user":"undefined","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Dec 11 2012 13:14:29 GMT-0800 (PST)\")"},"369":{"onMouseDown":{"__isSmartRef__":true,"id":370},"setDockOwner":{"__isSmartRef__":true,"id":377},"initPrototype":{"__isSmartRef__":true,"id":380}},"370":{"varMapping":{"__isSmartRef__":true,"id":371},"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":376},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"371":{"this":{"__isSmartRef__":true,"id":291},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":372}},"372":{"$super":{"__isSmartRef__":true,"id":373}},"373":{"varMapping":{"__isSmartRef__":true,"id":374},"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":375},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"374":{"obj":{"__isSmartRef__":true,"id":291},"name":"onMouseDown"},"375":{},"376":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:15:00 GMT-0700 (PDT)\")"},"377":{"varMapping":{"__isSmartRef__":true,"id":378},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":379},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"378":{"this":{"__isSmartRef__":true,"id":291}},"379":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"380":{"varMapping":{"__isSmartRef__":true,"id":381},"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":382},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"381":{"this":{"__isSmartRef__":true,"id":291}},"382":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:43:53 GMT-0700 (PDT)\")"},"383":{"submorphs":[{"__isSmartRef__":true,"id":384}],"scripts":[],"id":"C4E22584-4FF8-4891-BA68-30E9A0579D64","shape":{"__isSmartRef__":true,"id":493},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem15","partsBinMetaInfo":{"__isSmartRef__":true,"id":494},"eventHandler":{"__isSmartRef__":true,"id":514},"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","C668AAE5-74EC-4098-B422-7253B8475DFE"],"partTests":{"__isSmartRef__":true,"id":515},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":520},"__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"_ToolTip":"Pen","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":625},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(275.0,0.0)"},"384":{"submorphs":[],"scripts":[],"id":"9A608C0F-9C74-4C38-9985-E1B42431FF9C","shape":{"__isSmartRef__":true,"id":385},"droppingEnabled":false,"halosEnabled":false,"eventHandler":{"__isSmartRef__":true,"id":390},"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":395},{"__isSmartRef__":true,"id":396},{"__isSmartRef__":true,"id":397},{"__isSmartRef__":true,"id":398}],"layout":{"__isSmartRef__":true,"id":399},"name":"Pen1","partsBinMetaInfo":{"__isSmartRef__":true,"id":400},"derivationIds":[147,"1C3C008B-8212-44B2-AD73-60A48F06CD6A","EE3B27B8-84C6-4C19-A73C-534A6C1746E9","7E928C44-55BD-4F0B-BD4D-E973373DE6D4","BB8D4BEC-22FA-4AED-B658-8B5D36577570","1CA12A09-3D8C-4C23-BF9D-15579734AC27"],"_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":383},"grabbingEnabled":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9992916708551148,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":405},"__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)"},"385":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":386},{"__isSmartRef__":true,"id":387},{"__isSmartRef__":true,"id":388},{"__isSmartRef__":true,"id":389}],"_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)"},"386":{"isAbsolute":true,"x":-25.000000000000007,"y":-19.09090909090909,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"387":{"isAbsolute":true,"x":-45.00000000000001,"y":-14.09090909090909,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"388":{"isAbsolute":true,"x":-45.00000000000001,"y":-24.09090909090909,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"389":{"isAbsolute":true,"x":-25.000000000000007,"y":-19.09090909090909,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"390":{"morph":{"__isSmartRef__":true,"id":384},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":391},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"391":{"relayFunc":{"__isSmartRef__":true,"id":392}},"392":{"varMapping":{"__isSmartRef__":true,"id":393},"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":394},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"393":{},"394":{},"395":{"morph":{"__isSmartRef__":true,"id":384},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"396":{"morph":{"__isSmartRef__":true,"id":384},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"397":{"morph":{"__isSmartRef__":true,"id":384},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"398":{"morph":{"__isSmartRef__":true,"id":384},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"399":{},"400":{"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":401},{"__isSmartRef__":true,"id":402},{"__isSmartRef__":true,"id":403},{"__isSmartRef__":true,"id":404}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Sat Feb 08 2014 16:06:40 GMT-0800 (PST)\")"},"401":{"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)\")"},"402":{"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)\")"},"403":{"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)\")"},"404":{"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)\")"},"405":{"aboutMe":{"__isSmartRef__":true,"id":406},"drawLines":{"__isSmartRef__":true,"id":409},"filbert":{"__isSmartRef__":true,"id":412},"filberts":{"__isSmartRef__":true,"id":415},"fillLines":{"__isSmartRef__":true,"id":418},"go":{"__isSmartRef__":true,"id":421},"hilbert":{"__isSmartRef__":true,"id":424},"newLine":{"__isSmartRef__":true,"id":427},"reset":{"__isSmartRef__":true,"id":430},"setPenColor":{"__isSmartRef__":true,"id":433},"setPenWidth":{"__isSmartRef__":true,"id":436},"spiral":{"__isSmartRef__":true,"id":439},"testing":{"__isSmartRef__":true,"id":442},"turn":{"__isSmartRef__":true,"id":445},"yetToDo":{"__isSmartRef__":true,"id":448},"showAllMoves":{"__isSmartRef__":true,"id":451},"showState":{"__isSmartRef__":true,"id":454},"drawLineSoFar":{"__isSmartRef__":true,"id":457},"dragon":{"__isSmartRef__":true,"id":460},"goto":{"__isSmartRef__":true,"id":463},"onDrag":{"__isSmartRef__":true,"id":466},"onDragStart":{"__isSmartRef__":true,"id":473},"onDragEnd":{"__isSmartRef__":true,"id":480},"makeTracks":{"__isSmartRef__":true,"id":487},"makeWorldTracks":{"__isSmartRef__":true,"id":490}},"406":{"varMapping":{"__isSmartRef__":true,"id":407},"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":408},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"407":{"this":{"__isSmartRef__":true,"id":384}},"408":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 16 2013 14:31:01 GMT-0700 (PDT)\")"},"409":{"varMapping":{"__isSmartRef__":true,"id":410},"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":411},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"410":{"this":{"__isSmartRef__":true,"id":384}},"411":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 12:00:57 GMT-0700 (PDT)\")"},"412":{"varMapping":{"__isSmartRef__":true,"id":413},"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":414},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"413":{"this":{"__isSmartRef__":true,"id":384}},"414":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Feb 08 2014 15:57:26 GMT-0800 (PST)\")"},"415":{"varMapping":{"__isSmartRef__":true,"id":416},"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":417},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"416":{"this":{"__isSmartRef__":true,"id":384}},"417":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 15:07:43 GMT-0700 (PDT)\")"},"418":{"varMapping":{"__isSmartRef__":true,"id":419},"source":"function fillLines(color) {\n    this.fillColor = color; \n    return this.drawLines();\n}","funcProperties":{"__isSmartRef__":true,"id":420},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"419":{"this":{"__isSmartRef__":true,"id":384}},"420":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 15:07:43 GMT-0700 (PDT)\")"},"421":{"varMapping":{"__isSmartRef__":true,"id":422},"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":423},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"422":{"this":{"__isSmartRef__":true,"id":384}},"423":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:17:43 GMT-0700 (PDT)\")"},"424":{"varMapping":{"__isSmartRef__":true,"id":425},"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":426},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"425":{"this":{"__isSmartRef__":true,"id":384}},"426":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Feb 08 2014 15:59:30 GMT-0800 (PST)\")"},"427":{"varMapping":{"__isSmartRef__":true,"id":428},"source":"function newLine(loc) {\n    this.startingLocation = loc ? loc : this.location;\n    this.endPoints = [ this.startingLocation ];\n}","funcProperties":{"__isSmartRef__":true,"id":429},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"428":{"this":{"__isSmartRef__":true,"id":384}},"429":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 22:16:29 GMT-0700 (PDT)\")"},"430":{"varMapping":{"__isSmartRef__":true,"id":431},"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":432},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"431":{"this":{"__isSmartRef__":true,"id":384}},"432":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:19:20 GMT-0700 (PDT)\")"},"433":{"varMapping":{"__isSmartRef__":true,"id":434},"source":"function setPenColor(color) {\n    this.penColor = color;\n    if (this.showingAllMoves) this.setFill(color);\n}","funcProperties":{"__isSmartRef__":true,"id":435},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"434":{"this":{"__isSmartRef__":true,"id":384}},"435":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 21:21:31 GMT-0700 (PDT)\")"},"436":{"varMapping":{"__isSmartRef__":true,"id":437},"source":"function setPenWidth(size) {\n    this.penWidth = size;\n}","funcProperties":{"__isSmartRef__":true,"id":438},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"437":{"this":{"__isSmartRef__":true,"id":384}},"438":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 15:07:43 GMT-0700 (PDT)\")"},"439":{"varMapping":{"__isSmartRef__":true,"id":440},"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":441},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"440":{"this":{"__isSmartRef__":true,"id":384}},"441":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 15:07:43 GMT-0700 (PDT)\")"},"442":{"varMapping":{"__isSmartRef__":true,"id":443},"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":444},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"443":{"this":{"__isSmartRef__":true,"id":384}},"444":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Feb 08 2014 16:05:56 GMT-0800 (PST)\")"},"445":{"varMapping":{"__isSmartRef__":true,"id":446},"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":447},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"446":{"this":{"__isSmartRef__":true,"id":384}},"447":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 21:54:19 GMT-0700 (PDT)\")"},"448":{"varMapping":{"__isSmartRef__":true,"id":449},"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":450},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"449":{"this":{"__isSmartRef__":true,"id":384}},"450":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:10:19 GMT-0700 (PDT)\")"},"451":{"varMapping":{"__isSmartRef__":true,"id":452},"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":453},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"452":{"this":{"__isSmartRef__":true,"id":384}},"453":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 10:54:43 GMT-0700 (PDT)\")"},"454":{"varMapping":{"__isSmartRef__":true,"id":455},"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":456},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"455":{"this":{"__isSmartRef__":true,"id":384}},"456":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:42:28 GMT-0700 (PDT)\")"},"457":{"varMapping":{"__isSmartRef__":true,"id":458},"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":459},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"458":{"this":{"__isSmartRef__":true,"id":384}},"459":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:58:45 GMT-0700 (PDT)\")"},"460":{"varMapping":{"__isSmartRef__":true,"id":461},"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":462},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"461":{"this":{"__isSmartRef__":true,"id":384}},"462":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 20 2013 15:30:20 GMT-0700 (PDT)\")"},"463":{"varMapping":{"__isSmartRef__":true,"id":464},"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":465},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"464":{"this":{"__isSmartRef__":true,"id":384}},"465":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:15:33 GMT-0700 (PDT)\")"},"466":{"varMapping":{"__isSmartRef__":true,"id":467},"source":"function onDrag(evt) {\n    this.goto(evt.getPosition());\n}","funcProperties":{"__isSmartRef__":true,"id":472},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"467":{"this":{"__isSmartRef__":true,"id":384},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":468}},"468":{"$super":{"__isSmartRef__":true,"id":469}},"469":{"varMapping":{"__isSmartRef__":true,"id":470},"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":471},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"470":{"obj":{"__isSmartRef__":true,"id":384},"name":"onDrag"},"471":{},"472":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 12:33:03 GMT-0700 (PDT)\")"},"473":{"varMapping":{"__isSmartRef__":true,"id":474},"source":"function onDragStart(evt) {\n    this.location = evt.getPosition();\n    this.newLine();\n    this.showAllMoves(true);\n}","funcProperties":{"__isSmartRef__":true,"id":479},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"474":{"this":{"__isSmartRef__":true,"id":384},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":475}},"475":{"$super":{"__isSmartRef__":true,"id":476}},"476":{"varMapping":{"__isSmartRef__":true,"id":477},"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":478},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"477":{"obj":{"__isSmartRef__":true,"id":384},"name":"onDragStart"},"478":{},"479":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 12:52:35 GMT-0700 (PDT)\")"},"480":{"varMapping":{"__isSmartRef__":true,"id":481},"source":"function onDragEnd(evt) {\n    this.drawLines();\n    this.owner.addMorph(this); // put me on top for grabbing again\n}","funcProperties":{"__isSmartRef__":true,"id":486},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"481":{"this":{"__isSmartRef__":true,"id":384},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":482}},"482":{"$super":{"__isSmartRef__":true,"id":483}},"483":{"varMapping":{"__isSmartRef__":true,"id":484},"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":485},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"484":{"obj":{"__isSmartRef__":true,"id":384},"name":"onDragEnd"},"485":{},"486":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 12:59:07 GMT-0700 (PDT)\")"},"487":{"varMapping":{"__isSmartRef__":true,"id":488},"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":489},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"488":{"this":{"__isSmartRef__":true,"id":384}},"489":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 16 2013 14:54:07 GMT-0700 (PDT)\")"},"490":{"varMapping":{"__isSmartRef__":true,"id":491},"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":492},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"491":{"this":{"__isSmartRef__":true,"id":384}},"492":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 16 2013 15:54:21 GMT-0700 (PDT)\")"},"493":{"_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)"},"494":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":495},{"__isSmartRef__":true,"id":496},{"__isSmartRef__":true,"id":497},{"__isSmartRef__":true,"id":498},{"__isSmartRef__":true,"id":499},{"__isSmartRef__":true,"id":500},{"__isSmartRef__":true,"id":501},{"__isSmartRef__":true,"id":502},{"__isSmartRef__":true,"id":503},{"__isSmartRef__":true,"id":504},{"__isSmartRef__":true,"id":505},{"__isSmartRef__":true,"id":506},{"__isSmartRef__":true,"id":507},{"__isSmartRef__":true,"id":508},{"__isSmartRef__":true,"id":509},{"__isSmartRef__":true,"id":510},{"__isSmartRef__":true,"id":511},{"__isSmartRef__":true,"id":512},{"__isSmartRef__":true,"id":513}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"495":{"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)\")"},"496":{"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)\")"},"497":{"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)\")"},"498":{"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)\")"},"499":{"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)\")"},"500":{"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)\")"},"501":{"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)\")"},"502":{"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)\")"},"503":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"504":{"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)\")"},"505":{"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)\")"},"506":{"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)\")"},"507":{"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)\")"},"508":{"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)\")"},"509":{"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)\")"},"510":{"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)\")"},"511":{"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)\")"},"512":{"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)\")"},"513":{"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)\")"},"514":{"morph":{"__isSmartRef__":true,"id":383},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"515":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":516}},"516":{"test01IsMorph":{"__isSmartRef__":true,"id":517}},"517":{"varMapping":{"__isSmartRef__":true,"id":518},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":519},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"518":{"this":{"__isSmartRef__":true,"id":515}},"519":{},"520":{"submorphs":[],"scripts":[],"id":"BB8D4BEC-22FA-4AED-B658-8B5D36577570","shape":{"__isSmartRef__":true,"id":521},"droppingEnabled":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":526},"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":527},{"__isSmartRef__":true,"id":528},{"__isSmartRef__":true,"id":529},{"__isSmartRef__":true,"id":530}],"layout":{"__isSmartRef__":true,"id":531},"name":"Pen","partsBinMetaInfo":{"__isSmartRef__":true,"id":532},"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":537},"__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)"},"521":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":522},{"__isSmartRef__":true,"id":523},{"__isSmartRef__":true,"id":524},{"__isSmartRef__":true,"id":525}],"_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)"},"522":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"523":{"isAbsolute":true,"x":-20,"y":5,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"524":{"isAbsolute":true,"x":-20,"y":-5,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"525":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"526":{"morph":{"__isSmartRef__":true,"id":520},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"527":{"morph":{"__isSmartRef__":true,"id":520},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"528":{"morph":{"__isSmartRef__":true,"id":520},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"529":{"morph":{"__isSmartRef__":true,"id":520},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"530":{"morph":{"__isSmartRef__":true,"id":520},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"531":{},"532":{"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":533},{"__isSmartRef__":true,"id":534},{"__isSmartRef__":true,"id":535},{"__isSmartRef__":true,"id":536}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Sat Feb 08 2014 16:06:40 GMT-0800 (PST)\")"},"533":{"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)\")"},"534":{"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)\")"},"535":{"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)\")"},"536":{"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)\")"},"537":{"aboutMe":{"__isSmartRef__":true,"id":538},"drawLines":{"__isSmartRef__":true,"id":541},"filbert":{"__isSmartRef__":true,"id":544},"filberts":{"__isSmartRef__":true,"id":547},"fillLines":{"__isSmartRef__":true,"id":550},"go":{"__isSmartRef__":true,"id":553},"hilbert":{"__isSmartRef__":true,"id":556},"newLine":{"__isSmartRef__":true,"id":559},"reset":{"__isSmartRef__":true,"id":562},"setPenColor":{"__isSmartRef__":true,"id":565},"setPenWidth":{"__isSmartRef__":true,"id":568},"spiral":{"__isSmartRef__":true,"id":571},"testing":{"__isSmartRef__":true,"id":574},"turn":{"__isSmartRef__":true,"id":577},"yetToDo":{"__isSmartRef__":true,"id":580},"showAllMoves":{"__isSmartRef__":true,"id":583},"showState":{"__isSmartRef__":true,"id":586},"drawLineSoFar":{"__isSmartRef__":true,"id":589},"dragon":{"__isSmartRef__":true,"id":592},"goto":{"__isSmartRef__":true,"id":595},"onDrag":{"__isSmartRef__":true,"id":598},"onDragStart":{"__isSmartRef__":true,"id":605},"onDragEnd":{"__isSmartRef__":true,"id":612},"makeTracks":{"__isSmartRef__":true,"id":619},"makeWorldTracks":{"__isSmartRef__":true,"id":622}},"538":{"varMapping":{"__isSmartRef__":true,"id":539},"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":540},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"539":{"this":{"__isSmartRef__":true,"id":520}},"540":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 16 2013 14:31:01 GMT-0700 (PDT)\")"},"541":{"varMapping":{"__isSmartRef__":true,"id":542},"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":543},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"542":{"this":{"__isSmartRef__":true,"id":520}},"543":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 12:00:57 GMT-0700 (PDT)\")"},"544":{"varMapping":{"__isSmartRef__":true,"id":545},"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":546},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"545":{"this":{"__isSmartRef__":true,"id":520}},"546":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Feb 08 2014 15:57:26 GMT-0800 (PST)\")"},"547":{"varMapping":{"__isSmartRef__":true,"id":548},"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":549},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"548":{"this":{"__isSmartRef__":true,"id":520}},"549":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 15:07:43 GMT-0700 (PDT)\")"},"550":{"varMapping":{"__isSmartRef__":true,"id":551},"source":"function fillLines(color) {\n    this.fillColor = color; \n    return this.drawLines();\n}","funcProperties":{"__isSmartRef__":true,"id":552},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"551":{"this":{"__isSmartRef__":true,"id":520}},"552":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 15:07:43 GMT-0700 (PDT)\")"},"553":{"varMapping":{"__isSmartRef__":true,"id":554},"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":555},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"554":{"this":{"__isSmartRef__":true,"id":520}},"555":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:17:43 GMT-0700 (PDT)\")"},"556":{"varMapping":{"__isSmartRef__":true,"id":557},"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":558},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"557":{"this":{"__isSmartRef__":true,"id":520}},"558":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Feb 08 2014 15:59:30 GMT-0800 (PST)\")"},"559":{"varMapping":{"__isSmartRef__":true,"id":560},"source":"function newLine(loc) {\n    this.startingLocation = loc ? loc : this.location;\n    this.endPoints = [ this.startingLocation ];\n}","funcProperties":{"__isSmartRef__":true,"id":561},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"560":{"this":{"__isSmartRef__":true,"id":520}},"561":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 22:16:29 GMT-0700 (PDT)\")"},"562":{"varMapping":{"__isSmartRef__":true,"id":563},"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":564},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"563":{"this":{"__isSmartRef__":true,"id":520}},"564":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:19:20 GMT-0700 (PDT)\")"},"565":{"varMapping":{"__isSmartRef__":true,"id":566},"source":"function setPenColor(color) {\n    this.penColor = color;\n    if (this.showingAllMoves) this.setFill(color);\n}","funcProperties":{"__isSmartRef__":true,"id":567},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"566":{"this":{"__isSmartRef__":true,"id":520}},"567":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 21:21:31 GMT-0700 (PDT)\")"},"568":{"varMapping":{"__isSmartRef__":true,"id":569},"source":"function setPenWidth(size) {\n    this.penWidth = size;\n}","funcProperties":{"__isSmartRef__":true,"id":570},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"569":{"this":{"__isSmartRef__":true,"id":520}},"570":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 15:07:43 GMT-0700 (PDT)\")"},"571":{"varMapping":{"__isSmartRef__":true,"id":572},"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":573},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"572":{"this":{"__isSmartRef__":true,"id":520}},"573":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 15:07:43 GMT-0700 (PDT)\")"},"574":{"varMapping":{"__isSmartRef__":true,"id":575},"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":576},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"575":{"this":{"__isSmartRef__":true,"id":520}},"576":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Feb 08 2014 16:05:56 GMT-0800 (PST)\")"},"577":{"varMapping":{"__isSmartRef__":true,"id":578},"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":579},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"578":{"this":{"__isSmartRef__":true,"id":520}},"579":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 13 2013 21:54:19 GMT-0700 (PDT)\")"},"580":{"varMapping":{"__isSmartRef__":true,"id":581},"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":582},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"581":{"this":{"__isSmartRef__":true,"id":520}},"582":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:10:19 GMT-0700 (PDT)\")"},"583":{"varMapping":{"__isSmartRef__":true,"id":584},"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":585},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"584":{"this":{"__isSmartRef__":true,"id":520}},"585":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 10:54:43 GMT-0700 (PDT)\")"},"586":{"varMapping":{"__isSmartRef__":true,"id":587},"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":588},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"587":{"this":{"__isSmartRef__":true,"id":520}},"588":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:42:28 GMT-0700 (PDT)\")"},"589":{"varMapping":{"__isSmartRef__":true,"id":590},"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":591},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"590":{"this":{"__isSmartRef__":true,"id":520}},"591":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:58:45 GMT-0700 (PDT)\")"},"592":{"varMapping":{"__isSmartRef__":true,"id":593},"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":594},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"593":{"this":{"__isSmartRef__":true,"id":520}},"594":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 20 2013 15:30:20 GMT-0700 (PDT)\")"},"595":{"varMapping":{"__isSmartRef__":true,"id":596},"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":597},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"596":{"this":{"__isSmartRef__":true,"id":520}},"597":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 11:15:33 GMT-0700 (PDT)\")"},"598":{"varMapping":{"__isSmartRef__":true,"id":599},"source":"function onDrag(evt) {\n    this.goto(evt.getPosition());\n}","funcProperties":{"__isSmartRef__":true,"id":604},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"599":{"this":{"__isSmartRef__":true,"id":520},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":600}},"600":{"$super":{"__isSmartRef__":true,"id":601}},"601":{"varMapping":{"__isSmartRef__":true,"id":602},"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":603},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"602":{"obj":{"__isSmartRef__":true,"id":520},"name":"onDrag"},"603":{},"604":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 12:33:03 GMT-0700 (PDT)\")"},"605":{"varMapping":{"__isSmartRef__":true,"id":606},"source":"function onDragStart(evt) {\n    this.location = evt.getPosition();\n    this.newLine();\n    this.showAllMoves(true);\n}","funcProperties":{"__isSmartRef__":true,"id":611},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"606":{"this":{"__isSmartRef__":true,"id":520},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":607}},"607":{"$super":{"__isSmartRef__":true,"id":608}},"608":{"varMapping":{"__isSmartRef__":true,"id":609},"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":610},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"609":{"obj":{"__isSmartRef__":true,"id":520},"name":"onDragStart"},"610":{},"611":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 12:52:35 GMT-0700 (PDT)\")"},"612":{"varMapping":{"__isSmartRef__":true,"id":613},"source":"function onDragEnd(evt) {\n    this.drawLines();\n    this.owner.addMorph(this); // put me on top for grabbing again\n}","funcProperties":{"__isSmartRef__":true,"id":618},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"613":{"this":{"__isSmartRef__":true,"id":520},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":614}},"614":{"$super":{"__isSmartRef__":true,"id":615}},"615":{"varMapping":{"__isSmartRef__":true,"id":616},"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":617},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"616":{"obj":{"__isSmartRef__":true,"id":520},"name":"onDragEnd"},"617":{},"618":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Mar 21 2013 12:59:07 GMT-0700 (PDT)\")"},"619":{"varMapping":{"__isSmartRef__":true,"id":620},"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":621},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"620":{"this":{"__isSmartRef__":true,"id":520}},"621":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 16 2013 14:54:07 GMT-0700 (PDT)\")"},"622":{"varMapping":{"__isSmartRef__":true,"id":623},"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":624},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"623":{"this":{"__isSmartRef__":true,"id":520}},"624":{"user":"Dan","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 16 2013 15:54:21 GMT-0700 (PDT)\")"},"625":{"onMouseDown":{"__isSmartRef__":true,"id":626},"setDockOwner":{"__isSmartRef__":true,"id":633},"initPrototype":{"__isSmartRef__":true,"id":636}},"626":{"varMapping":{"__isSmartRef__":true,"id":627},"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":632},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"627":{"this":{"__isSmartRef__":true,"id":383},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":628}},"628":{"$super":{"__isSmartRef__":true,"id":629}},"629":{"varMapping":{"__isSmartRef__":true,"id":630},"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":631},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"630":{"obj":{"__isSmartRef__":true,"id":383},"name":"onMouseDown"},"631":{},"632":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:15:27 GMT-0700 (PDT)\")"},"633":{"varMapping":{"__isSmartRef__":true,"id":634},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":635},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"634":{"this":{"__isSmartRef__":true,"id":383}},"635":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"636":{"varMapping":{"__isSmartRef__":true,"id":637},"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":638},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"637":{"this":{"__isSmartRef__":true,"id":383}},"638":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:50:49 GMT-0700 (PDT)\")"},"639":{"submorphs":[{"__isSmartRef__":true,"id":640}],"scripts":[],"id":"69435578-F8E9-4451-B3DC-8D3B279E1908","shape":{"__isSmartRef__":true,"id":665},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem9","partsBinMetaInfo":{"__isSmartRef__":true,"id":666},"eventHandler":{"__isSmartRef__":true,"id":686},"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"],"partTests":{"__isSmartRef__":true,"id":687},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":692},"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"_ToolTip":"LineWithArrow","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":713},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(330.0,0.0)","distanceToDragEvent":"lively.pt(29.0,-32.0)"},"640":{"submorphs":[{"__isSmartRef__":true,"id":641}],"scripts":[],"id":"EC6BEC80-0D46-4CD9-8FA2-CF63B7666E76","shape":{"__isSmartRef__":true,"id":652},"droppingEnabled":false,"halosEnabled":false,"eventHandler":{"__isSmartRef__":true,"id":655},"controlPoints":[{"__isSmartRef__":true,"id":660},{"__isSmartRef__":true,"id":661}],"showsHalos":false,"name":"LineWithArrow1","partsBinMetaInfo":{"__isSmartRef__":true,"id":662},"isBeingDragged":false,"derivationIds":[1637,"52ECCE74-965A-4BF4-8AAD-3AC2322C912F"],"_ClipMode":"visible","__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":639},"grabbingEnabled":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.3325272405867521,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(25.0,25.0)"},"641":{"submorphs":[],"scripts":[],"id":"721C54DD-5411-433F-B401-4DBE1BE61E8A","shape":{"__isSmartRef__":true,"id":642},"droppingEnabled":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":647},"owner":{"__isSmartRef__":true,"id":640},"controlPoints":[{"__isSmartRef__":true,"id":648},{"__isSmartRef__":true,"id":649},{"__isSmartRef__":true,"id":650},{"__isSmartRef__":true,"id":651}],"showsHalos":false,"grabbingEnabled":false,"derivationIds":[1638,"942D98EC-2246-45E9-B429-A4486550703B"],"_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)"},"642":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":643},{"__isSmartRef__":true,"id":644},{"__isSmartRef__":true,"id":645},{"__isSmartRef__":true,"id":646}],"_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)"},"643":{"isAbsolute":true,"x":-18,"y":-7,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"644":{"isAbsolute":true,"x":-18,"y":8,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"645":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"646":{"isAbsolute":true,"x":-18,"y":-7,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"647":{"morph":{"__isSmartRef__":true,"id":641},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"648":{"morph":{"__isSmartRef__":true,"id":641},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"649":{"morph":{"__isSmartRef__":true,"id":641},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"650":{"morph":{"__isSmartRef__":true,"id":641},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"651":{"morph":{"__isSmartRef__":true,"id":641},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"652":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":653},{"__isSmartRef__":true,"id":654}],"_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)"},"653":{"isAbsolute":true,"x":-57,"y":-43,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"654":{"isAbsolute":true,"x":55,"y":43.00000000000003,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"655":{"morph":{"__isSmartRef__":true,"id":640},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":656},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"656":{"relayFunc":{"__isSmartRef__":true,"id":657}},"657":{"varMapping":{"__isSmartRef__":true,"id":658},"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":659},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"658":{},"659":{},"660":{"morph":{"__isSmartRef__":true,"id":640},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"661":{"morph":{"__isSmartRef__":true,"id":640},"index":1,"marker":{"__isSmartRef__":true,"id":641},"markerDirection":"prev","connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"662":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic/","partName":"LineWithArrow","comment":"a Line with one arrow","changes":[{"__isSmartRef__":true,"id":663},{"__isSmartRef__":true,"id":664}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Sep 05 2012 16:01:34 GMT-0700 (PDT)\")"},"663":{"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)\")"},"664":{"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)\")"},"665":{"_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)"},"666":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":667},{"__isSmartRef__":true,"id":668},{"__isSmartRef__":true,"id":669},{"__isSmartRef__":true,"id":670},{"__isSmartRef__":true,"id":671},{"__isSmartRef__":true,"id":672},{"__isSmartRef__":true,"id":673},{"__isSmartRef__":true,"id":674},{"__isSmartRef__":true,"id":675},{"__isSmartRef__":true,"id":676},{"__isSmartRef__":true,"id":677},{"__isSmartRef__":true,"id":678},{"__isSmartRef__":true,"id":679},{"__isSmartRef__":true,"id":680},{"__isSmartRef__":true,"id":681},{"__isSmartRef__":true,"id":682},{"__isSmartRef__":true,"id":683},{"__isSmartRef__":true,"id":684},{"__isSmartRef__":true,"id":685}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"667":{"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)\")"},"668":{"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)\")"},"669":{"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)\")"},"670":{"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)\")"},"671":{"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)\")"},"672":{"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)\")"},"673":{"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)\")"},"674":{"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)\")"},"675":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"676":{"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)\")"},"677":{"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)\")"},"678":{"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)\")"},"679":{"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)\")"},"680":{"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)\")"},"681":{"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)\")"},"682":{"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)\")"},"683":{"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)\")"},"684":{"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)\")"},"685":{"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)\")"},"686":{"morph":{"__isSmartRef__":true,"id":639},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"687":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":688}},"688":{"test01IsMorph":{"__isSmartRef__":true,"id":689}},"689":{"varMapping":{"__isSmartRef__":true,"id":690},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":691},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"690":{"this":{"__isSmartRef__":true,"id":687}},"691":{},"692":{"submorphs":[{"__isSmartRef__":true,"id":693}],"scripts":[],"id":"52ECCE74-965A-4BF4-8AAD-3AC2322C912F","shape":{"__isSmartRef__":true,"id":704},"droppingEnabled":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":707},"__serializedExpressions__":["_Position"],"controlPoints":[{"__isSmartRef__":true,"id":708},{"__isSmartRef__":true,"id":709}],"showsHalos":false,"name":"LineWithArrow","partsBinMetaInfo":{"__isSmartRef__":true,"id":710},"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)"},"693":{"submorphs":[],"scripts":[],"id":"942D98EC-2246-45E9-B429-A4486550703B","shape":{"__isSmartRef__":true,"id":694},"droppingEnabled":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":699},"__serializedExpressions__":["_Origin","_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":692},"controlPoints":[{"__isSmartRef__":true,"id":700},{"__isSmartRef__":true,"id":701},{"__isSmartRef__":true,"id":702},{"__isSmartRef__":true,"id":703}],"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)"},"694":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":695},{"__isSmartRef__":true,"id":696},{"__isSmartRef__":true,"id":697},{"__isSmartRef__":true,"id":698}],"__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)"},"695":{"isAbsolute":true,"x":-18,"y":-7,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"696":{"isAbsolute":true,"x":-18,"y":8,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"697":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"698":{"isAbsolute":true,"x":-18,"y":-7,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"699":{"morph":{"__isSmartRef__":true,"id":693},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"700":{"morph":{"__isSmartRef__":true,"id":693},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"701":{"morph":{"__isSmartRef__":true,"id":693},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"702":{"morph":{"__isSmartRef__":true,"id":693},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"703":{"morph":{"__isSmartRef__":true,"id":693},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"704":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":705},{"__isSmartRef__":true,"id":706}],"__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)"},"705":{"isAbsolute":true,"x":-57,"y":-43,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"706":{"isAbsolute":true,"x":55,"y":43.00000000000003,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"707":{"morph":{"__isSmartRef__":true,"id":692},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"708":{"morph":{"__isSmartRef__":true,"id":692},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"709":{"morph":{"__isSmartRef__":true,"id":692},"index":1,"marker":{"__isSmartRef__":true,"id":693},"markerDirection":"prev","connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"710":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic/","partName":"LineWithArrow","comment":"a Line with one arrow","changes":[{"__isSmartRef__":true,"id":711},{"__isSmartRef__":true,"id":712}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Sep 05 2012 16:01:34 GMT-0700 (PDT)\")"},"711":{"__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)\")"},"712":{"__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)\")"},"713":{"onMouseDown":{"__isSmartRef__":true,"id":714},"setDockOwner":{"__isSmartRef__":true,"id":721},"initPrototype":{"__isSmartRef__":true,"id":724}},"714":{"varMapping":{"__isSmartRef__":true,"id":715},"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":720},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"715":{"this":{"__isSmartRef__":true,"id":639},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":716}},"716":{"$super":{"__isSmartRef__":true,"id":717}},"717":{"varMapping":{"__isSmartRef__":true,"id":718},"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":719},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"718":{"obj":{"__isSmartRef__":true,"id":639},"name":"onMouseDown"},"719":{},"720":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:15:40 GMT-0700 (PDT)\")"},"721":{"varMapping":{"__isSmartRef__":true,"id":722},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":723},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"722":{"this":{"__isSmartRef__":true,"id":639}},"723":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"724":{"varMapping":{"__isSmartRef__":true,"id":725},"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":726},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"725":{"this":{"__isSmartRef__":true,"id":639}},"726":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 21:58:48 GMT-0700 (PDT)\")"},"727":{"submorphs":[{"__isSmartRef__":true,"id":728}],"scripts":[],"id":"06C7BFA5-90CE-44F6-A9CC-A7AC3652AA60","shape":{"__isSmartRef__":true,"id":740},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem17","partsBinMetaInfo":{"__isSmartRef__":true,"id":741},"eventHandler":{"__isSmartRef__":true,"id":761},"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"],"partTests":{"__isSmartRef__":true,"id":762},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":767},"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"_ToolTip":"line","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":775},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(385.0,0.0)","distanceToDragEvent":"lively.pt(29.0,-32.0)"},"728":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":729},"id":"11ADAD59-3585-4D7A-86C8-141958D08AA7","eventHandler":{"__isSmartRef__":true,"id":732},"droppingEnabled":false,"halosEnabled":false,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":737},{"__isSmartRef__":true,"id":738}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":739},"name":"line1","derivationIds":[731,"2A792414-E141-46E2-9704-5B3F71A191B3","15178629-AAE2-425D-BEC7-C5C4E7B5E832"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":727},"grabbingEnabled":false,"draggingEnabled":false,"__serializedExpressions__":["_Position"],"_Rotation":0,"_Scale":0.4533996471690021,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(2.0,2.0)"},"729":{"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":730},{"__isSmartRef__":true,"id":731}],"_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)"},"730":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"731":{"isAbsolute":true,"x":100,"y":100,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"732":{"morph":{"__isSmartRef__":true,"id":728},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":733},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"733":{"relayFunc":{"__isSmartRef__":true,"id":734}},"734":{"varMapping":{"__isSmartRef__":true,"id":735},"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":736},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"735":{},"736":{},"737":{"morph":{"__isSmartRef__":true,"id":728},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"738":{"morph":{"__isSmartRef__":true,"id":728},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"739":{"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)\")"},"740":{"_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)"},"741":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":742},{"__isSmartRef__":true,"id":743},{"__isSmartRef__":true,"id":744},{"__isSmartRef__":true,"id":745},{"__isSmartRef__":true,"id":746},{"__isSmartRef__":true,"id":747},{"__isSmartRef__":true,"id":748},{"__isSmartRef__":true,"id":749},{"__isSmartRef__":true,"id":750},{"__isSmartRef__":true,"id":751},{"__isSmartRef__":true,"id":752},{"__isSmartRef__":true,"id":753},{"__isSmartRef__":true,"id":754},{"__isSmartRef__":true,"id":755},{"__isSmartRef__":true,"id":756},{"__isSmartRef__":true,"id":757},{"__isSmartRef__":true,"id":758},{"__isSmartRef__":true,"id":759},{"__isSmartRef__":true,"id":760}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"742":{"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)\")"},"743":{"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)\")"},"744":{"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)\")"},"745":{"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)\")"},"746":{"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)\")"},"747":{"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)\")"},"748":{"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)\")"},"749":{"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)\")"},"750":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"751":{"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)\")"},"752":{"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)\")"},"753":{"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)\")"},"754":{"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)\")"},"755":{"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)\")"},"756":{"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)\")"},"757":{"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)\")"},"758":{"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)\")"},"759":{"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)\")"},"760":{"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)\")"},"761":{"morph":{"__isSmartRef__":true,"id":727},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"762":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":763}},"763":{"test01IsMorph":{"__isSmartRef__":true,"id":764}},"764":{"varMapping":{"__isSmartRef__":true,"id":765},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":766},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"765":{"this":{"__isSmartRef__":true,"id":762}},"766":{},"767":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":768},"id":"2A792414-E141-46E2-9704-5B3F71A191B3","eventHandler":{"__isSmartRef__":true,"id":771},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"__serializedExpressions__":["_Position"],"controlPoints":[{"__isSmartRef__":true,"id":772},{"__isSmartRef__":true,"id":773}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":774},"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)"},"768":{"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":769},{"__isSmartRef__":true,"id":770}],"_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)"},"769":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"770":{"isAbsolute":true,"x":100,"y":100,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"771":{"morph":{"__isSmartRef__":true,"id":767},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"772":{"morph":{"__isSmartRef__":true,"id":767},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"773":{"morph":{"__isSmartRef__":true,"id":767},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"774":{"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)\")"},"775":{"onMouseDown":{"__isSmartRef__":true,"id":776},"setDockOwner":{"__isSmartRef__":true,"id":783},"initPrototype":{"__isSmartRef__":true,"id":786}},"776":{"varMapping":{"__isSmartRef__":true,"id":777},"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":782},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"777":{"this":{"__isSmartRef__":true,"id":727},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":778}},"778":{"$super":{"__isSmartRef__":true,"id":779}},"779":{"varMapping":{"__isSmartRef__":true,"id":780},"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":781},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"780":{"obj":{"__isSmartRef__":true,"id":727},"name":"onMouseDown"},"781":{},"782":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:15:50 GMT-0700 (PDT)\")"},"783":{"varMapping":{"__isSmartRef__":true,"id":784},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":785},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"784":{"this":{"__isSmartRef__":true,"id":727}},"785":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"786":{"varMapping":{"__isSmartRef__":true,"id":787},"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":788},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"787":{"this":{"__isSmartRef__":true,"id":727}},"788":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:56:45 GMT-0700 (PDT)\")"},"789":{"submorphs":[{"__isSmartRef__":true,"id":790}],"scripts":[],"id":"6C3DBFBC-E3CA-419E-967C-A4F0A8932B59","shape":{"__isSmartRef__":true,"id":809},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem18","partsBinMetaInfo":{"__isSmartRef__":true,"id":810},"eventHandler":{"__isSmartRef__":true,"id":830},"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":831},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":836},"__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"_ToolTip":"Text","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":851},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(440.0,0.0)"},"790":{"submorphs":[],"scripts":[],"id":"4F555320-E09F-45C5-B428-461DD0403E02","shape":{"__isSmartRef__":true,"id":791},"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":792},"textChunks":[{"__isSmartRef__":true,"id":801}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":803},"_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","9AD5BE99-B69E-4427-8ABE-7BC8B9684A5E"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"layout":{"__isSmartRef__":true,"id":808},"owner":{"__isSmartRef__":true,"id":789},"draggingEnabled":false,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"priorSelectionRange":[8,8],"__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)"},"791":{"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)"},"792":{"partsSpaceName":"PartsBin/Basic/","migrationLevel":8,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":793},{"__isSmartRef__":true,"id":794},{"__isSmartRef__":true,"id":795},{"__isSmartRef__":true,"id":796},{"__isSmartRef__":true,"id":797},{"__isSmartRef__":true,"id":798},{"__isSmartRef__":true,"id":799},{"__isSmartRef__":true,"id":800}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Sat Apr 05 2014 01:51:52 GMT-0700 (PDT)\")"},"793":{"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)\")"},"794":{"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)\")"},"795":{"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)\")"},"796":{"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)\")"},"797":{"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)\")"},"798":{"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)\")"},"799":{"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)\")"},"800":{"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)\")"},"801":{"style":{"__isSmartRef__":true,"id":802},"morph":{"__isSmartRef__":true,"id":790},"chunkOwner":{"__isSmartRef__":true,"id":790},"storedString":"Some Text","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"802":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"803":{"morph":{"__isSmartRef__":true,"id":790},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":804},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"804":{"relayFunc":{"__isSmartRef__":true,"id":805}},"805":{"varMapping":{"__isSmartRef__":true,"id":806},"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":807},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"806":{},"807":{},"808":{"resizeWidth":true},"809":{"_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)"},"810":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":811},{"__isSmartRef__":true,"id":812},{"__isSmartRef__":true,"id":813},{"__isSmartRef__":true,"id":814},{"__isSmartRef__":true,"id":815},{"__isSmartRef__":true,"id":816},{"__isSmartRef__":true,"id":817},{"__isSmartRef__":true,"id":818},{"__isSmartRef__":true,"id":819},{"__isSmartRef__":true,"id":820},{"__isSmartRef__":true,"id":821},{"__isSmartRef__":true,"id":822},{"__isSmartRef__":true,"id":823},{"__isSmartRef__":true,"id":824},{"__isSmartRef__":true,"id":825},{"__isSmartRef__":true,"id":826},{"__isSmartRef__":true,"id":827},{"__isSmartRef__":true,"id":828},{"__isSmartRef__":true,"id":829}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"811":{"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)\")"},"812":{"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)\")"},"813":{"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)\")"},"814":{"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)\")"},"815":{"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)\")"},"816":{"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)\")"},"817":{"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)\")"},"818":{"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)\")"},"819":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"820":{"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)\")"},"821":{"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)\")"},"822":{"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)\")"},"823":{"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)\")"},"824":{"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)\")"},"825":{"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)\")"},"826":{"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)\")"},"827":{"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)\")"},"828":{"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)\")"},"829":{"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)\")"},"830":{"morph":{"__isSmartRef__":true,"id":789},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"831":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":832}},"832":{"test01IsMorph":{"__isSmartRef__":true,"id":833}},"833":{"varMapping":{"__isSmartRef__":true,"id":834},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":835},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"834":{"this":{"__isSmartRef__":true,"id":831}},"835":{},"836":{"submorphs":[],"scripts":[],"id":"67B0E512-E4D0-4E82-8FA8-2F031F71587F","shape":{"__isSmartRef__":true,"id":837},"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":838},"textChunks":[{"__isSmartRef__":true,"id":847}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":849},"_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":850},"__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)"},"837":{"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)"},"838":{"partsSpaceName":"PartsBin/Basic/","migrationLevel":8,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":839},{"__isSmartRef__":true,"id":840},{"__isSmartRef__":true,"id":841},{"__isSmartRef__":true,"id":842},{"__isSmartRef__":true,"id":843},{"__isSmartRef__":true,"id":844},{"__isSmartRef__":true,"id":845},{"__isSmartRef__":true,"id":846}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Sat Apr 05 2014 01:51:52 GMT-0700 (PDT)\")"},"839":{"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)\")"},"840":{"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)\")"},"841":{"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)\")"},"842":{"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)\")"},"843":{"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)\")"},"844":{"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)\")"},"845":{"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)\")"},"846":{"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)\")"},"847":{"style":{"__isSmartRef__":true,"id":848},"morph":{"__isSmartRef__":true,"id":836},"chunkOwner":{"__isSmartRef__":true,"id":836},"storedString":"Some Text","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"848":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"849":{"morph":{"__isSmartRef__":true,"id":836},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"850":{"resizeWidth":true},"851":{"onMouseDown":{"__isSmartRef__":true,"id":852},"setDockOwner":{"__isSmartRef__":true,"id":859},"initPrototype":{"__isSmartRef__":true,"id":862}},"852":{"varMapping":{"__isSmartRef__":true,"id":853},"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":858},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"853":{"this":{"__isSmartRef__":true,"id":789},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":854}},"854":{"$super":{"__isSmartRef__":true,"id":855}},"855":{"varMapping":{"__isSmartRef__":true,"id":856},"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":857},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"856":{"obj":{"__isSmartRef__":true,"id":789},"name":"onMouseDown"},"857":{},"858":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:16:01 GMT-0700 (PDT)\")"},"859":{"varMapping":{"__isSmartRef__":true,"id":860},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":861},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"860":{"this":{"__isSmartRef__":true,"id":789}},"861":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"862":{"varMapping":{"__isSmartRef__":true,"id":863},"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":864},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"863":{"this":{"__isSmartRef__":true,"id":789}},"864":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:46:59 GMT-0700 (PDT)\")"},"865":{"submorphs":[{"__isSmartRef__":true,"id":866}],"scripts":[],"id":"C909C316-574F-4FEB-9CB4-0A6A920BAFD6","shape":{"__isSmartRef__":true,"id":899},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DockItem19","partsBinMetaInfo":{"__isSmartRef__":true,"id":900},"eventHandler":{"__isSmartRef__":true,"id":920},"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":921},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"isBeingDragged":false,"prototypeMorph":{"__isSmartRef__":true,"id":926},"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"_ToolTip":"Star","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":955},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(495.0,0.0)","distanceToDragEvent":"lively.pt(29.0,-32.0)"},"866":{"submorphs":[],"scripts":[],"id":"D2B2EF3F-B1C9-46B4-8481-EF9637D2D946","shape":{"__isSmartRef__":true,"id":867},"droppingEnabled":false,"halosEnabled":false,"eventHandler":{"__isSmartRef__":true,"id":879},"showsHalos":false,"name":"Star1","partsBinMetaInfo":{"__isSmartRef__":true,"id":884},"controlPoints":[{"__isSmartRef__":true,"id":887},{"__isSmartRef__":true,"id":888},{"__isSmartRef__":true,"id":889},{"__isSmartRef__":true,"id":890},{"__isSmartRef__":true,"id":891},{"__isSmartRef__":true,"id":892},{"__isSmartRef__":true,"id":893},{"__isSmartRef__":true,"id":894},{"__isSmartRef__":true,"id":895},{"__isSmartRef__":true,"id":896},{"__isSmartRef__":true,"id":897}],"layout":{"__isSmartRef__":true,"id":898},"derivationIds":[1769,"55E9957F-2362-4765-9FD9-288A6977C339","F880E4E2-8C3C-48FF-A5A6-57F71E07D4ED","58AC71E6-FC37-4EF3-89BF-06D6AB819E0B"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":865},"grabbingEnabled":false,"draggingEnabled":false,"__serializedExpressions__":["_Position"],"_Rotation":-1.5720853822591316,"_Scale":0.27548673144337543,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(25.0,25.0)"},"867":{"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":868},{"__isSmartRef__":true,"id":869},{"__isSmartRef__":true,"id":870},{"__isSmartRef__":true,"id":871},{"__isSmartRef__":true,"id":872},{"__isSmartRef__":true,"id":873},{"__isSmartRef__":true,"id":874},{"__isSmartRef__":true,"id":875},{"__isSmartRef__":true,"id":876},{"__isSmartRef__":true,"id":877},{"__isSmartRef__":true,"id":878}],"_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)"},"868":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"869":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"870":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"871":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"872":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"873":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"874":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"875":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"876":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"877":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"878":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"879":{"morph":{"__isSmartRef__":true,"id":866},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":880},"__LivelyClassName__":"lively.morphic.RelayEventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"880":{"relayFunc":{"__isSmartRef__":true,"id":881}},"881":{"varMapping":{"__isSmartRef__":true,"id":882},"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":883},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"882":{},"883":{},"884":{"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":885},{"__isSmartRef__":true,"id":886}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Sun Nov 10 2013 16:53:57 GMT-0800 (PST)\")"},"885":{"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)\")"},"886":{"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)\")"},"887":{"morph":{"__isSmartRef__":true,"id":866},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"888":{"morph":{"__isSmartRef__":true,"id":866},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"889":{"morph":{"__isSmartRef__":true,"id":866},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"890":{"morph":{"__isSmartRef__":true,"id":866},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"891":{"morph":{"__isSmartRef__":true,"id":866},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"892":{"morph":{"__isSmartRef__":true,"id":866},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"893":{"morph":{"__isSmartRef__":true,"id":866},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"894":{"morph":{"__isSmartRef__":true,"id":866},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"895":{"morph":{"__isSmartRef__":true,"id":866},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"896":{"morph":{"__isSmartRef__":true,"id":866},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"897":{"morph":{"__isSmartRef__":true,"id":866},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"898":{},"899":{"_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)"},"900":{"partsSpaceName":"PartsBin/Basic/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":901},{"__isSmartRef__":true,"id":902},{"__isSmartRef__":true,"id":903},{"__isSmartRef__":true,"id":904},{"__isSmartRef__":true,"id":905},{"__isSmartRef__":true,"id":906},{"__isSmartRef__":true,"id":907},{"__isSmartRef__":true,"id":908},{"__isSmartRef__":true,"id":909},{"__isSmartRef__":true,"id":910},{"__isSmartRef__":true,"id":911},{"__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}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"901":{"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)\")"},"902":{"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)\")"},"903":{"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)\")"},"904":{"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)\")"},"905":{"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)\")"},"906":{"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)\")"},"907":{"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)\")"},"908":{"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)\")"},"909":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"910":{"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)\")"},"911":{"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)\")"},"912":{"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)\")"},"913":{"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)\")"},"914":{"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)\")"},"915":{"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)\")"},"916":{"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)\")"},"917":{"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)\")"},"918":{"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)\")"},"919":{"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)\")"},"920":{"morph":{"__isSmartRef__":true,"id":865},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"921":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":922}},"922":{"test01IsMorph":{"__isSmartRef__":true,"id":923}},"923":{"varMapping":{"__isSmartRef__":true,"id":924},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":925},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"924":{"this":{"__isSmartRef__":true,"id":921}},"925":{},"926":{"submorphs":[],"scripts":[],"id":"F880E4E2-8C3C-48FF-A5A6-57F71E07D4ED","shape":{"__isSmartRef__":true,"id":927},"droppingEnabled":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":939},"showsHalos":false,"name":"Star","partsBinMetaInfo":{"__isSmartRef__":true,"id":940},"controlPoints":[{"__isSmartRef__":true,"id":943},{"__isSmartRef__":true,"id":944},{"__isSmartRef__":true,"id":945},{"__isSmartRef__":true,"id":946},{"__isSmartRef__":true,"id":947},{"__isSmartRef__":true,"id":948},{"__isSmartRef__":true,"id":949},{"__isSmartRef__":true,"id":950},{"__isSmartRef__":true,"id":951},{"__isSmartRef__":true,"id":952},{"__isSmartRef__":true,"id":953}],"layout":{"__isSmartRef__":true,"id":954},"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)"},"927":{"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":928},{"__isSmartRef__":true,"id":929},{"__isSmartRef__":true,"id":930},{"__isSmartRef__":true,"id":931},{"__isSmartRef__":true,"id":932},{"__isSmartRef__":true,"id":933},{"__isSmartRef__":true,"id":934},{"__isSmartRef__":true,"id":935},{"__isSmartRef__":true,"id":936},{"__isSmartRef__":true,"id":937},{"__isSmartRef__":true,"id":938}],"_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)"},"928":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"929":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"930":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"931":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"932":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"933":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"934":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"935":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"936":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"937":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"938":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"939":{"morph":{"__isSmartRef__":true,"id":926},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"940":{"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":941},{"__isSmartRef__":true,"id":942}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Sun Nov 10 2013 16:53:57 GMT-0800 (PST)\")"},"941":{"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)\")"},"942":{"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)\")"},"943":{"morph":{"__isSmartRef__":true,"id":926},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"944":{"morph":{"__isSmartRef__":true,"id":926},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"945":{"morph":{"__isSmartRef__":true,"id":926},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"946":{"morph":{"__isSmartRef__":true,"id":926},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"947":{"morph":{"__isSmartRef__":true,"id":926},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"948":{"morph":{"__isSmartRef__":true,"id":926},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"949":{"morph":{"__isSmartRef__":true,"id":926},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"950":{"morph":{"__isSmartRef__":true,"id":926},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"951":{"morph":{"__isSmartRef__":true,"id":926},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"952":{"morph":{"__isSmartRef__":true,"id":926},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"953":{"morph":{"__isSmartRef__":true,"id":926},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"954":{},"955":{"onMouseDown":{"__isSmartRef__":true,"id":956},"setDockOwner":{"__isSmartRef__":true,"id":963},"initPrototype":{"__isSmartRef__":true,"id":966}},"956":{"varMapping":{"__isSmartRef__":true,"id":957},"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":962},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"957":{"this":{"__isSmartRef__":true,"id":865},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":958}},"958":{"$super":{"__isSmartRef__":true,"id":959}},"959":{"varMapping":{"__isSmartRef__":true,"id":960},"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":961},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"960":{"obj":{"__isSmartRef__":true,"id":865},"name":"onMouseDown"},"961":{},"962":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:16:12 GMT-0700 (PDT)\")"},"963":{"varMapping":{"__isSmartRef__":true,"id":964},"source":"function setDockOwner(morphThatOwnsTheDock) {\n    this.dockOwner = morphThatOwnsTheDock;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":965},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"964":{"this":{"__isSmartRef__":true,"id":865}},"965":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:30:52 GMT-0700 (PDT)\")"},"966":{"varMapping":{"__isSmartRef__":true,"id":967},"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":968},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"967":{"this":{"__isSmartRef__":true,"id":865}},"968":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Aug 08 2014 21:52:10 GMT-0700 (PDT)\")"},"969":{"_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(545.0,50.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(250,250,250)","_Padding":"lively.rect(0,0,0,0)"},"970":{"partsSpaceName":"PartsBin/Rick/","comment":"A plain simple rectangle","migrationLevel":8,"partName":"OneRowDock","changes":[{"__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},{"__isSmartRef__":true,"id":989},{"__isSmartRef__":true,"id":990},{"__isSmartRef__":true,"id":991}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Fri Aug 08 2014 22:21:48 GMT-0700 (PDT)\")"},"971":{"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)\")"},"972":{"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)\")"},"973":{"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)\")"},"974":{"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)\")"},"975":{"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)\")"},"976":{"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)\")"},"977":{"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)\")"},"978":{"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)\")"},"979":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"980":{"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)\")"},"981":{"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)\")"},"982":{"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)\")"},"983":{"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)\")"},"984":{"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)\")"},"985":{"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)\")"},"986":{"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)\")"},"987":{"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)\")"},"988":{"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)\")"},"989":{"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)\")"},"990":{"__serializedExpressions__":["date"],"author":"rick","message":"no comment","id":"87AA10DA-03C4-46D2-ADD1-679652DE6177","date":"new Date(\"Fri Aug 08 2014 22:21:45 GMT-0700 (PDT)\")"},"991":{"__serializedExpressions__":["date"],"author":"rick","message":"no comment","id":"D5B50B4E-2172-4B75-A9A0-759AC4CB5D31","date":"new Date(\"Fri Aug 08 2014 22:31:37 GMT-0700 (PDT)\")"},"992":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"993":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":994}},"994":{"test01IsMorph":{"__isSmartRef__":true,"id":995}},"995":{"varMapping":{"__isSmartRef__":true,"id":996},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":997},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"996":{"this":{"__isSmartRef__":true,"id":993}},"997":{},"998":{"init":{"__isSmartRef__":true,"id":999},"tooltips":{"__isSmartRef__":true,"id":1002}},"999":{"varMapping":{"__isSmartRef__":true,"id":1000},"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    }\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:20:14 GMT-0700 (PDT)\")"},"1002":{"varMapping":{"__isSmartRef__":true,"id":1003},"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":1004},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1003":{"this":{"__isSmartRef__":true,"id":0}},"1004":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Aug 08 2014 22:30:53 GMT-0700 (PDT)\")"},"isSimplifiedRegistry":true}}