{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1}],"scripts":[],"id":"53039D6C-12BB-4F21-9A1F-5C5454E7D2F4","shape":{"__isSmartRef__":true,"id":16},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":17},"__layered_draggingEnabled__":true,"attributeConnections":[{"__isSmartRef__":true,"id":21}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_traitConfig_":[{"__isSmartRef__":true,"id":22}],"eventHandler":{"__isSmartRef__":true,"id":24},"name":"LocationBehavior","derivationIds":[522],"_ClipMode":"visible","moved":true,"_Rotation":0,"_Scale":1,"icon":{"__isSmartRef__":true,"id":25},"__serializedExpressions__":["_Position","dropColor","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":447},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","dropColor":"Color.rgb(158,0,0)","previousPosition":"lively.pt(804.0,405.0)"},"1":{"submorphs":[],"scripts":[],"id":"C77B2FBF-02B2-47E5-8369-FF9C8929B030","shape":{"__isSmartRef__":true,"id":2},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":73.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":3},"textChunks":[{"__isSmartRef__":true,"id":4}],"charsReplaced":"Grr","lastFindLoc":-3,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":6},{"__isSmartRef__":true,"id":7}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"oldOwner":{"__isSmartRef__":true,"id":0},"isInputLine":true,"eventsAreIgnored":true,"eventHandler":{"__isSmartRef__":true,"id":8},"_HandStyle":"default","_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":0},"savedTextString":"TopLeft","derivationIds":[523],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","_Rotation":0,"_Scale":1.0030060100150207,"__serializedExpressions__":["_Position","textColor"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(5.0,16.0)","textColor":"Color.rgb(0,0,0)"},"2":{"fill":null,"_BorderWidth":0,"__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(73.8,12.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"3":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4":{"style":{"__isSmartRef__":true,"id":5},"chunkOwner":{"__isSmartRef__":true,"id":1},"_id":"_1896","storedString":"LocationBehavior","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6":{"sourceObj":{"__isSmartRef__":true,"id":1},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"7":{"sourceObj":{"__isSmartRef__":true,"id":1},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"8":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9":{"updateLabel":{"__isSmartRef__":true,"id":10},"renameOwner":{"__isSmartRef__":true,"id":13}},"10":{"varMapping":{"__isSmartRef__":true,"id":11},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":12},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11":{"this":{"__isSmartRef__":true,"id":1}},"12":{},"13":{"varMapping":{"__isSmartRef__":true,"id":14},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":15},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14":{"this":{"__isSmartRef__":true,"id":1}},"15":{},"16":{"_BorderWidth":0,"_BorderRadius":20.71,"__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(92.0,45.0)","_BorderColor":"Color.rgb(28,0,153)","_Fill":"Color.rgb(204,204,204)","_Padding":"lively.rect(0,0,0,0)"},"17":{"partsSpaceName":"PartsBin/DroppableBehaviors/","comment":"When dropped onto a morph, the current location of the user's browser will be added as an attribute to the morph.","migrationLevel":4,"partName":"LocationBehavior","lastModifiedDate":{"__isSmartRef__":true,"id":18},"revisionOnLoad":140039,"changes":[{"__isSmartRef__":true,"id":19}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"18":{"isSerializedDate":true,"string":"Thu Sep 06 2012 19:04:46 GMT-0700 (PDT)"},"19":{"date":{"__isSmartRef__":true,"id":20},"author":"dpaola2","message":"no comment","id":"FE5998A9-37BB-4A7A-B5D1-1015C1CD260A"},"20":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:30:48 GMT-0800 (PST)"},"21":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"updateLabel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"22":{"traitName":"lively.morphic.DraggableBehavior","options":{"__isSmartRef__":true,"id":23}},"23":{"override":["onDragStart","onDragEnd","dropOn"]},"24":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"25":{"submorphs":[{"__isSmartRef__":true,"id":26}],"scripts":[],"id":"7323D943-90FA-413E-83A0-8A33F58445C5","shape":{"__isSmartRef__":true,"id":41},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":42},"__layered_draggingEnabled__":true,"attributeConnections":[{"__isSmartRef__":true,"id":44}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_traitConfig_":[{"__isSmartRef__":true,"id":45}],"eventHandler":{"__isSmartRef__":true,"id":47},"name":"LocationBehavior2","derivationIds":[522,"53039D6C-12BB-4F21-9A1F-5C5454E7D2F4"],"_ClipMode":"visible","moved":true,"_Rotation":0,"_Scale":1,"icon":{"__isSmartRef__":true,"id":48},"__serializedExpressions__":["_Position","dropColor","previousPosition"],"owner":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":430},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","dropColor":"Color.rgb(158,0,0)","previousPosition":"lively.pt(804.0,405.0)"},"26":{"submorphs":[],"scripts":[],"id":"D506FDF9-116E-4B82-8050-0CA3994EDD36","shape":{"__isSmartRef__":true,"id":27},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":73.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":28},"textChunks":[{"__isSmartRef__":true,"id":29}],"charsReplaced":"Grr","lastFindLoc":-3,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":31},{"__isSmartRef__":true,"id":32}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"oldOwner":{"__isSmartRef__":true,"id":25},"isInputLine":true,"eventsAreIgnored":true,"eventHandler":{"__isSmartRef__":true,"id":33},"_HandStyle":"default","_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":25},"savedTextString":"TopLeft","derivationIds":[523,"C77B2FBF-02B2-47E5-8369-FF9C8929B030"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","_Rotation":0,"_Scale":1.0030060100150207,"__serializedExpressions__":["_Position","textColor"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":34},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(5.0,16.0)","textColor":"Color.rgb(0,0,0)"},"27":{"fill":null,"_BorderWidth":0,"__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(73.8,12.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"28":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"29":{"style":{"__isSmartRef__":true,"id":30},"chunkOwner":{"__isSmartRef__":true,"id":26},"_id":"_2794","storedString":"LocationBehavior2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"30":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"31":{"sourceObj":{"__isSmartRef__":true,"id":26},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":26},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"32":{"sourceObj":{"__isSmartRef__":true,"id":26},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":26},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"33":{"morph":{"__isSmartRef__":true,"id":26},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"34":{"updateLabel":{"__isSmartRef__":true,"id":35},"renameOwner":{"__isSmartRef__":true,"id":38}},"35":{"varMapping":{"__isSmartRef__":true,"id":36},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":37},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"36":{"this":{"__isSmartRef__":true,"id":26}},"37":{},"38":{"varMapping":{"__isSmartRef__":true,"id":39},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":40},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"39":{"this":{"__isSmartRef__":true,"id":26}},"40":{},"41":{"_BorderWidth":0,"_BorderRadius":20.71,"__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(92.0,45.0)","_BorderColor":"Color.rgb(28,0,153)","_Fill":"Color.rgb(204,204,204)","_Padding":"lively.rect(0,0,0,0)"},"42":{"partsSpaceName":"PartsBin/DroppableBehaviors/","comment":"A simple box morph","migrationLevel":4,"partName":"InvisibleBehavior","lastModifiedDate":{"__isSmartRef__":true,"id":43},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"43":{"isSerializedDate":true,"string":"Thu Sep 06 2012 19:04:46 GMT-0700 (PDT)"},"44":{"sourceObj":{"__isSmartRef__":true,"id":25},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":26},"targetMethodName":"updateLabel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"45":{"traitName":"lively.morphic.DraggableBehavior","options":{"__isSmartRef__":true,"id":46}},"46":{"override":["onDragStart","onDragEnd","dropOn"]},"47":{"morph":{"__isSmartRef__":true,"id":25},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"48":{"submorphs":[{"__isSmartRef__":true,"id":49}],"scripts":[],"id":"788197EF-73E9-419C-94E4-9BC1CF238C68","shape":{"__isSmartRef__":true,"id":64},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":65},"__layered_draggingEnabled__":true,"attributeConnections":[{"__isSmartRef__":true,"id":67}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_traitConfig_":[{"__isSmartRef__":true,"id":68}],"eventHandler":{"__isSmartRef__":true,"id":70},"name":"LocationBehavior2","derivationIds":[522,"53039D6C-12BB-4F21-9A1F-5C5454E7D2F4"],"_ClipMode":"visible","moved":true,"_Rotation":0,"_Scale":1,"icon":{"__isSmartRef__":true,"id":71},"owner":null,"__serializedExpressions__":["_Position","dropColor","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":413},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","dropColor":"Color.rgb(158,0,0)","previousPosition":"lively.pt(804.0,405.0)"},"49":{"submorphs":[],"scripts":[],"id":"54937DAB-949F-48D1-843E-84B5B5275C37","shape":{"__isSmartRef__":true,"id":50},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":73.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":51},"textChunks":[{"__isSmartRef__":true,"id":52}],"charsReplaced":"Grr","lastFindLoc":-3,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":54},{"__isSmartRef__":true,"id":55}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"oldOwner":{"__isSmartRef__":true,"id":48},"isInputLine":true,"eventsAreIgnored":true,"eventHandler":{"__isSmartRef__":true,"id":56},"_HandStyle":"default","_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":48},"savedTextString":"TopLeft","derivationIds":[523,"C77B2FBF-02B2-47E5-8369-FF9C8929B030"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","_Rotation":0,"_Scale":1.0030060100150207,"__serializedExpressions__":["_Position","textColor"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":57},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(5.0,16.0)","textColor":"Color.rgb(0,0,0)"},"50":{"fill":null,"_BorderWidth":0,"__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(73.8,12.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"51":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"52":{"style":{"__isSmartRef__":true,"id":53},"chunkOwner":{"__isSmartRef__":true,"id":49},"_id":"_214","storedString":"LocationBehavior2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"53":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"54":{"sourceObj":{"__isSmartRef__":true,"id":49},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":49},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"55":{"sourceObj":{"__isSmartRef__":true,"id":49},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":49},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"56":{"morph":{"__isSmartRef__":true,"id":49},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"57":{"updateLabel":{"__isSmartRef__":true,"id":58},"renameOwner":{"__isSmartRef__":true,"id":61}},"58":{"varMapping":{"__isSmartRef__":true,"id":59},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":60},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"59":{"this":{"__isSmartRef__":true,"id":49}},"60":{},"61":{"varMapping":{"__isSmartRef__":true,"id":62},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":63},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"62":{"this":{"__isSmartRef__":true,"id":49}},"63":{},"64":{"_BorderWidth":0,"_BorderRadius":20.71,"__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(92.0,45.0)","_BorderColor":"Color.rgb(28,0,153)","_Fill":"Color.rgb(204,204,204)","_Padding":"lively.rect(0,0,0,0)"},"65":{"partsSpaceName":"PartsBin/DroppableBehaviors/","comment":"A simple box morph","migrationLevel":4,"partName":"InvisibleBehavior","lastModifiedDate":{"__isSmartRef__":true,"id":66},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"66":{"isSerializedDate":true,"string":"Thu Sep 06 2012 19:04:46 GMT-0700 (PDT)"},"67":{"sourceObj":{"__isSmartRef__":true,"id":48},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":49},"targetMethodName":"updateLabel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"68":{"traitName":"lively.morphic.DraggableBehavior","options":{"__isSmartRef__":true,"id":69}},"69":{"override":["onDragStart","onDragEnd","dropOn"]},"70":{"morph":{"__isSmartRef__":true,"id":48},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"71":{"submorphs":[{"__isSmartRef__":true,"id":72}],"scripts":[],"id":"80523AB0-18E5-4FE1-89B0-30DD135A0620","shape":{"__isSmartRef__":true,"id":87},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":88},"__layered_draggingEnabled__":true,"attributeConnections":[{"__isSmartRef__":true,"id":90}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_traitConfig_":[{"__isSmartRef__":true,"id":91}],"eventHandler":{"__isSmartRef__":true,"id":93},"name":"LocationBehavior2","derivationIds":[522,"53039D6C-12BB-4F21-9A1F-5C5454E7D2F4"],"_ClipMode":"visible","moved":true,"_Rotation":0,"_Scale":1,"icon":{"__isSmartRef__":true,"id":94},"owner":null,"__serializedExpressions__":["_Position","dropColor","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":398},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","dropColor":"Color.rgb(158,0,0)","previousPosition":"lively.pt(804.0,405.0)"},"72":{"submorphs":[],"scripts":[],"id":"1F61172F-6977-4E71-9F2C-55AE482FFF58","shape":{"__isSmartRef__":true,"id":73},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":73.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":74},"textChunks":[{"__isSmartRef__":true,"id":75}],"charsReplaced":"Grr","lastFindLoc":-3,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":77},{"__isSmartRef__":true,"id":78}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"oldOwner":{"__isSmartRef__":true,"id":71},"isInputLine":true,"eventsAreIgnored":true,"eventHandler":{"__isSmartRef__":true,"id":79},"_HandStyle":"default","_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":71},"savedTextString":"TopLeft","derivationIds":[523,"C77B2FBF-02B2-47E5-8369-FF9C8929B030"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","_Rotation":0,"_Scale":1.0030060100150207,"__serializedExpressions__":["_Position","textColor"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":80},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(5.0,16.0)","textColor":"Color.rgb(0,0,0)"},"73":{"fill":null,"_BorderWidth":0,"__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(73.8,12.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"74":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"75":{"style":{"__isSmartRef__":true,"id":76},"chunkOwner":{"__isSmartRef__":true,"id":72},"_id":"_121","storedString":"LocationBehavior2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"76":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"77":{"sourceObj":{"__isSmartRef__":true,"id":72},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":72},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"78":{"sourceObj":{"__isSmartRef__":true,"id":72},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":72},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"79":{"morph":{"__isSmartRef__":true,"id":72},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"80":{"updateLabel":{"__isSmartRef__":true,"id":81},"renameOwner":{"__isSmartRef__":true,"id":84}},"81":{"varMapping":{"__isSmartRef__":true,"id":82},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":83},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"82":{"this":{"__isSmartRef__":true,"id":72}},"83":{},"84":{"varMapping":{"__isSmartRef__":true,"id":85},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":86},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"85":{"this":{"__isSmartRef__":true,"id":72}},"86":{},"87":{"_BorderWidth":0,"_BorderRadius":20.71,"__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(92.0,45.0)","_BorderColor":"Color.rgb(28,0,153)","_Fill":"Color.rgb(204,204,204)","_Padding":"lively.rect(0,0,0,0)"},"88":{"partsSpaceName":"PartsBin/DroppableBehaviors/","comment":"A simple box morph","migrationLevel":4,"partName":"InvisibleBehavior","lastModifiedDate":{"__isSmartRef__":true,"id":89},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"89":{"isSerializedDate":true,"string":"Thu Sep 06 2012 19:04:46 GMT-0700 (PDT)"},"90":{"sourceObj":{"__isSmartRef__":true,"id":71},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":72},"targetMethodName":"updateLabel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"91":{"traitName":"lively.morphic.DraggableBehavior","options":{"__isSmartRef__":true,"id":92}},"92":{"override":["onDragStart","onDragEnd","dropOn"]},"93":{"morph":{"__isSmartRef__":true,"id":71},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"94":{"submorphs":[{"__isSmartRef__":true,"id":95}],"scripts":[],"id":"A2CC37D6-2C7E-4D1C-8CDD-A09FA41D3137","shape":{"__isSmartRef__":true,"id":110},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":111},"__layered_draggingEnabled__":true,"attributeConnections":[{"__isSmartRef__":true,"id":113}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_traitConfig_":[{"__isSmartRef__":true,"id":114}],"eventHandler":{"__isSmartRef__":true,"id":116},"name":"LocationBehavior2","derivationIds":[522,"53039D6C-12BB-4F21-9A1F-5C5454E7D2F4"],"_ClipMode":"visible","moved":true,"_Rotation":0,"_Scale":1,"icon":{"__isSmartRef__":true,"id":117},"owner":null,"__serializedExpressions__":["_Position","dropColor","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":383},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","dropColor":"Color.rgb(158,0,0)","previousPosition":"lively.pt(804.0,405.0)"},"95":{"submorphs":[],"scripts":[],"id":"A2D20923-CED3-4AAF-BA57-C80BC602430D","shape":{"__isSmartRef__":true,"id":96},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":73.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":97},"textChunks":[{"__isSmartRef__":true,"id":98}],"charsReplaced":"Grr","lastFindLoc":-3,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":100},{"__isSmartRef__":true,"id":101}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"oldOwner":{"__isSmartRef__":true,"id":94},"isInputLine":true,"eventsAreIgnored":true,"eventHandler":{"__isSmartRef__":true,"id":102},"_HandStyle":"default","_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":94},"savedTextString":"TopLeft","derivationIds":[523,"C77B2FBF-02B2-47E5-8369-FF9C8929B030"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","_Rotation":0,"_Scale":1.0030060100150207,"__serializedExpressions__":["_Position","textColor"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":103},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(5.0,16.0)","textColor":"Color.rgb(0,0,0)"},"96":{"fill":null,"_BorderWidth":0,"__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(73.8,12.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"97":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"98":{"style":{"__isSmartRef__":true,"id":99},"chunkOwner":{"__isSmartRef__":true,"id":95},"_id":"_40568","storedString":"LocationBehavior2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"99":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"100":{"sourceObj":{"__isSmartRef__":true,"id":95},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":95},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"101":{"sourceObj":{"__isSmartRef__":true,"id":95},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":95},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"102":{"morph":{"__isSmartRef__":true,"id":95},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"103":{"updateLabel":{"__isSmartRef__":true,"id":104},"renameOwner":{"__isSmartRef__":true,"id":107}},"104":{"varMapping":{"__isSmartRef__":true,"id":105},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":106},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"105":{"this":{"__isSmartRef__":true,"id":95}},"106":{},"107":{"varMapping":{"__isSmartRef__":true,"id":108},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":109},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"108":{"this":{"__isSmartRef__":true,"id":95}},"109":{},"110":{"_BorderWidth":0,"_BorderRadius":20.71,"__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(92.0,45.0)","_BorderColor":"Color.rgb(28,0,153)","_Fill":"Color.rgb(204,204,204)","_Padding":"lively.rect(0,0,0,0)"},"111":{"partsSpaceName":"PartsBin/DroppableBehaviors/","comment":"A simple box morph","migrationLevel":4,"partName":"InvisibleBehavior","lastModifiedDate":{"__isSmartRef__":true,"id":112},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"112":{"isSerializedDate":true,"string":"Thu Sep 06 2012 19:04:46 GMT-0700 (PDT)"},"113":{"sourceObj":{"__isSmartRef__":true,"id":94},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":95},"targetMethodName":"updateLabel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"114":{"traitName":"lively.morphic.DraggableBehavior","options":{"__isSmartRef__":true,"id":115}},"115":{"override":["onDragStart","onDragEnd","dropOn"]},"116":{"morph":{"__isSmartRef__":true,"id":94},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"117":{"submorphs":[{"__isSmartRef__":true,"id":118}],"scripts":[],"id":"AADF14AD-C66E-4303-A093-2503E30F4E0D","shape":{"__isSmartRef__":true,"id":133},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":134},"__layered_draggingEnabled__":true,"attributeConnections":[{"__isSmartRef__":true,"id":136}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_traitConfig_":[{"__isSmartRef__":true,"id":137}],"eventHandler":{"__isSmartRef__":true,"id":139},"name":"LocationBehavior2","derivationIds":[522,"53039D6C-12BB-4F21-9A1F-5C5454E7D2F4"],"_ClipMode":"visible","moved":true,"_Rotation":0,"_Scale":1,"icon":{"__isSmartRef__":true,"id":140},"owner":null,"__serializedExpressions__":["_Position","dropColor","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":368},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","dropColor":"Color.rgb(158,0,0)","previousPosition":"lively.pt(804.0,405.0)"},"118":{"submorphs":[],"scripts":[],"id":"EA7E16F6-B6BC-424D-AA88-1A8627D808E7","shape":{"__isSmartRef__":true,"id":119},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":73.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":120},"textChunks":[{"__isSmartRef__":true,"id":121}],"charsReplaced":"Grr","lastFindLoc":-3,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":123},{"__isSmartRef__":true,"id":124}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"oldOwner":{"__isSmartRef__":true,"id":117},"isInputLine":true,"eventsAreIgnored":true,"eventHandler":{"__isSmartRef__":true,"id":125},"_HandStyle":"default","_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":117},"savedTextString":"TopLeft","derivationIds":[523,"C77B2FBF-02B2-47E5-8369-FF9C8929B030"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","_Rotation":0,"_Scale":1.0030060100150207,"__serializedExpressions__":["_Position","textColor"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":126},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(5.0,16.0)","textColor":"Color.rgb(0,0,0)"},"119":{"fill":null,"_BorderWidth":0,"__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(73.8,12.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"120":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"121":{"style":{"__isSmartRef__":true,"id":122},"chunkOwner":{"__isSmartRef__":true,"id":118},"_id":"_40372","storedString":"LocationBehavior2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"122":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"123":{"sourceObj":{"__isSmartRef__":true,"id":118},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":118},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"124":{"sourceObj":{"__isSmartRef__":true,"id":118},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":118},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"125":{"morph":{"__isSmartRef__":true,"id":118},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"126":{"updateLabel":{"__isSmartRef__":true,"id":127},"renameOwner":{"__isSmartRef__":true,"id":130}},"127":{"varMapping":{"__isSmartRef__":true,"id":128},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":129},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"128":{"this":{"__isSmartRef__":true,"id":118}},"129":{},"130":{"varMapping":{"__isSmartRef__":true,"id":131},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":132},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"131":{"this":{"__isSmartRef__":true,"id":118}},"132":{},"133":{"_BorderWidth":0,"_BorderRadius":20.71,"__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(92.0,45.0)","_BorderColor":"Color.rgb(28,0,153)","_Fill":"Color.rgb(204,204,204)","_Padding":"lively.rect(0,0,0,0)"},"134":{"partsSpaceName":"PartsBin/DroppableBehaviors/","comment":"A simple box morph","migrationLevel":4,"partName":"InvisibleBehavior","lastModifiedDate":{"__isSmartRef__":true,"id":135},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"135":{"isSerializedDate":true,"string":"Thu Sep 06 2012 19:04:46 GMT-0700 (PDT)"},"136":{"sourceObj":{"__isSmartRef__":true,"id":117},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":118},"targetMethodName":"updateLabel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"137":{"traitName":"lively.morphic.DraggableBehavior","options":{"__isSmartRef__":true,"id":138}},"138":{"override":["onDragStart","onDragEnd","dropOn"]},"139":{"morph":{"__isSmartRef__":true,"id":117},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"140":{"submorphs":[{"__isSmartRef__":true,"id":141}],"scripts":[],"id":"CBDA2A14-7D34-4017-809A-22F5D6D4FA32","shape":{"__isSmartRef__":true,"id":156},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":157},"__layered_draggingEnabled__":true,"attributeConnections":[{"__isSmartRef__":true,"id":159}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_traitConfig_":[{"__isSmartRef__":true,"id":160}],"eventHandler":{"__isSmartRef__":true,"id":162},"name":"LocationBehavior2","derivationIds":[522,"53039D6C-12BB-4F21-9A1F-5C5454E7D2F4"],"_ClipMode":"visible","moved":true,"_Rotation":0,"_Scale":1,"icon":{"__isSmartRef__":true,"id":163},"owner":null,"__serializedExpressions__":["_Position","dropColor","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":353},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","dropColor":"Color.rgb(158,0,0)","previousPosition":"lively.pt(804.0,405.0)"},"141":{"submorphs":[],"scripts":[],"id":"53D376AB-562E-4C4C-9ABC-C3E3DBEEC2B1","shape":{"__isSmartRef__":true,"id":142},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":73.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":143},"textChunks":[{"__isSmartRef__":true,"id":144}],"charsReplaced":"Grr","lastFindLoc":-3,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":146},{"__isSmartRef__":true,"id":147}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"oldOwner":{"__isSmartRef__":true,"id":140},"isInputLine":true,"eventsAreIgnored":true,"eventHandler":{"__isSmartRef__":true,"id":148},"_HandStyle":"default","_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":140},"savedTextString":"TopLeft","derivationIds":[523,"C77B2FBF-02B2-47E5-8369-FF9C8929B030"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","_Rotation":0,"_Scale":1.0030060100150207,"__serializedExpressions__":["_Position","textColor"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":149},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(5.0,16.0)","textColor":"Color.rgb(0,0,0)"},"142":{"fill":null,"_BorderWidth":0,"__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(73.8,12.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"143":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"144":{"style":{"__isSmartRef__":true,"id":145},"chunkOwner":{"__isSmartRef__":true,"id":141},"_id":"_40365","storedString":"LocationBehavior2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"145":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"146":{"sourceObj":{"__isSmartRef__":true,"id":141},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":141},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"147":{"sourceObj":{"__isSmartRef__":true,"id":141},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":141},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"148":{"morph":{"__isSmartRef__":true,"id":141},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"149":{"updateLabel":{"__isSmartRef__":true,"id":150},"renameOwner":{"__isSmartRef__":true,"id":153}},"150":{"varMapping":{"__isSmartRef__":true,"id":151},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":152},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"151":{"this":{"__isSmartRef__":true,"id":141}},"152":{},"153":{"varMapping":{"__isSmartRef__":true,"id":154},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":155},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"154":{"this":{"__isSmartRef__":true,"id":141}},"155":{},"156":{"_BorderWidth":0,"_BorderRadius":20.71,"__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(92.0,45.0)","_BorderColor":"Color.rgb(28,0,153)","_Fill":"Color.rgb(204,204,204)","_Padding":"lively.rect(0,0,0,0)"},"157":{"partsSpaceName":"PartsBin/DroppableBehaviors/","comment":"A simple box morph","migrationLevel":4,"partName":"InvisibleBehavior","lastModifiedDate":{"__isSmartRef__":true,"id":158},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"158":{"isSerializedDate":true,"string":"Thu Sep 06 2012 19:04:46 GMT-0700 (PDT)"},"159":{"sourceObj":{"__isSmartRef__":true,"id":140},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":141},"targetMethodName":"updateLabel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"160":{"traitName":"lively.morphic.DraggableBehavior","options":{"__isSmartRef__":true,"id":161}},"161":{"override":["onDragStart","onDragEnd","dropOn"]},"162":{"morph":{"__isSmartRef__":true,"id":140},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"163":{"submorphs":[{"__isSmartRef__":true,"id":164}],"scripts":[],"id":"A696DC0E-D654-4CEB-BCEA-1E2F6D2DE2C8","shape":{"__isSmartRef__":true,"id":179},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":180},"__layered_draggingEnabled__":true,"attributeConnections":[{"__isSmartRef__":true,"id":182}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_traitConfig_":[{"__isSmartRef__":true,"id":183}],"eventHandler":{"__isSmartRef__":true,"id":185},"name":"LocationBehavior2","derivationIds":[522,"53039D6C-12BB-4F21-9A1F-5C5454E7D2F4"],"_ClipMode":"visible","moved":true,"_Rotation":0,"_Scale":1,"icon":{"__isSmartRef__":true,"id":186},"owner":null,"__serializedExpressions__":["_Position","dropColor","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":338},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","dropColor":"Color.rgb(158,0,0)","previousPosition":"lively.pt(804.0,405.0)"},"164":{"submorphs":[],"scripts":[],"id":"AFF0BDEB-0481-475F-865A-9806EE10A182","shape":{"__isSmartRef__":true,"id":165},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":73.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":166},"textChunks":[{"__isSmartRef__":true,"id":167}],"charsReplaced":"Grr","lastFindLoc":-3,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":169},{"__isSmartRef__":true,"id":170}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"oldOwner":{"__isSmartRef__":true,"id":163},"isInputLine":true,"eventsAreIgnored":true,"eventHandler":{"__isSmartRef__":true,"id":171},"_HandStyle":"default","_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":163},"savedTextString":"TopLeft","derivationIds":[523,"C77B2FBF-02B2-47E5-8369-FF9C8929B030"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","_Rotation":0,"_Scale":1.0030060100150207,"__serializedExpressions__":["_Position","textColor"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":172},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(5.0,16.0)","textColor":"Color.rgb(0,0,0)"},"165":{"fill":null,"_BorderWidth":0,"__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(73.8,12.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"166":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"167":{"style":{"__isSmartRef__":true,"id":168},"chunkOwner":{"__isSmartRef__":true,"id":164},"_id":"_40276","storedString":"LocationBehavior2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"168":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"169":{"sourceObj":{"__isSmartRef__":true,"id":164},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":164},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"170":{"sourceObj":{"__isSmartRef__":true,"id":164},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":164},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"171":{"morph":{"__isSmartRef__":true,"id":164},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"172":{"updateLabel":{"__isSmartRef__":true,"id":173},"renameOwner":{"__isSmartRef__":true,"id":176}},"173":{"varMapping":{"__isSmartRef__":true,"id":174},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":175},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"174":{"this":{"__isSmartRef__":true,"id":164}},"175":{},"176":{"varMapping":{"__isSmartRef__":true,"id":177},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":178},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"177":{"this":{"__isSmartRef__":true,"id":164}},"178":{},"179":{"_BorderWidth":0,"_BorderRadius":20.71,"__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(92.0,45.0)","_BorderColor":"Color.rgb(28,0,153)","_Fill":"Color.rgb(204,204,204)","_Padding":"lively.rect(0,0,0,0)"},"180":{"partsSpaceName":"PartsBin/DroppableBehaviors/","comment":"A simple box morph","migrationLevel":4,"partName":"InvisibleBehavior","lastModifiedDate":{"__isSmartRef__":true,"id":181},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"181":{"isSerializedDate":true,"string":"Thu Sep 06 2012 19:04:46 GMT-0700 (PDT)"},"182":{"sourceObj":{"__isSmartRef__":true,"id":163},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":164},"targetMethodName":"updateLabel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"183":{"traitName":"lively.morphic.DraggableBehavior","options":{"__isSmartRef__":true,"id":184}},"184":{"override":["onDragStart","onDragEnd","dropOn"]},"185":{"morph":{"__isSmartRef__":true,"id":163},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"186":{"submorphs":[{"__isSmartRef__":true,"id":187}],"scripts":[],"id":"A9169ACF-2B9A-4D5D-A535-A798AC0E4278","shape":{"__isSmartRef__":true,"id":202},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":203},"__layered_draggingEnabled__":true,"attributeConnections":[{"__isSmartRef__":true,"id":205}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_traitConfig_":[{"__isSmartRef__":true,"id":206}],"eventHandler":{"__isSmartRef__":true,"id":208},"name":"LocationBehavior2","derivationIds":[522,"53039D6C-12BB-4F21-9A1F-5C5454E7D2F4"],"_ClipMode":"visible","moved":true,"_Rotation":0,"_Scale":1,"icon":{"__isSmartRef__":true,"id":209},"owner":null,"__serializedExpressions__":["_Position","dropColor","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":323},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","dropColor":"Color.rgb(158,0,0)","previousPosition":"lively.pt(804.0,405.0)"},"187":{"submorphs":[],"scripts":[],"id":"8CDF4C42-DFA5-4097-9465-65852706837C","shape":{"__isSmartRef__":true,"id":188},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":73.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":189},"textChunks":[{"__isSmartRef__":true,"id":190}],"charsReplaced":"Grr","lastFindLoc":-3,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":192},{"__isSmartRef__":true,"id":193}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"oldOwner":{"__isSmartRef__":true,"id":186},"isInputLine":true,"eventsAreIgnored":true,"eventHandler":{"__isSmartRef__":true,"id":194},"_HandStyle":"default","_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":186},"savedTextString":"TopLeft","derivationIds":[523,"C77B2FBF-02B2-47E5-8369-FF9C8929B030"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","_Rotation":0,"_Scale":1.0030060100150207,"__serializedExpressions__":["_Position","textColor"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":195},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(5.0,16.0)","textColor":"Color.rgb(0,0,0)"},"188":{"fill":null,"_BorderWidth":0,"__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(73.8,12.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"189":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"190":{"style":{"__isSmartRef__":true,"id":191},"chunkOwner":{"__isSmartRef__":true,"id":187},"_id":"_26452","storedString":"LocationBehavior2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"191":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"192":{"sourceObj":{"__isSmartRef__":true,"id":187},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":187},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"193":{"sourceObj":{"__isSmartRef__":true,"id":187},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":187},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"194":{"morph":{"__isSmartRef__":true,"id":187},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"195":{"updateLabel":{"__isSmartRef__":true,"id":196},"renameOwner":{"__isSmartRef__":true,"id":199}},"196":{"varMapping":{"__isSmartRef__":true,"id":197},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":198},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"197":{"this":{"__isSmartRef__":true,"id":187}},"198":{},"199":{"varMapping":{"__isSmartRef__":true,"id":200},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":201},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"200":{"this":{"__isSmartRef__":true,"id":187}},"201":{},"202":{"_BorderWidth":0,"_BorderRadius":20.71,"__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(92.0,45.0)","_BorderColor":"Color.rgb(28,0,153)","_Fill":"Color.rgb(204,204,204)","_Padding":"lively.rect(0,0,0,0)"},"203":{"partsSpaceName":"PartsBin/DroppableBehaviors/","comment":"A simple box morph","migrationLevel":4,"partName":"InvisibleBehavior","lastModifiedDate":{"__isSmartRef__":true,"id":204},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"204":{"isSerializedDate":true,"string":"Thu Sep 06 2012 19:04:46 GMT-0700 (PDT)"},"205":{"sourceObj":{"__isSmartRef__":true,"id":186},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":187},"targetMethodName":"updateLabel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"206":{"traitName":"lively.morphic.DraggableBehavior","options":{"__isSmartRef__":true,"id":207}},"207":{"override":["onDragStart","onDragEnd","dropOn"]},"208":{"morph":{"__isSmartRef__":true,"id":186},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"209":{"submorphs":[{"__isSmartRef__":true,"id":210}],"scripts":[],"id":"C59485E1-FF5B-4704-82E0-99FE7445891C","shape":{"__isSmartRef__":true,"id":225},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":226},"__layered_draggingEnabled__":true,"attributeConnections":[{"__isSmartRef__":true,"id":228}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_traitConfig_":[{"__isSmartRef__":true,"id":229}],"eventHandler":{"__isSmartRef__":true,"id":231},"name":"LocationBehavior2","derivationIds":[522,"53039D6C-12BB-4F21-9A1F-5C5454E7D2F4"],"_ClipMode":"visible","moved":true,"_Rotation":0,"_Scale":1,"icon":{"__isSmartRef__":true,"id":232},"owner":null,"__serializedExpressions__":["_Position","dropColor","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":308},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","dropColor":"Color.rgb(158,0,0)","previousPosition":"lively.pt(804.0,405.0)"},"210":{"submorphs":[],"scripts":[],"id":"153BAC31-61A8-41C3-A744-CF9BA7066BE6","shape":{"__isSmartRef__":true,"id":211},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":73.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":212},"textChunks":[{"__isSmartRef__":true,"id":213}],"charsReplaced":"Grr","lastFindLoc":-3,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":215},{"__isSmartRef__":true,"id":216}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"oldOwner":{"__isSmartRef__":true,"id":209},"isInputLine":true,"eventsAreIgnored":true,"eventHandler":{"__isSmartRef__":true,"id":217},"_HandStyle":"default","_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":209},"savedTextString":"TopLeft","derivationIds":[523,"C77B2FBF-02B2-47E5-8369-FF9C8929B030"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","_Rotation":0,"_Scale":1.0030060100150207,"__serializedExpressions__":["_Position","textColor"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":218},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(5.0,16.0)","textColor":"Color.rgb(0,0,0)"},"211":{"fill":null,"_BorderWidth":0,"__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(73.8,12.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"212":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"213":{"style":{"__isSmartRef__":true,"id":214},"chunkOwner":{"__isSmartRef__":true,"id":210},"_id":"_24787","storedString":"LocationBehavior2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"214":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"215":{"sourceObj":{"__isSmartRef__":true,"id":210},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":210},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"216":{"sourceObj":{"__isSmartRef__":true,"id":210},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":210},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"217":{"morph":{"__isSmartRef__":true,"id":210},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"218":{"updateLabel":{"__isSmartRef__":true,"id":219},"renameOwner":{"__isSmartRef__":true,"id":222}},"219":{"varMapping":{"__isSmartRef__":true,"id":220},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":221},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"220":{"this":{"__isSmartRef__":true,"id":210}},"221":{},"222":{"varMapping":{"__isSmartRef__":true,"id":223},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":224},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"223":{"this":{"__isSmartRef__":true,"id":210}},"224":{},"225":{"_BorderWidth":0,"_BorderRadius":20.71,"__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(92.0,45.0)","_BorderColor":"Color.rgb(28,0,153)","_Fill":"Color.rgb(204,204,204)","_Padding":"lively.rect(0,0,0,0)"},"226":{"partsSpaceName":"PartsBin/DroppableBehaviors/","comment":"A simple box morph","migrationLevel":4,"partName":"InvisibleBehavior","lastModifiedDate":{"__isSmartRef__":true,"id":227},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"227":{"isSerializedDate":true,"string":"Thu Sep 06 2012 19:04:46 GMT-0700 (PDT)"},"228":{"sourceObj":{"__isSmartRef__":true,"id":209},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":210},"targetMethodName":"updateLabel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"229":{"traitName":"lively.morphic.DraggableBehavior","options":{"__isSmartRef__":true,"id":230}},"230":{"override":["onDragStart","onDragEnd","dropOn"]},"231":{"morph":{"__isSmartRef__":true,"id":209},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"232":{"submorphs":[{"__isSmartRef__":true,"id":233}],"scripts":[],"id":"929CE58A-4FF1-412E-B8CC-34BB2CFF80CD","shape":{"__isSmartRef__":true,"id":248},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":249},"__layered_draggingEnabled__":true,"attributeConnections":[{"__isSmartRef__":true,"id":251}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_traitConfig_":[{"__isSmartRef__":true,"id":252}],"eventHandler":{"__isSmartRef__":true,"id":254},"name":"InvisibleBehavior1","derivationIds":[522,"53039D6C-12BB-4F21-9A1F-5C5454E7D2F4"],"_ClipMode":"visible","moved":true,"_Rotation":0,"_Scale":1,"icon":{"__isSmartRef__":true,"id":255},"owner":null,"__serializedExpressions__":["_Position","dropColor","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":293},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","dropColor":"Color.rgb(158,0,0)","previousPosition":"lively.pt(804.0,405.0)"},"233":{"submorphs":[],"scripts":[],"id":"D2826BEB-007F-4FB7-AD3A-2CEEA60A4A1A","shape":{"__isSmartRef__":true,"id":234},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":73.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":235},"textChunks":[{"__isSmartRef__":true,"id":236}],"charsReplaced":"Grr","lastFindLoc":-3,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":238},{"__isSmartRef__":true,"id":239}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"oldOwner":{"__isSmartRef__":true,"id":232},"isInputLine":true,"eventsAreIgnored":true,"eventHandler":{"__isSmartRef__":true,"id":240},"_HandStyle":"default","_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":232},"savedTextString":"TopLeft","derivationIds":[523,"C77B2FBF-02B2-47E5-8369-FF9C8929B030"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","_Rotation":0,"_Scale":1.0030060100150207,"__serializedExpressions__":["_Position","textColor"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":241},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(5.0,16.0)","textColor":"Color.rgb(0,0,0)"},"234":{"fill":null,"_BorderWidth":0,"__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(73.8,12.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"235":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"236":{"style":{"__isSmartRef__":true,"id":237},"chunkOwner":{"__isSmartRef__":true,"id":233},"_id":"_635","storedString":"InvisibleBehavior1","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"237":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"238":{"sourceObj":{"__isSmartRef__":true,"id":233},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":233},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"239":{"sourceObj":{"__isSmartRef__":true,"id":233},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":233},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"240":{"morph":{"__isSmartRef__":true,"id":233},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"241":{"updateLabel":{"__isSmartRef__":true,"id":242},"renameOwner":{"__isSmartRef__":true,"id":245}},"242":{"varMapping":{"__isSmartRef__":true,"id":243},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":244},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"243":{"this":{"__isSmartRef__":true,"id":233}},"244":{},"245":{"varMapping":{"__isSmartRef__":true,"id":246},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":247},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"246":{"this":{"__isSmartRef__":true,"id":233}},"247":{},"248":{"_BorderWidth":0,"_BorderRadius":20.71,"__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(92.0,45.0)","_BorderColor":"Color.rgb(28,0,153)","_Fill":"Color.rgb(204,204,204)","_Padding":"lively.rect(0,0,0,0)"},"249":{"partsSpaceName":"PartsBin/DroppableBehaviors/","comment":"A simple box morph","migrationLevel":4,"partName":"InvisibleBehavior","lastModifiedDate":{"__isSmartRef__":true,"id":250},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"250":{"isSerializedDate":true,"string":"Thu Sep 06 2012 19:04:46 GMT-0700 (PDT)"},"251":{"sourceObj":{"__isSmartRef__":true,"id":232},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":233},"targetMethodName":"updateLabel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"252":{"traitName":"lively.morphic.DraggableBehavior","options":{"__isSmartRef__":true,"id":253}},"253":{"override":["onDragStart","onDragEnd","dropOn"]},"254":{"morph":{"__isSmartRef__":true,"id":232},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"255":{"submorphs":[{"__isSmartRef__":true,"id":256}],"scripts":[],"id":"3FB0FF00-B05D-4780-A108-5ECE9E4EE228","shape":{"__isSmartRef__":true,"id":271},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":272},"__layered_draggingEnabled__":true,"attributeConnections":[{"__isSmartRef__":true,"id":274}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_traitConfig_":[{"__isSmartRef__":true,"id":275}],"eventHandler":{"__isSmartRef__":true,"id":277},"name":"InvisibleBehavior1","derivationIds":[522,"53039D6C-12BB-4F21-9A1F-5C5454E7D2F4"],"_ClipMode":"visible","moved":true,"_Rotation":0,"_Scale":1,"owner":null,"__serializedExpressions__":["_Position","dropColor","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":278},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","dropColor":"Color.rgb(158,0,0)","previousPosition":"lively.pt(804.0,405.0)"},"256":{"submorphs":[],"scripts":[],"id":"B02251EB-581A-4932-A67B-4D4AEBF40139","shape":{"__isSmartRef__":true,"id":257},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":73.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":258},"textChunks":[{"__isSmartRef__":true,"id":259}],"charsReplaced":"Grr","lastFindLoc":-3,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":261},{"__isSmartRef__":true,"id":262}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"oldOwner":{"__isSmartRef__":true,"id":255},"isInputLine":true,"eventsAreIgnored":true,"eventHandler":{"__isSmartRef__":true,"id":263},"_HandStyle":"default","_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":255},"savedTextString":"TopLeft","derivationIds":[523,"C77B2FBF-02B2-47E5-8369-FF9C8929B030"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","_Rotation":0,"_Scale":1.0030060100150207,"__serializedExpressions__":["_Position","textColor"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":264},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(5.0,16.0)","textColor":"Color.rgb(0,0,0)"},"257":{"fill":null,"_BorderWidth":0,"__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(73.8,12.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"258":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"259":{"style":{"__isSmartRef__":true,"id":260},"chunkOwner":{"__isSmartRef__":true,"id":256},"_id":"_633","storedString":"InvisibleBehavior1","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"260":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"261":{"sourceObj":{"__isSmartRef__":true,"id":256},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":256},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"262":{"sourceObj":{"__isSmartRef__":true,"id":256},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":256},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"263":{"morph":{"__isSmartRef__":true,"id":256},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"264":{"updateLabel":{"__isSmartRef__":true,"id":265},"renameOwner":{"__isSmartRef__":true,"id":268}},"265":{"varMapping":{"__isSmartRef__":true,"id":266},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":267},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"266":{"this":{"__isSmartRef__":true,"id":256}},"267":{},"268":{"varMapping":{"__isSmartRef__":true,"id":269},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":270},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"269":{"this":{"__isSmartRef__":true,"id":256}},"270":{},"271":{"_BorderWidth":0,"_BorderRadius":20.71,"__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(92.0,45.0)","_BorderColor":"Color.rgb(28,0,153)","_Fill":"Color.rgb(204,204,204)","_Padding":"lively.rect(0,0,0,0)"},"272":{"partsSpaceName":"PartsBin/DroppableBehaviors/","comment":"A simple box morph","migrationLevel":4,"partName":"InvisibleBehavior","lastModifiedDate":{"__isSmartRef__":true,"id":273},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"273":{"isSerializedDate":true,"string":"Thu Sep 06 2012 19:04:46 GMT-0700 (PDT)"},"274":{"sourceObj":{"__isSmartRef__":true,"id":255},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":256},"targetMethodName":"updateLabel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"275":{"traitName":"lively.morphic.DraggableBehavior","options":{"__isSmartRef__":true,"id":276}},"276":{"override":["onDragStart","onDragEnd","dropOn"]},"277":{"morph":{"__isSmartRef__":true,"id":255},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"278":{"applyTo":{"__isSmartRef__":true,"id":279},"reset":{"__isSmartRef__":true,"id":283},"onLoadFromPartsBin":{"__isSmartRef__":true,"id":286}},"279":{"varMapping":{"__isSmartRef__":true,"id":280},"source":"function applyTo(morph) {\n\t// this.targets.morph.\n        function addLocation(loc) {\n            console.log(\"LOCATION\" + loc.coords);\n        }\n        navigator.geolocation.getCurrenPosition(addLocation);\n}","funcProperties":{"__isSmartRef__":true,"id":281},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"280":{"this":{"__isSmartRef__":true,"id":255}},"281":{"timestamp":{"__isSmartRef__":true,"id":282},"user":"dpaola2","tags":[]},"282":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:09:36 GMT-0800 (PST)"},"283":{"varMapping":{"__isSmartRef__":true,"id":284},"source":"function reset() {\n\tthis.applyStyle({enableDragging: true})\n}","funcProperties":{"__isSmartRef__":true,"id":285},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"284":{"this":{"__isSmartRef__":true,"id":255}},"285":{},"286":{"varMapping":{"__isSmartRef__":true,"id":287},"source":"function onLoadFromPartsBin() {\n\t$super();\n\tTrait('lively.morphic.DraggableBehavior').applyTo(this, {override: ['onDragStart', 'onDragEnd', 'dropOn']});\n}","funcProperties":{"__isSmartRef__":true,"id":292},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"287":{"this":{"__isSmartRef__":true,"id":255},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":288}},"288":{"$super":{"__isSmartRef__":true,"id":289}},"289":{"varMapping":{"__isSmartRef__":true,"id":290},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":291},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"290":{"obj":{"__isSmartRef__":true,"id":255},"name":"onLoadFromPartsBin"},"291":{},"292":{},"293":{"applyTo":{"__isSmartRef__":true,"id":294},"reset":{"__isSmartRef__":true,"id":298},"onLoadFromPartsBin":{"__isSmartRef__":true,"id":301}},"294":{"varMapping":{"__isSmartRef__":true,"id":295},"source":"function applyTo(morph) {\n\t// this.targets.morph.\n        function addLocation(loc) {\n            console.log(\"LOCATION\" + loc.coords);\n        }\n        navigator.geolocation.getCurrenPosition(addLocation);\n}","funcProperties":{"__isSmartRef__":true,"id":296},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"295":{"this":{"__isSmartRef__":true,"id":232}},"296":{"timestamp":{"__isSmartRef__":true,"id":297},"user":"dpaola2","tags":[]},"297":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:09:36 GMT-0800 (PST)"},"298":{"varMapping":{"__isSmartRef__":true,"id":299},"source":"function reset() {\n\tthis.applyStyle({enableDragging: true})\n}","funcProperties":{"__isSmartRef__":true,"id":300},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"299":{"this":{"__isSmartRef__":true,"id":232}},"300":{},"301":{"varMapping":{"__isSmartRef__":true,"id":302},"source":"function onLoadFromPartsBin() {\n\t$super();\n\tTrait('lively.morphic.DraggableBehavior').applyTo(this, {override: ['onDragStart', 'onDragEnd', 'dropOn']});\n}","funcProperties":{"__isSmartRef__":true,"id":307},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"302":{"this":{"__isSmartRef__":true,"id":232},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":303}},"303":{"$super":{"__isSmartRef__":true,"id":304}},"304":{"varMapping":{"__isSmartRef__":true,"id":305},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":306},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"305":{"obj":{"__isSmartRef__":true,"id":232},"name":"onLoadFromPartsBin"},"306":{},"307":{},"308":{"applyTo":{"__isSmartRef__":true,"id":309},"reset":{"__isSmartRef__":true,"id":313},"onLoadFromPartsBin":{"__isSmartRef__":true,"id":316}},"309":{"varMapping":{"__isSmartRef__":true,"id":310},"source":"function applyTo(morph) {\n\t// this.targets.morph.\n        function addLocation(loc) {\n            alert(\"LOCATION\" + loc.coords);\n        }\n        navigator.geolocation.getCurrentPosition(addLocation);\n}","funcProperties":{"__isSmartRef__":true,"id":311},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"310":{"this":{"__isSmartRef__":true,"id":209}},"311":{"timestamp":{"__isSmartRef__":true,"id":312},"user":"dpaola2","tags":[]},"312":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:17:38 GMT-0800 (PST)"},"313":{"varMapping":{"__isSmartRef__":true,"id":314},"source":"function reset() {\n\tthis.applyStyle({enableDragging: true})\n}","funcProperties":{"__isSmartRef__":true,"id":315},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"314":{"this":{"__isSmartRef__":true,"id":209}},"315":{},"316":{"varMapping":{"__isSmartRef__":true,"id":317},"source":"function onLoadFromPartsBin() {\n\t$super();\n\tTrait('lively.morphic.DraggableBehavior').applyTo(this, {override: ['onDragStart', 'onDragEnd', 'dropOn']});\n}","funcProperties":{"__isSmartRef__":true,"id":322},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"317":{"this":{"__isSmartRef__":true,"id":209},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":318}},"318":{"$super":{"__isSmartRef__":true,"id":319}},"319":{"varMapping":{"__isSmartRef__":true,"id":320},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":321},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"320":{"obj":{"__isSmartRef__":true,"id":209},"name":"onLoadFromPartsBin"},"321":{},"322":{},"323":{"applyTo":{"__isSmartRef__":true,"id":324},"reset":{"__isSmartRef__":true,"id":328},"onLoadFromPartsBin":{"__isSmartRef__":true,"id":331}},"324":{"varMapping":{"__isSmartRef__":true,"id":325},"source":"function applyTo(morph) {\n\t// this.targets.morph.\n        function addLocation(loc) {\n            morph.location = loc;\n        }\n        navigator.geolocation.getCurrentPosition(addLocation);\n}","funcProperties":{"__isSmartRef__":true,"id":326},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"325":{"this":{"__isSmartRef__":true,"id":186}},"326":{"timestamp":{"__isSmartRef__":true,"id":327},"user":"dpaola2","tags":[]},"327":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:18:04 GMT-0800 (PST)"},"328":{"varMapping":{"__isSmartRef__":true,"id":329},"source":"function reset() {\n\tthis.applyStyle({enableDragging: true})\n}","funcProperties":{"__isSmartRef__":true,"id":330},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"329":{"this":{"__isSmartRef__":true,"id":186}},"330":{},"331":{"varMapping":{"__isSmartRef__":true,"id":332},"source":"function onLoadFromPartsBin() {\n\t$super();\n\tTrait('lively.morphic.DraggableBehavior').applyTo(this, {override: ['onDragStart', 'onDragEnd', 'dropOn']});\n}","funcProperties":{"__isSmartRef__":true,"id":337},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"332":{"this":{"__isSmartRef__":true,"id":186},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":333}},"333":{"$super":{"__isSmartRef__":true,"id":334}},"334":{"varMapping":{"__isSmartRef__":true,"id":335},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":336},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"335":{"obj":{"__isSmartRef__":true,"id":186},"name":"onLoadFromPartsBin"},"336":{},"337":{},"338":{"applyTo":{"__isSmartRef__":true,"id":339},"reset":{"__isSmartRef__":true,"id":343},"onLoadFromPartsBin":{"__isSmartRef__":true,"id":346}},"339":{"varMapping":{"__isSmartRef__":true,"id":340},"source":"function applyTo(morph) {\n\t// this.targets.morph.\n        function addLocation(loc) {\n            morph.textString += loc + \"\\n\";\n        }\n        navigator.geolocation.getCurrentPosition(addLocation);\n}","funcProperties":{"__isSmartRef__":true,"id":341},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"340":{"this":{"__isSmartRef__":true,"id":163}},"341":{"timestamp":{"__isSmartRef__":true,"id":342},"user":"dpaola2","tags":[]},"342":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:21:58 GMT-0800 (PST)"},"343":{"varMapping":{"__isSmartRef__":true,"id":344},"source":"function reset() {\n\tthis.applyStyle({enableDragging: true})\n}","funcProperties":{"__isSmartRef__":true,"id":345},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"344":{"this":{"__isSmartRef__":true,"id":163}},"345":{},"346":{"varMapping":{"__isSmartRef__":true,"id":347},"source":"function onLoadFromPartsBin() {\n\t$super();\n\tTrait('lively.morphic.DraggableBehavior').applyTo(this, {override: ['onDragStart', 'onDragEnd', 'dropOn']});\n}","funcProperties":{"__isSmartRef__":true,"id":352},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"347":{"this":{"__isSmartRef__":true,"id":163},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":348}},"348":{"$super":{"__isSmartRef__":true,"id":349}},"349":{"varMapping":{"__isSmartRef__":true,"id":350},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":351},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"350":{"obj":{"__isSmartRef__":true,"id":163},"name":"onLoadFromPartsBin"},"351":{},"352":{},"353":{"applyTo":{"__isSmartRef__":true,"id":354},"reset":{"__isSmartRef__":true,"id":358},"onLoadFromPartsBin":{"__isSmartRef__":true,"id":361}},"354":{"varMapping":{"__isSmartRef__":true,"id":355},"source":"function applyTo(morph) {\n\t// this.targets.morph.        }\n        navigator.geolocation.getCurrentPosition(function (loc) {\n            morph.textString += loc + \"\\n\";    \n        });\n}","funcProperties":{"__isSmartRef__":true,"id":356},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"355":{"this":{"__isSmartRef__":true,"id":140}},"356":{"timestamp":{"__isSmartRef__":true,"id":357},"user":"dpaola2","tags":[]},"357":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:22:41 GMT-0800 (PST)"},"358":{"varMapping":{"__isSmartRef__":true,"id":359},"source":"function reset() {\n\tthis.applyStyle({enableDragging: true})\n}","funcProperties":{"__isSmartRef__":true,"id":360},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"359":{"this":{"__isSmartRef__":true,"id":140}},"360":{},"361":{"varMapping":{"__isSmartRef__":true,"id":362},"source":"function onLoadFromPartsBin() {\n\t$super();\n\tTrait('lively.morphic.DraggableBehavior').applyTo(this, {override: ['onDragStart', 'onDragEnd', 'dropOn']});\n}","funcProperties":{"__isSmartRef__":true,"id":367},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"362":{"this":{"__isSmartRef__":true,"id":140},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":363}},"363":{"$super":{"__isSmartRef__":true,"id":364}},"364":{"varMapping":{"__isSmartRef__":true,"id":365},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":366},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"365":{"obj":{"__isSmartRef__":true,"id":140},"name":"onLoadFromPartsBin"},"366":{},"367":{},"368":{"applyTo":{"__isSmartRef__":true,"id":369},"reset":{"__isSmartRef__":true,"id":373},"onLoadFromPartsBin":{"__isSmartRef__":true,"id":376}},"369":{"varMapping":{"__isSmartRef__":true,"id":370},"source":"function applyTo(morph) {\n\t// this.targets.morph.        }\n        navigator.geolocation.getCurrentPosition(function (loc) {\n            morph.textString += loc + \"\\n\";    \n        });\n}","funcProperties":{"__isSmartRef__":true,"id":371},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"370":{"this":{"__isSmartRef__":true,"id":117}},"371":{"timestamp":{"__isSmartRef__":true,"id":372},"user":"dpaola2","tags":[]},"372":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:22:41 GMT-0800 (PST)"},"373":{"varMapping":{"__isSmartRef__":true,"id":374},"source":"function reset() {\n\tthis.applyStyle({enableDragging: true})\n}","funcProperties":{"__isSmartRef__":true,"id":375},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"374":{"this":{"__isSmartRef__":true,"id":117}},"375":{},"376":{"varMapping":{"__isSmartRef__":true,"id":377},"source":"function onLoadFromPartsBin() {\n\t$super();\n\tTrait('lively.morphic.DraggableBehavior').applyTo(this, {override: ['onDragStart', 'onDragEnd', 'dropOn']});\n}","funcProperties":{"__isSmartRef__":true,"id":382},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"377":{"this":{"__isSmartRef__":true,"id":117},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":378}},"378":{"$super":{"__isSmartRef__":true,"id":379}},"379":{"varMapping":{"__isSmartRef__":true,"id":380},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":381},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"380":{"obj":{"__isSmartRef__":true,"id":117},"name":"onLoadFromPartsBin"},"381":{},"382":{},"383":{"applyTo":{"__isSmartRef__":true,"id":384},"reset":{"__isSmartRef__":true,"id":388},"onLoadFromPartsBin":{"__isSmartRef__":true,"id":391}},"384":{"varMapping":{"__isSmartRef__":true,"id":385},"source":"function applyTo(morph) {\n\t// this.targets.morph.        }\n        navigator.geolocation.getCurrentPosition(function (loc) {\n            morph.textString += loc + \"\\n\";    \n        });\n}","funcProperties":{"__isSmartRef__":true,"id":386},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"385":{"this":{"__isSmartRef__":true,"id":94}},"386":{"timestamp":{"__isSmartRef__":true,"id":387},"user":"dpaola2","tags":[]},"387":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:22:41 GMT-0800 (PST)"},"388":{"varMapping":{"__isSmartRef__":true,"id":389},"source":"function reset() {\n\tthis.applyStyle({enableDragging: true})\n}","funcProperties":{"__isSmartRef__":true,"id":390},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"389":{"this":{"__isSmartRef__":true,"id":94}},"390":{},"391":{"varMapping":{"__isSmartRef__":true,"id":392},"source":"function onLoadFromPartsBin() {\n\t$super();\n\tTrait('lively.morphic.DraggableBehavior').applyTo(this, {override: ['onDragStart', 'onDragEnd', 'dropOn']});\n}","funcProperties":{"__isSmartRef__":true,"id":397},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"392":{"this":{"__isSmartRef__":true,"id":94},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":393}},"393":{"$super":{"__isSmartRef__":true,"id":394}},"394":{"varMapping":{"__isSmartRef__":true,"id":395},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":396},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"395":{"obj":{"__isSmartRef__":true,"id":94},"name":"onLoadFromPartsBin"},"396":{},"397":{},"398":{"applyTo":{"__isSmartRef__":true,"id":399},"reset":{"__isSmartRef__":true,"id":403},"onLoadFromPartsBin":{"__isSmartRef__":true,"id":406}},"399":{"varMapping":{"__isSmartRef__":true,"id":400},"source":"function applyTo(morph) {\n\t// this.targets.morph.        }\n        navigator.geolocation.getCurrentPosition(function (loc) {\n            morph.textString += loc + \"\\n\";    \n        });\n}","funcProperties":{"__isSmartRef__":true,"id":401},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"400":{"this":{"__isSmartRef__":true,"id":71}},"401":{"timestamp":{"__isSmartRef__":true,"id":402},"user":"dpaola2","tags":[]},"402":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:22:41 GMT-0800 (PST)"},"403":{"varMapping":{"__isSmartRef__":true,"id":404},"source":"function reset() {\n\tthis.applyStyle({enableDragging: true})\n}","funcProperties":{"__isSmartRef__":true,"id":405},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"404":{"this":{"__isSmartRef__":true,"id":71}},"405":{},"406":{"varMapping":{"__isSmartRef__":true,"id":407},"source":"function onLoadFromPartsBin() {\n\t$super();\n\tTrait('lively.morphic.DraggableBehavior').applyTo(this, {override: ['onDragStart', 'onDragEnd', 'dropOn']});\n}","funcProperties":{"__isSmartRef__":true,"id":412},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"407":{"this":{"__isSmartRef__":true,"id":71},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":408}},"408":{"$super":{"__isSmartRef__":true,"id":409}},"409":{"varMapping":{"__isSmartRef__":true,"id":410},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":411},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"410":{"obj":{"__isSmartRef__":true,"id":71},"name":"onLoadFromPartsBin"},"411":{},"412":{},"413":{"applyTo":{"__isSmartRef__":true,"id":414},"reset":{"__isSmartRef__":true,"id":418},"onLoadFromPartsBin":{"__isSmartRef__":true,"id":422}},"414":{"varMapping":{"__isSmartRef__":true,"id":415},"source":"function applyTo(morph) {\n\t// this.targets.morph.        }\n        navigator.geolocation.getCurrentPosition(function (loc) {\n            morph.location = loc;\n        });\n}","funcProperties":{"__isSmartRef__":true,"id":416},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"415":{"this":{"__isSmartRef__":true,"id":48}},"416":{"timestamp":{"__isSmartRef__":true,"id":417},"user":"dpaola2","tags":[]},"417":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:28:37 GMT-0800 (PST)"},"418":{"varMapping":{"__isSmartRef__":true,"id":419},"source":"function reset() {\n\tthis.applyStyle({enableDragging: true})\n}","funcProperties":{"__isSmartRef__":true,"id":420},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"419":{"this":{"__isSmartRef__":true,"id":48}},"420":{"timestamp":{"__isSmartRef__":true,"id":421},"user":"dpaola2","tags":[]},"421":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:28:37 GMT-0800 (PST)"},"422":{"varMapping":{"__isSmartRef__":true,"id":423},"source":"function onLoadFromPartsBin() {\n\t$super();\n\tTrait('lively.morphic.DraggableBehavior').applyTo(this, {override: ['onDragStart', 'onDragEnd', 'dropOn']});\n}","funcProperties":{"__isSmartRef__":true,"id":428},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"423":{"this":{"__isSmartRef__":true,"id":48},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":424}},"424":{"$super":{"__isSmartRef__":true,"id":425}},"425":{"varMapping":{"__isSmartRef__":true,"id":426},"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":427},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"426":{"obj":{"__isSmartRef__":true,"id":48},"name":"onLoadFromPartsBin"},"427":{},"428":{"timestamp":{"__isSmartRef__":true,"id":429},"user":"dpaola2","tags":[]},"429":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:28:37 GMT-0800 (PST)"},"430":{"applyTo":{"__isSmartRef__":true,"id":431},"reset":{"__isSmartRef__":true,"id":435},"onLoadFromPartsBin":{"__isSmartRef__":true,"id":439}},"431":{"varMapping":{"__isSmartRef__":true,"id":432},"source":"function applyTo(morph) {\n\t// this.targets.morph.        }\n        navigator.geolocation.getCurrentPosition(function (loc) {\n            morph.location = loc;\n        });\n}","funcProperties":{"__isSmartRef__":true,"id":433},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"432":{"this":{"__isSmartRef__":true,"id":25}},"433":{"timestamp":{"__isSmartRef__":true,"id":434},"user":"dpaola2","tags":[]},"434":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:28:37 GMT-0800 (PST)"},"435":{"varMapping":{"__isSmartRef__":true,"id":436},"source":"function reset() {\n\tthis.applyStyle({enableDragging: true})\n}","funcProperties":{"__isSmartRef__":true,"id":437},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"436":{"this":{"__isSmartRef__":true,"id":25}},"437":{"timestamp":{"__isSmartRef__":true,"id":438},"user":"dpaola2","tags":[]},"438":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:28:37 GMT-0800 (PST)"},"439":{"varMapping":{"__isSmartRef__":true,"id":440},"source":"function onLoadFromPartsBin() {\n\t$super();\n\tTrait('lively.morphic.DraggableBehavior').applyTo(this, {override: ['onDragStart', 'onDragEnd', 'dropOn']});\n}","funcProperties":{"__isSmartRef__":true,"id":445},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"440":{"this":{"__isSmartRef__":true,"id":25},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":441}},"441":{"$super":{"__isSmartRef__":true,"id":442}},"442":{"varMapping":{"__isSmartRef__":true,"id":443},"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":444},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"443":{"obj":{"__isSmartRef__":true,"id":25},"name":"onLoadFromPartsBin"},"444":{},"445":{"timestamp":{"__isSmartRef__":true,"id":446},"user":"dpaola2","tags":[]},"446":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:28:37 GMT-0800 (PST)"},"447":{"applyTo":{"__isSmartRef__":true,"id":448},"reset":{"__isSmartRef__":true,"id":452},"onLoadFromPartsBin":{"__isSmartRef__":true,"id":456}},"448":{"varMapping":{"__isSmartRef__":true,"id":449},"source":"function applyTo(morph) {\n\t// this.targets.morph.        }\n        navigator.geolocation.getCurrentPosition(function (loc) {\n            morph.location = loc;\n        });\n}","funcProperties":{"__isSmartRef__":true,"id":450},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"449":{"this":{"__isSmartRef__":true,"id":0}},"450":{"timestamp":{"__isSmartRef__":true,"id":451},"user":"dpaola2","tags":[]},"451":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:28:37 GMT-0800 (PST)"},"452":{"varMapping":{"__isSmartRef__":true,"id":453},"source":"function reset() {\n\tthis.applyStyle({enableDragging: true})\n}","funcProperties":{"__isSmartRef__":true,"id":454},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"453":{"this":{"__isSmartRef__":true,"id":0}},"454":{"timestamp":{"__isSmartRef__":true,"id":455},"user":"dpaola2","tags":[]},"455":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:28:37 GMT-0800 (PST)"},"456":{"varMapping":{"__isSmartRef__":true,"id":457},"source":"function onLoadFromPartsBin() {\n\t$super();\n\tTrait('lively.morphic.DraggableBehavior').applyTo(this, {override: ['onDragStart', 'onDragEnd', 'dropOn']});\n}","funcProperties":{"__isSmartRef__":true,"id":462},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"457":{"this":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":458}},"458":{"$super":{"__isSmartRef__":true,"id":459}},"459":{"varMapping":{"__isSmartRef__":true,"id":460},"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":461},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"460":{"obj":{"__isSmartRef__":true,"id":0},"name":"onLoadFromPartsBin"},"461":{},"462":{"timestamp":{"__isSmartRef__":true,"id":463},"user":"dpaola2","tags":[]},"463":{"isSerializedDate":true,"string":"Wed Feb 13 2013 17:28:37 GMT-0800 (PST)"},"isSimplifiedRegistry":true}}