(http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?1daa970400ae60bdacaeae0d8538a05f:33908:60), :1:6)\n at Box.interactiveEval (http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?1daa970400ae60bdacaeae0d8538a05f:33908:55)\n at Text.lively.morphic.Morph.subclass.boundEval (http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?1daa970400ae60bdacaeae0d8538a05f:33909:32)\n at Namespace.Object.extend.proceed (http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?1daa970400ae60bdacaeae0d8538a05f:22876:48)\n at Text.cop.create.refineClass.boundEval (http://www.lively-kernel.org/repository/webwerkstatt/core/lively/ast/IDESupport.js?1364250424075:29:20)\n at Text.Object.extend.proceed (http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?1daa970400ae60bdacaeae0d8538a05f:22876:48)\n at Text.wrapped_function (http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?1daa970400ae60bdacaeae0d8538a05f:22631:36)\n at eval (eval at (http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?1daa970400ae60bdacaeae0d8538a05f:16094:29), :4:60)\n at eval (eval at (http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?1daa970400ae60bdacaeae0d8538a05f:16094:29), :7:18)\n at withLayers (http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?1daa970400ae60bdacaeae0d8538a05f:22816:20)","draggingEnabled":true,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":2431},"attributeConnections":[{"__isSmartRef__":true,"id":2432}],"doNotSerialize":["$$savedWorldAsURL","$$baseThemeStyleSheet"],"doNotCopyProperties":["$$savedWorldAsURL"],"worldMenuOpened":true,"clickedOnMorphTime":1364330021999,"prevScroll":[null],"loadingMorph":{"__isSmartRef__":true,"id":2434},"_ClipMode":"visible","lastModified":{"__isSmartRef__":true,"id":2562},"_traitConfig_":[{"__isSmartRef__":true,"id":2563}],"_Scroll":[null],"savedWorldAsURL":{"__isSmartRef__":true,"id":2565},"eventStartPos":null,"__serializedExpressions__":["_Position"],"currentHaloTarget":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.World","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"1":{"submorphs":[{"__isSmartRef__":true,"id":2}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15},"eventHandler":{"__isSmartRef__":true,"id":16},"_ClipMode":"visible","derivationIds":["EC7EBB28-54AE-4244-80ED-3E13650F82B7","342A6C62-C553-4289-957D-07B19D272AC3","AAC56214-32F4-4C5F-B923-F0C73102EF8B","5D62F727-7938-4DE2-9008-F3C3FCCFDFF6"],"id":"58CEB68F-BD38-4C3D-83A4-18EDC29ACCD9","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":2},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":17}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"ShareWorldButtonForDan","partsBinMetaInfo":{"__isSmartRef__":true,"id":19},"#startLetters":"trans","moved":true,"magnets":[{"__isSmartRef__":true,"id":31},{"__isSmartRef__":true,"id":32},{"__isSmartRef__":true,"id":33},{"__isSmartRef__":true,"id":34},{"__isSmartRef__":true,"id":35},{"__isSmartRef__":true,"id":36},{"__isSmartRef__":true,"id":37},{"__isSmartRef__":true,"id":38}],"mailedURL":{"__isSmartRef__":true,"id":39},"partTests":{"__isSmartRef__":true,"id":40},"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"prevScroll":[0,0],"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":48},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(1046.0,31.0)","distanceToDragEvent":"lively.pt(73.0,-14.0)"},"2":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4}],"eventHandler":{"__isSmartRef__":true,"id":6},"_ClipMode":"hidden","derivationIds":["7884E73F-0D17-44B3-907F-44A5223F1F3D","941B958E-2F98-4E5B-B244-859ACE2764DE","B86E795F-5D6F-4F5A-B046-5A7A4D01AB3F","8E4BC49A-1826-430A-B1C9-50A62192070E"],"id":"B4294B06-A97D-486F-9B2D-C283BABD18DE","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"showsHalos":false,"eventsAreDisabled":true,"_PointerEvents":"none","magnets":[{"__isSmartRef__":true,"id":7},{"__isSmartRef__":true,"id":8},{"__isSmartRef__":true,"id":9},{"__isSmartRef__":true,"id":10},{"__isSmartRef__":true,"id":11},{"__isSmartRef__":true,"id":12},{"__isSmartRef__":true,"id":13},{"__isSmartRef__":true,"id":14}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"__serializedExpressions__":["_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"3":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"4":{"style":{"__isSmartRef__":true,"id":5},"chunkOwner":{"__isSmartRef__":true,"id":2},"_id":"_4702","storedString":"Share via mail","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6":{"morph":{"__isSmartRef__":true,"id":2},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7":{"morph":{"__isSmartRef__":true,"id":2},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(521.0,239.0)"},"8":{"morph":{"__isSmartRef__":true,"id":2},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(571.0,239.0)"},"9":{"morph":{"__isSmartRef__":true,"id":2},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(621.0,239.0)"},"10":{"morph":{"__isSmartRef__":true,"id":2},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(621.0,249.0)"},"11":{"morph":{"__isSmartRef__":true,"id":2},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(621.0,259.0)"},"12":{"morph":{"__isSmartRef__":true,"id":2},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(571.0,259.0)"},"13":{"morph":{"__isSmartRef__":true,"id":2},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(521.0,259.0)"},"14":{"morph":{"__isSmartRef__":true,"id":2},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(521.0,249.0)"},"15":{"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"16":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17":{"sourceObj":{"__isSmartRef__":true,"id":1},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":18},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"18":{"source":{"__isSmartRef__":true,"id":1},"target":{"__isSmartRef__":true,"id":1}},"19":{"partName":"ShareWorldButtonForDan","requiredModules":[],"partsSpaceName":"PartsBin/Collaboration/","comment":"A Button that will open a mail morph that is let's you share a link to a Lively World with others!","changes":[{"__isSmartRef__":true,"id":20},{"__isSmartRef__":true,"id":22},{"__isSmartRef__":true,"id":24},{"__isSmartRef__":true,"id":26},{"__isSmartRef__":true,"id":28}],"migrationLevel":4,"lastModifiedDate":{"__isSmartRef__":true,"id":30},"revisionOnLoad":192781,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"20":{"date":{"__isSmartRef__":true,"id":21},"author":"robertkrahn","message":"Fixed URL generation for mailed URLs","id":"46B07DC0-C290-494F-A296-F36B82EE912A"},"21":{"isSerializedDate":true,"string":"Thu Feb 21 2013 11:41:41 GMT-0800 (PST)"},"22":{"date":{"__isSmartRef__":true,"id":23},"author":"robertkrahn","message":"no comment","id":"8909FD8C-C8D0-4217-9883-07A42821CB42"},"23":{"isSerializedDate":true,"string":"Wed Feb 20 2013 14:48:59 GMT-0800 (PST)"},"24":{"date":{"__isSmartRef__":true,"id":25},"author":"robertkrahn","message":"no comment","id":"9B8B6BE4-4519-4A6C-8F47-70DE61BBB0FB"},"25":{"isSerializedDate":true,"string":"Tue Dec 11 2012 13:53:16 GMT-0800 (PST)"},"26":{"date":{"__isSmartRef__":true,"id":27},"author":null,"message":"no comment","id":"F8B70225-5143-4A51-ABB4-344B488B3811"},"27":{"isSerializedDate":true,"string":"Tue Dec 11 2012 13:15:42 GMT-0800 (PST)"},"28":{"date":{"__isSmartRef__":true,"id":29},"author":"robertkrahn","message":"Save the world under a (temporary) URL for mail sharing.","id":"61DFF939-5FA7-4159-BE55-37C12F5B5709"},"29":{"isSerializedDate":true,"string":"Wed Feb 20 2013 16:07:03 GMT-0800 (PST)"},"30":{"isSerializedDate":true,"string":"Thu Feb 28 2013 02:51:13 GMT-0800 (PST)"},"31":{"morph":{"__isSmartRef__":true,"id":1},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(521.0,239.0)"},"32":{"morph":{"__isSmartRef__":true,"id":1},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(571.0,239.0)"},"33":{"morph":{"__isSmartRef__":true,"id":1},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(621.0,239.0)"},"34":{"morph":{"__isSmartRef__":true,"id":1},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(621.0,249.0)"},"35":{"morph":{"__isSmartRef__":true,"id":1},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(621.0,259.0)"},"36":{"morph":{"__isSmartRef__":true,"id":1},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(571.0,259.0)"},"37":{"morph":{"__isSmartRef__":true,"id":1},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(521.0,259.0)"},"38":{"morph":{"__isSmartRef__":true,"id":1},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(521.0,249.0)"},"39":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/users/Dan/Kaleidoscope2-mailed1.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"40":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":41}},"41":{"testGetMailURLDoesNotAppendPostfixMultipleTimes":{"__isSmartRef__":true,"id":42},"testGetMailURLAppendsMailSpecificPostfix":{"__isSmartRef__":true,"id":45}},"42":{"varMapping":{"__isSmartRef__":true,"id":43},"source":"function testGetMailURLDoesNotAppendPostfixMultipleTimes(aPart) {\n var url = new URL('http://foo.bar/baz-mailed1.xhtml'),\n expected = new URL('http://foo.bar/baz-mailed2.xhtml');\n this.assertEquals(expected, aPart.getMailURL(url));\n}","funcProperties":{"__isSmartRef__":true,"id":44},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"43":{"this":{"__isSmartRef__":true,"id":40}},"44":{},"45":{"varMapping":{"__isSmartRef__":true,"id":46},"source":"function testGetMailURLAppendsMailSpecificPostfix(aPart) {\n var expected = new URL('http://foo.bar/baz-mailed1.xhtml'),\n url = new URL('http://foo.bar/baz.xhtml');\n this.assertEquals(expected, aPart.getMailURL(url));\n}","funcProperties":{"__isSmartRef__":true,"id":47},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"46":{"this":{"__isSmartRef__":true,"id":40}},"47":{},"48":{"doAction":{"__isSmartRef__":true,"id":49},"onSendMail":{"__isSmartRef__":true,"id":53},"getMailURL":{"__isSmartRef__":true,"id":57}},"49":{"varMapping":{"__isSmartRef__":true,"id":50},"source":"function doAction() {\n var url = URL.source,\n worldURLForMail = this.getMailURL(url),\n mailMorph = lively.PartsBin.getPart(\"EmailMorph\", 'PartsBin/Collaboration');\n mailMorph.setMailContent({\n subject: 'Check out this Lively World!',\n content: Strings.format(\n 'Hey, have you seen the \"%s\" Lively World yet?'\n + '\\n\\nVisit it here: %s',\n url.filename().replace(/(-mailed[0-9]+)?\\..*$/, ''), worldURLForMail)});\n mailMorph.openInWorld();\n var p = this.getPositionInWorld().addPt(this.innerBounds().bottomCenter());\n mailMorph.align(mailMorph.bounds().topCenter(), p);\n mailMorph.get('ToText').focus();\n this.mailedURL = worldURLForMail;\n mailMorph.informOnSend(this, 'onSendMail');\n}","funcProperties":{"__isSmartRef__":true,"id":51},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"50":{"this":{"__isSmartRef__":true,"id":1}},"51":{"timestamp":{"__isSmartRef__":true,"id":52},"user":"robertkrahn","tags":[]},"52":{"isSerializedDate":true,"string":"Thu Feb 21 2013 11:40:39 GMT-0800 (PST)"},"53":{"varMapping":{"__isSmartRef__":true,"id":54},"source":"function onSendMail() {\n var world = this.world();\n try {\n var oldVisitNewPageAfterSaveAs = world.visitNewPageAfterSaveAs;\n world.visitNewPageAfterSaveAs = Functions.Null;\n world.saveWorldAs(this.mailedURL, false);\n } finally {\n (function() {\n world.visitNewPageAfterSaveAs = oldVisitNewPageAfterSaveAs;\n }).delay(4);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":55},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"54":{"this":{"__isSmartRef__":true,"id":1}},"55":{"timestamp":{"__isSmartRef__":true,"id":56},"user":"robertkrahn","tags":[]},"56":{"isSerializedDate":true,"string":"Wed Feb 20 2013 16:05:22 GMT-0800 (PST)"},"57":{"varMapping":{"__isSmartRef__":true,"id":58},"source":"function getMailURL(url) {\n // takes a URL and creates a new one from it by appending \"mailedX\"\n // where X is a number. Example:\n // http://foo.bar/baz.xhtml -> http://foo.bar/baz-mailed1.xhtml\n // Ensures that there is no existing world behind the new URL.\n var url = url || URL.source,\n filename = url.filename();\n // Dissect the URL in order to find the basename, strip existing\n // \"mailed\" postfixes from it, get the file extension, ...\n var nameMatch = filename.match(/([^-]+)(-mailed([0-9]+))?(\\.(x)?html)$/),\n i = (nameMatch && Number(nameMatch[3]) + 1) || 1,\n basename = (nameMatch && nameMatch[1])\n || filename.replace(/\\.(x)?html/, ''),\n ext = (nameMatch && nameMatch[4]) || '.xhtml',\n newURL;\n // now we count up i until we find a non-existing URL...\n do {\n var newName = basename + '-mailed' + i + ext;\n newURL = url.withFilename(newName);\n i++;\n } while (newURL.asWebResource().exists());\n return newURL;\n}","funcProperties":{"__isSmartRef__":true,"id":59},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"58":{"this":{"__isSmartRef__":true,"id":1}},"59":{"timestamp":{"__isSmartRef__":true,"id":60},"user":"robertkrahn","tags":[]},"60":{"isSerializedDate":true,"string":"Thu Feb 21 2013 11:38:48 GMT-0800 (PST)"},"61":{"submorphs":[{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":246},{"__isSmartRef__":true,"id":430},{"__isSmartRef__":true,"id":614},{"__isSmartRef__":true,"id":798},{"__isSmartRef__":true,"id":982},{"__isSmartRef__":true,"id":1166},{"__isSmartRef__":true,"id":1350},{"__isSmartRef__":true,"id":1534},{"__isSmartRef__":true,"id":1718}],"scripts":[{"__isSmartRef__":true,"id":1902}],"shape":{"__isSmartRef__":true,"id":1903},"eventHandler":{"__isSmartRef__":true,"id":1904},"_ClipMode":"visible","derivationIds":[],"id":"318F43A7-9FB4-4A56-A612-537A45AC8F51","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":0},"showsHalos":false,"prevScroll":[0,0],"__serializedExpressions__":["_Position"],"_Rotation":17.159999999999798,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1905},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(310.0,310.0)"},"62":{"submorphs":[{"__isSmartRef__":true,"id":63}],"scripts":[],"shape":{"__isSmartRef__":true,"id":216},"eventHandler":{"__isSmartRef__":true,"id":217},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76"],"id":"1FEF96CB-B7A9-475D-821F-01D9EB1406D4","droppingEnabled":true,"halosEnabled":true,"_Rotation":2.199114857512855,"name":"slice1","commandedClones":[],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":61},"isCopyMorphRef":true,"morphRefId":46,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":218},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"63":{"submorphs":[{"__isSmartRef__":true,"id":64},{"__isSmartRef__":true,"id":96}],"scripts":[],"shape":{"__isSmartRef__":true,"id":214},"eventHandler":{"__isSmartRef__":true,"id":215},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76","D3FFEC01-F0FE-4B36-BDBD-35E409EB1D0B"],"id":"3F6A199E-46E0-46E5-9A01-B3FDABE4C012","droppingEnabled":true,"halosEnabled":true,"name":"Box1","owner":{"__isSmartRef__":true,"id":62},"_Rotation":-0.9424777960769379,"commandedClones":[],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":37,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"64":{"submorphs":[],"scripts":[],"id":"AD68C0F9-DDA1-4C60-84E1-2C501672F58F","shape":{"__isSmartRef__":true,"id":65},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":66},"eventHandler":{"__isSmartRef__":true,"id":90},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","19D9252C-E261-4DAD-8766-214094927866"],"partTests":{"__isSmartRef__":true,"id":91},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":63},"isBeingDragged":false,"_Rotation":0.747612341172852,"_Scale":1,"commandedClones":[],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,35.0)","distanceToDragEvent":"lively.pt(82.0,-15.0)"},"65":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(169.0,19.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,204)","_Padding":"lively.rect(0,0,0,0)"},"66":{"partsSpaceName":"PartsBin/Basic","comment":"A morph hierarchy visualization with bundle view simulation of attribute connections.","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":67},{"__isSmartRef__":true,"id":69},{"__isSmartRef__":true,"id":71},{"__isSmartRef__":true,"id":73},{"__isSmartRef__":true,"id":75},{"__isSmartRef__":true,"id":77},{"__isSmartRef__":true,"id":79},{"__isSmartRef__":true,"id":81},{"__isSmartRef__":true,"id":83},{"__isSmartRef__":true,"id":85},{"__isSmartRef__":true,"id":87}],"lastModifiedDate":{"__isSmartRef__":true,"id":89},"revisionOnLoad":190152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"67":{"date":{"__isSmartRef__":true,"id":68},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"68":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)"},"69":{"date":{"__isSmartRef__":true,"id":70},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"70":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)"},"71":{"date":{"__isSmartRef__":true,"id":72},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"72":{"isSerializedDate":true,"string":"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)"},"73":{"date":{"__isSmartRef__":true,"id":74},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"74":{"isSerializedDate":true,"string":"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)"},"75":{"date":{"__isSmartRef__":true,"id":76},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"76":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)"},"77":{"date":{"__isSmartRef__":true,"id":78},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"78":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)"},"79":{"date":{"__isSmartRef__":true,"id":80},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"80":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)"},"81":{"date":{"__isSmartRef__":true,"id":82},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"82":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)"},"83":{"date":{"__isSmartRef__":true,"id":84},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"84":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (PDT)"},"85":{"date":{"__isSmartRef__":true,"id":86},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"86":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (PDT)"},"87":{"date":{"__isSmartRef__":true,"id":88},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"88":{"isSerializedDate":true,"string":"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)"},"89":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"90":{"morph":{"__isSmartRef__":true,"id":64},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"91":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":92}},"92":{"test01IsMorph":{"__isSmartRef__":true,"id":93}},"93":{"varMapping":{"__isSmartRef__":true,"id":94},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":95},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"94":{"this":{"__isSmartRef__":true,"id":91}},"95":{},"96":{"submorphs":[{"__isSmartRef__":true,"id":97}],"scripts":[],"id":"E74904EF-CC6F-46F7-8FEB-E37ACB610D6D","shape":{"__isSmartRef__":true,"id":172},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":184},"showsHalos":false,"name":"Windmill","partsBinMetaInfo":{"__isSmartRef__":true,"id":185},"controlPoints":[{"__isSmartRef__":true,"id":191},{"__isSmartRef__":true,"id":192},{"__isSmartRef__":true,"id":193},{"__isSmartRef__":true,"id":194},{"__isSmartRef__":true,"id":195},{"__isSmartRef__":true,"id":196},{"__isSmartRef__":true,"id":197},{"__isSmartRef__":true,"id":198},{"__isSmartRef__":true,"id":199},{"__isSmartRef__":true,"id":200},{"__isSmartRef__":true,"id":201}],"layout":{"__isSmartRef__":true,"id":202},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"F3661738-4D30-49FB-A2E9-1BB12EF91DFA","93B0C04D-45AE-4223-B1C1-0A74175A3FC9"],"moved":true,"droppingEnabled":true,"owner":{"__isSmartRef__":true,"id":63},"_Rotation":138.10540155998328,"_Scale":0.4668708903537401,"commandedClones":[],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":28,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":203},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(44.0,146.0)"},"97":{"submorphs":[{"__isSmartRef__":true,"id":98}],"scripts":[],"id":"40FB61C4-FF82-4961-A324-3084A0B91D06","shape":{"__isSmartRef__":true,"id":169},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":170},"eventHandler":{"__isSmartRef__":true,"id":171},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1537,"C8C5886E-7D32-4EA6-A1D2-58C3A8F6D57C","CDA47B5D-A3EE-4BFD-B41D-95A66DDCF39E","79581BD8-BD17-4987-9A8A-C134C2899ED7"],"owner":{"__isSmartRef__":true,"id":96},"droppingEnabled":true,"_Rotation":0.9303658771898514,"_Scale":2.1419197912346117,"commandedClones":[],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":19,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(186.1,-154.1)"},"98":{"submorphs":[{"__isSmartRef__":true,"id":99}],"scripts":[],"id":"DE76B6CF-BB9D-4AA9-9C1C-86D6073DB7CF","shape":{"__isSmartRef__":true,"id":132},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":144},"showsHalos":false,"name":"Star1","partsBinMetaInfo":{"__isSmartRef__":true,"id":145},"controlPoints":[{"__isSmartRef__":true,"id":146},{"__isSmartRef__":true,"id":147},{"__isSmartRef__":true,"id":148},{"__isSmartRef__":true,"id":149},{"__isSmartRef__":true,"id":150},{"__isSmartRef__":true,"id":151},{"__isSmartRef__":true,"id":152},{"__isSmartRef__":true,"id":153},{"__isSmartRef__":true,"id":154},{"__isSmartRef__":true,"id":155},{"__isSmartRef__":true,"id":156}],"layout":{"__isSmartRef__":true,"id":157},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"E6E0C2BB-6B2F-4631-9EC8-38467E7EC55A","D86AEB0E-495B-4091-967C-F10FDE68DC02","31BFDFE5-E321-4CB3-BBFC-541989699FB1"],"owner":{"__isSmartRef__":true,"id":97},"droppingEnabled":true,"_Rotation":4492.202819437567,"_Scale":0.46687089035374,"commandedClones":[],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":10,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":158},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(4.7,9.9)"},"99":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":100},"id":"11070C40-A79F-4FF4-A628-C31FDC3A155E","eventHandler":{"__isSmartRef__":true,"id":101},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":102},"name":"Ellipse1","partsBinMetaInfo":{"__isSmartRef__":true,"id":103},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","5EF6BD6B-AFA0-4EDB-B95B-6CA2F240ED33"],"_ClipMode":"visible","isBeingDragged":false,"_Rotation":1.508430294234117,"_Scale":2.1418505601886992,"commandedClones":[],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":98},"isCopyMorphRef":true,"morphRefId":1,"__serializedExpressions__":["_Position","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":107},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(-42.6,83.4)","previousPosition":"lively.pt(744.0,160.0)"},"100":{"_ClipMode":"visible","_BorderWidth":1.4080000000000001,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(150.0,43.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(245,33,60)"},"101":{"morph":{"__isSmartRef__":true,"id":99},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"102":{},"103":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","revisionOnLoad":149409,"comment":"undefined","changes":[{"__isSmartRef__":true,"id":104}],"lastModifiedDate":{"__isSmartRef__":true,"id":106},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"104":{"date":{"__isSmartRef__":true,"id":105},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"105":{"isSerializedDate":true,"string":"Tue Apr 03 2012 00:08:08 GMT-0700 (PDT)"},"106":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"107":{"beCommanderMorph":{"__isSmartRef__":true,"id":108},"copyTraitTo":{"__isSmartRef__":true,"id":111},"makeNewClone":{"__isSmartRef__":true,"id":114},"prepareToCommand":{"__isSmartRef__":true,"id":117},"removeCloneReferences":{"__isSmartRef__":true,"id":120},"unwrapForClones":{"__isSmartRef__":true,"id":123},"wrapForClones":{"__isSmartRef__":true,"id":126},"wrapAddMorph":{"__isSmartRef__":true,"id":129}},"108":{"varMapping":{"__isSmartRef__":true,"id":109},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":110},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"109":{"this":{"__isSmartRef__":true,"id":99}},"110":{},"111":{"varMapping":{"__isSmartRef__":true,"id":112},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":113},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"112":{"this":{"__isSmartRef__":true,"id":99}},"113":{},"114":{"varMapping":{"__isSmartRef__":true,"id":115},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":131},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"130":{"this":{"__isSmartRef__":true,"id":99}},"131":{},"132":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":133},{"__isSmartRef__":true,"id":134},{"__isSmartRef__":true,"id":135},{"__isSmartRef__":true,"id":136},{"__isSmartRef__":true,"id":137},{"__isSmartRef__":true,"id":138},{"__isSmartRef__":true,"id":139},{"__isSmartRef__":true,"id":140},{"__isSmartRef__":true,"id":141},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":143}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"133":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"134":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"135":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"136":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"137":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"138":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"139":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"140":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"141":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"142":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"143":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"144":{"morph":{"__isSmartRef__":true,"id":98},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"145":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Demos/","partName":"RotatingStar","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"146":{"morph":{"__isSmartRef__":true,"id":98},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"147":{"morph":{"__isSmartRef__":true,"id":98},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"148":{"morph":{"__isSmartRef__":true,"id":98},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"149":{"morph":{"__isSmartRef__":true,"id":98},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"150":{"morph":{"__isSmartRef__":true,"id":98},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"151":{"morph":{"__isSmartRef__":true,"id":98},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"152":{"morph":{"__isSmartRef__":true,"id":98},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"153":{"morph":{"__isSmartRef__":true,"id":98},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"154":{"morph":{"__isSmartRef__":true,"id":98},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"155":{"morph":{"__isSmartRef__":true,"id":98},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"156":{"morph":{"__isSmartRef__":true,"id":98},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"157":{},"158":{"rotate":{"__isSmartRef__":true,"id":159},"getHaloClasses":{"__isSmartRef__":true,"id":162}},"159":{"varMapping":{"__isSmartRef__":true,"id":160},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":161},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"160":{"this":{"__isSmartRef__":true,"id":98}},"161":{},"162":{"varMapping":{"__isSmartRef__":true,"id":163},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":168},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"163":{"this":{"__isSmartRef__":true,"id":98},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":164}},"164":{"$super":{"__isSmartRef__":true,"id":165}},"165":{"varMapping":{"__isSmartRef__":true,"id":166},"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":167},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"166":{"obj":{"__isSmartRef__":true,"id":98},"name":"getHaloClasses"},"167":{},"168":{},"169":{"_BorderWidth":1,"_ClipMode":"visible","__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(18.2,117.4)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(184,78,0)","_Padding":"lively.rect(0,0,0,0)"},"170":{"partsSpaceName":"PartsBin/Basic/","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"171":{"morph":{"__isSmartRef__":true,"id":97},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"172":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":173},{"__isSmartRef__":true,"id":174},{"__isSmartRef__":true,"id":175},{"__isSmartRef__":true,"id":176},{"__isSmartRef__":true,"id":177},{"__isSmartRef__":true,"id":178},{"__isSmartRef__":true,"id":179},{"__isSmartRef__":true,"id":180},{"__isSmartRef__":true,"id":181},{"__isSmartRef__":true,"id":182},{"__isSmartRef__":true,"id":183}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"173":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"174":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"175":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"176":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"177":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"178":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"179":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"180":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"181":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"182":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"183":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"184":{"morph":{"__isSmartRef__":true,"id":96},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"185":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Demos/","partName":"Windmill","comment":"no comment","changes":[{"__isSmartRef__":true,"id":186},{"__isSmartRef__":true,"id":188}],"lastModifiedDate":{"__isSmartRef__":true,"id":190},"revisionOnLoad":194537,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"186":{"date":{"__isSmartRef__":true,"id":187},"author":"robertkrahn","message":"Fixed dropping for windmill parts","id":"2FAEB10F-BA66-489C-90DC-205B2609A6AB"},"187":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:40:22 GMT-0700 (PDT)"},"188":{"date":{"__isSmartRef__":true,"id":189},"author":"Fern","message":"no comment","id":"209710A4-1E91-4E84-B078-317116079785"},"189":{"isSerializedDate":true,"string":"Wed Jul 25 2012 14:52:58 GMT-0700 (PDT)"},"190":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:38:42 GMT-0700 (PDT)"},"191":{"morph":{"__isSmartRef__":true,"id":96},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"192":{"morph":{"__isSmartRef__":true,"id":96},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"193":{"morph":{"__isSmartRef__":true,"id":96},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"194":{"morph":{"__isSmartRef__":true,"id":96},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"195":{"morph":{"__isSmartRef__":true,"id":96},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"196":{"morph":{"__isSmartRef__":true,"id":96},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"197":{"morph":{"__isSmartRef__":true,"id":96},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"198":{"morph":{"__isSmartRef__":true,"id":96},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"199":{"morph":{"__isSmartRef__":true,"id":96},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"200":{"morph":{"__isSmartRef__":true,"id":96},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"201":{"morph":{"__isSmartRef__":true,"id":96},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"202":{},"203":{"rotate":{"__isSmartRef__":true,"id":204},"getHaloClasses":{"__isSmartRef__":true,"id":207}},"204":{"varMapping":{"__isSmartRef__":true,"id":205},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":206},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"205":{"this":{"__isSmartRef__":true,"id":96}},"206":{},"207":{"varMapping":{"__isSmartRef__":true,"id":208},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":213},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"208":{"this":{"__isSmartRef__":true,"id":96},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":209}},"209":{"$super":{"__isSmartRef__":true,"id":210}},"210":{"varMapping":{"__isSmartRef__":true,"id":211},"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":212},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"211":{"obj":{"__isSmartRef__":true,"id":96},"name":"getHaloClasses"},"212":{},"213":{},"214":{"_BorderWidth":0,"__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"Color.rgb(223,223,249)","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"215":{"morph":{"__isSmartRef__":true,"id":63},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"216":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"217":{"morph":{"__isSmartRef__":true,"id":62},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"218":{"innerMorph":{"__isSmartRef__":true,"id":219},"beCommanderMorph":{"__isSmartRef__":true,"id":222},"copyTraitTo":{"__isSmartRef__":true,"id":225},"makeNewClone":{"__isSmartRef__":true,"id":228},"prepareToCommand":{"__isSmartRef__":true,"id":231},"removeCloneReferences":{"__isSmartRef__":true,"id":234},"unwrapForClones":{"__isSmartRef__":true,"id":237},"wrapForClones":{"__isSmartRef__":true,"id":240},"wrapAddMorph":{"__isSmartRef__":true,"id":243}},"219":{"varMapping":{"__isSmartRef__":true,"id":220},"source":"function innerMorph() {return this.submorphs[0]}","funcProperties":{"__isSmartRef__":true,"id":221},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"220":{"this":{"__isSmartRef__":true,"id":62}},"221":{},"222":{"varMapping":{"__isSmartRef__":true,"id":223},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":224},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"223":{"this":{"__isSmartRef__":true,"id":62}},"224":{},"225":{"varMapping":{"__isSmartRef__":true,"id":226},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":227},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"226":{"this":{"__isSmartRef__":true,"id":62}},"227":{},"228":{"varMapping":{"__isSmartRef__":true,"id":229},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":245},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"244":{"this":{"__isSmartRef__":true,"id":62}},"245":{},"246":{"submorphs":[{"__isSmartRef__":true,"id":247}],"scripts":[],"shape":{"__isSmartRef__":true,"id":400},"eventHandler":{"__isSmartRef__":true,"id":401},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76"],"id":"3B8E4B1A-00F3-4B82-9FAC-6A00FFA2DE18","droppingEnabled":true,"halosEnabled":true,"_Rotation":0.3141592653589793,"name":"slice2","commandedClones":[{"__isSmartRef__":true,"id":62}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":61},"isCopyMorphRef":true,"morphRefId":47,"__serializedExpressions__":["_Position","_Scale"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":402},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","_Scale":"lively.pt(-1.0,1.0)"},"247":{"submorphs":[{"__isSmartRef__":true,"id":248},{"__isSmartRef__":true,"id":280}],"scripts":[],"shape":{"__isSmartRef__":true,"id":398},"eventHandler":{"__isSmartRef__":true,"id":399},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76","D3FFEC01-F0FE-4B36-BDBD-35E409EB1D0B"],"id":"AFE97F7F-956F-4AEF-8686-AFF57E7A7E70","droppingEnabled":true,"halosEnabled":true,"name":"Box1","owner":{"__isSmartRef__":true,"id":246},"_Rotation":-0.9424777960769379,"commandedClones":[{"__isSmartRef__":true,"id":63}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":38,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"248":{"submorphs":[],"scripts":[],"id":"E8A9376F-D469-449B-885E-EF3FDE3F0EAE","shape":{"__isSmartRef__":true,"id":249},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":250},"eventHandler":{"__isSmartRef__":true,"id":274},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","19D9252C-E261-4DAD-8766-214094927866"],"partTests":{"__isSmartRef__":true,"id":275},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":247},"isBeingDragged":false,"_Rotation":0.747612341172852,"_Scale":1,"commandedClones":[{"__isSmartRef__":true,"id":64}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":2,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,35.0)","distanceToDragEvent":"lively.pt(82.0,-15.0)"},"249":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(169.0,19.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,204)","_Padding":"lively.rect(0,0,0,0)"},"250":{"partsSpaceName":"PartsBin/Basic","comment":"A morph hierarchy visualization with bundle view simulation of attribute connections.","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":251},{"__isSmartRef__":true,"id":253},{"__isSmartRef__":true,"id":255},{"__isSmartRef__":true,"id":257},{"__isSmartRef__":true,"id":259},{"__isSmartRef__":true,"id":261},{"__isSmartRef__":true,"id":263},{"__isSmartRef__":true,"id":265},{"__isSmartRef__":true,"id":267},{"__isSmartRef__":true,"id":269},{"__isSmartRef__":true,"id":271}],"lastModifiedDate":{"__isSmartRef__":true,"id":273},"revisionOnLoad":190152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"251":{"date":{"__isSmartRef__":true,"id":252},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"252":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)"},"253":{"date":{"__isSmartRef__":true,"id":254},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"254":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)"},"255":{"date":{"__isSmartRef__":true,"id":256},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"256":{"isSerializedDate":true,"string":"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)"},"257":{"date":{"__isSmartRef__":true,"id":258},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"258":{"isSerializedDate":true,"string":"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)"},"259":{"date":{"__isSmartRef__":true,"id":260},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"260":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)"},"261":{"date":{"__isSmartRef__":true,"id":262},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"262":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)"},"263":{"date":{"__isSmartRef__":true,"id":264},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"264":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)"},"265":{"date":{"__isSmartRef__":true,"id":266},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"266":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)"},"267":{"date":{"__isSmartRef__":true,"id":268},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"268":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (PDT)"},"269":{"date":{"__isSmartRef__":true,"id":270},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"270":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (PDT)"},"271":{"date":{"__isSmartRef__":true,"id":272},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"272":{"isSerializedDate":true,"string":"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)"},"273":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"274":{"morph":{"__isSmartRef__":true,"id":248},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"275":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":276}},"276":{"test01IsMorph":{"__isSmartRef__":true,"id":277}},"277":{"varMapping":{"__isSmartRef__":true,"id":278},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":279},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"278":{"this":{"__isSmartRef__":true,"id":275}},"279":{},"280":{"submorphs":[{"__isSmartRef__":true,"id":281}],"scripts":[],"id":"3329A30A-32B2-4D7D-B51C-F86B64ACEB62","shape":{"__isSmartRef__":true,"id":356},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":368},"showsHalos":false,"name":"Windmill","partsBinMetaInfo":{"__isSmartRef__":true,"id":369},"controlPoints":[{"__isSmartRef__":true,"id":375},{"__isSmartRef__":true,"id":376},{"__isSmartRef__":true,"id":377},{"__isSmartRef__":true,"id":378},{"__isSmartRef__":true,"id":379},{"__isSmartRef__":true,"id":380},{"__isSmartRef__":true,"id":381},{"__isSmartRef__":true,"id":382},{"__isSmartRef__":true,"id":383},{"__isSmartRef__":true,"id":384},{"__isSmartRef__":true,"id":385}],"layout":{"__isSmartRef__":true,"id":386},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"F3661738-4D30-49FB-A2E9-1BB12EF91DFA","93B0C04D-45AE-4223-B1C1-0A74175A3FC9"],"moved":true,"droppingEnabled":true,"owner":{"__isSmartRef__":true,"id":247},"_Rotation":138.10540155998328,"_Scale":0.4668708903537401,"commandedClones":[{"__isSmartRef__":true,"id":96}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":29,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":387},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(44.0,146.0)"},"281":{"submorphs":[{"__isSmartRef__":true,"id":282}],"scripts":[],"id":"DDB9614E-FA6B-42F5-ADC3-665405C294A0","shape":{"__isSmartRef__":true,"id":353},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":354},"eventHandler":{"__isSmartRef__":true,"id":355},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1537,"C8C5886E-7D32-4EA6-A1D2-58C3A8F6D57C","CDA47B5D-A3EE-4BFD-B41D-95A66DDCF39E","79581BD8-BD17-4987-9A8A-C134C2899ED7"],"owner":{"__isSmartRef__":true,"id":280},"droppingEnabled":true,"_Rotation":0.9303658771898514,"_Scale":2.1419197912346117,"commandedClones":[{"__isSmartRef__":true,"id":97}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":20,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(186.1,-154.1)"},"282":{"submorphs":[{"__isSmartRef__":true,"id":283}],"scripts":[],"id":"FFA310A3-34B1-406C-B01E-3E2E6F87A61C","shape":{"__isSmartRef__":true,"id":316},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":328},"showsHalos":false,"name":"Star1","partsBinMetaInfo":{"__isSmartRef__":true,"id":329},"controlPoints":[{"__isSmartRef__":true,"id":330},{"__isSmartRef__":true,"id":331},{"__isSmartRef__":true,"id":332},{"__isSmartRef__":true,"id":333},{"__isSmartRef__":true,"id":334},{"__isSmartRef__":true,"id":335},{"__isSmartRef__":true,"id":336},{"__isSmartRef__":true,"id":337},{"__isSmartRef__":true,"id":338},{"__isSmartRef__":true,"id":339},{"__isSmartRef__":true,"id":340}],"layout":{"__isSmartRef__":true,"id":341},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"E6E0C2BB-6B2F-4631-9EC8-38467E7EC55A","D86AEB0E-495B-4091-967C-F10FDE68DC02","31BFDFE5-E321-4CB3-BBFC-541989699FB1"],"owner":{"__isSmartRef__":true,"id":281},"droppingEnabled":true,"_Rotation":4492.202819437567,"_Scale":0.46687089035374,"commandedClones":[{"__isSmartRef__":true,"id":98}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":11,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":342},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(4.7,9.9)"},"283":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":284},"id":"4543095E-9DDA-4657-8CAE-71C82A8DC52B","eventHandler":{"__isSmartRef__":true,"id":285},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":286},"name":"Ellipse2","partsBinMetaInfo":{"__isSmartRef__":true,"id":287},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","5EF6BD6B-AFA0-4EDB-B95B-6CA2F240ED33"],"_ClipMode":"visible","isBeingDragged":false,"_Rotation":1.508430294234117,"_Scale":2.1418505601886992,"commandedClones":[{"__isSmartRef__":true,"id":99}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":282},"isCopyMorphRef":true,"morphRefId":2,"__serializedExpressions__":["_Position","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":291},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(-42.6,83.4)","previousPosition":"lively.pt(744.0,160.0)"},"284":{"_ClipMode":"visible","_BorderWidth":1.4080000000000001,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(150.0,43.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(245,33,60)"},"285":{"morph":{"__isSmartRef__":true,"id":283},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"286":{},"287":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","revisionOnLoad":149409,"comment":"undefined","changes":[{"__isSmartRef__":true,"id":288}],"lastModifiedDate":{"__isSmartRef__":true,"id":290},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"288":{"date":{"__isSmartRef__":true,"id":289},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"289":{"isSerializedDate":true,"string":"Tue Apr 03 2012 00:08:08 GMT-0700 (PDT)"},"290":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"291":{"beCommanderMorph":{"__isSmartRef__":true,"id":292},"copyTraitTo":{"__isSmartRef__":true,"id":295},"makeNewClone":{"__isSmartRef__":true,"id":298},"prepareToCommand":{"__isSmartRef__":true,"id":301},"removeCloneReferences":{"__isSmartRef__":true,"id":304},"unwrapForClones":{"__isSmartRef__":true,"id":307},"wrapForClones":{"__isSmartRef__":true,"id":310},"wrapAddMorph":{"__isSmartRef__":true,"id":313}},"292":{"varMapping":{"__isSmartRef__":true,"id":293},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":294},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"293":{"this":{"__isSmartRef__":true,"id":283}},"294":{},"295":{"varMapping":{"__isSmartRef__":true,"id":296},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":297},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"296":{"this":{"__isSmartRef__":true,"id":283}},"297":{},"298":{"varMapping":{"__isSmartRef__":true,"id":299},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":315},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"314":{"this":{"__isSmartRef__":true,"id":283}},"315":{},"316":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":317},{"__isSmartRef__":true,"id":318},{"__isSmartRef__":true,"id":319},{"__isSmartRef__":true,"id":320},{"__isSmartRef__":true,"id":321},{"__isSmartRef__":true,"id":322},{"__isSmartRef__":true,"id":323},{"__isSmartRef__":true,"id":324},{"__isSmartRef__":true,"id":325},{"__isSmartRef__":true,"id":326},{"__isSmartRef__":true,"id":327}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"317":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"318":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"319":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"320":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"321":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"322":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"323":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"324":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"325":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"326":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"327":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"328":{"morph":{"__isSmartRef__":true,"id":282},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"329":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Demos/","partName":"RotatingStar","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"330":{"morph":{"__isSmartRef__":true,"id":282},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"331":{"morph":{"__isSmartRef__":true,"id":282},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"332":{"morph":{"__isSmartRef__":true,"id":282},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"333":{"morph":{"__isSmartRef__":true,"id":282},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"334":{"morph":{"__isSmartRef__":true,"id":282},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"335":{"morph":{"__isSmartRef__":true,"id":282},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"336":{"morph":{"__isSmartRef__":true,"id":282},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"337":{"morph":{"__isSmartRef__":true,"id":282},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"338":{"morph":{"__isSmartRef__":true,"id":282},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"339":{"morph":{"__isSmartRef__":true,"id":282},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"340":{"morph":{"__isSmartRef__":true,"id":282},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"341":{},"342":{"rotate":{"__isSmartRef__":true,"id":343},"getHaloClasses":{"__isSmartRef__":true,"id":346}},"343":{"varMapping":{"__isSmartRef__":true,"id":344},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":345},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"344":{"this":{"__isSmartRef__":true,"id":282}},"345":{},"346":{"varMapping":{"__isSmartRef__":true,"id":347},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":352},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"347":{"this":{"__isSmartRef__":true,"id":282},"__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":282},"name":"getHaloClasses"},"351":{},"352":{},"353":{"_BorderWidth":1,"_ClipMode":"visible","__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(18.2,117.4)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(184,78,0)","_Padding":"lively.rect(0,0,0,0)"},"354":{"partsSpaceName":"PartsBin/Basic/","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"355":{"morph":{"__isSmartRef__":true,"id":281},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"356":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":357},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":359},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":363},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":365},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":367}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"357":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"358":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"359":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"360":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"361":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"362":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"363":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"364":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"365":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"366":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"367":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"368":{"morph":{"__isSmartRef__":true,"id":280},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"369":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Demos/","partName":"Windmill","comment":"no comment","changes":[{"__isSmartRef__":true,"id":370},{"__isSmartRef__":true,"id":372}],"lastModifiedDate":{"__isSmartRef__":true,"id":374},"revisionOnLoad":194537,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"370":{"date":{"__isSmartRef__":true,"id":371},"author":"robertkrahn","message":"Fixed dropping for windmill parts","id":"2FAEB10F-BA66-489C-90DC-205B2609A6AB"},"371":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:40:22 GMT-0700 (PDT)"},"372":{"date":{"__isSmartRef__":true,"id":373},"author":"Fern","message":"no comment","id":"209710A4-1E91-4E84-B078-317116079785"},"373":{"isSerializedDate":true,"string":"Wed Jul 25 2012 14:52:58 GMT-0700 (PDT)"},"374":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:38:42 GMT-0700 (PDT)"},"375":{"morph":{"__isSmartRef__":true,"id":280},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"376":{"morph":{"__isSmartRef__":true,"id":280},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"377":{"morph":{"__isSmartRef__":true,"id":280},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"378":{"morph":{"__isSmartRef__":true,"id":280},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"379":{"morph":{"__isSmartRef__":true,"id":280},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"380":{"morph":{"__isSmartRef__":true,"id":280},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"381":{"morph":{"__isSmartRef__":true,"id":280},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"382":{"morph":{"__isSmartRef__":true,"id":280},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"383":{"morph":{"__isSmartRef__":true,"id":280},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"384":{"morph":{"__isSmartRef__":true,"id":280},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"385":{"morph":{"__isSmartRef__":true,"id":280},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"386":{},"387":{"rotate":{"__isSmartRef__":true,"id":388},"getHaloClasses":{"__isSmartRef__":true,"id":391}},"388":{"varMapping":{"__isSmartRef__":true,"id":389},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":390},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"389":{"this":{"__isSmartRef__":true,"id":280}},"390":{},"391":{"varMapping":{"__isSmartRef__":true,"id":392},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":397},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"392":{"this":{"__isSmartRef__":true,"id":280},"__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":280},"name":"getHaloClasses"},"396":{},"397":{},"398":{"_BorderWidth":0,"__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"Color.rgb(223,223,249)","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"399":{"morph":{"__isSmartRef__":true,"id":247},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"400":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"401":{"morph":{"__isSmartRef__":true,"id":246},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"402":{"innerMorph":{"__isSmartRef__":true,"id":403},"beCommanderMorph":{"__isSmartRef__":true,"id":406},"copyTraitTo":{"__isSmartRef__":true,"id":409},"makeNewClone":{"__isSmartRef__":true,"id":412},"prepareToCommand":{"__isSmartRef__":true,"id":415},"removeCloneReferences":{"__isSmartRef__":true,"id":418},"unwrapForClones":{"__isSmartRef__":true,"id":421},"wrapForClones":{"__isSmartRef__":true,"id":424},"wrapAddMorph":{"__isSmartRef__":true,"id":427}},"403":{"varMapping":{"__isSmartRef__":true,"id":404},"source":"function innerMorph() {return this.submorphs[0]}","funcProperties":{"__isSmartRef__":true,"id":405},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"404":{"this":{"__isSmartRef__":true,"id":246}},"405":{},"406":{"varMapping":{"__isSmartRef__":true,"id":407},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":408},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"407":{"this":{"__isSmartRef__":true,"id":246}},"408":{},"409":{"varMapping":{"__isSmartRef__":true,"id":410},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":411},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"410":{"this":{"__isSmartRef__":true,"id":246}},"411":{},"412":{"varMapping":{"__isSmartRef__":true,"id":413},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":429},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"428":{"this":{"__isSmartRef__":true,"id":246}},"429":{},"430":{"submorphs":[{"__isSmartRef__":true,"id":431}],"scripts":[],"shape":{"__isSmartRef__":true,"id":584},"eventHandler":{"__isSmartRef__":true,"id":585},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76"],"id":"E20A9C75-57FB-4E6C-9FFA-AFF3831861F6","droppingEnabled":true,"halosEnabled":true,"_Rotation":3.4557519189487724,"name":"slice3","commandedClones":[{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":246}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":61},"isCopyMorphRef":true,"morphRefId":48,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":586},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"431":{"submorphs":[{"__isSmartRef__":true,"id":432},{"__isSmartRef__":true,"id":464}],"scripts":[],"shape":{"__isSmartRef__":true,"id":582},"eventHandler":{"__isSmartRef__":true,"id":583},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76","D3FFEC01-F0FE-4B36-BDBD-35E409EB1D0B"],"id":"CEC89E6A-4B77-4195-9D1A-3E995B6FFD51","droppingEnabled":true,"halosEnabled":true,"name":"Box1","owner":{"__isSmartRef__":true,"id":430},"_Rotation":-0.9424777960769379,"commandedClones":[{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":247}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":39,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"432":{"submorphs":[],"scripts":[],"id":"32894718-EBBB-4384-B215-0E00406EEF80","shape":{"__isSmartRef__":true,"id":433},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":434},"eventHandler":{"__isSmartRef__":true,"id":458},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","19D9252C-E261-4DAD-8766-214094927866"],"partTests":{"__isSmartRef__":true,"id":459},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":431},"isBeingDragged":false,"_Rotation":0.747612341172852,"_Scale":1,"commandedClones":[{"__isSmartRef__":true,"id":64},{"__isSmartRef__":true,"id":248}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":3,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,35.0)","distanceToDragEvent":"lively.pt(82.0,-15.0)"},"433":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(169.0,19.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,204)","_Padding":"lively.rect(0,0,0,0)"},"434":{"partsSpaceName":"PartsBin/Basic","comment":"A morph hierarchy visualization with bundle view simulation of attribute connections.","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":435},{"__isSmartRef__":true,"id":437},{"__isSmartRef__":true,"id":439},{"__isSmartRef__":true,"id":441},{"__isSmartRef__":true,"id":443},{"__isSmartRef__":true,"id":445},{"__isSmartRef__":true,"id":447},{"__isSmartRef__":true,"id":449},{"__isSmartRef__":true,"id":451},{"__isSmartRef__":true,"id":453},{"__isSmartRef__":true,"id":455}],"lastModifiedDate":{"__isSmartRef__":true,"id":457},"revisionOnLoad":190152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"435":{"date":{"__isSmartRef__":true,"id":436},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"436":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)"},"437":{"date":{"__isSmartRef__":true,"id":438},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"438":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)"},"439":{"date":{"__isSmartRef__":true,"id":440},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"440":{"isSerializedDate":true,"string":"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)"},"441":{"date":{"__isSmartRef__":true,"id":442},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"442":{"isSerializedDate":true,"string":"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)"},"443":{"date":{"__isSmartRef__":true,"id":444},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"444":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)"},"445":{"date":{"__isSmartRef__":true,"id":446},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"446":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)"},"447":{"date":{"__isSmartRef__":true,"id":448},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"448":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)"},"449":{"date":{"__isSmartRef__":true,"id":450},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"450":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)"},"451":{"date":{"__isSmartRef__":true,"id":452},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"452":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (PDT)"},"453":{"date":{"__isSmartRef__":true,"id":454},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"454":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (PDT)"},"455":{"date":{"__isSmartRef__":true,"id":456},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"456":{"isSerializedDate":true,"string":"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)"},"457":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"458":{"morph":{"__isSmartRef__":true,"id":432},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"459":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":460}},"460":{"test01IsMorph":{"__isSmartRef__":true,"id":461}},"461":{"varMapping":{"__isSmartRef__":true,"id":462},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":463},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"462":{"this":{"__isSmartRef__":true,"id":459}},"463":{},"464":{"submorphs":[{"__isSmartRef__":true,"id":465}],"scripts":[],"id":"FCE9B8BD-E2FE-4F56-8095-7361A297F5E3","shape":{"__isSmartRef__":true,"id":540},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":552},"showsHalos":false,"name":"Windmill","partsBinMetaInfo":{"__isSmartRef__":true,"id":553},"controlPoints":[{"__isSmartRef__":true,"id":559},{"__isSmartRef__":true,"id":560},{"__isSmartRef__":true,"id":561},{"__isSmartRef__":true,"id":562},{"__isSmartRef__":true,"id":563},{"__isSmartRef__":true,"id":564},{"__isSmartRef__":true,"id":565},{"__isSmartRef__":true,"id":566},{"__isSmartRef__":true,"id":567},{"__isSmartRef__":true,"id":568},{"__isSmartRef__":true,"id":569}],"layout":{"__isSmartRef__":true,"id":570},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"F3661738-4D30-49FB-A2E9-1BB12EF91DFA","93B0C04D-45AE-4223-B1C1-0A74175A3FC9"],"moved":true,"droppingEnabled":true,"owner":{"__isSmartRef__":true,"id":431},"_Rotation":138.10540155998328,"_Scale":0.4668708903537401,"commandedClones":[{"__isSmartRef__":true,"id":96},{"__isSmartRef__":true,"id":280}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":30,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":571},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(44.0,146.0)"},"465":{"submorphs":[{"__isSmartRef__":true,"id":466}],"scripts":[],"id":"CD75BCD8-FDB5-4AD5-868F-0CA6854167C3","shape":{"__isSmartRef__":true,"id":537},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":538},"eventHandler":{"__isSmartRef__":true,"id":539},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1537,"C8C5886E-7D32-4EA6-A1D2-58C3A8F6D57C","CDA47B5D-A3EE-4BFD-B41D-95A66DDCF39E","79581BD8-BD17-4987-9A8A-C134C2899ED7"],"owner":{"__isSmartRef__":true,"id":464},"droppingEnabled":true,"_Rotation":0.9303658771898514,"_Scale":2.1419197912346117,"commandedClones":[{"__isSmartRef__":true,"id":97},{"__isSmartRef__":true,"id":281}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":21,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(186.1,-154.1)"},"466":{"submorphs":[{"__isSmartRef__":true,"id":467}],"scripts":[],"id":"7731821D-492B-494A-A753-8D423D0288CE","shape":{"__isSmartRef__":true,"id":500},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":512},"showsHalos":false,"name":"Star1","partsBinMetaInfo":{"__isSmartRef__":true,"id":513},"controlPoints":[{"__isSmartRef__":true,"id":514},{"__isSmartRef__":true,"id":515},{"__isSmartRef__":true,"id":516},{"__isSmartRef__":true,"id":517},{"__isSmartRef__":true,"id":518},{"__isSmartRef__":true,"id":519},{"__isSmartRef__":true,"id":520},{"__isSmartRef__":true,"id":521},{"__isSmartRef__":true,"id":522},{"__isSmartRef__":true,"id":523},{"__isSmartRef__":true,"id":524}],"layout":{"__isSmartRef__":true,"id":525},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"E6E0C2BB-6B2F-4631-9EC8-38467E7EC55A","D86AEB0E-495B-4091-967C-F10FDE68DC02","31BFDFE5-E321-4CB3-BBFC-541989699FB1"],"owner":{"__isSmartRef__":true,"id":465},"droppingEnabled":true,"_Rotation":4492.202819437567,"_Scale":0.46687089035374,"commandedClones":[{"__isSmartRef__":true,"id":98},{"__isSmartRef__":true,"id":282}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":12,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":526},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(4.7,9.9)"},"467":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":468},"id":"C9E94C0B-BA6D-46D4-A6A4-84B7A3314539","eventHandler":{"__isSmartRef__":true,"id":469},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":470},"name":"Ellipse3","partsBinMetaInfo":{"__isSmartRef__":true,"id":471},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","5EF6BD6B-AFA0-4EDB-B95B-6CA2F240ED33"],"_ClipMode":"visible","isBeingDragged":false,"_Rotation":1.508430294234117,"_Scale":2.1418505601886992,"commandedClones":[{"__isSmartRef__":true,"id":99},{"__isSmartRef__":true,"id":283}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":466},"isCopyMorphRef":true,"morphRefId":3,"__serializedExpressions__":["_Position","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":475},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(-42.6,83.4)","previousPosition":"lively.pt(744.0,160.0)"},"468":{"_ClipMode":"visible","_BorderWidth":1.4080000000000001,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(150.0,43.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(245,33,60)"},"469":{"morph":{"__isSmartRef__":true,"id":467},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"470":{},"471":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","revisionOnLoad":149409,"comment":"undefined","changes":[{"__isSmartRef__":true,"id":472}],"lastModifiedDate":{"__isSmartRef__":true,"id":474},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"472":{"date":{"__isSmartRef__":true,"id":473},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"473":{"isSerializedDate":true,"string":"Tue Apr 03 2012 00:08:08 GMT-0700 (PDT)"},"474":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"475":{"beCommanderMorph":{"__isSmartRef__":true,"id":476},"copyTraitTo":{"__isSmartRef__":true,"id":479},"makeNewClone":{"__isSmartRef__":true,"id":482},"prepareToCommand":{"__isSmartRef__":true,"id":485},"removeCloneReferences":{"__isSmartRef__":true,"id":488},"unwrapForClones":{"__isSmartRef__":true,"id":491},"wrapForClones":{"__isSmartRef__":true,"id":494},"wrapAddMorph":{"__isSmartRef__":true,"id":497}},"476":{"varMapping":{"__isSmartRef__":true,"id":477},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":478},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"477":{"this":{"__isSmartRef__":true,"id":467}},"478":{},"479":{"varMapping":{"__isSmartRef__":true,"id":480},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":481},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"480":{"this":{"__isSmartRef__":true,"id":467}},"481":{},"482":{"varMapping":{"__isSmartRef__":true,"id":483},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":499},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"498":{"this":{"__isSmartRef__":true,"id":467}},"499":{},"500":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":501},{"__isSmartRef__":true,"id":502},{"__isSmartRef__":true,"id":503},{"__isSmartRef__":true,"id":504},{"__isSmartRef__":true,"id":505},{"__isSmartRef__":true,"id":506},{"__isSmartRef__":true,"id":507},{"__isSmartRef__":true,"id":508},{"__isSmartRef__":true,"id":509},{"__isSmartRef__":true,"id":510},{"__isSmartRef__":true,"id":511}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"501":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"502":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"503":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"504":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"505":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"506":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"507":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"508":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"509":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"510":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"511":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"512":{"morph":{"__isSmartRef__":true,"id":466},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"513":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Demos/","partName":"RotatingStar","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"514":{"morph":{"__isSmartRef__":true,"id":466},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"515":{"morph":{"__isSmartRef__":true,"id":466},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"516":{"morph":{"__isSmartRef__":true,"id":466},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"517":{"morph":{"__isSmartRef__":true,"id":466},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"518":{"morph":{"__isSmartRef__":true,"id":466},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"519":{"morph":{"__isSmartRef__":true,"id":466},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"520":{"morph":{"__isSmartRef__":true,"id":466},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"521":{"morph":{"__isSmartRef__":true,"id":466},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"522":{"morph":{"__isSmartRef__":true,"id":466},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"523":{"morph":{"__isSmartRef__":true,"id":466},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"524":{"morph":{"__isSmartRef__":true,"id":466},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"525":{},"526":{"rotate":{"__isSmartRef__":true,"id":527},"getHaloClasses":{"__isSmartRef__":true,"id":530}},"527":{"varMapping":{"__isSmartRef__":true,"id":528},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":529},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"528":{"this":{"__isSmartRef__":true,"id":466}},"529":{},"530":{"varMapping":{"__isSmartRef__":true,"id":531},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":536},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"531":{"this":{"__isSmartRef__":true,"id":466},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":532}},"532":{"$super":{"__isSmartRef__":true,"id":533}},"533":{"varMapping":{"__isSmartRef__":true,"id":534},"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":535},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"534":{"obj":{"__isSmartRef__":true,"id":466},"name":"getHaloClasses"},"535":{},"536":{},"537":{"_BorderWidth":1,"_ClipMode":"visible","__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(18.2,117.4)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(184,78,0)","_Padding":"lively.rect(0,0,0,0)"},"538":{"partsSpaceName":"PartsBin/Basic/","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"539":{"morph":{"__isSmartRef__":true,"id":465},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"540":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":541},{"__isSmartRef__":true,"id":542},{"__isSmartRef__":true,"id":543},{"__isSmartRef__":true,"id":544},{"__isSmartRef__":true,"id":545},{"__isSmartRef__":true,"id":546},{"__isSmartRef__":true,"id":547},{"__isSmartRef__":true,"id":548},{"__isSmartRef__":true,"id":549},{"__isSmartRef__":true,"id":550},{"__isSmartRef__":true,"id":551}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"541":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"542":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"543":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"544":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"545":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"546":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"547":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"548":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"549":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"550":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"551":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"552":{"morph":{"__isSmartRef__":true,"id":464},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"553":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Demos/","partName":"Windmill","comment":"no comment","changes":[{"__isSmartRef__":true,"id":554},{"__isSmartRef__":true,"id":556}],"lastModifiedDate":{"__isSmartRef__":true,"id":558},"revisionOnLoad":194537,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"554":{"date":{"__isSmartRef__":true,"id":555},"author":"robertkrahn","message":"Fixed dropping for windmill parts","id":"2FAEB10F-BA66-489C-90DC-205B2609A6AB"},"555":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:40:22 GMT-0700 (PDT)"},"556":{"date":{"__isSmartRef__":true,"id":557},"author":"Fern","message":"no comment","id":"209710A4-1E91-4E84-B078-317116079785"},"557":{"isSerializedDate":true,"string":"Wed Jul 25 2012 14:52:58 GMT-0700 (PDT)"},"558":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:38:42 GMT-0700 (PDT)"},"559":{"morph":{"__isSmartRef__":true,"id":464},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"560":{"morph":{"__isSmartRef__":true,"id":464},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"561":{"morph":{"__isSmartRef__":true,"id":464},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"562":{"morph":{"__isSmartRef__":true,"id":464},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"563":{"morph":{"__isSmartRef__":true,"id":464},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"564":{"morph":{"__isSmartRef__":true,"id":464},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"565":{"morph":{"__isSmartRef__":true,"id":464},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"566":{"morph":{"__isSmartRef__":true,"id":464},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"567":{"morph":{"__isSmartRef__":true,"id":464},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"568":{"morph":{"__isSmartRef__":true,"id":464},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"569":{"morph":{"__isSmartRef__":true,"id":464},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"570":{},"571":{"rotate":{"__isSmartRef__":true,"id":572},"getHaloClasses":{"__isSmartRef__":true,"id":575}},"572":{"varMapping":{"__isSmartRef__":true,"id":573},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":574},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"573":{"this":{"__isSmartRef__":true,"id":464}},"574":{},"575":{"varMapping":{"__isSmartRef__":true,"id":576},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":581},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"576":{"this":{"__isSmartRef__":true,"id":464},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":577}},"577":{"$super":{"__isSmartRef__":true,"id":578}},"578":{"varMapping":{"__isSmartRef__":true,"id":579},"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":580},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"579":{"obj":{"__isSmartRef__":true,"id":464},"name":"getHaloClasses"},"580":{},"581":{},"582":{"_BorderWidth":0,"__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"Color.rgb(223,223,249)","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"583":{"morph":{"__isSmartRef__":true,"id":431},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"584":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"585":{"morph":{"__isSmartRef__":true,"id":430},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"586":{"innerMorph":{"__isSmartRef__":true,"id":587},"beCommanderMorph":{"__isSmartRef__":true,"id":590},"copyTraitTo":{"__isSmartRef__":true,"id":593},"makeNewClone":{"__isSmartRef__":true,"id":596},"prepareToCommand":{"__isSmartRef__":true,"id":599},"removeCloneReferences":{"__isSmartRef__":true,"id":602},"unwrapForClones":{"__isSmartRef__":true,"id":605},"wrapForClones":{"__isSmartRef__":true,"id":608},"wrapAddMorph":{"__isSmartRef__":true,"id":611}},"587":{"varMapping":{"__isSmartRef__":true,"id":588},"source":"function innerMorph() {return this.submorphs[0]}","funcProperties":{"__isSmartRef__":true,"id":589},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"588":{"this":{"__isSmartRef__":true,"id":430}},"589":{},"590":{"varMapping":{"__isSmartRef__":true,"id":591},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":592},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"591":{"this":{"__isSmartRef__":true,"id":430}},"592":{},"593":{"varMapping":{"__isSmartRef__":true,"id":594},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":595},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"594":{"this":{"__isSmartRef__":true,"id":430}},"595":{},"596":{"varMapping":{"__isSmartRef__":true,"id":597},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":613},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"612":{"this":{"__isSmartRef__":true,"id":430}},"613":{},"614":{"submorphs":[{"__isSmartRef__":true,"id":615}],"scripts":[],"shape":{"__isSmartRef__":true,"id":768},"eventHandler":{"__isSmartRef__":true,"id":769},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76"],"id":"53C911A6-4C28-4183-BC8C-7C9DE3450DDE","droppingEnabled":true,"halosEnabled":true,"_Rotation":1.5707963267948966,"name":"slice4","commandedClones":[{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":246},{"__isSmartRef__":true,"id":430}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":61},"isCopyMorphRef":true,"morphRefId":49,"__serializedExpressions__":["_Position","_Scale"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":770},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","_Scale":"lively.pt(-1.0,1.0)"},"615":{"submorphs":[{"__isSmartRef__":true,"id":616},{"__isSmartRef__":true,"id":648}],"scripts":[],"shape":{"__isSmartRef__":true,"id":766},"eventHandler":{"__isSmartRef__":true,"id":767},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76","D3FFEC01-F0FE-4B36-BDBD-35E409EB1D0B"],"id":"5AA6CF74-D5C4-4314-B17C-FB1547CD631C","droppingEnabled":true,"halosEnabled":true,"name":"Box1","owner":{"__isSmartRef__":true,"id":614},"_Rotation":-0.9424777960769379,"commandedClones":[{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":247},{"__isSmartRef__":true,"id":431}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":40,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"616":{"submorphs":[],"scripts":[],"id":"4CD7AF03-3F11-4138-893D-1F7B31405E37","shape":{"__isSmartRef__":true,"id":617},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":618},"eventHandler":{"__isSmartRef__":true,"id":642},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","19D9252C-E261-4DAD-8766-214094927866"],"partTests":{"__isSmartRef__":true,"id":643},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":615},"isBeingDragged":false,"_Rotation":0.747612341172852,"_Scale":1,"commandedClones":[{"__isSmartRef__":true,"id":64},{"__isSmartRef__":true,"id":248},{"__isSmartRef__":true,"id":432}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":4,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,35.0)","distanceToDragEvent":"lively.pt(82.0,-15.0)"},"617":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(169.0,19.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,204)","_Padding":"lively.rect(0,0,0,0)"},"618":{"partsSpaceName":"PartsBin/Basic","comment":"A morph hierarchy visualization with bundle view simulation of attribute connections.","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":619},{"__isSmartRef__":true,"id":621},{"__isSmartRef__":true,"id":623},{"__isSmartRef__":true,"id":625},{"__isSmartRef__":true,"id":627},{"__isSmartRef__":true,"id":629},{"__isSmartRef__":true,"id":631},{"__isSmartRef__":true,"id":633},{"__isSmartRef__":true,"id":635},{"__isSmartRef__":true,"id":637},{"__isSmartRef__":true,"id":639}],"lastModifiedDate":{"__isSmartRef__":true,"id":641},"revisionOnLoad":190152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"619":{"date":{"__isSmartRef__":true,"id":620},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"620":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)"},"621":{"date":{"__isSmartRef__":true,"id":622},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"622":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)"},"623":{"date":{"__isSmartRef__":true,"id":624},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"624":{"isSerializedDate":true,"string":"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)"},"625":{"date":{"__isSmartRef__":true,"id":626},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"626":{"isSerializedDate":true,"string":"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)"},"627":{"date":{"__isSmartRef__":true,"id":628},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"628":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)"},"629":{"date":{"__isSmartRef__":true,"id":630},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"630":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)"},"631":{"date":{"__isSmartRef__":true,"id":632},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"632":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)"},"633":{"date":{"__isSmartRef__":true,"id":634},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"634":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)"},"635":{"date":{"__isSmartRef__":true,"id":636},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"636":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (PDT)"},"637":{"date":{"__isSmartRef__":true,"id":638},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"638":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (PDT)"},"639":{"date":{"__isSmartRef__":true,"id":640},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"640":{"isSerializedDate":true,"string":"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)"},"641":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"642":{"morph":{"__isSmartRef__":true,"id":616},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"643":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":644}},"644":{"test01IsMorph":{"__isSmartRef__":true,"id":645}},"645":{"varMapping":{"__isSmartRef__":true,"id":646},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":647},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"646":{"this":{"__isSmartRef__":true,"id":643}},"647":{},"648":{"submorphs":[{"__isSmartRef__":true,"id":649}],"scripts":[],"id":"717F1019-7464-409E-B1DB-AE773D78302A","shape":{"__isSmartRef__":true,"id":724},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":736},"showsHalos":false,"name":"Windmill","partsBinMetaInfo":{"__isSmartRef__":true,"id":737},"controlPoints":[{"__isSmartRef__":true,"id":743},{"__isSmartRef__":true,"id":744},{"__isSmartRef__":true,"id":745},{"__isSmartRef__":true,"id":746},{"__isSmartRef__":true,"id":747},{"__isSmartRef__":true,"id":748},{"__isSmartRef__":true,"id":749},{"__isSmartRef__":true,"id":750},{"__isSmartRef__":true,"id":751},{"__isSmartRef__":true,"id":752},{"__isSmartRef__":true,"id":753}],"layout":{"__isSmartRef__":true,"id":754},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"F3661738-4D30-49FB-A2E9-1BB12EF91DFA","93B0C04D-45AE-4223-B1C1-0A74175A3FC9"],"moved":true,"droppingEnabled":true,"owner":{"__isSmartRef__":true,"id":615},"_Rotation":138.10540155998328,"_Scale":0.4668708903537401,"commandedClones":[{"__isSmartRef__":true,"id":96},{"__isSmartRef__":true,"id":280},{"__isSmartRef__":true,"id":464}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":31,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":755},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(44.0,146.0)"},"649":{"submorphs":[{"__isSmartRef__":true,"id":650}],"scripts":[],"id":"5993F99B-D7BC-4C9C-85FE-40ACFC1FDDC5","shape":{"__isSmartRef__":true,"id":721},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":722},"eventHandler":{"__isSmartRef__":true,"id":723},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1537,"C8C5886E-7D32-4EA6-A1D2-58C3A8F6D57C","CDA47B5D-A3EE-4BFD-B41D-95A66DDCF39E","79581BD8-BD17-4987-9A8A-C134C2899ED7"],"owner":{"__isSmartRef__":true,"id":648},"droppingEnabled":true,"_Rotation":0.9303658771898514,"_Scale":2.1419197912346117,"commandedClones":[{"__isSmartRef__":true,"id":97},{"__isSmartRef__":true,"id":281},{"__isSmartRef__":true,"id":465}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":22,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(186.1,-154.1)"},"650":{"submorphs":[{"__isSmartRef__":true,"id":651}],"scripts":[],"id":"03666E74-3873-47F1-A705-18248A183344","shape":{"__isSmartRef__":true,"id":684},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":696},"showsHalos":false,"name":"Star1","partsBinMetaInfo":{"__isSmartRef__":true,"id":697},"controlPoints":[{"__isSmartRef__":true,"id":698},{"__isSmartRef__":true,"id":699},{"__isSmartRef__":true,"id":700},{"__isSmartRef__":true,"id":701},{"__isSmartRef__":true,"id":702},{"__isSmartRef__":true,"id":703},{"__isSmartRef__":true,"id":704},{"__isSmartRef__":true,"id":705},{"__isSmartRef__":true,"id":706},{"__isSmartRef__":true,"id":707},{"__isSmartRef__":true,"id":708}],"layout":{"__isSmartRef__":true,"id":709},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"E6E0C2BB-6B2F-4631-9EC8-38467E7EC55A","D86AEB0E-495B-4091-967C-F10FDE68DC02","31BFDFE5-E321-4CB3-BBFC-541989699FB1"],"owner":{"__isSmartRef__":true,"id":649},"droppingEnabled":true,"_Rotation":4492.202819437567,"_Scale":0.46687089035374,"commandedClones":[{"__isSmartRef__":true,"id":98},{"__isSmartRef__":true,"id":282},{"__isSmartRef__":true,"id":466}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":13,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":710},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(4.7,9.9)"},"651":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":652},"id":"8401D40A-BE4A-449F-8109-0616C97F6CEE","eventHandler":{"__isSmartRef__":true,"id":653},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":654},"name":"Ellipse4","partsBinMetaInfo":{"__isSmartRef__":true,"id":655},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","5EF6BD6B-AFA0-4EDB-B95B-6CA2F240ED33"],"_ClipMode":"visible","isBeingDragged":false,"_Rotation":1.508430294234117,"_Scale":2.1418505601886992,"commandedClones":[{"__isSmartRef__":true,"id":99},{"__isSmartRef__":true,"id":283},{"__isSmartRef__":true,"id":467}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":650},"isCopyMorphRef":true,"morphRefId":4,"__serializedExpressions__":["_Position","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":659},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(-42.6,83.4)","previousPosition":"lively.pt(744.0,160.0)"},"652":{"_ClipMode":"visible","_BorderWidth":1.4080000000000001,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(150.0,43.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(245,33,60)"},"653":{"morph":{"__isSmartRef__":true,"id":651},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"654":{},"655":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","revisionOnLoad":149409,"comment":"undefined","changes":[{"__isSmartRef__":true,"id":656}],"lastModifiedDate":{"__isSmartRef__":true,"id":658},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"656":{"date":{"__isSmartRef__":true,"id":657},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"657":{"isSerializedDate":true,"string":"Tue Apr 03 2012 00:08:08 GMT-0700 (PDT)"},"658":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"659":{"beCommanderMorph":{"__isSmartRef__":true,"id":660},"copyTraitTo":{"__isSmartRef__":true,"id":663},"makeNewClone":{"__isSmartRef__":true,"id":666},"prepareToCommand":{"__isSmartRef__":true,"id":669},"removeCloneReferences":{"__isSmartRef__":true,"id":672},"unwrapForClones":{"__isSmartRef__":true,"id":675},"wrapForClones":{"__isSmartRef__":true,"id":678},"wrapAddMorph":{"__isSmartRef__":true,"id":681}},"660":{"varMapping":{"__isSmartRef__":true,"id":661},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":662},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"661":{"this":{"__isSmartRef__":true,"id":651}},"662":{},"663":{"varMapping":{"__isSmartRef__":true,"id":664},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":665},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"664":{"this":{"__isSmartRef__":true,"id":651}},"665":{},"666":{"varMapping":{"__isSmartRef__":true,"id":667},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":683},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"682":{"this":{"__isSmartRef__":true,"id":651}},"683":{},"684":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":685},{"__isSmartRef__":true,"id":686},{"__isSmartRef__":true,"id":687},{"__isSmartRef__":true,"id":688},{"__isSmartRef__":true,"id":689},{"__isSmartRef__":true,"id":690},{"__isSmartRef__":true,"id":691},{"__isSmartRef__":true,"id":692},{"__isSmartRef__":true,"id":693},{"__isSmartRef__":true,"id":694},{"__isSmartRef__":true,"id":695}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"685":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"686":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"687":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"688":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"689":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"690":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"691":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"692":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"693":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"694":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"695":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"696":{"morph":{"__isSmartRef__":true,"id":650},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"697":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Demos/","partName":"RotatingStar","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"698":{"morph":{"__isSmartRef__":true,"id":650},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"699":{"morph":{"__isSmartRef__":true,"id":650},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"700":{"morph":{"__isSmartRef__":true,"id":650},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"701":{"morph":{"__isSmartRef__":true,"id":650},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"702":{"morph":{"__isSmartRef__":true,"id":650},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"703":{"morph":{"__isSmartRef__":true,"id":650},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"704":{"morph":{"__isSmartRef__":true,"id":650},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"705":{"morph":{"__isSmartRef__":true,"id":650},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"706":{"morph":{"__isSmartRef__":true,"id":650},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"707":{"morph":{"__isSmartRef__":true,"id":650},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"708":{"morph":{"__isSmartRef__":true,"id":650},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"709":{},"710":{"rotate":{"__isSmartRef__":true,"id":711},"getHaloClasses":{"__isSmartRef__":true,"id":714}},"711":{"varMapping":{"__isSmartRef__":true,"id":712},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":713},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"712":{"this":{"__isSmartRef__":true,"id":650}},"713":{},"714":{"varMapping":{"__isSmartRef__":true,"id":715},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":720},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"715":{"this":{"__isSmartRef__":true,"id":650},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":716}},"716":{"$super":{"__isSmartRef__":true,"id":717}},"717":{"varMapping":{"__isSmartRef__":true,"id":718},"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":719},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"718":{"obj":{"__isSmartRef__":true,"id":650},"name":"getHaloClasses"},"719":{},"720":{},"721":{"_BorderWidth":1,"_ClipMode":"visible","__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(18.2,117.4)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(184,78,0)","_Padding":"lively.rect(0,0,0,0)"},"722":{"partsSpaceName":"PartsBin/Basic/","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"723":{"morph":{"__isSmartRef__":true,"id":649},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"724":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":725},{"__isSmartRef__":true,"id":726},{"__isSmartRef__":true,"id":727},{"__isSmartRef__":true,"id":728},{"__isSmartRef__":true,"id":729},{"__isSmartRef__":true,"id":730},{"__isSmartRef__":true,"id":731},{"__isSmartRef__":true,"id":732},{"__isSmartRef__":true,"id":733},{"__isSmartRef__":true,"id":734},{"__isSmartRef__":true,"id":735}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"725":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"726":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"727":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"728":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"729":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"730":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"731":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"732":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"733":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"734":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"735":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"736":{"morph":{"__isSmartRef__":true,"id":648},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"737":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Demos/","partName":"Windmill","comment":"no comment","changes":[{"__isSmartRef__":true,"id":738},{"__isSmartRef__":true,"id":740}],"lastModifiedDate":{"__isSmartRef__":true,"id":742},"revisionOnLoad":194537,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"738":{"date":{"__isSmartRef__":true,"id":739},"author":"robertkrahn","message":"Fixed dropping for windmill parts","id":"2FAEB10F-BA66-489C-90DC-205B2609A6AB"},"739":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:40:22 GMT-0700 (PDT)"},"740":{"date":{"__isSmartRef__":true,"id":741},"author":"Fern","message":"no comment","id":"209710A4-1E91-4E84-B078-317116079785"},"741":{"isSerializedDate":true,"string":"Wed Jul 25 2012 14:52:58 GMT-0700 (PDT)"},"742":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:38:42 GMT-0700 (PDT)"},"743":{"morph":{"__isSmartRef__":true,"id":648},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"744":{"morph":{"__isSmartRef__":true,"id":648},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"745":{"morph":{"__isSmartRef__":true,"id":648},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"746":{"morph":{"__isSmartRef__":true,"id":648},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"747":{"morph":{"__isSmartRef__":true,"id":648},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"748":{"morph":{"__isSmartRef__":true,"id":648},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"749":{"morph":{"__isSmartRef__":true,"id":648},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"750":{"morph":{"__isSmartRef__":true,"id":648},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"751":{"morph":{"__isSmartRef__":true,"id":648},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"752":{"morph":{"__isSmartRef__":true,"id":648},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"753":{"morph":{"__isSmartRef__":true,"id":648},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"754":{},"755":{"rotate":{"__isSmartRef__":true,"id":756},"getHaloClasses":{"__isSmartRef__":true,"id":759}},"756":{"varMapping":{"__isSmartRef__":true,"id":757},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":758},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"757":{"this":{"__isSmartRef__":true,"id":648}},"758":{},"759":{"varMapping":{"__isSmartRef__":true,"id":760},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":765},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"760":{"this":{"__isSmartRef__":true,"id":648},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":761}},"761":{"$super":{"__isSmartRef__":true,"id":762}},"762":{"varMapping":{"__isSmartRef__":true,"id":763},"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":764},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"763":{"obj":{"__isSmartRef__":true,"id":648},"name":"getHaloClasses"},"764":{},"765":{},"766":{"_BorderWidth":0,"__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"Color.rgb(223,223,249)","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"767":{"morph":{"__isSmartRef__":true,"id":615},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"768":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"769":{"morph":{"__isSmartRef__":true,"id":614},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"770":{"innerMorph":{"__isSmartRef__":true,"id":771},"beCommanderMorph":{"__isSmartRef__":true,"id":774},"copyTraitTo":{"__isSmartRef__":true,"id":777},"makeNewClone":{"__isSmartRef__":true,"id":780},"prepareToCommand":{"__isSmartRef__":true,"id":783},"removeCloneReferences":{"__isSmartRef__":true,"id":786},"unwrapForClones":{"__isSmartRef__":true,"id":789},"wrapForClones":{"__isSmartRef__":true,"id":792},"wrapAddMorph":{"__isSmartRef__":true,"id":795}},"771":{"varMapping":{"__isSmartRef__":true,"id":772},"source":"function innerMorph() {return this.submorphs[0]}","funcProperties":{"__isSmartRef__":true,"id":773},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"772":{"this":{"__isSmartRef__":true,"id":614}},"773":{},"774":{"varMapping":{"__isSmartRef__":true,"id":775},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":776},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"775":{"this":{"__isSmartRef__":true,"id":614}},"776":{},"777":{"varMapping":{"__isSmartRef__":true,"id":778},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":779},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"778":{"this":{"__isSmartRef__":true,"id":614}},"779":{},"780":{"varMapping":{"__isSmartRef__":true,"id":781},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":797},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"796":{"this":{"__isSmartRef__":true,"id":614}},"797":{},"798":{"submorphs":[{"__isSmartRef__":true,"id":799}],"scripts":[],"shape":{"__isSmartRef__":true,"id":952},"eventHandler":{"__isSmartRef__":true,"id":953},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76"],"id":"BF4DE5C2-CA2E-40DA-90C8-1424100DF2AF","droppingEnabled":true,"halosEnabled":true,"_Rotation":4.71238898038469,"name":"slice5","commandedClones":[{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":246},{"__isSmartRef__":true,"id":430},{"__isSmartRef__":true,"id":614}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":61},"isCopyMorphRef":true,"morphRefId":50,"__serializedExpressions__":["_Position"],"showsHalos":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":954},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"799":{"submorphs":[{"__isSmartRef__":true,"id":800},{"__isSmartRef__":true,"id":832}],"scripts":[],"shape":{"__isSmartRef__":true,"id":950},"eventHandler":{"__isSmartRef__":true,"id":951},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76","D3FFEC01-F0FE-4B36-BDBD-35E409EB1D0B"],"id":"6CCBF226-4578-43A5-A52C-BB18F03A2B00","droppingEnabled":true,"halosEnabled":true,"name":"Box1","owner":{"__isSmartRef__":true,"id":798},"_Rotation":-0.9424777960769379,"commandedClones":[{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":247},{"__isSmartRef__":true,"id":431},{"__isSmartRef__":true,"id":615}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":41,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"800":{"submorphs":[],"scripts":[],"id":"FCA663B0-E69E-4F57-BE3B-E45308EE56D0","shape":{"__isSmartRef__":true,"id":801},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":802},"eventHandler":{"__isSmartRef__":true,"id":826},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","19D9252C-E261-4DAD-8766-214094927866"],"partTests":{"__isSmartRef__":true,"id":827},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":799},"isBeingDragged":false,"_Rotation":0.747612341172852,"_Scale":1,"commandedClones":[{"__isSmartRef__":true,"id":64},{"__isSmartRef__":true,"id":248},{"__isSmartRef__":true,"id":432},{"__isSmartRef__":true,"id":616}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":5,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,35.0)","distanceToDragEvent":"lively.pt(82.0,-15.0)"},"801":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(169.0,19.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,204)","_Padding":"lively.rect(0,0,0,0)"},"802":{"partsSpaceName":"PartsBin/Basic","comment":"A morph hierarchy visualization with bundle view simulation of attribute connections.","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":803},{"__isSmartRef__":true,"id":805},{"__isSmartRef__":true,"id":807},{"__isSmartRef__":true,"id":809},{"__isSmartRef__":true,"id":811},{"__isSmartRef__":true,"id":813},{"__isSmartRef__":true,"id":815},{"__isSmartRef__":true,"id":817},{"__isSmartRef__":true,"id":819},{"__isSmartRef__":true,"id":821},{"__isSmartRef__":true,"id":823}],"lastModifiedDate":{"__isSmartRef__":true,"id":825},"revisionOnLoad":190152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"803":{"date":{"__isSmartRef__":true,"id":804},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"804":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)"},"805":{"date":{"__isSmartRef__":true,"id":806},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"806":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)"},"807":{"date":{"__isSmartRef__":true,"id":808},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"808":{"isSerializedDate":true,"string":"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)"},"809":{"date":{"__isSmartRef__":true,"id":810},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"810":{"isSerializedDate":true,"string":"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)"},"811":{"date":{"__isSmartRef__":true,"id":812},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"812":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)"},"813":{"date":{"__isSmartRef__":true,"id":814},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"814":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)"},"815":{"date":{"__isSmartRef__":true,"id":816},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"816":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)"},"817":{"date":{"__isSmartRef__":true,"id":818},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"818":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)"},"819":{"date":{"__isSmartRef__":true,"id":820},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"820":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (PDT)"},"821":{"date":{"__isSmartRef__":true,"id":822},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"822":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (PDT)"},"823":{"date":{"__isSmartRef__":true,"id":824},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"824":{"isSerializedDate":true,"string":"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)"},"825":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"826":{"morph":{"__isSmartRef__":true,"id":800},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"827":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":828}},"828":{"test01IsMorph":{"__isSmartRef__":true,"id":829}},"829":{"varMapping":{"__isSmartRef__":true,"id":830},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":831},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"830":{"this":{"__isSmartRef__":true,"id":827}},"831":{},"832":{"submorphs":[{"__isSmartRef__":true,"id":833}],"scripts":[],"id":"1E25480D-0EE6-4E4A-926A-DFA522979752","shape":{"__isSmartRef__":true,"id":908},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":920},"showsHalos":false,"name":"Windmill","partsBinMetaInfo":{"__isSmartRef__":true,"id":921},"controlPoints":[{"__isSmartRef__":true,"id":927},{"__isSmartRef__":true,"id":928},{"__isSmartRef__":true,"id":929},{"__isSmartRef__":true,"id":930},{"__isSmartRef__":true,"id":931},{"__isSmartRef__":true,"id":932},{"__isSmartRef__":true,"id":933},{"__isSmartRef__":true,"id":934},{"__isSmartRef__":true,"id":935},{"__isSmartRef__":true,"id":936},{"__isSmartRef__":true,"id":937}],"layout":{"__isSmartRef__":true,"id":938},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"F3661738-4D30-49FB-A2E9-1BB12EF91DFA","93B0C04D-45AE-4223-B1C1-0A74175A3FC9"],"moved":true,"droppingEnabled":true,"owner":{"__isSmartRef__":true,"id":799},"_Rotation":138.10540155998328,"_Scale":0.4668708903537401,"commandedClones":[{"__isSmartRef__":true,"id":96},{"__isSmartRef__":true,"id":280},{"__isSmartRef__":true,"id":464},{"__isSmartRef__":true,"id":648}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":32,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":939},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(44.0,146.0)"},"833":{"submorphs":[{"__isSmartRef__":true,"id":834}],"scripts":[],"id":"18F722AE-860D-4F04-97D3-6296C0DA5EC6","shape":{"__isSmartRef__":true,"id":905},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":906},"eventHandler":{"__isSmartRef__":true,"id":907},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1537,"C8C5886E-7D32-4EA6-A1D2-58C3A8F6D57C","CDA47B5D-A3EE-4BFD-B41D-95A66DDCF39E","79581BD8-BD17-4987-9A8A-C134C2899ED7"],"owner":{"__isSmartRef__":true,"id":832},"droppingEnabled":true,"_Rotation":0.9303658771898514,"_Scale":2.1419197912346117,"commandedClones":[{"__isSmartRef__":true,"id":97},{"__isSmartRef__":true,"id":281},{"__isSmartRef__":true,"id":465},{"__isSmartRef__":true,"id":649}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":23,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(186.1,-154.1)"},"834":{"submorphs":[{"__isSmartRef__":true,"id":835}],"scripts":[],"id":"7D0B75EE-C10C-4093-A37C-29B3B6415E6F","shape":{"__isSmartRef__":true,"id":868},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":880},"showsHalos":false,"name":"Star1","partsBinMetaInfo":{"__isSmartRef__":true,"id":881},"controlPoints":[{"__isSmartRef__":true,"id":882},{"__isSmartRef__":true,"id":883},{"__isSmartRef__":true,"id":884},{"__isSmartRef__":true,"id":885},{"__isSmartRef__":true,"id":886},{"__isSmartRef__":true,"id":887},{"__isSmartRef__":true,"id":888},{"__isSmartRef__":true,"id":889},{"__isSmartRef__":true,"id":890},{"__isSmartRef__":true,"id":891},{"__isSmartRef__":true,"id":892}],"layout":{"__isSmartRef__":true,"id":893},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"E6E0C2BB-6B2F-4631-9EC8-38467E7EC55A","D86AEB0E-495B-4091-967C-F10FDE68DC02","31BFDFE5-E321-4CB3-BBFC-541989699FB1"],"owner":{"__isSmartRef__":true,"id":833},"droppingEnabled":true,"_Rotation":4492.202819437567,"_Scale":0.46687089035374,"commandedClones":[{"__isSmartRef__":true,"id":98},{"__isSmartRef__":true,"id":282},{"__isSmartRef__":true,"id":466},{"__isSmartRef__":true,"id":650}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":14,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":894},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(4.7,9.9)"},"835":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":836},"id":"DAFDB94A-98A9-467F-896C-BD62BD20D7AA","eventHandler":{"__isSmartRef__":true,"id":837},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":838},"name":"Ellipse5","partsBinMetaInfo":{"__isSmartRef__":true,"id":839},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","5EF6BD6B-AFA0-4EDB-B95B-6CA2F240ED33"],"_ClipMode":"visible","isBeingDragged":false,"_Rotation":1.508430294234117,"_Scale":2.1418505601886992,"commandedClones":[{"__isSmartRef__":true,"id":99},{"__isSmartRef__":true,"id":283},{"__isSmartRef__":true,"id":467},{"__isSmartRef__":true,"id":651}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":834},"isCopyMorphRef":true,"morphRefId":5,"__serializedExpressions__":["_Position","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":843},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(-42.6,83.4)","previousPosition":"lively.pt(744.0,160.0)"},"836":{"_ClipMode":"visible","_BorderWidth":1.4080000000000001,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(150.0,43.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(245,33,60)"},"837":{"morph":{"__isSmartRef__":true,"id":835},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"838":{},"839":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","revisionOnLoad":149409,"comment":"undefined","changes":[{"__isSmartRef__":true,"id":840}],"lastModifiedDate":{"__isSmartRef__":true,"id":842},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"840":{"date":{"__isSmartRef__":true,"id":841},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"841":{"isSerializedDate":true,"string":"Tue Apr 03 2012 00:08:08 GMT-0700 (PDT)"},"842":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"843":{"beCommanderMorph":{"__isSmartRef__":true,"id":844},"copyTraitTo":{"__isSmartRef__":true,"id":847},"makeNewClone":{"__isSmartRef__":true,"id":850},"prepareToCommand":{"__isSmartRef__":true,"id":853},"removeCloneReferences":{"__isSmartRef__":true,"id":856},"unwrapForClones":{"__isSmartRef__":true,"id":859},"wrapForClones":{"__isSmartRef__":true,"id":862},"wrapAddMorph":{"__isSmartRef__":true,"id":865}},"844":{"varMapping":{"__isSmartRef__":true,"id":845},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":846},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"845":{"this":{"__isSmartRef__":true,"id":835}},"846":{},"847":{"varMapping":{"__isSmartRef__":true,"id":848},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":849},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"848":{"this":{"__isSmartRef__":true,"id":835}},"849":{},"850":{"varMapping":{"__isSmartRef__":true,"id":851},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":867},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"866":{"this":{"__isSmartRef__":true,"id":835}},"867":{},"868":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":869},{"__isSmartRef__":true,"id":870},{"__isSmartRef__":true,"id":871},{"__isSmartRef__":true,"id":872},{"__isSmartRef__":true,"id":873},{"__isSmartRef__":true,"id":874},{"__isSmartRef__":true,"id":875},{"__isSmartRef__":true,"id":876},{"__isSmartRef__":true,"id":877},{"__isSmartRef__":true,"id":878},{"__isSmartRef__":true,"id":879}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"869":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"870":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"871":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"872":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"873":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"874":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"875":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"876":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"877":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"878":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"879":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"880":{"morph":{"__isSmartRef__":true,"id":834},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"881":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Demos/","partName":"RotatingStar","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"882":{"morph":{"__isSmartRef__":true,"id":834},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"883":{"morph":{"__isSmartRef__":true,"id":834},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"884":{"morph":{"__isSmartRef__":true,"id":834},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"885":{"morph":{"__isSmartRef__":true,"id":834},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"886":{"morph":{"__isSmartRef__":true,"id":834},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"887":{"morph":{"__isSmartRef__":true,"id":834},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"888":{"morph":{"__isSmartRef__":true,"id":834},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"889":{"morph":{"__isSmartRef__":true,"id":834},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"890":{"morph":{"__isSmartRef__":true,"id":834},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"891":{"morph":{"__isSmartRef__":true,"id":834},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"892":{"morph":{"__isSmartRef__":true,"id":834},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"893":{},"894":{"rotate":{"__isSmartRef__":true,"id":895},"getHaloClasses":{"__isSmartRef__":true,"id":898}},"895":{"varMapping":{"__isSmartRef__":true,"id":896},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":897},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"896":{"this":{"__isSmartRef__":true,"id":834}},"897":{},"898":{"varMapping":{"__isSmartRef__":true,"id":899},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":904},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"899":{"this":{"__isSmartRef__":true,"id":834},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":900}},"900":{"$super":{"__isSmartRef__":true,"id":901}},"901":{"varMapping":{"__isSmartRef__":true,"id":902},"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":903},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"902":{"obj":{"__isSmartRef__":true,"id":834},"name":"getHaloClasses"},"903":{},"904":{},"905":{"_BorderWidth":1,"_ClipMode":"visible","__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(18.2,117.4)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(184,78,0)","_Padding":"lively.rect(0,0,0,0)"},"906":{"partsSpaceName":"PartsBin/Basic/","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"907":{"morph":{"__isSmartRef__":true,"id":833},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"908":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":909},{"__isSmartRef__":true,"id":910},{"__isSmartRef__":true,"id":911},{"__isSmartRef__":true,"id":912},{"__isSmartRef__":true,"id":913},{"__isSmartRef__":true,"id":914},{"__isSmartRef__":true,"id":915},{"__isSmartRef__":true,"id":916},{"__isSmartRef__":true,"id":917},{"__isSmartRef__":true,"id":918},{"__isSmartRef__":true,"id":919}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"909":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"910":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"911":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"912":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"913":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"914":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"915":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"916":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"917":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"918":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"919":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"920":{"morph":{"__isSmartRef__":true,"id":832},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"921":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Demos/","partName":"Windmill","comment":"no comment","changes":[{"__isSmartRef__":true,"id":922},{"__isSmartRef__":true,"id":924}],"lastModifiedDate":{"__isSmartRef__":true,"id":926},"revisionOnLoad":194537,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"922":{"date":{"__isSmartRef__":true,"id":923},"author":"robertkrahn","message":"Fixed dropping for windmill parts","id":"2FAEB10F-BA66-489C-90DC-205B2609A6AB"},"923":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:40:22 GMT-0700 (PDT)"},"924":{"date":{"__isSmartRef__":true,"id":925},"author":"Fern","message":"no comment","id":"209710A4-1E91-4E84-B078-317116079785"},"925":{"isSerializedDate":true,"string":"Wed Jul 25 2012 14:52:58 GMT-0700 (PDT)"},"926":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:38:42 GMT-0700 (PDT)"},"927":{"morph":{"__isSmartRef__":true,"id":832},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"928":{"morph":{"__isSmartRef__":true,"id":832},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"929":{"morph":{"__isSmartRef__":true,"id":832},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"930":{"morph":{"__isSmartRef__":true,"id":832},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"931":{"morph":{"__isSmartRef__":true,"id":832},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"932":{"morph":{"__isSmartRef__":true,"id":832},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"933":{"morph":{"__isSmartRef__":true,"id":832},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"934":{"morph":{"__isSmartRef__":true,"id":832},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"935":{"morph":{"__isSmartRef__":true,"id":832},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"936":{"morph":{"__isSmartRef__":true,"id":832},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"937":{"morph":{"__isSmartRef__":true,"id":832},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"938":{},"939":{"rotate":{"__isSmartRef__":true,"id":940},"getHaloClasses":{"__isSmartRef__":true,"id":943}},"940":{"varMapping":{"__isSmartRef__":true,"id":941},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":942},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"941":{"this":{"__isSmartRef__":true,"id":832}},"942":{},"943":{"varMapping":{"__isSmartRef__":true,"id":944},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":949},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"944":{"this":{"__isSmartRef__":true,"id":832},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":945}},"945":{"$super":{"__isSmartRef__":true,"id":946}},"946":{"varMapping":{"__isSmartRef__":true,"id":947},"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":948},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"947":{"obj":{"__isSmartRef__":true,"id":832},"name":"getHaloClasses"},"948":{},"949":{},"950":{"_BorderWidth":0,"__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"Color.rgb(223,223,249)","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"951":{"morph":{"__isSmartRef__":true,"id":799},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"952":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"953":{"morph":{"__isSmartRef__":true,"id":798},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"954":{"innerMorph":{"__isSmartRef__":true,"id":955},"beCommanderMorph":{"__isSmartRef__":true,"id":958},"copyTraitTo":{"__isSmartRef__":true,"id":961},"makeNewClone":{"__isSmartRef__":true,"id":964},"prepareToCommand":{"__isSmartRef__":true,"id":967},"removeCloneReferences":{"__isSmartRef__":true,"id":970},"unwrapForClones":{"__isSmartRef__":true,"id":973},"wrapForClones":{"__isSmartRef__":true,"id":976},"wrapAddMorph":{"__isSmartRef__":true,"id":979}},"955":{"varMapping":{"__isSmartRef__":true,"id":956},"source":"function innerMorph() {return this.submorphs[0]}","funcProperties":{"__isSmartRef__":true,"id":957},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"956":{"this":{"__isSmartRef__":true,"id":798}},"957":{},"958":{"varMapping":{"__isSmartRef__":true,"id":959},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":960},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"959":{"this":{"__isSmartRef__":true,"id":798}},"960":{},"961":{"varMapping":{"__isSmartRef__":true,"id":962},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":963},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"962":{"this":{"__isSmartRef__":true,"id":798}},"963":{},"964":{"varMapping":{"__isSmartRef__":true,"id":965},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":981},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"980":{"this":{"__isSmartRef__":true,"id":798}},"981":{},"982":{"submorphs":[{"__isSmartRef__":true,"id":983}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1136},"eventHandler":{"__isSmartRef__":true,"id":1137},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76"],"id":"1F64723B-0D5C-4AAC-8E15-3262CAFAEB75","droppingEnabled":true,"halosEnabled":true,"_Rotation":2.827433388230814,"name":"slice6","commandedClones":[{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":246},{"__isSmartRef__":true,"id":430},{"__isSmartRef__":true,"id":614},{"__isSmartRef__":true,"id":798}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":61},"isCopyMorphRef":true,"morphRefId":51,"__serializedExpressions__":["_Position","_Scale"],"showsHalos":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1138},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","_Scale":"lively.pt(-1.0,1.0)"},"983":{"submorphs":[{"__isSmartRef__":true,"id":984},{"__isSmartRef__":true,"id":1016}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1134},"eventHandler":{"__isSmartRef__":true,"id":1135},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76","D3FFEC01-F0FE-4B36-BDBD-35E409EB1D0B"],"id":"3300A667-FE84-4B76-AE92-115F54A2014B","droppingEnabled":true,"halosEnabled":true,"name":"Box1","owner":{"__isSmartRef__":true,"id":982},"_Rotation":-0.9424777960769379,"commandedClones":[{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":247},{"__isSmartRef__":true,"id":431},{"__isSmartRef__":true,"id":615},{"__isSmartRef__":true,"id":799}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":42,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"984":{"submorphs":[],"scripts":[],"id":"58487065-C863-4AF6-8BB6-F2730A8DF3AC","shape":{"__isSmartRef__":true,"id":985},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":986},"eventHandler":{"__isSmartRef__":true,"id":1010},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","19D9252C-E261-4DAD-8766-214094927866"],"partTests":{"__isSmartRef__":true,"id":1011},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":983},"isBeingDragged":false,"_Rotation":0.747612341172852,"_Scale":1,"commandedClones":[{"__isSmartRef__":true,"id":64},{"__isSmartRef__":true,"id":248},{"__isSmartRef__":true,"id":432},{"__isSmartRef__":true,"id":616},{"__isSmartRef__":true,"id":800}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":6,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,35.0)","distanceToDragEvent":"lively.pt(82.0,-15.0)"},"985":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(169.0,19.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,204)","_Padding":"lively.rect(0,0,0,0)"},"986":{"partsSpaceName":"PartsBin/Basic","comment":"A morph hierarchy visualization with bundle view simulation of attribute connections.","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":987},{"__isSmartRef__":true,"id":989},{"__isSmartRef__":true,"id":991},{"__isSmartRef__":true,"id":993},{"__isSmartRef__":true,"id":995},{"__isSmartRef__":true,"id":997},{"__isSmartRef__":true,"id":999},{"__isSmartRef__":true,"id":1001},{"__isSmartRef__":true,"id":1003},{"__isSmartRef__":true,"id":1005},{"__isSmartRef__":true,"id":1007}],"lastModifiedDate":{"__isSmartRef__":true,"id":1009},"revisionOnLoad":190152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"987":{"date":{"__isSmartRef__":true,"id":988},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"988":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)"},"989":{"date":{"__isSmartRef__":true,"id":990},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"990":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)"},"991":{"date":{"__isSmartRef__":true,"id":992},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"992":{"isSerializedDate":true,"string":"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)"},"993":{"date":{"__isSmartRef__":true,"id":994},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"994":{"isSerializedDate":true,"string":"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)"},"995":{"date":{"__isSmartRef__":true,"id":996},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"996":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)"},"997":{"date":{"__isSmartRef__":true,"id":998},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"998":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)"},"999":{"date":{"__isSmartRef__":true,"id":1000},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1000":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)"},"1001":{"date":{"__isSmartRef__":true,"id":1002},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"1002":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)"},"1003":{"date":{"__isSmartRef__":true,"id":1004},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"1004":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (PDT)"},"1005":{"date":{"__isSmartRef__":true,"id":1006},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"1006":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (PDT)"},"1007":{"date":{"__isSmartRef__":true,"id":1008},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"1008":{"isSerializedDate":true,"string":"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)"},"1009":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"1010":{"morph":{"__isSmartRef__":true,"id":984},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1011":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1012}},"1012":{"test01IsMorph":{"__isSmartRef__":true,"id":1013}},"1013":{"varMapping":{"__isSmartRef__":true,"id":1014},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1015},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1014":{"this":{"__isSmartRef__":true,"id":1011}},"1015":{},"1016":{"submorphs":[{"__isSmartRef__":true,"id":1017}],"scripts":[],"id":"E0B2F50B-CC4E-4EA9-A361-E9B9B2D885CD","shape":{"__isSmartRef__":true,"id":1092},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":1104},"showsHalos":false,"name":"Windmill","partsBinMetaInfo":{"__isSmartRef__":true,"id":1105},"controlPoints":[{"__isSmartRef__":true,"id":1111},{"__isSmartRef__":true,"id":1112},{"__isSmartRef__":true,"id":1113},{"__isSmartRef__":true,"id":1114},{"__isSmartRef__":true,"id":1115},{"__isSmartRef__":true,"id":1116},{"__isSmartRef__":true,"id":1117},{"__isSmartRef__":true,"id":1118},{"__isSmartRef__":true,"id":1119},{"__isSmartRef__":true,"id":1120},{"__isSmartRef__":true,"id":1121}],"layout":{"__isSmartRef__":true,"id":1122},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"F3661738-4D30-49FB-A2E9-1BB12EF91DFA","93B0C04D-45AE-4223-B1C1-0A74175A3FC9"],"moved":true,"droppingEnabled":true,"owner":{"__isSmartRef__":true,"id":983},"_Rotation":138.10540155998328,"_Scale":0.4668708903537401,"commandedClones":[{"__isSmartRef__":true,"id":96},{"__isSmartRef__":true,"id":280},{"__isSmartRef__":true,"id":464},{"__isSmartRef__":true,"id":648},{"__isSmartRef__":true,"id":832}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":33,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1123},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(44.0,146.0)"},"1017":{"submorphs":[{"__isSmartRef__":true,"id":1018}],"scripts":[],"id":"F66136A8-1316-42D9-934E-58FD46F76C06","shape":{"__isSmartRef__":true,"id":1089},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1090},"eventHandler":{"__isSmartRef__":true,"id":1091},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1537,"C8C5886E-7D32-4EA6-A1D2-58C3A8F6D57C","CDA47B5D-A3EE-4BFD-B41D-95A66DDCF39E","79581BD8-BD17-4987-9A8A-C134C2899ED7"],"owner":{"__isSmartRef__":true,"id":1016},"droppingEnabled":true,"_Rotation":0.9303658771898514,"_Scale":2.1419197912346117,"commandedClones":[{"__isSmartRef__":true,"id":97},{"__isSmartRef__":true,"id":281},{"__isSmartRef__":true,"id":465},{"__isSmartRef__":true,"id":649},{"__isSmartRef__":true,"id":833}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":24,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(186.1,-154.1)"},"1018":{"submorphs":[{"__isSmartRef__":true,"id":1019}],"scripts":[],"id":"9E6185FB-11AB-455D-9763-F498B85F6083","shape":{"__isSmartRef__":true,"id":1052},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":1064},"showsHalos":false,"name":"Star1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1065},"controlPoints":[{"__isSmartRef__":true,"id":1066},{"__isSmartRef__":true,"id":1067},{"__isSmartRef__":true,"id":1068},{"__isSmartRef__":true,"id":1069},{"__isSmartRef__":true,"id":1070},{"__isSmartRef__":true,"id":1071},{"__isSmartRef__":true,"id":1072},{"__isSmartRef__":true,"id":1073},{"__isSmartRef__":true,"id":1074},{"__isSmartRef__":true,"id":1075},{"__isSmartRef__":true,"id":1076}],"layout":{"__isSmartRef__":true,"id":1077},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"E6E0C2BB-6B2F-4631-9EC8-38467E7EC55A","D86AEB0E-495B-4091-967C-F10FDE68DC02","31BFDFE5-E321-4CB3-BBFC-541989699FB1"],"owner":{"__isSmartRef__":true,"id":1017},"droppingEnabled":true,"_Rotation":4492.202819437567,"_Scale":0.46687089035374,"commandedClones":[{"__isSmartRef__":true,"id":98},{"__isSmartRef__":true,"id":282},{"__isSmartRef__":true,"id":466},{"__isSmartRef__":true,"id":650},{"__isSmartRef__":true,"id":834}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":15,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1078},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(4.7,9.9)"},"1019":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1020},"id":"A9E66870-F777-482A-9D0E-045A664B38E8","eventHandler":{"__isSmartRef__":true,"id":1021},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":1022},"name":"Ellipse6","partsBinMetaInfo":{"__isSmartRef__":true,"id":1023},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","5EF6BD6B-AFA0-4EDB-B95B-6CA2F240ED33"],"_ClipMode":"visible","isBeingDragged":false,"_Rotation":1.508430294234117,"_Scale":2.1418505601886992,"commandedClones":[{"__isSmartRef__":true,"id":99},{"__isSmartRef__":true,"id":283},{"__isSmartRef__":true,"id":467},{"__isSmartRef__":true,"id":651},{"__isSmartRef__":true,"id":835}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":1018},"isCopyMorphRef":true,"morphRefId":6,"__serializedExpressions__":["_Position","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1027},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(-42.6,83.4)","previousPosition":"lively.pt(744.0,160.0)"},"1020":{"_ClipMode":"visible","_BorderWidth":1.4080000000000001,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(150.0,43.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(245,33,60)"},"1021":{"morph":{"__isSmartRef__":true,"id":1019},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1022":{},"1023":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","revisionOnLoad":149409,"comment":"undefined","changes":[{"__isSmartRef__":true,"id":1024}],"lastModifiedDate":{"__isSmartRef__":true,"id":1026},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1024":{"date":{"__isSmartRef__":true,"id":1025},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"1025":{"isSerializedDate":true,"string":"Tue Apr 03 2012 00:08:08 GMT-0700 (PDT)"},"1026":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"1027":{"beCommanderMorph":{"__isSmartRef__":true,"id":1028},"copyTraitTo":{"__isSmartRef__":true,"id":1031},"makeNewClone":{"__isSmartRef__":true,"id":1034},"prepareToCommand":{"__isSmartRef__":true,"id":1037},"removeCloneReferences":{"__isSmartRef__":true,"id":1040},"unwrapForClones":{"__isSmartRef__":true,"id":1043},"wrapForClones":{"__isSmartRef__":true,"id":1046},"wrapAddMorph":{"__isSmartRef__":true,"id":1049}},"1028":{"varMapping":{"__isSmartRef__":true,"id":1029},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":1030},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1029":{"this":{"__isSmartRef__":true,"id":1019}},"1030":{},"1031":{"varMapping":{"__isSmartRef__":true,"id":1032},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":1033},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1032":{"this":{"__isSmartRef__":true,"id":1019}},"1033":{},"1034":{"varMapping":{"__isSmartRef__":true,"id":1035},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":1051},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1050":{"this":{"__isSmartRef__":true,"id":1019}},"1051":{},"1052":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":1053},{"__isSmartRef__":true,"id":1054},{"__isSmartRef__":true,"id":1055},{"__isSmartRef__":true,"id":1056},{"__isSmartRef__":true,"id":1057},{"__isSmartRef__":true,"id":1058},{"__isSmartRef__":true,"id":1059},{"__isSmartRef__":true,"id":1060},{"__isSmartRef__":true,"id":1061},{"__isSmartRef__":true,"id":1062},{"__isSmartRef__":true,"id":1063}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"1053":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1054":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1055":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1056":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1057":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1058":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1059":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1060":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1061":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1062":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1063":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1064":{"morph":{"__isSmartRef__":true,"id":1018},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1065":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Demos/","partName":"RotatingStar","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1066":{"morph":{"__isSmartRef__":true,"id":1018},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1067":{"morph":{"__isSmartRef__":true,"id":1018},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1068":{"morph":{"__isSmartRef__":true,"id":1018},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1069":{"morph":{"__isSmartRef__":true,"id":1018},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1070":{"morph":{"__isSmartRef__":true,"id":1018},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1071":{"morph":{"__isSmartRef__":true,"id":1018},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1072":{"morph":{"__isSmartRef__":true,"id":1018},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1073":{"morph":{"__isSmartRef__":true,"id":1018},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1074":{"morph":{"__isSmartRef__":true,"id":1018},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1075":{"morph":{"__isSmartRef__":true,"id":1018},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1076":{"morph":{"__isSmartRef__":true,"id":1018},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1077":{},"1078":{"rotate":{"__isSmartRef__":true,"id":1079},"getHaloClasses":{"__isSmartRef__":true,"id":1082}},"1079":{"varMapping":{"__isSmartRef__":true,"id":1080},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":1081},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1080":{"this":{"__isSmartRef__":true,"id":1018}},"1081":{},"1082":{"varMapping":{"__isSmartRef__":true,"id":1083},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":1088},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1083":{"this":{"__isSmartRef__":true,"id":1018},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1084}},"1084":{"$super":{"__isSmartRef__":true,"id":1085}},"1085":{"varMapping":{"__isSmartRef__":true,"id":1086},"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":1087},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1086":{"obj":{"__isSmartRef__":true,"id":1018},"name":"getHaloClasses"},"1087":{},"1088":{},"1089":{"_BorderWidth":1,"_ClipMode":"visible","__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(18.2,117.4)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(184,78,0)","_Padding":"lively.rect(0,0,0,0)"},"1090":{"partsSpaceName":"PartsBin/Basic/","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1091":{"morph":{"__isSmartRef__":true,"id":1017},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1092":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":1093},{"__isSmartRef__":true,"id":1094},{"__isSmartRef__":true,"id":1095},{"__isSmartRef__":true,"id":1096},{"__isSmartRef__":true,"id":1097},{"__isSmartRef__":true,"id":1098},{"__isSmartRef__":true,"id":1099},{"__isSmartRef__":true,"id":1100},{"__isSmartRef__":true,"id":1101},{"__isSmartRef__":true,"id":1102},{"__isSmartRef__":true,"id":1103}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"1093":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1094":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1095":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1096":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1097":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1098":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1099":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1100":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1101":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1102":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1103":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1104":{"morph":{"__isSmartRef__":true,"id":1016},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1105":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Demos/","partName":"Windmill","comment":"no comment","changes":[{"__isSmartRef__":true,"id":1106},{"__isSmartRef__":true,"id":1108}],"lastModifiedDate":{"__isSmartRef__":true,"id":1110},"revisionOnLoad":194537,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1106":{"date":{"__isSmartRef__":true,"id":1107},"author":"robertkrahn","message":"Fixed dropping for windmill parts","id":"2FAEB10F-BA66-489C-90DC-205B2609A6AB"},"1107":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:40:22 GMT-0700 (PDT)"},"1108":{"date":{"__isSmartRef__":true,"id":1109},"author":"Fern","message":"no comment","id":"209710A4-1E91-4E84-B078-317116079785"},"1109":{"isSerializedDate":true,"string":"Wed Jul 25 2012 14:52:58 GMT-0700 (PDT)"},"1110":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:38:42 GMT-0700 (PDT)"},"1111":{"morph":{"__isSmartRef__":true,"id":1016},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1112":{"morph":{"__isSmartRef__":true,"id":1016},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1113":{"morph":{"__isSmartRef__":true,"id":1016},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1114":{"morph":{"__isSmartRef__":true,"id":1016},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1115":{"morph":{"__isSmartRef__":true,"id":1016},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1116":{"morph":{"__isSmartRef__":true,"id":1016},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1117":{"morph":{"__isSmartRef__":true,"id":1016},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1118":{"morph":{"__isSmartRef__":true,"id":1016},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1119":{"morph":{"__isSmartRef__":true,"id":1016},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1120":{"morph":{"__isSmartRef__":true,"id":1016},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1121":{"morph":{"__isSmartRef__":true,"id":1016},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1122":{},"1123":{"rotate":{"__isSmartRef__":true,"id":1124},"getHaloClasses":{"__isSmartRef__":true,"id":1127}},"1124":{"varMapping":{"__isSmartRef__":true,"id":1125},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":1126},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1125":{"this":{"__isSmartRef__":true,"id":1016}},"1126":{},"1127":{"varMapping":{"__isSmartRef__":true,"id":1128},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":1133},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1128":{"this":{"__isSmartRef__":true,"id":1016},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1129}},"1129":{"$super":{"__isSmartRef__":true,"id":1130}},"1130":{"varMapping":{"__isSmartRef__":true,"id":1131},"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":1132},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1131":{"obj":{"__isSmartRef__":true,"id":1016},"name":"getHaloClasses"},"1132":{},"1133":{},"1134":{"_BorderWidth":0,"__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"Color.rgb(223,223,249)","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"1135":{"morph":{"__isSmartRef__":true,"id":983},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1136":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"1137":{"morph":{"__isSmartRef__":true,"id":982},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1138":{"innerMorph":{"__isSmartRef__":true,"id":1139},"beCommanderMorph":{"__isSmartRef__":true,"id":1142},"copyTraitTo":{"__isSmartRef__":true,"id":1145},"makeNewClone":{"__isSmartRef__":true,"id":1148},"prepareToCommand":{"__isSmartRef__":true,"id":1151},"removeCloneReferences":{"__isSmartRef__":true,"id":1154},"unwrapForClones":{"__isSmartRef__":true,"id":1157},"wrapForClones":{"__isSmartRef__":true,"id":1160},"wrapAddMorph":{"__isSmartRef__":true,"id":1163}},"1139":{"varMapping":{"__isSmartRef__":true,"id":1140},"source":"function innerMorph() {return this.submorphs[0]}","funcProperties":{"__isSmartRef__":true,"id":1141},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1140":{"this":{"__isSmartRef__":true,"id":982}},"1141":{},"1142":{"varMapping":{"__isSmartRef__":true,"id":1143},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":1144},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1143":{"this":{"__isSmartRef__":true,"id":982}},"1144":{},"1145":{"varMapping":{"__isSmartRef__":true,"id":1146},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":1147},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1146":{"this":{"__isSmartRef__":true,"id":982}},"1147":{},"1148":{"varMapping":{"__isSmartRef__":true,"id":1149},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":1165},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1164":{"this":{"__isSmartRef__":true,"id":982}},"1165":{},"1166":{"submorphs":[{"__isSmartRef__":true,"id":1167}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1320},"eventHandler":{"__isSmartRef__":true,"id":1321},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76"],"id":"E2D5132C-600A-4279-8853-1FAD0077F113","droppingEnabled":true,"halosEnabled":true,"_Rotation":5.969026041820607,"name":"slice7","commandedClones":[{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":246},{"__isSmartRef__":true,"id":430},{"__isSmartRef__":true,"id":614},{"__isSmartRef__":true,"id":798},{"__isSmartRef__":true,"id":982}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":61},"isCopyMorphRef":true,"morphRefId":52,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1322},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"1167":{"submorphs":[{"__isSmartRef__":true,"id":1168},{"__isSmartRef__":true,"id":1200}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1318},"eventHandler":{"__isSmartRef__":true,"id":1319},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76","D3FFEC01-F0FE-4B36-BDBD-35E409EB1D0B"],"id":"8A6FF691-A33E-4C76-AE4C-6350BD4D3B23","droppingEnabled":true,"halosEnabled":true,"name":"Box1","owner":{"__isSmartRef__":true,"id":1166},"_Rotation":-0.9424777960769379,"commandedClones":[{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":247},{"__isSmartRef__":true,"id":431},{"__isSmartRef__":true,"id":615},{"__isSmartRef__":true,"id":799},{"__isSmartRef__":true,"id":983}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":43,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"1168":{"submorphs":[],"scripts":[],"id":"85E95BE7-C679-4962-9C1B-FBEB669C0E00","shape":{"__isSmartRef__":true,"id":1169},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":1170},"eventHandler":{"__isSmartRef__":true,"id":1194},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","19D9252C-E261-4DAD-8766-214094927866"],"partTests":{"__isSmartRef__":true,"id":1195},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":1167},"isBeingDragged":false,"_Rotation":0.747612341172852,"_Scale":1,"commandedClones":[{"__isSmartRef__":true,"id":64},{"__isSmartRef__":true,"id":248},{"__isSmartRef__":true,"id":432},{"__isSmartRef__":true,"id":616},{"__isSmartRef__":true,"id":800},{"__isSmartRef__":true,"id":984}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":7,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,35.0)","distanceToDragEvent":"lively.pt(82.0,-15.0)"},"1169":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(169.0,19.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,204)","_Padding":"lively.rect(0,0,0,0)"},"1170":{"partsSpaceName":"PartsBin/Basic","comment":"A morph hierarchy visualization with bundle view simulation of attribute connections.","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":1171},{"__isSmartRef__":true,"id":1173},{"__isSmartRef__":true,"id":1175},{"__isSmartRef__":true,"id":1177},{"__isSmartRef__":true,"id":1179},{"__isSmartRef__":true,"id":1181},{"__isSmartRef__":true,"id":1183},{"__isSmartRef__":true,"id":1185},{"__isSmartRef__":true,"id":1187},{"__isSmartRef__":true,"id":1189},{"__isSmartRef__":true,"id":1191}],"lastModifiedDate":{"__isSmartRef__":true,"id":1193},"revisionOnLoad":190152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1171":{"date":{"__isSmartRef__":true,"id":1172},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"1172":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)"},"1173":{"date":{"__isSmartRef__":true,"id":1174},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"1174":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)"},"1175":{"date":{"__isSmartRef__":true,"id":1176},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"1176":{"isSerializedDate":true,"string":"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)"},"1177":{"date":{"__isSmartRef__":true,"id":1178},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"1178":{"isSerializedDate":true,"string":"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)"},"1179":{"date":{"__isSmartRef__":true,"id":1180},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"1180":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)"},"1181":{"date":{"__isSmartRef__":true,"id":1182},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"1182":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)"},"1183":{"date":{"__isSmartRef__":true,"id":1184},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1184":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)"},"1185":{"date":{"__isSmartRef__":true,"id":1186},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"1186":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)"},"1187":{"date":{"__isSmartRef__":true,"id":1188},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"1188":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (PDT)"},"1189":{"date":{"__isSmartRef__":true,"id":1190},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"1190":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (PDT)"},"1191":{"date":{"__isSmartRef__":true,"id":1192},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"1192":{"isSerializedDate":true,"string":"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)"},"1193":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"1194":{"morph":{"__isSmartRef__":true,"id":1168},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1195":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1196}},"1196":{"test01IsMorph":{"__isSmartRef__":true,"id":1197}},"1197":{"varMapping":{"__isSmartRef__":true,"id":1198},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1199},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1198":{"this":{"__isSmartRef__":true,"id":1195}},"1199":{},"1200":{"submorphs":[{"__isSmartRef__":true,"id":1201}],"scripts":[],"id":"BC6F0E39-29F9-4BA7-BE0B-332F2D5F5B26","shape":{"__isSmartRef__":true,"id":1276},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":1288},"showsHalos":false,"name":"Windmill","partsBinMetaInfo":{"__isSmartRef__":true,"id":1289},"controlPoints":[{"__isSmartRef__":true,"id":1295},{"__isSmartRef__":true,"id":1296},{"__isSmartRef__":true,"id":1297},{"__isSmartRef__":true,"id":1298},{"__isSmartRef__":true,"id":1299},{"__isSmartRef__":true,"id":1300},{"__isSmartRef__":true,"id":1301},{"__isSmartRef__":true,"id":1302},{"__isSmartRef__":true,"id":1303},{"__isSmartRef__":true,"id":1304},{"__isSmartRef__":true,"id":1305}],"layout":{"__isSmartRef__":true,"id":1306},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"F3661738-4D30-49FB-A2E9-1BB12EF91DFA","93B0C04D-45AE-4223-B1C1-0A74175A3FC9"],"moved":true,"droppingEnabled":true,"owner":{"__isSmartRef__":true,"id":1167},"_Rotation":138.10540155998328,"_Scale":0.4668708903537401,"commandedClones":[{"__isSmartRef__":true,"id":96},{"__isSmartRef__":true,"id":280},{"__isSmartRef__":true,"id":464},{"__isSmartRef__":true,"id":648},{"__isSmartRef__":true,"id":832},{"__isSmartRef__":true,"id":1016}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":34,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1307},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(44.0,146.0)"},"1201":{"submorphs":[{"__isSmartRef__":true,"id":1202}],"scripts":[],"id":"61282F05-61BD-4E5A-A264-BC6D38D297DB","shape":{"__isSmartRef__":true,"id":1273},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1274},"eventHandler":{"__isSmartRef__":true,"id":1275},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1537,"C8C5886E-7D32-4EA6-A1D2-58C3A8F6D57C","CDA47B5D-A3EE-4BFD-B41D-95A66DDCF39E","79581BD8-BD17-4987-9A8A-C134C2899ED7"],"owner":{"__isSmartRef__":true,"id":1200},"droppingEnabled":true,"_Rotation":0.9303658771898514,"_Scale":2.1419197912346117,"commandedClones":[{"__isSmartRef__":true,"id":97},{"__isSmartRef__":true,"id":281},{"__isSmartRef__":true,"id":465},{"__isSmartRef__":true,"id":649},{"__isSmartRef__":true,"id":833},{"__isSmartRef__":true,"id":1017}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":25,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(186.1,-154.1)"},"1202":{"submorphs":[{"__isSmartRef__":true,"id":1203}],"scripts":[],"id":"D698EC7D-8EEA-4F39-962A-FB6A88F9C995","shape":{"__isSmartRef__":true,"id":1236},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":1248},"showsHalos":false,"name":"Star1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1249},"controlPoints":[{"__isSmartRef__":true,"id":1250},{"__isSmartRef__":true,"id":1251},{"__isSmartRef__":true,"id":1252},{"__isSmartRef__":true,"id":1253},{"__isSmartRef__":true,"id":1254},{"__isSmartRef__":true,"id":1255},{"__isSmartRef__":true,"id":1256},{"__isSmartRef__":true,"id":1257},{"__isSmartRef__":true,"id":1258},{"__isSmartRef__":true,"id":1259},{"__isSmartRef__":true,"id":1260}],"layout":{"__isSmartRef__":true,"id":1261},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"E6E0C2BB-6B2F-4631-9EC8-38467E7EC55A","D86AEB0E-495B-4091-967C-F10FDE68DC02","31BFDFE5-E321-4CB3-BBFC-541989699FB1"],"owner":{"__isSmartRef__":true,"id":1201},"droppingEnabled":true,"_Rotation":4492.202819437567,"_Scale":0.46687089035374,"commandedClones":[{"__isSmartRef__":true,"id":98},{"__isSmartRef__":true,"id":282},{"__isSmartRef__":true,"id":466},{"__isSmartRef__":true,"id":650},{"__isSmartRef__":true,"id":834},{"__isSmartRef__":true,"id":1018}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":16,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1262},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(4.7,9.9)"},"1203":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1204},"id":"9661511E-51B8-40DF-A4D1-C486ACE14270","eventHandler":{"__isSmartRef__":true,"id":1205},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":1206},"name":"Ellipse7","partsBinMetaInfo":{"__isSmartRef__":true,"id":1207},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","5EF6BD6B-AFA0-4EDB-B95B-6CA2F240ED33"],"_ClipMode":"visible","isBeingDragged":false,"_Rotation":1.508430294234117,"_Scale":2.1418505601886992,"commandedClones":[{"__isSmartRef__":true,"id":99},{"__isSmartRef__":true,"id":283},{"__isSmartRef__":true,"id":467},{"__isSmartRef__":true,"id":651},{"__isSmartRef__":true,"id":835},{"__isSmartRef__":true,"id":1019}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":1202},"isCopyMorphRef":true,"morphRefId":7,"__serializedExpressions__":["_Position","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1211},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(-42.6,83.4)","previousPosition":"lively.pt(744.0,160.0)"},"1204":{"_ClipMode":"visible","_BorderWidth":1.4080000000000001,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(150.0,43.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(245,33,60)"},"1205":{"morph":{"__isSmartRef__":true,"id":1203},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1206":{},"1207":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","revisionOnLoad":149409,"comment":"undefined","changes":[{"__isSmartRef__":true,"id":1208}],"lastModifiedDate":{"__isSmartRef__":true,"id":1210},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1208":{"date":{"__isSmartRef__":true,"id":1209},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"1209":{"isSerializedDate":true,"string":"Tue Apr 03 2012 00:08:08 GMT-0700 (PDT)"},"1210":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"1211":{"beCommanderMorph":{"__isSmartRef__":true,"id":1212},"copyTraitTo":{"__isSmartRef__":true,"id":1215},"makeNewClone":{"__isSmartRef__":true,"id":1218},"prepareToCommand":{"__isSmartRef__":true,"id":1221},"removeCloneReferences":{"__isSmartRef__":true,"id":1224},"unwrapForClones":{"__isSmartRef__":true,"id":1227},"wrapForClones":{"__isSmartRef__":true,"id":1230},"wrapAddMorph":{"__isSmartRef__":true,"id":1233}},"1212":{"varMapping":{"__isSmartRef__":true,"id":1213},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":1214},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1213":{"this":{"__isSmartRef__":true,"id":1203}},"1214":{},"1215":{"varMapping":{"__isSmartRef__":true,"id":1216},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":1217},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1216":{"this":{"__isSmartRef__":true,"id":1203}},"1217":{},"1218":{"varMapping":{"__isSmartRef__":true,"id":1219},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":1235},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1234":{"this":{"__isSmartRef__":true,"id":1203}},"1235":{},"1236":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":1237},{"__isSmartRef__":true,"id":1238},{"__isSmartRef__":true,"id":1239},{"__isSmartRef__":true,"id":1240},{"__isSmartRef__":true,"id":1241},{"__isSmartRef__":true,"id":1242},{"__isSmartRef__":true,"id":1243},{"__isSmartRef__":true,"id":1244},{"__isSmartRef__":true,"id":1245},{"__isSmartRef__":true,"id":1246},{"__isSmartRef__":true,"id":1247}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"1237":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1238":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1239":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1240":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1241":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1242":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1243":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1244":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1245":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1246":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1247":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1248":{"morph":{"__isSmartRef__":true,"id":1202},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1249":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Demos/","partName":"RotatingStar","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1250":{"morph":{"__isSmartRef__":true,"id":1202},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1251":{"morph":{"__isSmartRef__":true,"id":1202},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1252":{"morph":{"__isSmartRef__":true,"id":1202},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1253":{"morph":{"__isSmartRef__":true,"id":1202},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1254":{"morph":{"__isSmartRef__":true,"id":1202},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1255":{"morph":{"__isSmartRef__":true,"id":1202},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1256":{"morph":{"__isSmartRef__":true,"id":1202},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1257":{"morph":{"__isSmartRef__":true,"id":1202},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1258":{"morph":{"__isSmartRef__":true,"id":1202},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1259":{"morph":{"__isSmartRef__":true,"id":1202},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1260":{"morph":{"__isSmartRef__":true,"id":1202},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1261":{},"1262":{"rotate":{"__isSmartRef__":true,"id":1263},"getHaloClasses":{"__isSmartRef__":true,"id":1266}},"1263":{"varMapping":{"__isSmartRef__":true,"id":1264},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":1265},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1264":{"this":{"__isSmartRef__":true,"id":1202}},"1265":{},"1266":{"varMapping":{"__isSmartRef__":true,"id":1267},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":1272},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1267":{"this":{"__isSmartRef__":true,"id":1202},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1268}},"1268":{"$super":{"__isSmartRef__":true,"id":1269}},"1269":{"varMapping":{"__isSmartRef__":true,"id":1270},"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":1271},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1270":{"obj":{"__isSmartRef__":true,"id":1202},"name":"getHaloClasses"},"1271":{},"1272":{},"1273":{"_BorderWidth":1,"_ClipMode":"visible","__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(18.2,117.4)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(184,78,0)","_Padding":"lively.rect(0,0,0,0)"},"1274":{"partsSpaceName":"PartsBin/Basic/","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1275":{"morph":{"__isSmartRef__":true,"id":1201},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1276":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":1277},{"__isSmartRef__":true,"id":1278},{"__isSmartRef__":true,"id":1279},{"__isSmartRef__":true,"id":1280},{"__isSmartRef__":true,"id":1281},{"__isSmartRef__":true,"id":1282},{"__isSmartRef__":true,"id":1283},{"__isSmartRef__":true,"id":1284},{"__isSmartRef__":true,"id":1285},{"__isSmartRef__":true,"id":1286},{"__isSmartRef__":true,"id":1287}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"1277":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1278":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1279":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1280":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1281":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1282":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1283":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1284":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1285":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1286":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1287":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1288":{"morph":{"__isSmartRef__":true,"id":1200},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1289":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Demos/","partName":"Windmill","comment":"no comment","changes":[{"__isSmartRef__":true,"id":1290},{"__isSmartRef__":true,"id":1292}],"lastModifiedDate":{"__isSmartRef__":true,"id":1294},"revisionOnLoad":194537,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1290":{"date":{"__isSmartRef__":true,"id":1291},"author":"robertkrahn","message":"Fixed dropping for windmill parts","id":"2FAEB10F-BA66-489C-90DC-205B2609A6AB"},"1291":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:40:22 GMT-0700 (PDT)"},"1292":{"date":{"__isSmartRef__":true,"id":1293},"author":"Fern","message":"no comment","id":"209710A4-1E91-4E84-B078-317116079785"},"1293":{"isSerializedDate":true,"string":"Wed Jul 25 2012 14:52:58 GMT-0700 (PDT)"},"1294":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:38:42 GMT-0700 (PDT)"},"1295":{"morph":{"__isSmartRef__":true,"id":1200},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1296":{"morph":{"__isSmartRef__":true,"id":1200},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1297":{"morph":{"__isSmartRef__":true,"id":1200},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1298":{"morph":{"__isSmartRef__":true,"id":1200},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1299":{"morph":{"__isSmartRef__":true,"id":1200},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1300":{"morph":{"__isSmartRef__":true,"id":1200},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1301":{"morph":{"__isSmartRef__":true,"id":1200},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1302":{"morph":{"__isSmartRef__":true,"id":1200},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1303":{"morph":{"__isSmartRef__":true,"id":1200},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1304":{"morph":{"__isSmartRef__":true,"id":1200},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1305":{"morph":{"__isSmartRef__":true,"id":1200},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1306":{},"1307":{"rotate":{"__isSmartRef__":true,"id":1308},"getHaloClasses":{"__isSmartRef__":true,"id":1311}},"1308":{"varMapping":{"__isSmartRef__":true,"id":1309},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":1310},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1309":{"this":{"__isSmartRef__":true,"id":1200}},"1310":{},"1311":{"varMapping":{"__isSmartRef__":true,"id":1312},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":1317},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1312":{"this":{"__isSmartRef__":true,"id":1200},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1313}},"1313":{"$super":{"__isSmartRef__":true,"id":1314}},"1314":{"varMapping":{"__isSmartRef__":true,"id":1315},"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":1316},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1315":{"obj":{"__isSmartRef__":true,"id":1200},"name":"getHaloClasses"},"1316":{},"1317":{},"1318":{"_BorderWidth":0,"__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"Color.rgb(223,223,249)","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"1319":{"morph":{"__isSmartRef__":true,"id":1167},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1320":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"1321":{"morph":{"__isSmartRef__":true,"id":1166},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1322":{"innerMorph":{"__isSmartRef__":true,"id":1323},"beCommanderMorph":{"__isSmartRef__":true,"id":1326},"copyTraitTo":{"__isSmartRef__":true,"id":1329},"makeNewClone":{"__isSmartRef__":true,"id":1332},"prepareToCommand":{"__isSmartRef__":true,"id":1335},"removeCloneReferences":{"__isSmartRef__":true,"id":1338},"unwrapForClones":{"__isSmartRef__":true,"id":1341},"wrapForClones":{"__isSmartRef__":true,"id":1344},"wrapAddMorph":{"__isSmartRef__":true,"id":1347}},"1323":{"varMapping":{"__isSmartRef__":true,"id":1324},"source":"function innerMorph() {return this.submorphs[0]}","funcProperties":{"__isSmartRef__":true,"id":1325},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1324":{"this":{"__isSmartRef__":true,"id":1166}},"1325":{},"1326":{"varMapping":{"__isSmartRef__":true,"id":1327},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":1328},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1327":{"this":{"__isSmartRef__":true,"id":1166}},"1328":{},"1329":{"varMapping":{"__isSmartRef__":true,"id":1330},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":1331},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1330":{"this":{"__isSmartRef__":true,"id":1166}},"1331":{},"1332":{"varMapping":{"__isSmartRef__":true,"id":1333},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":1349},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1348":{"this":{"__isSmartRef__":true,"id":1166}},"1349":{},"1350":{"submorphs":[{"__isSmartRef__":true,"id":1351}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1504},"eventHandler":{"__isSmartRef__":true,"id":1505},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76"],"id":"96BEF19D-EC89-42F5-A760-70ECB25EFB0B","droppingEnabled":true,"halosEnabled":true,"_Rotation":4.084070449666731,"name":"slice8","commandedClones":[{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":246},{"__isSmartRef__":true,"id":430},{"__isSmartRef__":true,"id":614},{"__isSmartRef__":true,"id":798},{"__isSmartRef__":true,"id":982},{"__isSmartRef__":true,"id":1166}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":61},"isCopyMorphRef":true,"morphRefId":53,"__serializedExpressions__":["_Position","_Scale"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1506},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","_Scale":"lively.pt(-1.0,1.0)"},"1351":{"submorphs":[{"__isSmartRef__":true,"id":1352},{"__isSmartRef__":true,"id":1384}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1502},"eventHandler":{"__isSmartRef__":true,"id":1503},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76","D3FFEC01-F0FE-4B36-BDBD-35E409EB1D0B"],"id":"C4941481-2B54-429F-ABAB-5C18229AA608","droppingEnabled":true,"halosEnabled":true,"name":"Box1","owner":{"__isSmartRef__":true,"id":1350},"_Rotation":-0.9424777960769379,"commandedClones":[{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":247},{"__isSmartRef__":true,"id":431},{"__isSmartRef__":true,"id":615},{"__isSmartRef__":true,"id":799},{"__isSmartRef__":true,"id":983},{"__isSmartRef__":true,"id":1167}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":44,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"1352":{"submorphs":[],"scripts":[],"id":"C1F03C19-4050-4A27-89A9-41846E8FB786","shape":{"__isSmartRef__":true,"id":1353},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":1354},"eventHandler":{"__isSmartRef__":true,"id":1378},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","19D9252C-E261-4DAD-8766-214094927866"],"partTests":{"__isSmartRef__":true,"id":1379},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":1351},"isBeingDragged":false,"_Rotation":0.747612341172852,"_Scale":1,"commandedClones":[{"__isSmartRef__":true,"id":64},{"__isSmartRef__":true,"id":248},{"__isSmartRef__":true,"id":432},{"__isSmartRef__":true,"id":616},{"__isSmartRef__":true,"id":800},{"__isSmartRef__":true,"id":984},{"__isSmartRef__":true,"id":1168}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":8,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,35.0)","distanceToDragEvent":"lively.pt(82.0,-15.0)"},"1353":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(169.0,19.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,204)","_Padding":"lively.rect(0,0,0,0)"},"1354":{"partsSpaceName":"PartsBin/Basic","comment":"A morph hierarchy visualization with bundle view simulation of attribute connections.","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":1355},{"__isSmartRef__":true,"id":1357},{"__isSmartRef__":true,"id":1359},{"__isSmartRef__":true,"id":1361},{"__isSmartRef__":true,"id":1363},{"__isSmartRef__":true,"id":1365},{"__isSmartRef__":true,"id":1367},{"__isSmartRef__":true,"id":1369},{"__isSmartRef__":true,"id":1371},{"__isSmartRef__":true,"id":1373},{"__isSmartRef__":true,"id":1375}],"lastModifiedDate":{"__isSmartRef__":true,"id":1377},"revisionOnLoad":190152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1355":{"date":{"__isSmartRef__":true,"id":1356},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"1356":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)"},"1357":{"date":{"__isSmartRef__":true,"id":1358},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"1358":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)"},"1359":{"date":{"__isSmartRef__":true,"id":1360},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"1360":{"isSerializedDate":true,"string":"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)"},"1361":{"date":{"__isSmartRef__":true,"id":1362},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"1362":{"isSerializedDate":true,"string":"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)"},"1363":{"date":{"__isSmartRef__":true,"id":1364},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"1364":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)"},"1365":{"date":{"__isSmartRef__":true,"id":1366},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"1366":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)"},"1367":{"date":{"__isSmartRef__":true,"id":1368},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1368":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)"},"1369":{"date":{"__isSmartRef__":true,"id":1370},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"1370":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)"},"1371":{"date":{"__isSmartRef__":true,"id":1372},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"1372":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (PDT)"},"1373":{"date":{"__isSmartRef__":true,"id":1374},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"1374":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (PDT)"},"1375":{"date":{"__isSmartRef__":true,"id":1376},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"1376":{"isSerializedDate":true,"string":"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)"},"1377":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"1378":{"morph":{"__isSmartRef__":true,"id":1352},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1379":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1380}},"1380":{"test01IsMorph":{"__isSmartRef__":true,"id":1381}},"1381":{"varMapping":{"__isSmartRef__":true,"id":1382},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1383},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1382":{"this":{"__isSmartRef__":true,"id":1379}},"1383":{},"1384":{"submorphs":[{"__isSmartRef__":true,"id":1385}],"scripts":[],"id":"84DC895D-7AA3-494C-96C9-BD9DF709C59D","shape":{"__isSmartRef__":true,"id":1460},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":1472},"showsHalos":false,"name":"Windmill","partsBinMetaInfo":{"__isSmartRef__":true,"id":1473},"controlPoints":[{"__isSmartRef__":true,"id":1479},{"__isSmartRef__":true,"id":1480},{"__isSmartRef__":true,"id":1481},{"__isSmartRef__":true,"id":1482},{"__isSmartRef__":true,"id":1483},{"__isSmartRef__":true,"id":1484},{"__isSmartRef__":true,"id":1485},{"__isSmartRef__":true,"id":1486},{"__isSmartRef__":true,"id":1487},{"__isSmartRef__":true,"id":1488},{"__isSmartRef__":true,"id":1489}],"layout":{"__isSmartRef__":true,"id":1490},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"F3661738-4D30-49FB-A2E9-1BB12EF91DFA","93B0C04D-45AE-4223-B1C1-0A74175A3FC9"],"moved":true,"droppingEnabled":true,"owner":{"__isSmartRef__":true,"id":1351},"_Rotation":138.10540155998328,"_Scale":0.4668708903537401,"commandedClones":[{"__isSmartRef__":true,"id":96},{"__isSmartRef__":true,"id":280},{"__isSmartRef__":true,"id":464},{"__isSmartRef__":true,"id":648},{"__isSmartRef__":true,"id":832},{"__isSmartRef__":true,"id":1016},{"__isSmartRef__":true,"id":1200}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":35,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1491},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(44.0,146.0)"},"1385":{"submorphs":[{"__isSmartRef__":true,"id":1386}],"scripts":[],"id":"38F4F996-0DEF-4698-84B3-400E669C640B","shape":{"__isSmartRef__":true,"id":1457},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1458},"eventHandler":{"__isSmartRef__":true,"id":1459},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1537,"C8C5886E-7D32-4EA6-A1D2-58C3A8F6D57C","CDA47B5D-A3EE-4BFD-B41D-95A66DDCF39E","79581BD8-BD17-4987-9A8A-C134C2899ED7"],"owner":{"__isSmartRef__":true,"id":1384},"droppingEnabled":true,"_Rotation":0.9303658771898514,"_Scale":2.1419197912346117,"commandedClones":[{"__isSmartRef__":true,"id":97},{"__isSmartRef__":true,"id":281},{"__isSmartRef__":true,"id":465},{"__isSmartRef__":true,"id":649},{"__isSmartRef__":true,"id":833},{"__isSmartRef__":true,"id":1017},{"__isSmartRef__":true,"id":1201}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":26,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(186.1,-154.1)"},"1386":{"submorphs":[{"__isSmartRef__":true,"id":1387}],"scripts":[],"id":"E1E072D2-DBA6-4D35-92D3-46560E4C9394","shape":{"__isSmartRef__":true,"id":1420},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":1432},"showsHalos":false,"name":"Star1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1433},"controlPoints":[{"__isSmartRef__":true,"id":1434},{"__isSmartRef__":true,"id":1435},{"__isSmartRef__":true,"id":1436},{"__isSmartRef__":true,"id":1437},{"__isSmartRef__":true,"id":1438},{"__isSmartRef__":true,"id":1439},{"__isSmartRef__":true,"id":1440},{"__isSmartRef__":true,"id":1441},{"__isSmartRef__":true,"id":1442},{"__isSmartRef__":true,"id":1443},{"__isSmartRef__":true,"id":1444}],"layout":{"__isSmartRef__":true,"id":1445},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"E6E0C2BB-6B2F-4631-9EC8-38467E7EC55A","D86AEB0E-495B-4091-967C-F10FDE68DC02","31BFDFE5-E321-4CB3-BBFC-541989699FB1"],"owner":{"__isSmartRef__":true,"id":1385},"droppingEnabled":true,"_Rotation":4492.202819437567,"_Scale":0.46687089035374,"commandedClones":[{"__isSmartRef__":true,"id":98},{"__isSmartRef__":true,"id":282},{"__isSmartRef__":true,"id":466},{"__isSmartRef__":true,"id":650},{"__isSmartRef__":true,"id":834},{"__isSmartRef__":true,"id":1018},{"__isSmartRef__":true,"id":1202}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":17,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1446},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(4.7,9.9)"},"1387":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1388},"id":"07F90FD5-64D1-4347-A3B9-136939C46CEF","eventHandler":{"__isSmartRef__":true,"id":1389},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":1390},"name":"Ellipse8","partsBinMetaInfo":{"__isSmartRef__":true,"id":1391},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","5EF6BD6B-AFA0-4EDB-B95B-6CA2F240ED33"],"_ClipMode":"visible","isBeingDragged":false,"_Rotation":1.508430294234117,"_Scale":2.1418505601886992,"commandedClones":[{"__isSmartRef__":true,"id":99},{"__isSmartRef__":true,"id":283},{"__isSmartRef__":true,"id":467},{"__isSmartRef__":true,"id":651},{"__isSmartRef__":true,"id":835},{"__isSmartRef__":true,"id":1019},{"__isSmartRef__":true,"id":1203}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":1386},"isCopyMorphRef":true,"morphRefId":8,"__serializedExpressions__":["_Position","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1395},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(-42.6,83.4)","previousPosition":"lively.pt(744.0,160.0)"},"1388":{"_ClipMode":"visible","_BorderWidth":1.4080000000000001,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(150.0,43.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(245,33,60)"},"1389":{"morph":{"__isSmartRef__":true,"id":1387},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1390":{},"1391":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","revisionOnLoad":149409,"comment":"undefined","changes":[{"__isSmartRef__":true,"id":1392}],"lastModifiedDate":{"__isSmartRef__":true,"id":1394},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1392":{"date":{"__isSmartRef__":true,"id":1393},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"1393":{"isSerializedDate":true,"string":"Tue Apr 03 2012 00:08:08 GMT-0700 (PDT)"},"1394":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"1395":{"beCommanderMorph":{"__isSmartRef__":true,"id":1396},"copyTraitTo":{"__isSmartRef__":true,"id":1399},"makeNewClone":{"__isSmartRef__":true,"id":1402},"prepareToCommand":{"__isSmartRef__":true,"id":1405},"removeCloneReferences":{"__isSmartRef__":true,"id":1408},"unwrapForClones":{"__isSmartRef__":true,"id":1411},"wrapForClones":{"__isSmartRef__":true,"id":1414},"wrapAddMorph":{"__isSmartRef__":true,"id":1417}},"1396":{"varMapping":{"__isSmartRef__":true,"id":1397},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":1398},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1397":{"this":{"__isSmartRef__":true,"id":1387}},"1398":{},"1399":{"varMapping":{"__isSmartRef__":true,"id":1400},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":1401},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1400":{"this":{"__isSmartRef__":true,"id":1387}},"1401":{},"1402":{"varMapping":{"__isSmartRef__":true,"id":1403},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":1419},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1418":{"this":{"__isSmartRef__":true,"id":1387}},"1419":{},"1420":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":1421},{"__isSmartRef__":true,"id":1422},{"__isSmartRef__":true,"id":1423},{"__isSmartRef__":true,"id":1424},{"__isSmartRef__":true,"id":1425},{"__isSmartRef__":true,"id":1426},{"__isSmartRef__":true,"id":1427},{"__isSmartRef__":true,"id":1428},{"__isSmartRef__":true,"id":1429},{"__isSmartRef__":true,"id":1430},{"__isSmartRef__":true,"id":1431}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"1421":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1422":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1423":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1424":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1425":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1426":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1427":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1428":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1429":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1430":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1431":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1432":{"morph":{"__isSmartRef__":true,"id":1386},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1433":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Demos/","partName":"RotatingStar","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1434":{"morph":{"__isSmartRef__":true,"id":1386},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1435":{"morph":{"__isSmartRef__":true,"id":1386},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1436":{"morph":{"__isSmartRef__":true,"id":1386},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1437":{"morph":{"__isSmartRef__":true,"id":1386},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1438":{"morph":{"__isSmartRef__":true,"id":1386},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1439":{"morph":{"__isSmartRef__":true,"id":1386},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1440":{"morph":{"__isSmartRef__":true,"id":1386},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1441":{"morph":{"__isSmartRef__":true,"id":1386},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1442":{"morph":{"__isSmartRef__":true,"id":1386},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1443":{"morph":{"__isSmartRef__":true,"id":1386},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1444":{"morph":{"__isSmartRef__":true,"id":1386},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1445":{},"1446":{"rotate":{"__isSmartRef__":true,"id":1447},"getHaloClasses":{"__isSmartRef__":true,"id":1450}},"1447":{"varMapping":{"__isSmartRef__":true,"id":1448},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":1449},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1448":{"this":{"__isSmartRef__":true,"id":1386}},"1449":{},"1450":{"varMapping":{"__isSmartRef__":true,"id":1451},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":1456},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1451":{"this":{"__isSmartRef__":true,"id":1386},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1452}},"1452":{"$super":{"__isSmartRef__":true,"id":1453}},"1453":{"varMapping":{"__isSmartRef__":true,"id":1454},"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":1455},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1454":{"obj":{"__isSmartRef__":true,"id":1386},"name":"getHaloClasses"},"1455":{},"1456":{},"1457":{"_BorderWidth":1,"_ClipMode":"visible","__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(18.2,117.4)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(184,78,0)","_Padding":"lively.rect(0,0,0,0)"},"1458":{"partsSpaceName":"PartsBin/Basic/","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1459":{"morph":{"__isSmartRef__":true,"id":1385},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1460":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":1461},{"__isSmartRef__":true,"id":1462},{"__isSmartRef__":true,"id":1463},{"__isSmartRef__":true,"id":1464},{"__isSmartRef__":true,"id":1465},{"__isSmartRef__":true,"id":1466},{"__isSmartRef__":true,"id":1467},{"__isSmartRef__":true,"id":1468},{"__isSmartRef__":true,"id":1469},{"__isSmartRef__":true,"id":1470},{"__isSmartRef__":true,"id":1471}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"1461":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1462":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1463":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1464":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1465":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1466":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1467":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1468":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1469":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1470":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1471":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1472":{"morph":{"__isSmartRef__":true,"id":1384},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1473":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Demos/","partName":"Windmill","comment":"no comment","changes":[{"__isSmartRef__":true,"id":1474},{"__isSmartRef__":true,"id":1476}],"lastModifiedDate":{"__isSmartRef__":true,"id":1478},"revisionOnLoad":194537,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1474":{"date":{"__isSmartRef__":true,"id":1475},"author":"robertkrahn","message":"Fixed dropping for windmill parts","id":"2FAEB10F-BA66-489C-90DC-205B2609A6AB"},"1475":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:40:22 GMT-0700 (PDT)"},"1476":{"date":{"__isSmartRef__":true,"id":1477},"author":"Fern","message":"no comment","id":"209710A4-1E91-4E84-B078-317116079785"},"1477":{"isSerializedDate":true,"string":"Wed Jul 25 2012 14:52:58 GMT-0700 (PDT)"},"1478":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:38:42 GMT-0700 (PDT)"},"1479":{"morph":{"__isSmartRef__":true,"id":1384},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1480":{"morph":{"__isSmartRef__":true,"id":1384},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1481":{"morph":{"__isSmartRef__":true,"id":1384},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1482":{"morph":{"__isSmartRef__":true,"id":1384},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1483":{"morph":{"__isSmartRef__":true,"id":1384},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1484":{"morph":{"__isSmartRef__":true,"id":1384},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1485":{"morph":{"__isSmartRef__":true,"id":1384},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1486":{"morph":{"__isSmartRef__":true,"id":1384},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1487":{"morph":{"__isSmartRef__":true,"id":1384},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1488":{"morph":{"__isSmartRef__":true,"id":1384},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1489":{"morph":{"__isSmartRef__":true,"id":1384},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1490":{},"1491":{"rotate":{"__isSmartRef__":true,"id":1492},"getHaloClasses":{"__isSmartRef__":true,"id":1495}},"1492":{"varMapping":{"__isSmartRef__":true,"id":1493},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":1494},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1493":{"this":{"__isSmartRef__":true,"id":1384}},"1494":{},"1495":{"varMapping":{"__isSmartRef__":true,"id":1496},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":1501},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1496":{"this":{"__isSmartRef__":true,"id":1384},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1497}},"1497":{"$super":{"__isSmartRef__":true,"id":1498}},"1498":{"varMapping":{"__isSmartRef__":true,"id":1499},"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":1500},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1499":{"obj":{"__isSmartRef__":true,"id":1384},"name":"getHaloClasses"},"1500":{},"1501":{},"1502":{"_BorderWidth":0,"__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"Color.rgb(223,223,249)","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"1503":{"morph":{"__isSmartRef__":true,"id":1351},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1504":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"1505":{"morph":{"__isSmartRef__":true,"id":1350},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1506":{"innerMorph":{"__isSmartRef__":true,"id":1507},"beCommanderMorph":{"__isSmartRef__":true,"id":1510},"copyTraitTo":{"__isSmartRef__":true,"id":1513},"makeNewClone":{"__isSmartRef__":true,"id":1516},"prepareToCommand":{"__isSmartRef__":true,"id":1519},"removeCloneReferences":{"__isSmartRef__":true,"id":1522},"unwrapForClones":{"__isSmartRef__":true,"id":1525},"wrapForClones":{"__isSmartRef__":true,"id":1528},"wrapAddMorph":{"__isSmartRef__":true,"id":1531}},"1507":{"varMapping":{"__isSmartRef__":true,"id":1508},"source":"function innerMorph() {return this.submorphs[0]}","funcProperties":{"__isSmartRef__":true,"id":1509},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1508":{"this":{"__isSmartRef__":true,"id":1350}},"1509":{},"1510":{"varMapping":{"__isSmartRef__":true,"id":1511},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":1512},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1511":{"this":{"__isSmartRef__":true,"id":1350}},"1512":{},"1513":{"varMapping":{"__isSmartRef__":true,"id":1514},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":1515},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1514":{"this":{"__isSmartRef__":true,"id":1350}},"1515":{},"1516":{"varMapping":{"__isSmartRef__":true,"id":1517},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":1533},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1532":{"this":{"__isSmartRef__":true,"id":1350}},"1533":{},"1534":{"submorphs":[{"__isSmartRef__":true,"id":1535}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1688},"eventHandler":{"__isSmartRef__":true,"id":1689},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76"],"id":"62A36C13-67BE-4653-88ED-A95D9CF72E43","droppingEnabled":true,"halosEnabled":true,"_Rotation":7.225663103256524,"name":"slice9","commandedClones":[{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":246},{"__isSmartRef__":true,"id":430},{"__isSmartRef__":true,"id":614},{"__isSmartRef__":true,"id":798},{"__isSmartRef__":true,"id":982},{"__isSmartRef__":true,"id":1166},{"__isSmartRef__":true,"id":1350}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":61},"isCopyMorphRef":true,"morphRefId":54,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1690},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"1535":{"submorphs":[{"__isSmartRef__":true,"id":1536},{"__isSmartRef__":true,"id":1568}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1686},"eventHandler":{"__isSmartRef__":true,"id":1687},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76","D3FFEC01-F0FE-4B36-BDBD-35E409EB1D0B"],"id":"8975C14D-949F-445E-A606-CD5E173DF135","droppingEnabled":true,"halosEnabled":true,"name":"Box1","owner":{"__isSmartRef__":true,"id":1534},"_Rotation":-0.9424777960769379,"commandedClones":[{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":247},{"__isSmartRef__":true,"id":431},{"__isSmartRef__":true,"id":615},{"__isSmartRef__":true,"id":799},{"__isSmartRef__":true,"id":983},{"__isSmartRef__":true,"id":1167},{"__isSmartRef__":true,"id":1351}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":45,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"1536":{"submorphs":[],"scripts":[],"id":"80996FC1-405E-4831-A957-B16CCCFCA4FD","shape":{"__isSmartRef__":true,"id":1537},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":1538},"eventHandler":{"__isSmartRef__":true,"id":1562},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","19D9252C-E261-4DAD-8766-214094927866"],"partTests":{"__isSmartRef__":true,"id":1563},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":1535},"isBeingDragged":false,"_Rotation":0.747612341172852,"_Scale":1,"commandedClones":[{"__isSmartRef__":true,"id":64},{"__isSmartRef__":true,"id":248},{"__isSmartRef__":true,"id":432},{"__isSmartRef__":true,"id":616},{"__isSmartRef__":true,"id":800},{"__isSmartRef__":true,"id":984},{"__isSmartRef__":true,"id":1168},{"__isSmartRef__":true,"id":1352}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":9,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,35.0)","distanceToDragEvent":"lively.pt(82.0,-15.0)"},"1537":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(169.0,19.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,204)","_Padding":"lively.rect(0,0,0,0)"},"1538":{"partsSpaceName":"PartsBin/Basic","comment":"A morph hierarchy visualization with bundle view simulation of attribute connections.","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":1539},{"__isSmartRef__":true,"id":1541},{"__isSmartRef__":true,"id":1543},{"__isSmartRef__":true,"id":1545},{"__isSmartRef__":true,"id":1547},{"__isSmartRef__":true,"id":1549},{"__isSmartRef__":true,"id":1551},{"__isSmartRef__":true,"id":1553},{"__isSmartRef__":true,"id":1555},{"__isSmartRef__":true,"id":1557},{"__isSmartRef__":true,"id":1559}],"lastModifiedDate":{"__isSmartRef__":true,"id":1561},"revisionOnLoad":190152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1539":{"date":{"__isSmartRef__":true,"id":1540},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"1540":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)"},"1541":{"date":{"__isSmartRef__":true,"id":1542},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"1542":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)"},"1543":{"date":{"__isSmartRef__":true,"id":1544},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"1544":{"isSerializedDate":true,"string":"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)"},"1545":{"date":{"__isSmartRef__":true,"id":1546},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"1546":{"isSerializedDate":true,"string":"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)"},"1547":{"date":{"__isSmartRef__":true,"id":1548},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"1548":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)"},"1549":{"date":{"__isSmartRef__":true,"id":1550},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"1550":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)"},"1551":{"date":{"__isSmartRef__":true,"id":1552},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1552":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)"},"1553":{"date":{"__isSmartRef__":true,"id":1554},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"1554":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)"},"1555":{"date":{"__isSmartRef__":true,"id":1556},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"1556":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (PDT)"},"1557":{"date":{"__isSmartRef__":true,"id":1558},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"1558":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (PDT)"},"1559":{"date":{"__isSmartRef__":true,"id":1560},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"1560":{"isSerializedDate":true,"string":"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)"},"1561":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"1562":{"morph":{"__isSmartRef__":true,"id":1536},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1563":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1564}},"1564":{"test01IsMorph":{"__isSmartRef__":true,"id":1565}},"1565":{"varMapping":{"__isSmartRef__":true,"id":1566},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1567},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1566":{"this":{"__isSmartRef__":true,"id":1563}},"1567":{},"1568":{"submorphs":[{"__isSmartRef__":true,"id":1569}],"scripts":[],"id":"78B0D3D4-B784-42D6-AD77-EA07A7FBBACB","shape":{"__isSmartRef__":true,"id":1644},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":1656},"showsHalos":false,"name":"Windmill","partsBinMetaInfo":{"__isSmartRef__":true,"id":1657},"controlPoints":[{"__isSmartRef__":true,"id":1663},{"__isSmartRef__":true,"id":1664},{"__isSmartRef__":true,"id":1665},{"__isSmartRef__":true,"id":1666},{"__isSmartRef__":true,"id":1667},{"__isSmartRef__":true,"id":1668},{"__isSmartRef__":true,"id":1669},{"__isSmartRef__":true,"id":1670},{"__isSmartRef__":true,"id":1671},{"__isSmartRef__":true,"id":1672},{"__isSmartRef__":true,"id":1673}],"layout":{"__isSmartRef__":true,"id":1674},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"F3661738-4D30-49FB-A2E9-1BB12EF91DFA","93B0C04D-45AE-4223-B1C1-0A74175A3FC9"],"moved":true,"droppingEnabled":true,"owner":{"__isSmartRef__":true,"id":1535},"_Rotation":138.10540155998328,"_Scale":0.4668708903537401,"commandedClones":[{"__isSmartRef__":true,"id":96},{"__isSmartRef__":true,"id":280},{"__isSmartRef__":true,"id":464},{"__isSmartRef__":true,"id":648},{"__isSmartRef__":true,"id":832},{"__isSmartRef__":true,"id":1016},{"__isSmartRef__":true,"id":1200},{"__isSmartRef__":true,"id":1384}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":36,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1675},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(44.0,146.0)"},"1569":{"submorphs":[{"__isSmartRef__":true,"id":1570}],"scripts":[],"id":"865586BE-0CE8-4ACE-B813-919F0576F5B3","shape":{"__isSmartRef__":true,"id":1641},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1642},"eventHandler":{"__isSmartRef__":true,"id":1643},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1537,"C8C5886E-7D32-4EA6-A1D2-58C3A8F6D57C","CDA47B5D-A3EE-4BFD-B41D-95A66DDCF39E","79581BD8-BD17-4987-9A8A-C134C2899ED7"],"owner":{"__isSmartRef__":true,"id":1568},"droppingEnabled":true,"_Rotation":0.9303658771898514,"_Scale":2.1419197912346117,"commandedClones":[{"__isSmartRef__":true,"id":97},{"__isSmartRef__":true,"id":281},{"__isSmartRef__":true,"id":465},{"__isSmartRef__":true,"id":649},{"__isSmartRef__":true,"id":833},{"__isSmartRef__":true,"id":1017},{"__isSmartRef__":true,"id":1201},{"__isSmartRef__":true,"id":1385}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":27,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(186.1,-154.1)"},"1570":{"submorphs":[{"__isSmartRef__":true,"id":1571}],"scripts":[],"id":"701558C1-729A-4760-9A2B-87CCE86E586E","shape":{"__isSmartRef__":true,"id":1604},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":1616},"showsHalos":false,"name":"Star1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1617},"controlPoints":[{"__isSmartRef__":true,"id":1618},{"__isSmartRef__":true,"id":1619},{"__isSmartRef__":true,"id":1620},{"__isSmartRef__":true,"id":1621},{"__isSmartRef__":true,"id":1622},{"__isSmartRef__":true,"id":1623},{"__isSmartRef__":true,"id":1624},{"__isSmartRef__":true,"id":1625},{"__isSmartRef__":true,"id":1626},{"__isSmartRef__":true,"id":1627},{"__isSmartRef__":true,"id":1628}],"layout":{"__isSmartRef__":true,"id":1629},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"E6E0C2BB-6B2F-4631-9EC8-38467E7EC55A","D86AEB0E-495B-4091-967C-F10FDE68DC02","31BFDFE5-E321-4CB3-BBFC-541989699FB1"],"owner":{"__isSmartRef__":true,"id":1569},"droppingEnabled":true,"_Rotation":4492.202819437567,"_Scale":0.46687089035374,"commandedClones":[{"__isSmartRef__":true,"id":98},{"__isSmartRef__":true,"id":282},{"__isSmartRef__":true,"id":466},{"__isSmartRef__":true,"id":650},{"__isSmartRef__":true,"id":834},{"__isSmartRef__":true,"id":1018},{"__isSmartRef__":true,"id":1202},{"__isSmartRef__":true,"id":1386}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"isCopyMorphRef":true,"morphRefId":18,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1630},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(4.7,9.9)"},"1571":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1572},"id":"31C541B6-0A74-446A-9B32-522DD3F2553D","eventHandler":{"__isSmartRef__":true,"id":1573},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":1574},"name":"Ellipse9","partsBinMetaInfo":{"__isSmartRef__":true,"id":1575},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","5EF6BD6B-AFA0-4EDB-B95B-6CA2F240ED33"],"_ClipMode":"visible","isBeingDragged":false,"_Rotation":1.508430294234117,"_Scale":2.1418505601886992,"commandedClones":[{"__isSmartRef__":true,"id":99},{"__isSmartRef__":true,"id":283},{"__isSmartRef__":true,"id":467},{"__isSmartRef__":true,"id":651},{"__isSmartRef__":true,"id":835},{"__isSmartRef__":true,"id":1019},{"__isSmartRef__":true,"id":1203},{"__isSmartRef__":true,"id":1387}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":1570},"isCopyMorphRef":true,"morphRefId":9,"__serializedExpressions__":["_Position","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1579},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(-42.6,83.4)","previousPosition":"lively.pt(744.0,160.0)"},"1572":{"_ClipMode":"visible","_BorderWidth":1.4080000000000001,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(150.0,43.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(245,33,60)"},"1573":{"morph":{"__isSmartRef__":true,"id":1571},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1574":{},"1575":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","revisionOnLoad":149409,"comment":"undefined","changes":[{"__isSmartRef__":true,"id":1576}],"lastModifiedDate":{"__isSmartRef__":true,"id":1578},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1576":{"date":{"__isSmartRef__":true,"id":1577},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"1577":{"isSerializedDate":true,"string":"Tue Apr 03 2012 00:08:08 GMT-0700 (PDT)"},"1578":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"1579":{"beCommanderMorph":{"__isSmartRef__":true,"id":1580},"copyTraitTo":{"__isSmartRef__":true,"id":1583},"makeNewClone":{"__isSmartRef__":true,"id":1586},"prepareToCommand":{"__isSmartRef__":true,"id":1589},"removeCloneReferences":{"__isSmartRef__":true,"id":1592},"unwrapForClones":{"__isSmartRef__":true,"id":1595},"wrapForClones":{"__isSmartRef__":true,"id":1598},"wrapAddMorph":{"__isSmartRef__":true,"id":1601}},"1580":{"varMapping":{"__isSmartRef__":true,"id":1581},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":1582},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1581":{"this":{"__isSmartRef__":true,"id":1571}},"1582":{},"1583":{"varMapping":{"__isSmartRef__":true,"id":1584},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":1585},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1584":{"this":{"__isSmartRef__":true,"id":1571}},"1585":{},"1586":{"varMapping":{"__isSmartRef__":true,"id":1587},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":1603},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1602":{"this":{"__isSmartRef__":true,"id":1571}},"1603":{},"1604":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":1605},{"__isSmartRef__":true,"id":1606},{"__isSmartRef__":true,"id":1607},{"__isSmartRef__":true,"id":1608},{"__isSmartRef__":true,"id":1609},{"__isSmartRef__":true,"id":1610},{"__isSmartRef__":true,"id":1611},{"__isSmartRef__":true,"id":1612},{"__isSmartRef__":true,"id":1613},{"__isSmartRef__":true,"id":1614},{"__isSmartRef__":true,"id":1615}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"1605":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1606":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1607":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1608":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1609":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1610":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1611":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1612":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1613":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1614":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1615":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1616":{"morph":{"__isSmartRef__":true,"id":1570},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1617":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Demos/","partName":"RotatingStar","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1618":{"morph":{"__isSmartRef__":true,"id":1570},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1619":{"morph":{"__isSmartRef__":true,"id":1570},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1620":{"morph":{"__isSmartRef__":true,"id":1570},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1621":{"morph":{"__isSmartRef__":true,"id":1570},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1622":{"morph":{"__isSmartRef__":true,"id":1570},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1623":{"morph":{"__isSmartRef__":true,"id":1570},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1624":{"morph":{"__isSmartRef__":true,"id":1570},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1625":{"morph":{"__isSmartRef__":true,"id":1570},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1626":{"morph":{"__isSmartRef__":true,"id":1570},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1627":{"morph":{"__isSmartRef__":true,"id":1570},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1628":{"morph":{"__isSmartRef__":true,"id":1570},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1629":{},"1630":{"rotate":{"__isSmartRef__":true,"id":1631},"getHaloClasses":{"__isSmartRef__":true,"id":1634}},"1631":{"varMapping":{"__isSmartRef__":true,"id":1632},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":1633},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1632":{"this":{"__isSmartRef__":true,"id":1570}},"1633":{},"1634":{"varMapping":{"__isSmartRef__":true,"id":1635},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":1640},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1635":{"this":{"__isSmartRef__":true,"id":1570},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1636}},"1636":{"$super":{"__isSmartRef__":true,"id":1637}},"1637":{"varMapping":{"__isSmartRef__":true,"id":1638},"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":1639},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1638":{"obj":{"__isSmartRef__":true,"id":1570},"name":"getHaloClasses"},"1639":{},"1640":{},"1641":{"_BorderWidth":1,"_ClipMode":"visible","__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(18.2,117.4)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(184,78,0)","_Padding":"lively.rect(0,0,0,0)"},"1642":{"partsSpaceName":"PartsBin/Basic/","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1643":{"morph":{"__isSmartRef__":true,"id":1569},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1644":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":1645},{"__isSmartRef__":true,"id":1646},{"__isSmartRef__":true,"id":1647},{"__isSmartRef__":true,"id":1648},{"__isSmartRef__":true,"id":1649},{"__isSmartRef__":true,"id":1650},{"__isSmartRef__":true,"id":1651},{"__isSmartRef__":true,"id":1652},{"__isSmartRef__":true,"id":1653},{"__isSmartRef__":true,"id":1654},{"__isSmartRef__":true,"id":1655}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"1645":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1646":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1647":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1648":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1649":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1650":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1651":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1652":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1653":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1654":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1655":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1656":{"morph":{"__isSmartRef__":true,"id":1568},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1657":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Demos/","partName":"Windmill","comment":"no comment","changes":[{"__isSmartRef__":true,"id":1658},{"__isSmartRef__":true,"id":1660}],"lastModifiedDate":{"__isSmartRef__":true,"id":1662},"revisionOnLoad":194537,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1658":{"date":{"__isSmartRef__":true,"id":1659},"author":"robertkrahn","message":"Fixed dropping for windmill parts","id":"2FAEB10F-BA66-489C-90DC-205B2609A6AB"},"1659":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:40:22 GMT-0700 (PDT)"},"1660":{"date":{"__isSmartRef__":true,"id":1661},"author":"Fern","message":"no comment","id":"209710A4-1E91-4E84-B078-317116079785"},"1661":{"isSerializedDate":true,"string":"Wed Jul 25 2012 14:52:58 GMT-0700 (PDT)"},"1662":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:38:42 GMT-0700 (PDT)"},"1663":{"morph":{"__isSmartRef__":true,"id":1568},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1664":{"morph":{"__isSmartRef__":true,"id":1568},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1665":{"morph":{"__isSmartRef__":true,"id":1568},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1666":{"morph":{"__isSmartRef__":true,"id":1568},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1667":{"morph":{"__isSmartRef__":true,"id":1568},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1668":{"morph":{"__isSmartRef__":true,"id":1568},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1669":{"morph":{"__isSmartRef__":true,"id":1568},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1670":{"morph":{"__isSmartRef__":true,"id":1568},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1671":{"morph":{"__isSmartRef__":true,"id":1568},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1672":{"morph":{"__isSmartRef__":true,"id":1568},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1673":{"morph":{"__isSmartRef__":true,"id":1568},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1674":{},"1675":{"rotate":{"__isSmartRef__":true,"id":1676},"getHaloClasses":{"__isSmartRef__":true,"id":1679}},"1676":{"varMapping":{"__isSmartRef__":true,"id":1677},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":1678},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1677":{"this":{"__isSmartRef__":true,"id":1568}},"1678":{},"1679":{"varMapping":{"__isSmartRef__":true,"id":1680},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":1685},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1680":{"this":{"__isSmartRef__":true,"id":1568},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1681}},"1681":{"$super":{"__isSmartRef__":true,"id":1682}},"1682":{"varMapping":{"__isSmartRef__":true,"id":1683},"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":1684},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1683":{"obj":{"__isSmartRef__":true,"id":1568},"name":"getHaloClasses"},"1684":{},"1685":{},"1686":{"_BorderWidth":0,"__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"Color.rgb(223,223,249)","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"1687":{"morph":{"__isSmartRef__":true,"id":1535},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1688":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"1689":{"morph":{"__isSmartRef__":true,"id":1534},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1690":{"innerMorph":{"__isSmartRef__":true,"id":1691},"beCommanderMorph":{"__isSmartRef__":true,"id":1694},"copyTraitTo":{"__isSmartRef__":true,"id":1697},"makeNewClone":{"__isSmartRef__":true,"id":1700},"prepareToCommand":{"__isSmartRef__":true,"id":1703},"removeCloneReferences":{"__isSmartRef__":true,"id":1706},"unwrapForClones":{"__isSmartRef__":true,"id":1709},"wrapForClones":{"__isSmartRef__":true,"id":1712},"wrapAddMorph":{"__isSmartRef__":true,"id":1715}},"1691":{"varMapping":{"__isSmartRef__":true,"id":1692},"source":"function innerMorph() {return this.submorphs[0]}","funcProperties":{"__isSmartRef__":true,"id":1693},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1692":{"this":{"__isSmartRef__":true,"id":1534}},"1693":{},"1694":{"varMapping":{"__isSmartRef__":true,"id":1695},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":1696},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1695":{"this":{"__isSmartRef__":true,"id":1534}},"1696":{},"1697":{"varMapping":{"__isSmartRef__":true,"id":1698},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":1699},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1698":{"this":{"__isSmartRef__":true,"id":1534}},"1699":{},"1700":{"varMapping":{"__isSmartRef__":true,"id":1701},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":1717},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1716":{"this":{"__isSmartRef__":true,"id":1534}},"1717":{},"1718":{"submorphs":[{"__isSmartRef__":true,"id":1719}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1872},"eventHandler":{"__isSmartRef__":true,"id":1873},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76"],"id":"5082BB78-F6F1-4ECE-982E-1E0DC98A5FBA","droppingEnabled":true,"halosEnabled":true,"_Rotation":5.340707511102648,"name":"slice10","commandedClones":[{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":246},{"__isSmartRef__":true,"id":430},{"__isSmartRef__":true,"id":614},{"__isSmartRef__":true,"id":798},{"__isSmartRef__":true,"id":982},{"__isSmartRef__":true,"id":1166},{"__isSmartRef__":true,"id":1350},{"__isSmartRef__":true,"id":1534}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":61},"__serializedExpressions__":["_Position","_Scale"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1874},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","_Scale":"lively.pt(-1.0,1.0)"},"1719":{"submorphs":[{"__isSmartRef__":true,"id":1720},{"__isSmartRef__":true,"id":1752}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1870},"eventHandler":{"__isSmartRef__":true,"id":1871},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76","D3FFEC01-F0FE-4B36-BDBD-35E409EB1D0B"],"id":"9974D687-8EBD-4E3A-A06E-B63F56BCE464","droppingEnabled":true,"halosEnabled":true,"name":"Box1","owner":{"__isSmartRef__":true,"id":1718},"_Rotation":-0.9424777960769379,"commandedClones":[{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":247},{"__isSmartRef__":true,"id":431},{"__isSmartRef__":true,"id":615},{"__isSmartRef__":true,"id":799},{"__isSmartRef__":true,"id":983},{"__isSmartRef__":true,"id":1167},{"__isSmartRef__":true,"id":1351},{"__isSmartRef__":true,"id":1535}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"1720":{"submorphs":[],"scripts":[],"id":"752EF8F1-856E-41F3-8E77-059A62BBB293","shape":{"__isSmartRef__":true,"id":1721},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":1722},"eventHandler":{"__isSmartRef__":true,"id":1746},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","19D9252C-E261-4DAD-8766-214094927866"],"partTests":{"__isSmartRef__":true,"id":1747},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":1719},"isBeingDragged":false,"_Rotation":0.747612341172852,"_Scale":1,"commandedClones":[{"__isSmartRef__":true,"id":64},{"__isSmartRef__":true,"id":248},{"__isSmartRef__":true,"id":432},{"__isSmartRef__":true,"id":616},{"__isSmartRef__":true,"id":800},{"__isSmartRef__":true,"id":984},{"__isSmartRef__":true,"id":1168},{"__isSmartRef__":true,"id":1352},{"__isSmartRef__":true,"id":1536}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,35.0)","distanceToDragEvent":"lively.pt(82.0,-15.0)"},"1721":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(169.0,19.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,204)","_Padding":"lively.rect(0,0,0,0)"},"1722":{"partsSpaceName":"PartsBin/Basic","comment":"A morph hierarchy visualization with bundle view simulation of attribute connections.","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":1723},{"__isSmartRef__":true,"id":1725},{"__isSmartRef__":true,"id":1727},{"__isSmartRef__":true,"id":1729},{"__isSmartRef__":true,"id":1731},{"__isSmartRef__":true,"id":1733},{"__isSmartRef__":true,"id":1735},{"__isSmartRef__":true,"id":1737},{"__isSmartRef__":true,"id":1739},{"__isSmartRef__":true,"id":1741},{"__isSmartRef__":true,"id":1743}],"lastModifiedDate":{"__isSmartRef__":true,"id":1745},"revisionOnLoad":190152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1723":{"date":{"__isSmartRef__":true,"id":1724},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"1724":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)"},"1725":{"date":{"__isSmartRef__":true,"id":1726},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"1726":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)"},"1727":{"date":{"__isSmartRef__":true,"id":1728},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"1728":{"isSerializedDate":true,"string":"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)"},"1729":{"date":{"__isSmartRef__":true,"id":1730},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"1730":{"isSerializedDate":true,"string":"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)"},"1731":{"date":{"__isSmartRef__":true,"id":1732},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"1732":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)"},"1733":{"date":{"__isSmartRef__":true,"id":1734},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"1734":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)"},"1735":{"date":{"__isSmartRef__":true,"id":1736},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1736":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)"},"1737":{"date":{"__isSmartRef__":true,"id":1738},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"1738":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)"},"1739":{"date":{"__isSmartRef__":true,"id":1740},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"1740":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (PDT)"},"1741":{"date":{"__isSmartRef__":true,"id":1742},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"1742":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (PDT)"},"1743":{"date":{"__isSmartRef__":true,"id":1744},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"1744":{"isSerializedDate":true,"string":"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)"},"1745":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"1746":{"morph":{"__isSmartRef__":true,"id":1720},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1747":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1748}},"1748":{"test01IsMorph":{"__isSmartRef__":true,"id":1749}},"1749":{"varMapping":{"__isSmartRef__":true,"id":1750},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1751},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1750":{"this":{"__isSmartRef__":true,"id":1747}},"1751":{},"1752":{"submorphs":[{"__isSmartRef__":true,"id":1753}],"scripts":[],"id":"3A58A29E-855A-4A0F-A950-35D5AA90E7D1","shape":{"__isSmartRef__":true,"id":1828},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":1840},"showsHalos":false,"name":"Windmill","partsBinMetaInfo":{"__isSmartRef__":true,"id":1841},"controlPoints":[{"__isSmartRef__":true,"id":1847},{"__isSmartRef__":true,"id":1848},{"__isSmartRef__":true,"id":1849},{"__isSmartRef__":true,"id":1850},{"__isSmartRef__":true,"id":1851},{"__isSmartRef__":true,"id":1852},{"__isSmartRef__":true,"id":1853},{"__isSmartRef__":true,"id":1854},{"__isSmartRef__":true,"id":1855},{"__isSmartRef__":true,"id":1856},{"__isSmartRef__":true,"id":1857}],"layout":{"__isSmartRef__":true,"id":1858},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"F3661738-4D30-49FB-A2E9-1BB12EF91DFA","93B0C04D-45AE-4223-B1C1-0A74175A3FC9"],"moved":true,"droppingEnabled":true,"owner":{"__isSmartRef__":true,"id":1719},"_Rotation":138.10540155998328,"_Scale":0.4668708903537401,"commandedClones":[{"__isSmartRef__":true,"id":96},{"__isSmartRef__":true,"id":280},{"__isSmartRef__":true,"id":464},{"__isSmartRef__":true,"id":648},{"__isSmartRef__":true,"id":832},{"__isSmartRef__":true,"id":1016},{"__isSmartRef__":true,"id":1200},{"__isSmartRef__":true,"id":1384},{"__isSmartRef__":true,"id":1568}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1859},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(44.0,146.0)"},"1753":{"submorphs":[{"__isSmartRef__":true,"id":1754}],"scripts":[],"id":"3BFD6B42-924F-470B-BFDA-020EDD97053C","shape":{"__isSmartRef__":true,"id":1825},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1826},"eventHandler":{"__isSmartRef__":true,"id":1827},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1537,"C8C5886E-7D32-4EA6-A1D2-58C3A8F6D57C","CDA47B5D-A3EE-4BFD-B41D-95A66DDCF39E","79581BD8-BD17-4987-9A8A-C134C2899ED7"],"owner":{"__isSmartRef__":true,"id":1752},"droppingEnabled":true,"_Rotation":0.9303658771898514,"_Scale":2.1419197912346117,"commandedClones":[{"__isSmartRef__":true,"id":97},{"__isSmartRef__":true,"id":281},{"__isSmartRef__":true,"id":465},{"__isSmartRef__":true,"id":649},{"__isSmartRef__":true,"id":833},{"__isSmartRef__":true,"id":1017},{"__isSmartRef__":true,"id":1201},{"__isSmartRef__":true,"id":1385},{"__isSmartRef__":true,"id":1569}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(186.1,-154.1)"},"1754":{"submorphs":[{"__isSmartRef__":true,"id":1755}],"scripts":[],"id":"38FA68A0-3062-4719-AEA1-7B8100B54FD0","shape":{"__isSmartRef__":true,"id":1788},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":1800},"showsHalos":false,"name":"Star1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1801},"controlPoints":[{"__isSmartRef__":true,"id":1802},{"__isSmartRef__":true,"id":1803},{"__isSmartRef__":true,"id":1804},{"__isSmartRef__":true,"id":1805},{"__isSmartRef__":true,"id":1806},{"__isSmartRef__":true,"id":1807},{"__isSmartRef__":true,"id":1808},{"__isSmartRef__":true,"id":1809},{"__isSmartRef__":true,"id":1810},{"__isSmartRef__":true,"id":1811},{"__isSmartRef__":true,"id":1812}],"layout":{"__isSmartRef__":true,"id":1813},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"E6E0C2BB-6B2F-4631-9EC8-38467E7EC55A","D86AEB0E-495B-4091-967C-F10FDE68DC02","31BFDFE5-E321-4CB3-BBFC-541989699FB1"],"owner":{"__isSmartRef__":true,"id":1753},"droppingEnabled":true,"_Rotation":4492.202819437567,"_Scale":0.46687089035374,"commandedClones":[{"__isSmartRef__":true,"id":98},{"__isSmartRef__":true,"id":282},{"__isSmartRef__":true,"id":466},{"__isSmartRef__":true,"id":650},{"__isSmartRef__":true,"id":834},{"__isSmartRef__":true,"id":1018},{"__isSmartRef__":true,"id":1202},{"__isSmartRef__":true,"id":1386},{"__isSmartRef__":true,"id":1570}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1814},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(4.7,9.9)"},"1755":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1756},"id":"389AF905-9C55-4283-9D5D-0348F31BFF66","eventHandler":{"__isSmartRef__":true,"id":1757},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":1758},"name":"Ellipse10","partsBinMetaInfo":{"__isSmartRef__":true,"id":1759},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","5EF6BD6B-AFA0-4EDB-B95B-6CA2F240ED33"],"_ClipMode":"visible","isBeingDragged":false,"_Rotation":1.508430294234117,"_Scale":2.1418505601886992,"commandedClones":[{"__isSmartRef__":true,"id":99},{"__isSmartRef__":true,"id":283},{"__isSmartRef__":true,"id":467},{"__isSmartRef__":true,"id":651},{"__isSmartRef__":true,"id":835},{"__isSmartRef__":true,"id":1019},{"__isSmartRef__":true,"id":1203},{"__isSmartRef__":true,"id":1387},{"__isSmartRef__":true,"id":1571}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"owner":{"__isSmartRef__":true,"id":1754},"__serializedExpressions__":["_Position","previousPosition"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1763},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(-42.6,83.4)","previousPosition":"lively.pt(744.0,160.0)"},"1756":{"_ClipMode":"visible","_BorderWidth":1.4080000000000001,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(150.0,43.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(245,33,60)"},"1757":{"morph":{"__isSmartRef__":true,"id":1755},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1758":{},"1759":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","revisionOnLoad":149409,"comment":"undefined","changes":[{"__isSmartRef__":true,"id":1760}],"lastModifiedDate":{"__isSmartRef__":true,"id":1762},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1760":{"date":{"__isSmartRef__":true,"id":1761},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"1761":{"isSerializedDate":true,"string":"Tue Apr 03 2012 00:08:08 GMT-0700 (PDT)"},"1762":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"1763":{"beCommanderMorph":{"__isSmartRef__":true,"id":1764},"copyTraitTo":{"__isSmartRef__":true,"id":1767},"makeNewClone":{"__isSmartRef__":true,"id":1770},"prepareToCommand":{"__isSmartRef__":true,"id":1773},"removeCloneReferences":{"__isSmartRef__":true,"id":1776},"unwrapForClones":{"__isSmartRef__":true,"id":1779},"wrapForClones":{"__isSmartRef__":true,"id":1782},"wrapAddMorph":{"__isSmartRef__":true,"id":1785}},"1764":{"varMapping":{"__isSmartRef__":true,"id":1765},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":1766},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1765":{"this":{"__isSmartRef__":true,"id":1755}},"1766":{},"1767":{"varMapping":{"__isSmartRef__":true,"id":1768},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":1769},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1768":{"this":{"__isSmartRef__":true,"id":1755}},"1769":{},"1770":{"varMapping":{"__isSmartRef__":true,"id":1771},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":1787},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1786":{"this":{"__isSmartRef__":true,"id":1755}},"1787":{},"1788":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":1789},{"__isSmartRef__":true,"id":1790},{"__isSmartRef__":true,"id":1791},{"__isSmartRef__":true,"id":1792},{"__isSmartRef__":true,"id":1793},{"__isSmartRef__":true,"id":1794},{"__isSmartRef__":true,"id":1795},{"__isSmartRef__":true,"id":1796},{"__isSmartRef__":true,"id":1797},{"__isSmartRef__":true,"id":1798},{"__isSmartRef__":true,"id":1799}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"1789":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1790":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1791":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1792":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1793":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1794":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1795":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1796":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1797":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1798":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1799":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1800":{"morph":{"__isSmartRef__":true,"id":1754},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1801":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Demos/","partName":"RotatingStar","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1802":{"morph":{"__isSmartRef__":true,"id":1754},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1803":{"morph":{"__isSmartRef__":true,"id":1754},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1804":{"morph":{"__isSmartRef__":true,"id":1754},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1805":{"morph":{"__isSmartRef__":true,"id":1754},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1806":{"morph":{"__isSmartRef__":true,"id":1754},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1807":{"morph":{"__isSmartRef__":true,"id":1754},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1808":{"morph":{"__isSmartRef__":true,"id":1754},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1809":{"morph":{"__isSmartRef__":true,"id":1754},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1810":{"morph":{"__isSmartRef__":true,"id":1754},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1811":{"morph":{"__isSmartRef__":true,"id":1754},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1812":{"morph":{"__isSmartRef__":true,"id":1754},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1813":{},"1814":{"rotate":{"__isSmartRef__":true,"id":1815},"getHaloClasses":{"__isSmartRef__":true,"id":1818}},"1815":{"varMapping":{"__isSmartRef__":true,"id":1816},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":1817},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1816":{"this":{"__isSmartRef__":true,"id":1754}},"1817":{},"1818":{"varMapping":{"__isSmartRef__":true,"id":1819},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":1824},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1819":{"this":{"__isSmartRef__":true,"id":1754},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1820}},"1820":{"$super":{"__isSmartRef__":true,"id":1821}},"1821":{"varMapping":{"__isSmartRef__":true,"id":1822},"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":1823},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1822":{"obj":{"__isSmartRef__":true,"id":1754},"name":"getHaloClasses"},"1823":{},"1824":{},"1825":{"_BorderWidth":1,"_ClipMode":"visible","__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(18.2,117.4)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(184,78,0)","_Padding":"lively.rect(0,0,0,0)"},"1826":{"partsSpaceName":"PartsBin/Basic/","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1827":{"morph":{"__isSmartRef__":true,"id":1753},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1828":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":1829},{"__isSmartRef__":true,"id":1830},{"__isSmartRef__":true,"id":1831},{"__isSmartRef__":true,"id":1832},{"__isSmartRef__":true,"id":1833},{"__isSmartRef__":true,"id":1834},{"__isSmartRef__":true,"id":1835},{"__isSmartRef__":true,"id":1836},{"__isSmartRef__":true,"id":1837},{"__isSmartRef__":true,"id":1838},{"__isSmartRef__":true,"id":1839}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"1829":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1830":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1831":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1832":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1833":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1834":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1835":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1836":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1837":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1838":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1839":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1840":{"morph":{"__isSmartRef__":true,"id":1752},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1841":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Demos/","partName":"Windmill","comment":"no comment","changes":[{"__isSmartRef__":true,"id":1842},{"__isSmartRef__":true,"id":1844}],"lastModifiedDate":{"__isSmartRef__":true,"id":1846},"revisionOnLoad":194537,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1842":{"date":{"__isSmartRef__":true,"id":1843},"author":"robertkrahn","message":"Fixed dropping for windmill parts","id":"2FAEB10F-BA66-489C-90DC-205B2609A6AB"},"1843":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:40:22 GMT-0700 (PDT)"},"1844":{"date":{"__isSmartRef__":true,"id":1845},"author":"Fern","message":"no comment","id":"209710A4-1E91-4E84-B078-317116079785"},"1845":{"isSerializedDate":true,"string":"Wed Jul 25 2012 14:52:58 GMT-0700 (PDT)"},"1846":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:38:42 GMT-0700 (PDT)"},"1847":{"morph":{"__isSmartRef__":true,"id":1752},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1848":{"morph":{"__isSmartRef__":true,"id":1752},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1849":{"morph":{"__isSmartRef__":true,"id":1752},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1850":{"morph":{"__isSmartRef__":true,"id":1752},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1851":{"morph":{"__isSmartRef__":true,"id":1752},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1852":{"morph":{"__isSmartRef__":true,"id":1752},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1853":{"morph":{"__isSmartRef__":true,"id":1752},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1854":{"morph":{"__isSmartRef__":true,"id":1752},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1855":{"morph":{"__isSmartRef__":true,"id":1752},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1856":{"morph":{"__isSmartRef__":true,"id":1752},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1857":{"morph":{"__isSmartRef__":true,"id":1752},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1858":{},"1859":{"rotate":{"__isSmartRef__":true,"id":1860},"getHaloClasses":{"__isSmartRef__":true,"id":1863}},"1860":{"varMapping":{"__isSmartRef__":true,"id":1861},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":1862},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1861":{"this":{"__isSmartRef__":true,"id":1752}},"1862":{},"1863":{"varMapping":{"__isSmartRef__":true,"id":1864},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":1869},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1864":{"this":{"__isSmartRef__":true,"id":1752},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1865}},"1865":{"$super":{"__isSmartRef__":true,"id":1866}},"1866":{"varMapping":{"__isSmartRef__":true,"id":1867},"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":1868},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1867":{"obj":{"__isSmartRef__":true,"id":1752},"name":"getHaloClasses"},"1868":{},"1869":{},"1870":{"_BorderWidth":0,"__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"Color.rgb(223,223,249)","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"1871":{"morph":{"__isSmartRef__":true,"id":1719},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1872":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"1873":{"morph":{"__isSmartRef__":true,"id":1718},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1874":{"innerMorph":{"__isSmartRef__":true,"id":1875},"beCommanderMorph":{"__isSmartRef__":true,"id":1878},"copyTraitTo":{"__isSmartRef__":true,"id":1881},"makeNewClone":{"__isSmartRef__":true,"id":1884},"prepareToCommand":{"__isSmartRef__":true,"id":1887},"removeCloneReferences":{"__isSmartRef__":true,"id":1890},"unwrapForClones":{"__isSmartRef__":true,"id":1893},"wrapForClones":{"__isSmartRef__":true,"id":1896},"wrapAddMorph":{"__isSmartRef__":true,"id":1899}},"1875":{"varMapping":{"__isSmartRef__":true,"id":1876},"source":"function innerMorph() {return this.submorphs[0]}","funcProperties":{"__isSmartRef__":true,"id":1877},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1876":{"this":{"__isSmartRef__":true,"id":1718}},"1877":{},"1878":{"varMapping":{"__isSmartRef__":true,"id":1879},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":1880},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1879":{"this":{"__isSmartRef__":true,"id":1718}},"1880":{},"1881":{"varMapping":{"__isSmartRef__":true,"id":1882},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":1883},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1882":{"this":{"__isSmartRef__":true,"id":1718}},"1883":{},"1884":{"varMapping":{"__isSmartRef__":true,"id":1885},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":1901},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1900":{"this":{"__isSmartRef__":true,"id":1718}},"1901":{},"1902":{"target":{"__isSmartRef__":true,"id":61},"selector":"step","args":[],"stopped":false,"tickTime":50,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"1903":{"_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-300.0,-300.0)","_Extent":"lively.pt(600.0,600.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(127,230,127)"},"1904":{"morph":{"__isSmartRef__":true,"id":61},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1905":{"step":{"__isSmartRef__":true,"id":1906}},"1906":{"varMapping":{"__isSmartRef__":true,"id":1907},"source":"function step() {\n this.rotateBy(0.02);\n}","funcProperties":{"__isSmartRef__":true,"id":1908},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1907":{"this":{"__isSmartRef__":true,"id":61}},"1908":{"timestamp":{"__isSmartRef__":true,"id":1909},"user":"cschuster","tags":[]},"1909":{"isSerializedDate":true,"string":"Tue Mar 26 2013 13:33:26 GMT-0700 (PDT)"},"1910":{"submorphs":[{"__isSmartRef__":true,"id":1911}],"scripts":[{"__isSmartRef__":true,"id":1954}],"id":"A864F251-4CAF-49FB-8F27-E3F52656D2AC","shape":{"__isSmartRef__":true,"id":1955},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":1967},"showsHalos":false,"name":"CommanderTrait","partsBinMetaInfo":{"__isSmartRef__":true,"id":1968},"controlPoints":[{"__isSmartRef__":true,"id":1972},{"__isSmartRef__":true,"id":1973},{"__isSmartRef__":true,"id":1974},{"__isSmartRef__":true,"id":1975},{"__isSmartRef__":true,"id":1976},{"__isSmartRef__":true,"id":1977},{"__isSmartRef__":true,"id":1978},{"__isSmartRef__":true,"id":1979},{"__isSmartRef__":true,"id":1980},{"__isSmartRef__":true,"id":1981},{"__isSmartRef__":true,"id":1982}],"layout":{"__isSmartRef__":true,"id":1983},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"D0C9B8B6-1252-42B9-A8F2-8407CF7E08AE","166A65DA-236E-4BB6-A3FA-2F91961501E6","0A0B4BBD-45E2-4A50-B7AB-3C5869665545"],"moved":true,"prevScroll":[0,0],"commandedClones":[],"methodsWrappedForClones":["setFill","morphicSetter"],"#startLetters":"setFill","owner":{"__isSmartRef__":true,"id":0},"_Rotation":3538.2964461387087,"_Scale":0.2341502441118475,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1984},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(193.9,766.1)","distanceToDragEvent":"lively.pt(-26.8,-79.4)"},"1911":{"submorphs":[{"__isSmartRef__":true,"id":1912}],"scripts":[],"id":"2D933AB1-46B3-4B1B-AE35-56BF84F8F8C1","shape":{"__isSmartRef__":true,"id":1951},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1952},"eventHandler":{"__isSmartRef__":true,"id":1953},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1537,"C8C5886E-7D32-4EA6-A1D2-58C3A8F6D57C","9FFA7DAB-B547-41C1-B54C-B37A9757629B","57A3DDF2-E7F4-42FF-9EAC-564ACC8801BA","E9A58D56-7DFA-4024-8E80-1887F2F089A4"],"owner":{"__isSmartRef__":true,"id":1910},"prevScroll":[0,0],"commandedClones":[],"methodsWrappedForClones":["setFill","morphicSetter"],"_Rotation":0.9303658771898514,"_Scale":2.1419197912346117,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(186.1,-154.1)"},"1912":{"submorphs":[],"scripts":[{"__isSmartRef__":true,"id":1913}],"id":"69EB7FFA-FFA3-4064-B1C5-003BB5E53D63","shape":{"__isSmartRef__":true,"id":1914},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":1926},"showsHalos":false,"name":"Star1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1927},"controlPoints":[{"__isSmartRef__":true,"id":1928},{"__isSmartRef__":true,"id":1929},{"__isSmartRef__":true,"id":1930},{"__isSmartRef__":true,"id":1931},{"__isSmartRef__":true,"id":1932},{"__isSmartRef__":true,"id":1933},{"__isSmartRef__":true,"id":1934},{"__isSmartRef__":true,"id":1935},{"__isSmartRef__":true,"id":1936},{"__isSmartRef__":true,"id":1937},{"__isSmartRef__":true,"id":1938}],"layout":{"__isSmartRef__":true,"id":1939},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"E6E0C2BB-6B2F-4631-9EC8-38467E7EC55A","11831E6E-B619-4DED-A3FD-A4A2DCFE2A50","8D96A643-2AC4-4AC9-8C3F-D37570C410A6","E3BB8EE0-341D-49FB-973E-87C5CBFD15D1"],"owner":{"__isSmartRef__":true,"id":1911},"prevScroll":[0,0],"commandedClones":[],"methodsWrappedForClones":["setFill","morphicSetter"],"_Rotation":48365.49281671861,"_Scale":0.46687089035374,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1940},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(4.7,9.9)"},"1913":{"target":{"__isSmartRef__":true,"id":1912},"selector":"rotateBy","args":[0.02],"stopped":false,"tickTime":250,"suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"1914":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":1915},{"__isSmartRef__":true,"id":1916},{"__isSmartRef__":true,"id":1917},{"__isSmartRef__":true,"id":1918},{"__isSmartRef__":true,"id":1919},{"__isSmartRef__":true,"id":1920},{"__isSmartRef__":true,"id":1921},{"__isSmartRef__":true,"id":1922},{"__isSmartRef__":true,"id":1923},{"__isSmartRef__":true,"id":1924},{"__isSmartRef__":true,"id":1925}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"1915":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1916":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1917":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1918":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1919":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1920":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1921":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1922":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1923":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1924":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1925":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1926":{"morph":{"__isSmartRef__":true,"id":1912},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1927":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Demos/","partName":"RotatingStar","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1928":{"morph":{"__isSmartRef__":true,"id":1912},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1929":{"morph":{"__isSmartRef__":true,"id":1912},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1930":{"morph":{"__isSmartRef__":true,"id":1912},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1931":{"morph":{"__isSmartRef__":true,"id":1912},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1932":{"morph":{"__isSmartRef__":true,"id":1912},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1933":{"morph":{"__isSmartRef__":true,"id":1912},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1934":{"morph":{"__isSmartRef__":true,"id":1912},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1935":{"morph":{"__isSmartRef__":true,"id":1912},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1936":{"morph":{"__isSmartRef__":true,"id":1912},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1937":{"morph":{"__isSmartRef__":true,"id":1912},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1938":{"morph":{"__isSmartRef__":true,"id":1912},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1939":{},"1940":{"rotate":{"__isSmartRef__":true,"id":1941},"getHaloClasses":{"__isSmartRef__":true,"id":1944}},"1941":{"varMapping":{"__isSmartRef__":true,"id":1942},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":1943},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1942":{"this":{"__isSmartRef__":true,"id":1912}},"1943":{},"1944":{"varMapping":{"__isSmartRef__":true,"id":1945},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":1950},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1945":{"this":{"__isSmartRef__":true,"id":1912},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1946}},"1946":{"$super":{"__isSmartRef__":true,"id":1947}},"1947":{"varMapping":{"__isSmartRef__":true,"id":1948},"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":1949},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1948":{"obj":{"__isSmartRef__":true,"id":1912},"name":"getHaloClasses"},"1949":{},"1950":{},"1951":{"_BorderWidth":1,"_ClipMode":"visible","__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(18.2,117.4)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(184,78,0)","_Padding":"lively.rect(0,0,0,0)"},"1952":{"partsSpaceName":"PartsBin/Basic/","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1953":{"morph":{"__isSmartRef__":true,"id":1911},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1954":{"target":{"__isSmartRef__":true,"id":1910},"selector":"rotateBy","args":[0.02],"stopped":false,"tickTime":250,"suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"1955":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":1956},{"__isSmartRef__":true,"id":1957},{"__isSmartRef__":true,"id":1958},{"__isSmartRef__":true,"id":1959},{"__isSmartRef__":true,"id":1960},{"__isSmartRef__":true,"id":1961},{"__isSmartRef__":true,"id":1962},{"__isSmartRef__":true,"id":1963},{"__isSmartRef__":true,"id":1964},{"__isSmartRef__":true,"id":1965},{"__isSmartRef__":true,"id":1966}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(122,122,15)","_Padding":"lively.rect(0,0,0,0)"},"1956":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1957":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1958":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1959":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1960":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1961":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1962":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1963":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1964":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1965":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1966":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1967":{"morph":{"__isSmartRef__":true,"id":1910},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1968":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Demos/","partName":"Windmill","comment":"no comment","changes":[{"__isSmartRef__":true,"id":1969}],"lastModifiedDate":{"__isSmartRef__":true,"id":1971},"revisionOnLoad":175997,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1969":{"date":{"__isSmartRef__":true,"id":1970},"author":"Fern","message":"no comment","id":"209710A4-1E91-4E84-B078-317116079785"},"1970":{"isSerializedDate":true,"string":"Wed Jul 25 2012 14:52:58 GMT-0700 (PDT)"},"1971":{"isSerializedDate":true,"string":"Thu Feb 28 2013 02:51:13 GMT-0800 (PST)"},"1972":{"morph":{"__isSmartRef__":true,"id":1910},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1973":{"morph":{"__isSmartRef__":true,"id":1910},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1974":{"morph":{"__isSmartRef__":true,"id":1910},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1975":{"morph":{"__isSmartRef__":true,"id":1910},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1976":{"morph":{"__isSmartRef__":true,"id":1910},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1977":{"morph":{"__isSmartRef__":true,"id":1910},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1978":{"morph":{"__isSmartRef__":true,"id":1910},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1979":{"morph":{"__isSmartRef__":true,"id":1910},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1980":{"morph":{"__isSmartRef__":true,"id":1910},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1981":{"morph":{"__isSmartRef__":true,"id":1910},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1982":{"morph":{"__isSmartRef__":true,"id":1910},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1983":{},"1984":{"aboutMe":{"__isSmartRef__":true,"id":1985},"beCommanderMorph":{"__isSmartRef__":true,"id":1989},"makeNewClone":{"__isSmartRef__":true,"id":1993},"yetToDo":{"__isSmartRef__":true,"id":1997},"prepareToCommand":{"__isSmartRef__":true,"id":2001},"wrapForClones":{"__isSmartRef__":true,"id":2005},"unwrapForClones":{"__isSmartRef__":true,"id":2009},"testing":{"__isSmartRef__":true,"id":2013},"copyTraitTo":{"__isSmartRef__":true,"id":2017},"removeCloneReferences":{"__isSmartRef__":true,"id":2021},"wrapAddMorph":{"__isSmartRef__":true,"id":2025}},"1985":{"varMapping":{"__isSmartRef__":true,"id":1986},"source":"function aboutMe() {\n // This object defines a -commander- trait in the style of the \n // original CommanderTurtle in Smalltalk\n // It keeps track of its clones, and forwards all appropriate\n // state-changing methods to them\n // Note that it applies to an entire morphic structure\n}","funcProperties":{"__isSmartRef__":true,"id":1987},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1986":{"this":{"__isSmartRef__":true,"id":1910}},"1987":{"timestamp":{"__isSmartRef__":true,"id":1988},"user":"Dan","tags":[]},"1988":{"isSerializedDate":true,"string":"Sat Mar 09 2013 23:59:27 GMT-0800 (PST)"},"1989":{"varMapping":{"__isSmartRef__":true,"id":1990},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":1991},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1990":{"this":{"__isSmartRef__":true,"id":1910}},"1991":{"timestamp":{"__isSmartRef__":true,"id":1992},"user":"Dan","tags":[]},"1992":{"isSerializedDate":true,"string":"Sun Mar 24 2013 11:09:50 GMT-0700 (PDT)"},"1993":{"varMapping":{"__isSmartRef__":true,"id":1994},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":2027},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2026":{"this":{"__isSmartRef__":true,"id":1910}},"2027":{"timestamp":{"__isSmartRef__":true,"id":2028},"user":"Dan","tags":[]},"2028":{"isSerializedDate":true,"string":"Mon Mar 25 2013 15:46:47 GMT-0700 (PDT)"},"2029":{"submorphs":[],"scripts":[],"id":"9A76A0D5-D226-4FCC-8BB2-95FA9E98DB6C","shape":{"__isSmartRef__":true,"id":2030},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":2031},"textChunks":[{"__isSmartRef__":true,"id":2047},{"__isSmartRef__":true,"id":2049},{"__isSmartRef__":true,"id":2051}],"charsReplaced":"Evaluate...\n$morph('KaleidoscopeMaker').updateDisplayMorph()","lastFindLoc":103,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":2053},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"priorSelectionRange":[16,106],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(848.0,77.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(284.0,-15.0)"},"2030":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__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(634.7,73.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"2031":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":2032},{"__isSmartRef__":true,"id":2034},{"__isSmartRef__":true,"id":2036},{"__isSmartRef__":true,"id":2038},{"__isSmartRef__":true,"id":2040},{"__isSmartRef__":true,"id":2042},{"__isSmartRef__":true,"id":2044}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":2046},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2032":{"date":{"__isSmartRef__":true,"id":2033},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"2033":{"isSerializedDate":true,"string":"Tue Mar 12 2013 09:31:56 GMT-0700 (PDT)"},"2034":{"date":{"__isSmartRef__":true,"id":2035},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2035":{"isSerializedDate":true,"string":"Tue May 08 2012 05:18:18 GMT-0700 (PDT)"},"2036":{"date":{"__isSmartRef__":true,"id":2037},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2037":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:32:09 GMT-0700 (PDT)"},"2038":{"date":{"__isSmartRef__":true,"id":2039},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2039":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:31:43 GMT-0700 (PDT)"},"2040":{"date":{"__isSmartRef__":true,"id":2041},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"2041":{"isSerializedDate":true,"string":"Sun Feb 26 2012 21:20:38 GMT-0800 (PST)"},"2042":{"date":{"__isSmartRef__":true,"id":2043},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2043":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:30:30 GMT-0700 (PDT)"},"2044":{"date":{"__isSmartRef__":true,"id":2045},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"2045":{"isSerializedDate":true,"string":"Tue Mar 12 2013 10:36:22 GMT-0700 (PDT)"},"2046":{"isSerializedDate":true,"string":"Tue Mar 12 2013 10:35:33 GMT-0700 (PDT)"},"2047":{"style":{"__isSmartRef__":true,"id":2048},"morph":{"__isSmartRef__":true,"id":2029},"chunkOwner":{"__isSmartRef__":true,"id":2029},"storedString":"// Evaluate...\n{ $morph('KaleidoscopeMaker').nFold = 5;\n$morph('KaleidoscopeMaker').updateDisplayMorph(); }","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2048":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"18.66666603088379px","fontWeight":"normal","textAlign":"start","backgroundColor":"rgb(255,255,255)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2049":{"_id":"_2","style":{"__isSmartRef__":true,"id":2050},"chunkOwner":{"__isSmartRef__":true,"id":2029},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2050":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2051":{"_id":"_663","style":{"__isSmartRef__":true,"id":2052},"chunkOwner":{"__isSmartRef__":true,"id":2029},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2052":{"color":"rgb(0,128,0)","fontFamily":"Monaco,courier","fontSize":13,"fontWeight":"normal","textAlign":"left","backgroundColor":"rgb(243,243,243)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2053":{"morph":{"__isSmartRef__":true,"id":2029},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2054":{"submorphs":[{"__isSmartRef__":true,"id":2055}],"scripts":[],"id":"B65A793B-93E8-4A42-B6BF-E8397231DB9B","shape":{"__isSmartRef__":true,"id":2241},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"KaleidoscopeMaker","partsBinMetaInfo":{"__isSmartRef__":true,"id":2242},"eventHandler":{"__isSmartRef__":true,"id":2266},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC"],"partTests":{"__isSmartRef__":true,"id":2267},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":0},"isBeingDragged":false,"radius":300,"menu":{"__isSmartRef__":true,"id":2272},"nFold":5,"needsUpdate":false,"displayMorph":{"__isSmartRef__":true,"id":61},"guideLine":{"__isSmartRef__":true,"id":2382},"prevScroll":[0,0],"master":{"__isSmartRef__":true,"id":2055},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2393},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(690.0,208.0)"},"2055":{"submorphs":[{"__isSmartRef__":true,"id":2056}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2211},"eventHandler":{"__isSmartRef__":true,"id":2212},"_ClipMode":"hidden","derivationIds":[],"id":"9054CB5F-C348-4726-8A4A-601BA02A8F76","droppingEnabled":true,"halosEnabled":true,"_Rotation":0.9424777960769379,"name":"slice","owner":{"__isSmartRef__":true,"id":2054},"commandedClones":[{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":246},{"__isSmartRef__":true,"id":430},{"__isSmartRef__":true,"id":614},{"__isSmartRef__":true,"id":798},{"__isSmartRef__":true,"id":982},{"__isSmartRef__":true,"id":1166},{"__isSmartRef__":true,"id":1350},{"__isSmartRef__":true,"id":1534},{"__isSmartRef__":true,"id":1718}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"__serializedExpressions__":["_Position"],"showsHalos":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2213},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"2056":{"submorphs":[{"__isSmartRef__":true,"id":2057},{"__isSmartRef__":true,"id":2089}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2209},"eventHandler":{"__isSmartRef__":true,"id":2210},"_ClipMode":"hidden","derivationIds":["9054CB5F-C348-4726-8A4A-601BA02A8F76"],"id":"D3FFEC01-F0FE-4B36-BDBD-35E409EB1D0B","droppingEnabled":true,"halosEnabled":true,"name":"Box1","owner":{"__isSmartRef__":true,"id":2055},"_Rotation":-0.9424777960769379,"commandedClones":[{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":247},{"__isSmartRef__":true,"id":431},{"__isSmartRef__":true,"id":615},{"__isSmartRef__":true,"id":799},{"__isSmartRef__":true,"id":983},{"__isSmartRef__":true,"id":1167},{"__isSmartRef__":true,"id":1351},{"__isSmartRef__":true,"id":1535},{"__isSmartRef__":true,"id":1719}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"2057":{"submorphs":[],"scripts":[],"id":"19D9252C-E261-4DAD-8766-214094927866","shape":{"__isSmartRef__":true,"id":2058},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":2059},"eventHandler":{"__isSmartRef__":true,"id":2083},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC"],"partTests":{"__isSmartRef__":true,"id":2084},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":2056},"isBeingDragged":false,"_Rotation":0.747612341172852,"_Scale":1,"commandedClones":[{"__isSmartRef__":true,"id":64},{"__isSmartRef__":true,"id":248},{"__isSmartRef__":true,"id":432},{"__isSmartRef__":true,"id":616},{"__isSmartRef__":true,"id":800},{"__isSmartRef__":true,"id":984},{"__isSmartRef__":true,"id":1168},{"__isSmartRef__":true,"id":1352},{"__isSmartRef__":true,"id":1536},{"__isSmartRef__":true,"id":1720}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,35.0)","distanceToDragEvent":"lively.pt(82.0,-15.0)"},"2058":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(169.0,19.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,204)","_Padding":"lively.rect(0,0,0,0)"},"2059":{"partsSpaceName":"PartsBin/Basic","comment":"A morph hierarchy visualization with bundle view simulation of attribute connections.","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":2060},{"__isSmartRef__":true,"id":2062},{"__isSmartRef__":true,"id":2064},{"__isSmartRef__":true,"id":2066},{"__isSmartRef__":true,"id":2068},{"__isSmartRef__":true,"id":2070},{"__isSmartRef__":true,"id":2072},{"__isSmartRef__":true,"id":2074},{"__isSmartRef__":true,"id":2076},{"__isSmartRef__":true,"id":2078},{"__isSmartRef__":true,"id":2080}],"lastModifiedDate":{"__isSmartRef__":true,"id":2082},"revisionOnLoad":190152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2060":{"date":{"__isSmartRef__":true,"id":2061},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"2061":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)"},"2062":{"date":{"__isSmartRef__":true,"id":2063},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"2063":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)"},"2064":{"date":{"__isSmartRef__":true,"id":2065},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"2065":{"isSerializedDate":true,"string":"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)"},"2066":{"date":{"__isSmartRef__":true,"id":2067},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"2067":{"isSerializedDate":true,"string":"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)"},"2068":{"date":{"__isSmartRef__":true,"id":2069},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"2069":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)"},"2070":{"date":{"__isSmartRef__":true,"id":2071},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"2071":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)"},"2072":{"date":{"__isSmartRef__":true,"id":2073},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"2073":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)"},"2074":{"date":{"__isSmartRef__":true,"id":2075},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"2075":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)"},"2076":{"date":{"__isSmartRef__":true,"id":2077},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"2077":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (PDT)"},"2078":{"date":{"__isSmartRef__":true,"id":2079},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"2079":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (PDT)"},"2080":{"date":{"__isSmartRef__":true,"id":2081},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"2081":{"isSerializedDate":true,"string":"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)"},"2082":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"2083":{"morph":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2084":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2085}},"2085":{"test01IsMorph":{"__isSmartRef__":true,"id":2086}},"2086":{"varMapping":{"__isSmartRef__":true,"id":2087},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":2088},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2087":{"this":{"__isSmartRef__":true,"id":2084}},"2088":{},"2089":{"submorphs":[{"__isSmartRef__":true,"id":2090}],"scripts":[{"__isSmartRef__":true,"id":2166}],"id":"93B0C04D-45AE-4223-B1C1-0A74175A3FC9","shape":{"__isSmartRef__":true,"id":2167},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":2179},"showsHalos":false,"name":"Windmill","partsBinMetaInfo":{"__isSmartRef__":true,"id":2180},"controlPoints":[{"__isSmartRef__":true,"id":2186},{"__isSmartRef__":true,"id":2187},{"__isSmartRef__":true,"id":2188},{"__isSmartRef__":true,"id":2189},{"__isSmartRef__":true,"id":2190},{"__isSmartRef__":true,"id":2191},{"__isSmartRef__":true,"id":2192},{"__isSmartRef__":true,"id":2193},{"__isSmartRef__":true,"id":2194},{"__isSmartRef__":true,"id":2195},{"__isSmartRef__":true,"id":2196}],"layout":{"__isSmartRef__":true,"id":2197},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"F3661738-4D30-49FB-A2E9-1BB12EF91DFA"],"moved":true,"droppingEnabled":true,"owner":{"__isSmartRef__":true,"id":2056},"_Rotation":138.10540155998328,"_Scale":0.4668708903537401,"commandedClones":[{"__isSmartRef__":true,"id":96},{"__isSmartRef__":true,"id":280},{"__isSmartRef__":true,"id":464},{"__isSmartRef__":true,"id":648},{"__isSmartRef__":true,"id":832},{"__isSmartRef__":true,"id":1016},{"__isSmartRef__":true,"id":1200},{"__isSmartRef__":true,"id":1384},{"__isSmartRef__":true,"id":1568},{"__isSmartRef__":true,"id":1752}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2198},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(44.0,146.0)"},"2090":{"submorphs":[{"__isSmartRef__":true,"id":2091}],"scripts":[],"id":"79581BD8-BD17-4987-9A8A-C134C2899ED7","shape":{"__isSmartRef__":true,"id":2163},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2164},"eventHandler":{"__isSmartRef__":true,"id":2165},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1537,"C8C5886E-7D32-4EA6-A1D2-58C3A8F6D57C","CDA47B5D-A3EE-4BFD-B41D-95A66DDCF39E"],"owner":{"__isSmartRef__":true,"id":2089},"droppingEnabled":true,"_Rotation":0.9303658771898514,"_Scale":2.1419197912346117,"commandedClones":[{"__isSmartRef__":true,"id":97},{"__isSmartRef__":true,"id":281},{"__isSmartRef__":true,"id":465},{"__isSmartRef__":true,"id":649},{"__isSmartRef__":true,"id":833},{"__isSmartRef__":true,"id":1017},{"__isSmartRef__":true,"id":1201},{"__isSmartRef__":true,"id":1385},{"__isSmartRef__":true,"id":1569},{"__isSmartRef__":true,"id":1753}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(186.1,-154.1)"},"2091":{"submorphs":[{"__isSmartRef__":true,"id":2092}],"scripts":[{"__isSmartRef__":true,"id":2125}],"id":"31BFDFE5-E321-4CB3-BBFC-541989699FB1","shape":{"__isSmartRef__":true,"id":2126},"__layered_droppingEnabled__":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":2138},"showsHalos":false,"name":"Star1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2139},"controlPoints":[{"__isSmartRef__":true,"id":2140},{"__isSmartRef__":true,"id":2141},{"__isSmartRef__":true,"id":2142},{"__isSmartRef__":true,"id":2143},{"__isSmartRef__":true,"id":2144},{"__isSmartRef__":true,"id":2145},{"__isSmartRef__":true,"id":2146},{"__isSmartRef__":true,"id":2147},{"__isSmartRef__":true,"id":2148},{"__isSmartRef__":true,"id":2149},{"__isSmartRef__":true,"id":2150}],"layout":{"__isSmartRef__":true,"id":2151},"_ClipMode":"visible","isBeingDragged":false,"derivationIds":[1630,"E6E0C2BB-6B2F-4631-9EC8-38467E7EC55A","D86AEB0E-495B-4091-967C-F10FDE68DC02"],"owner":{"__isSmartRef__":true,"id":2090},"droppingEnabled":true,"_Rotation":4492.202819437567,"_Scale":0.46687089035374,"commandedClones":[{"__isSmartRef__":true,"id":98},{"__isSmartRef__":true,"id":282},{"__isSmartRef__":true,"id":466},{"__isSmartRef__":true,"id":650},{"__isSmartRef__":true,"id":834},{"__isSmartRef__":true,"id":1018},{"__isSmartRef__":true,"id":1202},{"__isSmartRef__":true,"id":1386},{"__isSmartRef__":true,"id":1570},{"__isSmartRef__":true,"id":1754}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2152},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(4.7,9.9)"},"2092":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2093},"id":"5EF6BD6B-AFA0-4EDB-B95B-6CA2F240ED33","eventHandler":{"__isSmartRef__":true,"id":2094},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":2095},"name":"Ellipse","partsBinMetaInfo":{"__isSmartRef__":true,"id":2096},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":2091},"isBeingDragged":false,"_Rotation":1.508430294234117,"_Scale":2.1418505601886992,"commandedClones":[{"__isSmartRef__":true,"id":99},{"__isSmartRef__":true,"id":283},{"__isSmartRef__":true,"id":467},{"__isSmartRef__":true,"id":651},{"__isSmartRef__":true,"id":835},{"__isSmartRef__":true,"id":1019},{"__isSmartRef__":true,"id":1203},{"__isSmartRef__":true,"id":1387},{"__isSmartRef__":true,"id":1571},{"__isSmartRef__":true,"id":1755}],"methodsWrappedForClones":["setFill","morphicSetter","remove","addMorph"],"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2100},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(-42.6,83.4)"},"2093":{"_ClipMode":"visible","_BorderWidth":1.4080000000000001,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(150.0,43.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(245,33,60)"},"2094":{"morph":{"__isSmartRef__":true,"id":2092},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2095":{},"2096":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","revisionOnLoad":149409,"comment":"undefined","changes":[{"__isSmartRef__":true,"id":2097}],"lastModifiedDate":{"__isSmartRef__":true,"id":2099},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2097":{"date":{"__isSmartRef__":true,"id":2098},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"2098":{"isSerializedDate":true,"string":"Tue Apr 03 2012 00:08:08 GMT-0700 (PDT)"},"2099":{"isSerializedDate":true,"string":"Wed Mar 06 2013 16:25:14 GMT-0800 (PST)"},"2100":{"beCommanderMorph":{"__isSmartRef__":true,"id":2101},"copyTraitTo":{"__isSmartRef__":true,"id":2104},"makeNewClone":{"__isSmartRef__":true,"id":2107},"prepareToCommand":{"__isSmartRef__":true,"id":2110},"removeCloneReferences":{"__isSmartRef__":true,"id":2113},"unwrapForClones":{"__isSmartRef__":true,"id":2116},"wrapForClones":{"__isSmartRef__":true,"id":2119},"wrapAddMorph":{"__isSmartRef__":true,"id":2122}},"2101":{"varMapping":{"__isSmartRef__":true,"id":2102},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":2103},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2102":{"this":{"__isSmartRef__":true,"id":2092}},"2103":{},"2104":{"varMapping":{"__isSmartRef__":true,"id":2105},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":2106},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2105":{"this":{"__isSmartRef__":true,"id":2092}},"2106":{},"2107":{"varMapping":{"__isSmartRef__":true,"id":2108},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":2124},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2123":{"this":{"__isSmartRef__":true,"id":2092}},"2124":{},"2125":{"target":{"__isSmartRef__":true,"id":2091},"selector":"rotateBy","args":[0.05],"stopped":false,"tickTime":50,"suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"2126":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":2127},{"__isSmartRef__":true,"id":2128},{"__isSmartRef__":true,"id":2129},{"__isSmartRef__":true,"id":2130},{"__isSmartRef__":true,"id":2131},{"__isSmartRef__":true,"id":2132},{"__isSmartRef__":true,"id":2133},{"__isSmartRef__":true,"id":2134},{"__isSmartRef__":true,"id":2135},{"__isSmartRef__":true,"id":2136},{"__isSmartRef__":true,"id":2137}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"2127":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2128":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2129":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2130":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2131":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2132":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2133":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2134":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2135":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2136":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2137":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2138":{"morph":{"__isSmartRef__":true,"id":2091},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2139":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Demos/","partName":"RotatingStar","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2140":{"morph":{"__isSmartRef__":true,"id":2091},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2141":{"morph":{"__isSmartRef__":true,"id":2091},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2142":{"morph":{"__isSmartRef__":true,"id":2091},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2143":{"morph":{"__isSmartRef__":true,"id":2091},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2144":{"morph":{"__isSmartRef__":true,"id":2091},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2145":{"morph":{"__isSmartRef__":true,"id":2091},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2146":{"morph":{"__isSmartRef__":true,"id":2091},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2147":{"morph":{"__isSmartRef__":true,"id":2091},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2148":{"morph":{"__isSmartRef__":true,"id":2091},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2149":{"morph":{"__isSmartRef__":true,"id":2091},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2150":{"morph":{"__isSmartRef__":true,"id":2091},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2151":{},"2152":{"rotate":{"__isSmartRef__":true,"id":2153},"getHaloClasses":{"__isSmartRef__":true,"id":2156}},"2153":{"varMapping":{"__isSmartRef__":true,"id":2154},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":2155},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2154":{"this":{"__isSmartRef__":true,"id":2091}},"2155":{},"2156":{"varMapping":{"__isSmartRef__":true,"id":2157},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":2162},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2157":{"this":{"__isSmartRef__":true,"id":2091},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2158}},"2158":{"$super":{"__isSmartRef__":true,"id":2159}},"2159":{"varMapping":{"__isSmartRef__":true,"id":2160},"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":2161},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2160":{"obj":{"__isSmartRef__":true,"id":2091},"name":"getHaloClasses"},"2161":{},"2162":{},"2163":{"_BorderWidth":1,"_ClipMode":"visible","__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(18.2,117.4)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(184,78,0)","_Padding":"lively.rect(0,0,0,0)"},"2164":{"partsSpaceName":"PartsBin/Basic/","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2165":{"morph":{"__isSmartRef__":true,"id":2090},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2166":{"target":{"__isSmartRef__":true,"id":2089},"selector":"rotateBy","args":[0.05],"stopped":false,"tickTime":50,"suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"2167":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":2168},{"__isSmartRef__":true,"id":2169},{"__isSmartRef__":true,"id":2170},{"__isSmartRef__":true,"id":2171},{"__isSmartRef__":true,"id":2172},{"__isSmartRef__":true,"id":2173},{"__isSmartRef__":true,"id":2174},{"__isSmartRef__":true,"id":2175},{"__isSmartRef__":true,"id":2176},{"__isSmartRef__":true,"id":2177},{"__isSmartRef__":true,"id":2178}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"2168":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2169":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2170":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2171":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2172":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2173":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2174":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2175":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2176":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2177":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2178":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2179":{"morph":{"__isSmartRef__":true,"id":2089},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2180":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Demos/","partName":"Windmill","comment":"no comment","changes":[{"__isSmartRef__":true,"id":2181},{"__isSmartRef__":true,"id":2183}],"lastModifiedDate":{"__isSmartRef__":true,"id":2185},"revisionOnLoad":194537,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2181":{"date":{"__isSmartRef__":true,"id":2182},"author":"robertkrahn","message":"Fixed dropping for windmill parts","id":"2FAEB10F-BA66-489C-90DC-205B2609A6AB"},"2182":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:40:22 GMT-0700 (PDT)"},"2183":{"date":{"__isSmartRef__":true,"id":2184},"author":"Fern","message":"no comment","id":"209710A4-1E91-4E84-B078-317116079785"},"2184":{"isSerializedDate":true,"string":"Wed Jul 25 2012 14:52:58 GMT-0700 (PDT)"},"2185":{"isSerializedDate":true,"string":"Mon Mar 25 2013 12:38:42 GMT-0700 (PDT)"},"2186":{"morph":{"__isSmartRef__":true,"id":2089},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2187":{"morph":{"__isSmartRef__":true,"id":2089},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2188":{"morph":{"__isSmartRef__":true,"id":2089},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2189":{"morph":{"__isSmartRef__":true,"id":2089},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2190":{"morph":{"__isSmartRef__":true,"id":2089},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2191":{"morph":{"__isSmartRef__":true,"id":2089},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2192":{"morph":{"__isSmartRef__":true,"id":2089},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2193":{"morph":{"__isSmartRef__":true,"id":2089},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2194":{"morph":{"__isSmartRef__":true,"id":2089},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2195":{"morph":{"__isSmartRef__":true,"id":2089},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2196":{"morph":{"__isSmartRef__":true,"id":2089},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2197":{},"2198":{"rotate":{"__isSmartRef__":true,"id":2199},"getHaloClasses":{"__isSmartRef__":true,"id":2202}},"2199":{"varMapping":{"__isSmartRef__":true,"id":2200},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":2201},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2200":{"this":{"__isSmartRef__":true,"id":2089}},"2201":{},"2202":{"varMapping":{"__isSmartRef__":true,"id":2203},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":2208},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2203":{"this":{"__isSmartRef__":true,"id":2089},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2204}},"2204":{"$super":{"__isSmartRef__":true,"id":2205}},"2205":{"varMapping":{"__isSmartRef__":true,"id":2206},"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":2207},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2206":{"obj":{"__isSmartRef__":true,"id":2089},"name":"getHaloClasses"},"2207":{},"2208":{},"2209":{"_BorderWidth":0,"__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"Color.rgb(223,223,249)","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2210":{"morph":{"__isSmartRef__":true,"id":2056},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2211":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(300.0,300.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2212":{"morph":{"__isSmartRef__":true,"id":2055},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2213":{"innerMorph":{"__isSmartRef__":true,"id":2214},"beCommanderMorph":{"__isSmartRef__":true,"id":2217},"copyTraitTo":{"__isSmartRef__":true,"id":2220},"makeNewClone":{"__isSmartRef__":true,"id":2223},"prepareToCommand":{"__isSmartRef__":true,"id":2226},"removeCloneReferences":{"__isSmartRef__":true,"id":2229},"unwrapForClones":{"__isSmartRef__":true,"id":2232},"wrapForClones":{"__isSmartRef__":true,"id":2235},"wrapAddMorph":{"__isSmartRef__":true,"id":2238}},"2214":{"varMapping":{"__isSmartRef__":true,"id":2215},"source":"function innerMorph() {return this.submorphs[0]}","funcProperties":{"__isSmartRef__":true,"id":2216},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2215":{"this":{"__isSmartRef__":true,"id":2055}},"2216":{},"2217":{"varMapping":{"__isSmartRef__":true,"id":2218},"source":"function beCommanderMorph() {\n // Each node in this morphic structure must have its methods\n // wrapped to delegate them on to all the clones\n // It should be possible to run this method repeatedly as,\n // for instance, to change the set of methods to wrap and delegate\n this.withAllSubmorphsDo(function(ea) {\n this.prepareToCommand.call(ea, this) }.bind(this)); \n}","funcProperties":{"__isSmartRef__":true,"id":2219},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2218":{"this":{"__isSmartRef__":true,"id":2055}},"2219":{},"2220":{"varMapping":{"__isSmartRef__":true,"id":2221},"source":"function copyTraitTo(morph) {\n var self = this;\n ['beCommanderMorph', 'copyTraitTo', 'makeNewClone', 'prepareToCommand', 'removeCloneReferences', 'unwrapForClones', 'wrapForClones', 'wrapAddMorph'].forEach(function(method) {\n morph.addScript(self[method]);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":2222},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2221":{"this":{"__isSmartRef__":true,"id":2055}},"2222":{},"2223":{"varMapping":{"__isSmartRef__":true,"id":2224},"source":"function makeNewClone() {\n // Add a new clone to the array of clones and return it\n var newClone = this.copy();\n\n // Every node (morph) in the clone must be added to the\n // list of clones for the corresponding node in the commander\n var flatCommander = [];\n this.withAllSubmorphsDo(function (ea) {\n flatCommander.push(ea)});\n var flatClone = [];\n newClone.withAllSubmorphsDo(function (ea) {\n ea.stopStepping(); // clone nodes don't tick\n flatClone.push(ea)});\n for (var i=0; i 1) {\n // for now we don't handle arg2 positioning\n // would use # of this clone\n // and then use clone of arg2 with that index\n }\n return ea[methodName].apply(ea, argsForClone); // clone.addMorph\n });\n return morphToAdd});\n}","funcProperties":{"__isSmartRef__":true,"id":2240},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2239":{"this":{"__isSmartRef__":true,"id":2055}},"2240":{},"2241":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(407.0,420.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(191,191,243)","_Padding":"lively.rect(0,0,0,0)"},"2242":{"partsSpaceName":"PartsBin/Basic","comment":"A morph hierarchy visualization with bundle view simulation of attribute connections.","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2245},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2251},{"__isSmartRef__":true,"id":2253},{"__isSmartRef__":true,"id":2255},{"__isSmartRef__":true,"id":2257},{"__isSmartRef__":true,"id":2259},{"__isSmartRef__":true,"id":2261},{"__isSmartRef__":true,"id":2263}],"lastModifiedDate":{"__isSmartRef__":true,"id":2265},"revisionOnLoad":190152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2243":{"date":{"__isSmartRef__":true,"id":2244},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"2244":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)"},"2245":{"date":{"__isSmartRef__":true,"id":2246},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"2246":{"isSerializedDate":true,"string":"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)"},"2247":{"date":{"__isSmartRef__":true,"id":2248},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"2248":{"isSerializedDate":true,"string":"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)"},"2249":{"date":{"__isSmartRef__":true,"id":2250},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"2250":{"isSerializedDate":true,"string":"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)"},"2251":{"date":{"__isSmartRef__":true,"id":2252},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"2252":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)"},"2253":{"date":{"__isSmartRef__":true,"id":2254},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"2254":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)"},"2255":{"date":{"__isSmartRef__":true,"id":2256},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"2256":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)"},"2257":{"date":{"__isSmartRef__":true,"id":2258},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"2258":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)"},"2259":{"date":{"__isSmartRef__":true,"id":2260},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"2260":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (PDT)"},"2261":{"date":{"__isSmartRef__":true,"id":2262},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"2262":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (PDT)"},"2263":{"date":{"__isSmartRef__":true,"id":2264},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"2264":{"isSerializedDate":true,"string":"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)"},"2265":{"isSerializedDate":true,"string":"Thu Feb 28 2013 02:51:13 GMT-0800 (PST)"},"2266":{"morph":{"__isSmartRef__":true,"id":2054},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2267":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2268}},"2268":{"test01IsMorph":{"__isSmartRef__":true,"id":2269}},"2269":{"varMapping":{"__isSmartRef__":true,"id":2270},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":2271},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2270":{"this":{"__isSmartRef__":true,"id":2267}},"2271":{},"2272":{"submorphs":[{"__isSmartRef__":true,"id":2273},{"__isSmartRef__":true,"id":2282},{"__isSmartRef__":true,"id":2288},{"__isSmartRef__":true,"id":2294},{"__isSmartRef__":true,"id":2300},{"__isSmartRef__":true,"id":2306},{"__isSmartRef__":true,"id":2312},{"__isSmartRef__":true,"id":2318},{"__isSmartRef__":true,"id":2324},{"__isSmartRef__":true,"id":2330},{"__isSmartRef__":true,"id":2336},{"__isSmartRef__":true,"id":2342},{"__isSmartRef__":true,"id":2348},{"__isSmartRef__":true,"id":2354},{"__isSmartRef__":true,"id":2360},{"__isSmartRef__":true,"id":2366},{"__isSmartRef__":true,"id":2372}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2380},"eventHandler":{"__isSmartRef__":true,"id":2381},"_ClipMode":"visible","derivationIds":[],"id":"626D4D3B-EE71-4252-82D9-B7551096B9F1","droppingEnabled":true,"halosEnabled":true,"items":[{"__isSmartRef__":true,"id":2281},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2293},{"__isSmartRef__":true,"id":2299},{"__isSmartRef__":true,"id":2305},{"__isSmartRef__":true,"id":2311},{"__isSmartRef__":true,"id":2317},{"__isSmartRef__":true,"id":2323},{"__isSmartRef__":true,"id":2329},{"__isSmartRef__":true,"id":2335},{"__isSmartRef__":true,"id":2341},{"__isSmartRef__":true,"id":2347},{"__isSmartRef__":true,"id":2353},{"__isSmartRef__":true,"id":2359},{"__isSmartRef__":true,"id":2365},{"__isSmartRef__":true,"id":2371}],"itemMorphs":[{"__isSmartRef__":true,"id":2273},{"__isSmartRef__":true,"id":2282},{"__isSmartRef__":true,"id":2288},{"__isSmartRef__":true,"id":2294},{"__isSmartRef__":true,"id":2300},{"__isSmartRef__":true,"id":2306},{"__isSmartRef__":true,"id":2312},{"__isSmartRef__":true,"id":2318},{"__isSmartRef__":true,"id":2324},{"__isSmartRef__":true,"id":2330},{"__isSmartRef__":true,"id":2336},{"__isSmartRef__":true,"id":2342},{"__isSmartRef__":true,"id":2348},{"__isSmartRef__":true,"id":2354},{"__isSmartRef__":true,"id":2360},{"__isSmartRef__":true,"id":2366}],"title":{"__isSmartRef__":true,"id":2372},"remainOnScreen":true,"isEpiMorph":false,"owner":null,"overItemMorph":{"__isSmartRef__":true,"id":2273},"showsHalos":false,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Menu","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(175.0,45.0)"},"2273":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2274},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2278}],"eventHandler":{"__isSmartRef__":true,"id":2280},"_ClipMode":"hidden","derivationIds":[],"id":"B3FC7BFA-927F-4D94-8CEF-444A92BD85DE","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"item":{"__isSmartRef__":true,"id":2281},"owner":{"__isSmartRef__":true,"id":2272},"isSelected":true,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.MenuItem","__SourceModuleName__":"Global.lively.morphic.Widgets","_TextColor":"Color.rgb(255,255,255)","_Position":"lively.pt(0.0,0.0)"},"2274":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":2275},"_BorderRadius":4,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2275":{"stops":[{"__isSmartRef__":true,"id":2276},{"__isSmartRef__":true,"id":2277}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"2276":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(100,131,248)"},"2277":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(34,85,245)"},"2278":{"style":{"__isSmartRef__":true,"id":2279},"chunkOwner":{"__isSmartRef__":true,"id":2273},"_id":"_3375","storedString":"2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2279":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2280":{"morph":{"__isSmartRef__":true,"id":2273},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2281":{"isMenuItem":true,"isListItem":true,"string":"2","value":"2","idx":0},"2282":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2283},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2284}],"eventHandler":{"__isSmartRef__":true,"id":2286},"_ClipMode":"hidden","derivationIds":[],"id":"13ACCA7F-E8D1-4C85-B9A4-777AF819F805","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"item":{"__isSmartRef__":true,"id":2287},"owner":{"__isSmartRef__":true,"id":2272},"isSelected":false,"showsHalos":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.MenuItem","__SourceModuleName__":"Global.lively.morphic.Widgets","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,23.0)"},"2283":{"_BorderWidth":0,"_Fill":null,"_BorderRadius":4,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2284":{"style":{"__isSmartRef__":true,"id":2285},"chunkOwner":{"__isSmartRef__":true,"id":2282},"_id":"_3377","storedString":"3","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2285":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2286":{"morph":{"__isSmartRef__":true,"id":2282},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2287":{"isMenuItem":true,"isListItem":true,"string":"3","value":"3","idx":1},"2288":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2289},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2290}],"eventHandler":{"__isSmartRef__":true,"id":2292},"_ClipMode":"hidden","derivationIds":[],"id":"1C3BAE78-619D-4C62-AF6E-7431B7B1E558","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"item":{"__isSmartRef__":true,"id":2293},"owner":{"__isSmartRef__":true,"id":2272},"isSelected":false,"showsHalos":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.MenuItem","__SourceModuleName__":"Global.lively.morphic.Widgets","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,46.0)"},"2289":{"_BorderWidth":0,"_Fill":null,"_BorderRadius":4,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2290":{"style":{"__isSmartRef__":true,"id":2291},"chunkOwner":{"__isSmartRef__":true,"id":2288},"_id":"_3379","storedString":"4","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2291":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2292":{"morph":{"__isSmartRef__":true,"id":2288},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2293":{"isMenuItem":true,"isListItem":true,"string":"4","value":"4","idx":2},"2294":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2295},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2296}],"eventHandler":{"__isSmartRef__":true,"id":2298},"_ClipMode":"hidden","derivationIds":[],"id":"55A65136-3137-46D4-BBBF-B4E5A095FC3C","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"item":{"__isSmartRef__":true,"id":2299},"owner":{"__isSmartRef__":true,"id":2272},"isSelected":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.MenuItem","__SourceModuleName__":"Global.lively.morphic.Widgets","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,69.0)"},"2295":{"_BorderWidth":0,"_Fill":null,"_BorderRadius":4,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2296":{"style":{"__isSmartRef__":true,"id":2297},"chunkOwner":{"__isSmartRef__":true,"id":2294},"_id":"_3381","storedString":"5","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2297":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2298":{"morph":{"__isSmartRef__":true,"id":2294},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2299":{"isMenuItem":true,"isListItem":true,"string":"5","value":"5","idx":3},"2300":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2301},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2302}],"eventHandler":{"__isSmartRef__":true,"id":2304},"_ClipMode":"hidden","derivationIds":[],"id":"E96DEE86-22DF-45E5-8BDA-98C0512A7AE7","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"item":{"__isSmartRef__":true,"id":2305},"owner":{"__isSmartRef__":true,"id":2272},"isSelected":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.MenuItem","__SourceModuleName__":"Global.lively.morphic.Widgets","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,92.0)"},"2301":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2302":{"style":{"__isSmartRef__":true,"id":2303},"chunkOwner":{"__isSmartRef__":true,"id":2300},"_id":"_3383","storedString":"6","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2303":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2304":{"morph":{"__isSmartRef__":true,"id":2300},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2305":{"isMenuItem":true,"isListItem":true,"string":"6","value":"6","idx":4},"2306":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2307},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2308}],"eventHandler":{"__isSmartRef__":true,"id":2310},"_ClipMode":"hidden","derivationIds":[],"id":"5D32BB9E-5250-42FB-9925-2FD9F79AC581","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"item":{"__isSmartRef__":true,"id":2311},"owner":{"__isSmartRef__":true,"id":2272},"isSelected":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.MenuItem","__SourceModuleName__":"Global.lively.morphic.Widgets","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,115.0)"},"2307":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2308":{"style":{"__isSmartRef__":true,"id":2309},"chunkOwner":{"__isSmartRef__":true,"id":2306},"_id":"_3385","storedString":"7","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2309":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2310":{"morph":{"__isSmartRef__":true,"id":2306},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2311":{"isMenuItem":true,"isListItem":true,"string":"7","value":"7","idx":5},"2312":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2313},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2314}],"eventHandler":{"__isSmartRef__":true,"id":2316},"_ClipMode":"hidden","derivationIds":[],"id":"E8CE069D-BBBE-4E41-975E-2843068FAF9F","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"item":{"__isSmartRef__":true,"id":2317},"owner":{"__isSmartRef__":true,"id":2272},"isSelected":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.MenuItem","__SourceModuleName__":"Global.lively.morphic.Widgets","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,138.0)"},"2313":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2314":{"style":{"__isSmartRef__":true,"id":2315},"chunkOwner":{"__isSmartRef__":true,"id":2312},"_id":"_3387","storedString":"8","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2315":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2316":{"morph":{"__isSmartRef__":true,"id":2312},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2317":{"isMenuItem":true,"isListItem":true,"string":"8","value":"8","idx":6},"2318":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2319},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2320}],"eventHandler":{"__isSmartRef__":true,"id":2322},"_ClipMode":"hidden","derivationIds":[],"id":"E92F5978-EB77-4F36-9CCC-D7515D7B38A5","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"item":{"__isSmartRef__":true,"id":2323},"owner":{"__isSmartRef__":true,"id":2272},"isSelected":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.MenuItem","__SourceModuleName__":"Global.lively.morphic.Widgets","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,161.0)"},"2319":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2320":{"style":{"__isSmartRef__":true,"id":2321},"chunkOwner":{"__isSmartRef__":true,"id":2318},"_id":"_3389","storedString":"9","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2321":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2322":{"morph":{"__isSmartRef__":true,"id":2318},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2323":{"isMenuItem":true,"isListItem":true,"string":"9","value":"9","idx":7},"2324":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2325},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2326}],"eventHandler":{"__isSmartRef__":true,"id":2328},"_ClipMode":"hidden","derivationIds":[],"id":"6D2AE05F-CAAE-436E-A3B4-92E642DDCFB2","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"item":{"__isSmartRef__":true,"id":2329},"owner":{"__isSmartRef__":true,"id":2272},"isSelected":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.MenuItem","__SourceModuleName__":"Global.lively.morphic.Widgets","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,184.0)"},"2325":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2326":{"style":{"__isSmartRef__":true,"id":2327},"chunkOwner":{"__isSmartRef__":true,"id":2324},"_id":"_3391","storedString":"10","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2327":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2328":{"morph":{"__isSmartRef__":true,"id":2324},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2329":{"isMenuItem":true,"isListItem":true,"string":"10","value":"10","idx":8},"2330":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2331},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2332}],"eventHandler":{"__isSmartRef__":true,"id":2334},"_ClipMode":"hidden","derivationIds":[],"id":"461ADB28-E86A-453D-B5B2-755A6514856C","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"item":{"__isSmartRef__":true,"id":2335},"owner":{"__isSmartRef__":true,"id":2272},"isSelected":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.MenuItem","__SourceModuleName__":"Global.lively.morphic.Widgets","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,207.0)"},"2331":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2332":{"style":{"__isSmartRef__":true,"id":2333},"chunkOwner":{"__isSmartRef__":true,"id":2330},"_id":"_3393","storedString":"11","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2333":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2334":{"morph":{"__isSmartRef__":true,"id":2330},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2335":{"isMenuItem":true,"isListItem":true,"string":"11","value":"11","idx":9},"2336":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2337},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2338}],"eventHandler":{"__isSmartRef__":true,"id":2340},"_ClipMode":"hidden","derivationIds":[],"id":"9BEF7E08-99B6-4BD2-A2A2-72A58E1E2815","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"item":{"__isSmartRef__":true,"id":2341},"owner":{"__isSmartRef__":true,"id":2272},"isSelected":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.MenuItem","__SourceModuleName__":"Global.lively.morphic.Widgets","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,230.0)"},"2337":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2338":{"style":{"__isSmartRef__":true,"id":2339},"chunkOwner":{"__isSmartRef__":true,"id":2336},"_id":"_3395","storedString":"12","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2339":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2340":{"morph":{"__isSmartRef__":true,"id":2336},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2341":{"isMenuItem":true,"isListItem":true,"string":"12","value":"12","idx":10},"2342":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2343},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2344}],"eventHandler":{"__isSmartRef__":true,"id":2346},"_ClipMode":"hidden","derivationIds":[],"id":"0AC73BE9-7DB0-4D99-A53A-25F48A715AE2","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"item":{"__isSmartRef__":true,"id":2347},"owner":{"__isSmartRef__":true,"id":2272},"isSelected":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.MenuItem","__SourceModuleName__":"Global.lively.morphic.Widgets","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,253.0)"},"2343":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2344":{"style":{"__isSmartRef__":true,"id":2345},"chunkOwner":{"__isSmartRef__":true,"id":2342},"_id":"_3397","storedString":"13","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2345":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2346":{"morph":{"__isSmartRef__":true,"id":2342},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2347":{"isMenuItem":true,"isListItem":true,"string":"13","value":"13","idx":11},"2348":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2349},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2350}],"eventHandler":{"__isSmartRef__":true,"id":2352},"_ClipMode":"hidden","derivationIds":[],"id":"F0D87C84-7C81-4DBB-AD15-9F71B97C345C","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"item":{"__isSmartRef__":true,"id":2353},"owner":{"__isSmartRef__":true,"id":2272},"isSelected":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.MenuItem","__SourceModuleName__":"Global.lively.morphic.Widgets","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,276.0)"},"2349":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2350":{"style":{"__isSmartRef__":true,"id":2351},"chunkOwner":{"__isSmartRef__":true,"id":2348},"_id":"_3399","storedString":"14","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2351":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2352":{"morph":{"__isSmartRef__":true,"id":2348},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2353":{"isMenuItem":true,"isListItem":true,"string":"14","value":"14","idx":12},"2354":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2355},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2356}],"eventHandler":{"__isSmartRef__":true,"id":2358},"_ClipMode":"hidden","derivationIds":[],"id":"B266EDFF-5546-462F-B1BA-4B956F90F63C","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"item":{"__isSmartRef__":true,"id":2359},"owner":{"__isSmartRef__":true,"id":2272},"isSelected":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.MenuItem","__SourceModuleName__":"Global.lively.morphic.Widgets","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,299.0)"},"2355":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2356":{"style":{"__isSmartRef__":true,"id":2357},"chunkOwner":{"__isSmartRef__":true,"id":2354},"_id":"_3401","storedString":"15","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2357":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2358":{"morph":{"__isSmartRef__":true,"id":2354},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2359":{"isMenuItem":true,"isListItem":true,"string":"15","value":"15","idx":13},"2360":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2361},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2362}],"eventHandler":{"__isSmartRef__":true,"id":2364},"_ClipMode":"hidden","derivationIds":[],"id":"B89116D3-8266-47E0-9F08-1B7F51D8B91B","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"item":{"__isSmartRef__":true,"id":2365},"owner":{"__isSmartRef__":true,"id":2272},"isSelected":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.MenuItem","__SourceModuleName__":"Global.lively.morphic.Widgets","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,322.0)"},"2361":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2362":{"style":{"__isSmartRef__":true,"id":2363},"chunkOwner":{"__isSmartRef__":true,"id":2360},"_id":"_3403","storedString":"16","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2363":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2364":{"morph":{"__isSmartRef__":true,"id":2360},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2365":{"isMenuItem":true,"isListItem":true,"string":"16","value":"16","idx":14},"2366":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2367},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2368}],"eventHandler":{"__isSmartRef__":true,"id":2370},"_ClipMode":"hidden","derivationIds":[],"id":"04D01F3D-FBA3-4907-AC99-EA14895C7737","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"item":{"__isSmartRef__":true,"id":2371},"owner":{"__isSmartRef__":true,"id":2272},"isSelected":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.MenuItem","__SourceModuleName__":"Global.lively.morphic.Widgets","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,345.0)"},"2367":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2368":{"style":{"__isSmartRef__":true,"id":2369},"chunkOwner":{"__isSmartRef__":true,"id":2366},"_id":"_3405","storedString":"17","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2369":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2370":{"morph":{"__isSmartRef__":true,"id":2366},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2371":{"isMenuItem":true,"isListItem":true,"string":"17","value":"17","idx":15},"2372":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2373},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2377}],"eventHandler":{"__isSmartRef__":true,"id":2379},"_ClipMode":"hidden","derivationIds":[],"id":"C81DA894-E074-4848-A01E-C4F73B525F0B","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":2272},"showsHalos":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(33,33,33)","_Position":"lively.pt(0.0,-25.0)"},"2373":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":2374},"_BorderRadius":4,"_BorderStyle":"outset","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,25.0)","_Padding":"lively.rect(5,5,0,0)","_BorderColor":"Color.rgb(243,243,243)"},"2374":{"stops":[{"__isSmartRef__":true,"id":2375},{"__isSmartRef__":true,"id":2376}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"2375":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(255,255,255)"},"2376":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"2377":{"style":{"__isSmartRef__":true,"id":2378},"chunkOwner":{"__isSmartRef__":true,"id":2372},"_id":"_3407","storedString":"Add or edit shapes\nin w...","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2378":{"fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2379":{"morph":{"__isSmartRef__":true,"id":2372},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2380":{"_BorderWidth":1,"_Opacity":0.95,"_BorderRadius":4,"_BorderStyle":"outset","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(154.0,368.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(230,230,230)","_Fill":"Color.rgb(249,249,249)"},"2381":{"morph":{"__isSmartRef__":true,"id":2272},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2382":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2383},"eventHandler":{"__isSmartRef__":true,"id":2388},"_ClipMode":"visible","derivationIds":[],"id":"33C882C1-47BF-4F13-AC9F-4E4CFBBA0342","droppingEnabled":true,"halosEnabled":true,"owner":null,"eventsAreIgnored":true,"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":2389},{"__isSmartRef__":true,"id":2390},{"__isSmartRef__":true,"id":2391},{"__isSmartRef__":true,"id":2392}],"prevScroll":[0,0],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(0.0,0.0)"},"2383":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":2384},{"__isSmartRef__":true,"id":2385},{"__isSmartRef__":true,"id":2386},{"__isSmartRef__":true,"id":2387}],"_BorderWidth":1,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-1.0,-1.0)","_Extent":"lively.pt(177.3,301.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2384":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2385":{"isAbsolute":true,"x":176.33557568774197,"y":242.7050983124842,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2386":{"isAbsolute":true,"x":92.70509831248424,"y":285.31695488854604,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2387":{"isAbsolute":true,"x":1.8369701987210297e-14,"y":300,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"2388":{"morph":{"__isSmartRef__":true,"id":2382},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2389":{"morph":{"__isSmartRef__":true,"id":2382},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2390":{"morph":{"__isSmartRef__":true,"id":2382},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2391":{"morph":{"__isSmartRef__":true,"id":2382},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2392":{"morph":{"__isSmartRef__":true,"id":2382},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"2393":{"reset":{"__isSmartRef__":true,"id":2394},"setNFold":{"__isSmartRef__":true,"id":2398},"updateDisplayMorph":{"__isSmartRef__":true,"id":2402},"makeSlice":{"__isSmartRef__":true,"id":2406},"makeMenu":{"__isSmartRef__":true,"id":2410},"aboutMe":{"__isSmartRef__":true,"id":2414},"yetToDo":{"__isSmartRef__":true,"id":2418},"onLoad":{"__isSmartRef__":true,"id":2422}},"2394":{"varMapping":{"__isSmartRef__":true,"id":2395},"source":"function reset() { // this.reset()\n this.setFill(Color.blue.lighter().lighter());\n if (this.displayMorph) this.displayMorph.remove();\n this.radius = 300;\n this.setNFold(7);\n // this.stopStepping();\n // this.startStepping(250, \"updateDisplayMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":2396},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2395":{"this":{"__isSmartRef__":true,"id":2054}},"2396":{"timestamp":{"__isSmartRef__":true,"id":2397},"user":"Dan","tags":[]},"2397":{"isSerializedDate":true,"string":"Tue Mar 05 2013 22:52:52 GMT-0800 (PST)"},"2398":{"varMapping":{"__isSmartRef__":true,"id":2399},"source":"function setNFold(n) { // this.setNFold(5)\n this.nFold = n;\n var r = this.radius, pi = Math.PI, theta = pi/n;\n var vertices = [ pt(0, 0), Point.polar(r, pi/2 - theta), Point.polar(r, pi/2 - theta/2), Point.polar(r, pi/2) ];\n if (this.guideLine) this.guideLine.remove();\n this.guideLine = this.addMorphBack(lively.morphic.Morph.makeLine(vertices, 1, Color.black));\n this.guideLine.ignoreEvents();\n this.guideLine.setPosition(this.innerBounds().topLeft());\n this.updateDisplayMorph();\n }","funcProperties":{"__isSmartRef__":true,"id":2400},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2399":{"this":{"__isSmartRef__":true,"id":2054}},"2400":{"timestamp":{"__isSmartRef__":true,"id":2401},"user":"Dan","tags":[]},"2401":{"isSerializedDate":true,"string":"Tue Mar 05 2013 23:02:55 GMT-0800 (PST)"},"2402":{"varMapping":{"__isSmartRef__":true,"id":2403},"source":"function updateDisplayMorph() { // this.updateDisplayMorph()\n var r = this.radius;\n var theta = Math.PI / this.nFold;\n\n // Build a new kaleidoscope disk at start or after removal\n if (!this.displayMorph || !this.displayMorph.owner) {\n this.displayMorph = lively.morphic.Morph.makeCircle(pt(r+10, r+10), r, 0, Color.black);\n this.displayMorph.setFill(Color.green.lighter());\n this.world().addMorph(this.displayMorph);\n }\n this.displayMorph.removeAllMorphs();\n\n // Make a new slice and copy morphs from the master into it\n var newMaster = this.addMorph(this.makeSlice());\n if (this.master) {\n if (this.master.removeCloneReferences) this.master.removeCloneReferences();\n this.master.innerMorph().submorphs.forEach( function(morph) {\n var p = morph.getPosition();\n var m = newMaster.innerMorph().addMorph(morph);\n m.setPosition(p)});\n this.master.remove(); }\n this.master = this.addMorph(newMaster);\n $morph('CommanderTrait').copyTraitTo(newMaster);\n this.master.beCommanderMorph(); // newSlice becomes the new master\n\n // Make normal and reflected slices as clones\n for (var i=1; i<=this.nFold; i++) {\n var slice1 = this.displayMorph.addMorph(this.master.makeNewClone());\n var slice2 = this.displayMorph.addMorph(this.master.makeNewClone());\n slice2.setScale(pt(-1, 1));\n slice2.rotateBy(-Math.PI + 2*theta);\n slice1.rotateBy(i*2*theta);\n slice2.rotateBy(i*2*theta);\n };\n\n }","funcProperties":{"__isSmartRef__":true,"id":2404},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2403":{"this":{"__isSmartRef__":true,"id":2054}},"2404":{"timestamp":{"__isSmartRef__":true,"id":2405},"user":"Dan","tags":[]},"2405":{"isSerializedDate":true,"string":"Sun Mar 24 2013 08:52:21 GMT-0700 (PDT)"},"2406":{"varMapping":{"__isSmartRef__":true,"id":2407},"source":"function makeSlice() {\n // Make a clipping slice\n var pi = Math.PI;\n var r = this.radius;\n var theta = pi / this.nFold;\n // Two clipping rectangles rotated by theta make the slice\n var slice = lively.morphic.Morph.makeRectangle(0, 0, r, r);\n slice.setFill(null); slice.setBorderWidth(0); slice.setClipMode(\"hidden\");\n var innerRect = slice.copy();\n innerRect.setFill(this.getFill().lighter());\n slice.addMorph(innerRect);\n slice.rotateBy((pi/2 - theta));\n innerRect.rotateBy(-(pi/2 - theta));\n slice.addScript(function innerMorph() {return this.submorphs[0]});\n slice.setName(\"slice\");\n return slice;\n }","funcProperties":{"__isSmartRef__":true,"id":2408},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2407":{"this":{"__isSmartRef__":true,"id":2054}},"2408":{"timestamp":{"__isSmartRef__":true,"id":2409},"user":"Dan","tags":[]},"2409":{"isSerializedDate":true,"string":"Mon Mar 25 2013 15:28:32 GMT-0700 (PDT)"},"2410":{"varMapping":{"__isSmartRef__":true,"id":2411},"source":"function makeMenu() {\n this.menu = new lively.morphic.Menu([]);\n this.menu.addItems(Array.range(2,17).map(function(i) {\n return [i.toString(), this, 'setNFold', i]; }, this));\n this.menu.openIn(this, pt(175,20), true, \"Add or edit shapes\\n\" +\n \"in wedge at left.\\n\" +\n \"Choose number of segments below...\");\n}","funcProperties":{"__isSmartRef__":true,"id":2412},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2411":{"this":{"__isSmartRef__":true,"id":2054}},"2412":{"timestamp":{"__isSmartRef__":true,"id":2413},"user":"Dan","tags":[]},"2413":{"isSerializedDate":true,"string":"Sun Mar 03 2013 22:33:39 GMT-0800 (PST)"},"2414":{"varMapping":{"__isSmartRef__":true,"id":2415},"source":"function aboutMe() {\n // The base morph here is kind of a \"launch pad\"\n // Any morphs dropped on it get copied into a pie-shaped clipping morph\n // which is then rotated and replicated with reflections to make\n // the kaleidoscopic image in the this.displayMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":2416},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2415":{"this":{"__isSmartRef__":true,"id":2054}},"2416":{"timestamp":{"__isSmartRef__":true,"id":2417},"user":"Dan","tags":[]},"2417":{"isSerializedDate":true,"string":"Sun Mar 03 2013 22:51:00 GMT-0800 (PST)"},"2418":{"varMapping":{"__isSmartRef__":true,"id":2419},"source":"function yetToDo() {\n // [X] Make clipping of the slice work\n // [X] Use cloning for better performance\n // [ ] Find why drops in master will not stick to submorphs\n // [ ] Add a menu button for setting nFold\n}","funcProperties":{"__isSmartRef__":true,"id":2420},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2419":{"this":{"__isSmartRef__":true,"id":2054}},"2420":{"timestamp":{"__isSmartRef__":true,"id":2421},"user":"Dan","tags":[]},"2421":{"isSerializedDate":true,"string":"Sun Mar 24 2013 16:20:22 GMT-0700 (PDT)"},"2422":{"varMapping":{"__isSmartRef__":true,"id":2423},"source":"function onLoad() {\n this.master.beCommanderMorph(); // re-do wrapping of methods\n}","funcProperties":{"__isSmartRef__":true,"id":2424},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2423":{"this":{"__isSmartRef__":true,"id":2054}},"2424":{"timestamp":{"__isSmartRef__":true,"id":2425},"user":"Dan","tags":[]},"2425":{"isSerializedDate":true,"string":"Sun Mar 24 2013 08:46:36 GMT-0700 (PDT)"},"2426":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":2427},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"owner":{"__isSmartRef__":true,"id":0},"carriesGrabbedMorphs":false,"_Scale":1.002003004005006,"eventHandler":{"__isSmartRef__":true,"id":2428},"_Rotation":0,"lastScrollTime":1364329944619,"_ClipMode":"visible","__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.HandMorph","__SourceModuleName__":"Global.lively.morphic.Events","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(1338.0,620.0)"},"2427":{"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(2.0,2.0)","_Fill":"Color.rgb(204,0,0)","_Padding":"lively.rect(0,0,0,0)"},"2428":{"morph":{"__isSmartRef__":true,"id":2426},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2429":{"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(2800.0,2900.0)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"2430":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"2431":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2432":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","varMapping":{"__isSmartRef__":true,"id":2433},"updaterString":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) { $upd(v); }\n }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2433":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"2434":{"submorphs":[{"__isSmartRef__":true,"id":2435}],"scripts":[],"id":"17794C56-61B6-4883-B4D2-BA251F673636","shape":{"__isSmartRef__":true,"id":2446},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":2447},"eventHandler":{"__isSmartRef__":true,"id":2547},"derivationIds":[127,"59692BC3-6C7B-4E23-B820-8699260EA722","486BB935-1313-4103-B2A8-642B19437478","18AFFD44-46CD-489E-B1D6-DED43E2B6B06","2608C892-2204-4981-9A87-8E749F8944AB","5535861F-4EA2-44AB-8A40-0538124E0AAC","16C292B3-86E8-4622-B516-27C48263B8CC","87731A20-D455-44D0-97E5-98A7CFD4E417","A17081E7-E597-47ED-BD32-6E4D206BD7D7","CFB4A44C-BFEA-4584-BCBA-AE2A56739200","76B3DD9B-8D01-42BA-A574-AB99D5F899BB","1EBC5512-8F54-4B24-998C-69A285EC8533","DD1165C7-6C1A-4361-A4AE-FCF6F31152FD","4D6D36E8-48F3-408A-B03C-202E4DC182BD","5F3B3E0F-BBC6-4DDA-BAA0-7EFC05FF2011","E0A6B33B-767A-4532-9021-892414520200","F5F5E2B1-5FF0-4E09-B323-AE88A3920B8D","0C7E832A-A741-430F-B295-8BC181D066FE","472AED3B-CB76-49BD-BF49-354A2D568F86","A7C52F65-D140-4791-880F-F7584C7BB570","3516412B-8B36-4E52-9416-6B7FB358BDC2","1840CACC-078C-4795-AD3F-E9D6F8D557A0","1FEDCA25-0131-46FA-840F-DC5F1B05C6CA","C620CED3-0AE9-4097-9AA7-2706A042F9C9","679A861B-40E0-4DB2-B22F-95B454C6978D","FEF39B3C-E634-4825-BAB8-2D44FE647B03","0C359AB4-E7FF-46F2-B050-E84944AAC865"],"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":2548},"prevScroll":[0,0],"moved":true,"headRevision":146469,"_ClipMode":"visible","_Rotation":0,"_Scale":1,"isMetaTool":true,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2549},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","distanceToDragEvent":"lively.pt(171.0,-13.0)"},"2435":{"submorphs":[{"__isSmartRef__":true,"id":2436}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2442},"id":"C8128F10-4796-4247-9454-3221B510EBE4","eventHandler":{"__isSmartRef__":true,"id":2443},"droppingEnabled":true,"halosEnabled":true,"name":"ProgressIndicator","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2444},"derivationIds":[520,"071F18BE-FF28-40F5-ACAD-1916E0D25C38","DF185A10-743D-45FC-B9C2-76E12D908BCF","BF125D2C-596A-4C1E-A5F8-DAE4801E9497","3CEE8CFF-B8F1-4B4B-A405-CB583080252A","D0652878-8F9C-4591-8A82-296898AACDB6","31441DDF-2220-43BE-A99F-69E1FEC68030","14A90039-0D3E-46DC-8445-D42B8E02EB42","681EF5DE-A344-4114-B2F3-B96CE3872524","C0381116-5116-4F33-B082-A411D0E4534E","24E9581E-B008-46EE-9CBC-D5190E100D98","C69D1041-2C5E-48FE-B04C-04E66450658A","4830945B-4FFF-4564-9424-34D7995DAE60","8602C233-B3E7-4682-9B0E-D7549761D934","B4E0E11F-2BED-462E-B708-89D63971856E","EE0144C2-D016-4390-8A67-4E7DEF171C83","F44DF6E4-5F27-440E-AB5F-3721C0A10CA6","73FC6648-DAAF-4673-8CF4-7DA219513F22","B78EB1B5-780C-45F7-B0A7-B988B52B1FF1","DFDB8CD1-72F7-40F4-849B-1F9B866277AB","66111105-B1FC-41F7-BF70-D45118C9E09F","02420416-1E35-4831-AABB-91CD0460CA1A","7C6B2EB2-4510-4A8E-BAFF-5CF0040DD7F5","0503F5A1-1732-4610-9A5A-920D658CA766","07C5AE03-36AD-4849-BACD-27D7D9A2CCF2","9FFF9D73-931C-404C-AA4B-5AC2E7C53504","B1D109CF-D403-4B0A-988D-50F79586DAC1"],"owner":{"__isSmartRef__":true,"id":2434},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":2445},"prevScroll":[0,0],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Image","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(113.5,81.0)","distanceToDragEvent":"lively.pt(39.0,-11.0)"},"2436":{"submorphs":[],"scripts":[],"id":"61666CE5-3636-4410-9C25-E197A203A2C8","shape":{"__isSmartRef__":true,"id":2437},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":257,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"loadedMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":2438},"textChunks":[{"__isSmartRef__":true,"id":2439}],"charsReplaced":"MorphName","lastFindLoc":18,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":2441},"_ClipMode":"visible","derivationIds":[355,"023045B3-2D6B-4425-89FB-F4806D527BE0","DC0C2365-868C-41AE-8369-51C31E91493E","C6D9D314-86A1-4015-970B-F6787F535E1A","6AA4552E-2E85-447E-9033-99D5AA1A94BC","D94BE49C-8A3E-4F1F-BF28-FEDD9B40D213","AA8F0470-654C-4AA2-8135-4607F5429AC5","E0BAABCC-FFB2-4EDF-BAE5-C63CC99B6A97","1A86AE17-73AE-442E-AB36-DD90C6DFC8BC","EF750075-E964-4CD3-B6A4-161511E1D058","CED69CBF-FFA5-45E7-B333-FBACE4F278AC","E56978C1-7424-4C10-8168-11FD3237B540","D5AB2532-A4DC-42D6-AF17-99CBBCEAA848","245866CB-598A-4172-A3A0-A06D4D26C6AD","43B0F12E-5793-43AA-80E1-496774E0EBA6","1B776A8C-0413-475F-8EBD-120BBD91D2BB","F84F2C9A-8003-4E81-833A-83F48C92F3B8","3124B389-9FA4-4348-BC5D-0DFF9C59CD1B","1A1BCBAC-D7CC-4BAE-B8C2-7C693F7327A1","1CB201BA-5E0B-4771-821A-139FA2AEFBC2","195520FA-4816-47A4-B0F5-BA890AFD9DF9","0D15F28A-24C9-46B7-89C5-6D2354728AC1","316FE9D3-62EC-4FD6-9B0F-FFA622B79575","739F3743-9BE1-48C8-813D-C0BFB0DCACA6","01877B3B-7DA7-4222-B011-7B5F4E501862","B8FE7DEE-9568-4BE6-BA12-EA674BA79E08","08EA4866-65F7-416E-810F-77F2E719663A"],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":2435},"_MinTextWidth":257,"_MinTextHeight":null,"previousSelection":[6,6],"_Align":"center","isBeingDragged":false,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-109.0,38.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(179.0,-11.0)"},"2437":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__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(257.0,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"2438":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2439":{"style":{"__isSmartRef__":true,"id":2440},"chunkOwner":{"__isSmartRef__":true,"id":2436},"storedString":"loading part","_id":"_4371","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2440":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2441":{"morph":{"__isSmartRef__":true,"id":2436},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2442":{"_ImageURL":"data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"_ClipMode":"visible","_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Image","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(31.0,31.0)","_Padding":"lively.rect(0,0,0,0)"},"2443":{"morph":{"__isSmartRef__":true,"id":2435},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2444":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2445":{"centeredHorizontal":true,"centeredVertical":true},"2446":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":8.515,"_Opacity":0.8146,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(266.0,223.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"2447":{"partsSpaceName":"PartsBin/iPadWidgets","comment":"This is a placeholder to indicate that a morph is being loaded. It will be replaced by the morph as soon as the requested morph finished loading.","migrationLevel":4,"partName":"LoadingMorph","changes":[{"__isSmartRef__":true,"id":2448},{"__isSmartRef__":true,"id":2450},{"__isSmartRef__":true,"id":2452},{"__isSmartRef__":true,"id":2454},{"__isSmartRef__":true,"id":2456},{"__isSmartRef__":true,"id":2458},{"__isSmartRef__":true,"id":2460},{"__isSmartRef__":true,"id":2462},{"__isSmartRef__":true,"id":2464},{"__isSmartRef__":true,"id":2466},{"__isSmartRef__":true,"id":2468},{"__isSmartRef__":true,"id":2470},{"__isSmartRef__":true,"id":2472},{"__isSmartRef__":true,"id":2474},{"__isSmartRef__":true,"id":2476},{"__isSmartRef__":true,"id":2478},{"__isSmartRef__":true,"id":2480},{"__isSmartRef__":true,"id":2482},{"__isSmartRef__":true,"id":2484},{"__isSmartRef__":true,"id":2486},{"__isSmartRef__":true,"id":2488},{"__isSmartRef__":true,"id":2490},{"__isSmartRef__":true,"id":2492},{"__isSmartRef__":true,"id":2494},{"__isSmartRef__":true,"id":2496},{"__isSmartRef__":true,"id":2498},{"__isSmartRef__":true,"id":2500},{"__isSmartRef__":true,"id":2502},{"__isSmartRef__":true,"id":2504},{"__isSmartRef__":true,"id":2506},{"__isSmartRef__":true,"id":2508},{"__isSmartRef__":true,"id":2510},{"__isSmartRef__":true,"id":2512},{"__isSmartRef__":true,"id":2514},{"__isSmartRef__":true,"id":2516},{"__isSmartRef__":true,"id":2518},{"__isSmartRef__":true,"id":2520},{"__isSmartRef__":true,"id":2522},{"__isSmartRef__":true,"id":2524},{"__isSmartRef__":true,"id":2526},{"__isSmartRef__":true,"id":2528},{"__isSmartRef__":true,"id":2530},{"__isSmartRef__":true,"id":2532},{"__isSmartRef__":true,"id":2534},{"__isSmartRef__":true,"id":2536},{"__isSmartRef__":true,"id":2538},{"__isSmartRef__":true,"id":2540},{"__isSmartRef__":true,"id":2542},{"__isSmartRef__":true,"id":2544}],"lastModifiedDate":{"__isSmartRef__":true,"id":2546},"revisionOnLoad":194364,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2448":{"date":{"__isSmartRef__":true,"id":2449},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"2449":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:02:04 GMT-0800 (PST)"},"2450":{"date":{"__isSmartRef__":true,"id":2451},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"2451":{"isSerializedDate":true,"string":"Wed Feb 22 2012 03:43:10 GMT-0800 (PST)"},"2452":{"date":{"__isSmartRef__":true,"id":2453},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"2453":{"isSerializedDate":true,"string":"Wed Feb 22 2012 03:36:14 GMT-0800 (PST)"},"2454":{"date":{"__isSmartRef__":true,"id":2455},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"2455":{"isSerializedDate":true,"string":"Wed Feb 22 2012 03:23:04 GMT-0800 (PST)"},"2456":{"date":{"__isSmartRef__":true,"id":2457},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"2457":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:59:45 GMT-0800 (PST)"},"2458":{"date":{"__isSmartRef__":true,"id":2459},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"2459":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:59:10 GMT-0800 (PST)"},"2460":{"date":{"__isSmartRef__":true,"id":2461},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"2461":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:56:54 GMT-0800 (PST)"},"2462":{"date":{"__isSmartRef__":true,"id":2463},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"2463":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:51:05 GMT-0800 (PST)"},"2464":{"date":{"__isSmartRef__":true,"id":2465},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"2465":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:47:19 GMT-0800 (PST)"},"2466":{"date":{"__isSmartRef__":true,"id":2467},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"2467":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:46:25 GMT-0800 (PST)"},"2468":{"date":{"__isSmartRef__":true,"id":2469},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"2469":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:45:05 GMT-0800 (PST)"},"2470":{"date":{"__isSmartRef__":true,"id":2471},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"2471":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:37:15 GMT-0800 (PST)"},"2472":{"date":{"__isSmartRef__":true,"id":2473},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"2473":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:35:29 GMT-0800 (PST)"},"2474":{"date":{"__isSmartRef__":true,"id":2475},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"2475":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:31:52 GMT-0800 (PST)"},"2476":{"date":{"__isSmartRef__":true,"id":2477},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"2477":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:14:10 GMT-0800 (PST)"},"2478":{"date":{"__isSmartRef__":true,"id":2479},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"2479":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:02:56 GMT-0800 (PST)"},"2480":{"date":{"__isSmartRef__":true,"id":2481},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"2481":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:01:50 GMT-0800 (PST)"},"2482":{"date":{"__isSmartRef__":true,"id":2483},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"2483":{"isSerializedDate":true,"string":"Wed Feb 22 2012 01:55:44 GMT-0800 (PST)"},"2484":{"date":{"__isSmartRef__":true,"id":2485},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"2485":{"isSerializedDate":true,"string":"Fri Feb 10 2012 00:45:55 GMT-0800 (PST)"},"2486":{"date":{"__isSmartRef__":true,"id":2487},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"2487":{"isSerializedDate":true,"string":"Wed Feb 08 2012 02:41:50 GMT-0800 (PST)"},"2488":{"date":{"__isSmartRef__":true,"id":2489},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"2489":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:13:49 GMT-0800 (PST)"},"2490":{"date":{"__isSmartRef__":true,"id":2491},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"2491":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:22:07 GMT-0800 (PST)"},"2492":{"date":{"__isSmartRef__":true,"id":2493},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"2493":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:55:14 GMT-0800 (PST)"},"2494":{"date":{"__isSmartRef__":true,"id":2495},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"2495":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:54:35 GMT-0800 (PST)"},"2496":{"date":{"__isSmartRef__":true,"id":2497},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"2497":{"isSerializedDate":true,"string":"Thu Feb 02 2012 04:26:01 GMT-0800 (PST)"},"2498":{"date":{"__isSmartRef__":true,"id":2499},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"2499":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:04:01 GMT-0800 (PST)"},"2500":{"date":{"__isSmartRef__":true,"id":2501},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"2501":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:28:30 GMT-0800 (PST)"},"2502":{"date":{"__isSmartRef__":true,"id":2503},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"2503":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:32:58 GMT-0800 (PST)"},"2504":{"date":{"__isSmartRef__":true,"id":2505},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"2505":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:41:00 GMT-0800 (PST)"},"2506":{"date":{"__isSmartRef__":true,"id":2507},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"2507":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:24:30 GMT-0800 (PST)"},"2508":{"date":{"__isSmartRef__":true,"id":2509},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"2509":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:26:23 GMT-0800 (PST)"},"2510":{"date":{"__isSmartRef__":true,"id":2511},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"2511":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:48:04 GMT-0800 (PST)"},"2512":{"date":{"__isSmartRef__":true,"id":2513},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"2513":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:53:49 GMT-0800 (PST)"},"2514":{"date":{"__isSmartRef__":true,"id":2515},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"2515":{"isSerializedDate":true,"string":"Thu Feb 02 2012 07:49:48 GMT-0800 (PST)"},"2516":{"date":{"__isSmartRef__":true,"id":2517},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"2517":{"isSerializedDate":true,"string":"Thu Feb 02 2012 07:58:43 GMT-0800 (PST)"},"2518":{"date":{"__isSmartRef__":true,"id":2519},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"2519":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:04:28 GMT-0800 (PST)"},"2520":{"date":{"__isSmartRef__":true,"id":2521},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"2521":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:10:27 GMT-0800 (PST)"},"2522":{"date":{"__isSmartRef__":true,"id":2523},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"2523":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:31:50 GMT-0800 (PST)"},"2524":{"date":{"__isSmartRef__":true,"id":2525},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"2525":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:38:26 GMT-0800 (PST)"},"2526":{"date":{"__isSmartRef__":true,"id":2527},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"2527":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:44:11 GMT-0800 (PST)"},"2528":{"date":{"__isSmartRef__":true,"id":2529},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"2529":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:48:14 GMT-0800 (PST)"},"2530":{"date":{"__isSmartRef__":true,"id":2531},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"2531":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:49:47 GMT-0800 (PST)"},"2532":{"date":{"__isSmartRef__":true,"id":2533},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"2533":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:59:48 GMT-0800 (PST)"},"2534":{"date":{"__isSmartRef__":true,"id":2535},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"2535":{"isSerializedDate":true,"string":"Tue Feb 07 2012 03:02:33 GMT-0800 (PST)"},"2536":{"date":{"__isSmartRef__":true,"id":2537},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"2537":{"isSerializedDate":true,"string":"Tue Feb 07 2012 03:03:42 GMT-0800 (PST)"},"2538":{"date":{"__isSmartRef__":true,"id":2539},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"2539":{"isSerializedDate":true,"string":"Thu Feb 09 2012 11:20:11 GMT-0800 (PST)"},"2540":{"date":{"__isSmartRef__":true,"id":2541},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"2541":{"isSerializedDate":true,"string":"Fri Mar 16 2012 07:37:34 GMT-0700 (PDT)"},"2542":{"date":{"__isSmartRef__":true,"id":2543},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"2543":{"isSerializedDate":true,"string":"Fri Mar 16 2012 07:42:29 GMT-0700 (PDT)"},"2544":{"date":{"__isSmartRef__":true,"id":2545},"author":"jenslincke","message":"make it a meta tool","id":"8406E1E5-C48F-4F03-AC17-81AABDE9235E"},"2545":{"isSerializedDate":true,"string":"Fri Mar 22 2013 06:56:05 GMT-0700 (PDT)"},"2546":{"isSerializedDate":true,"string":"Fri Mar 22 2013 06:54:35 GMT-0700 (PDT)"},"2547":{"morph":{"__isSmartRef__":true,"id":2434},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2548":{"adjustForNewBounds":true},"2549":{"loadPart":{"__isSmartRef__":true,"id":2550},"loadFinished":{"__isSmartRef__":true,"id":2554},"loadPartByName":{"__isSmartRef__":true,"id":2558}},"2550":{"varMapping":{"__isSmartRef__":true,"id":2551},"source":"function loadPart(partItem, isAsync) {\n this.partItem = partItem;\n \n this.openInWorld();\n if(partItem.part) {\n this.setExtent(partItem.part.getExtent());\n }\n this.align(this.bounds().center(), $world.visibleBounds().center());\n \n \n if(typeof isAsync === \"function\") {\n this.callback = isAsync;\n }\n\n connect(partItem, 'part', this, \"loadFinished\");\n\n partItem.loadPart(isAsync);\n\n return partItem.part;\n\n}","funcProperties":{"__isSmartRef__":true,"id":2552},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2551":{"this":{"__isSmartRef__":true,"id":2434}},"2552":{"timestamp":{"__isSmartRef__":true,"id":2553},"user":"sstamm","tags":[]},"2553":{"isSerializedDate":true,"string":"Fri Mar 16 2012 07:42:18 GMT-0700 (PDT)"},"2554":{"varMapping":{"__isSmartRef__":true,"id":2555},"source":"function loadFinished(part) {\n if(this.owner === $world.firstHand()) {\n $world.firstHand().removeAllMorphs();\n } else {\n this.owner.addMorph(part);\n part.align(part.bounds().center(), this.bounds().center());\n this.remove();\n }\n disconnect(this.partItem, 'part', this, \"loadFinished\");\n if(this.callback) {\n this.callback(part);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2556},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2555":{"this":{"__isSmartRef__":true,"id":2434}},"2556":{"timestamp":{"__isSmartRef__":true,"id":2557},"user":"sstamm","tags":[]},"2557":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:01:53 GMT-0800 (PST)"},"2558":{"varMapping":{"__isSmartRef__":true,"id":2559},"source":"function loadPartByName(partName, optPartsSpaceName, isAsync) {\n var partItem = lively.PartsBin.getPartItem(partName, optPartsSpaceName);\n return this.loadPart(partItem, isAsync);\n}","funcProperties":{"__isSmartRef__":true,"id":2560},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2559":{"this":{"__isSmartRef__":true,"id":2434}},"2560":{"timestamp":{"__isSmartRef__":true,"id":2561},"user":"sstamm","tags":[]},"2561":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:03:18 GMT-0800 (PST)"},"2562":{"isSerializedDate":true,"string":"Mon Mar 25 2013 22:49:38 GMT-0700 (PDT)"},"2563":{"traitName":"users.robertkrahn.WorldMenuTrait","options":{"__isSmartRef__":true,"id":2564}},"2564":{"override":["morphMenuItems"]},"2565":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/users/Dan/Kaleidoscope2.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"isSimplifiedRegistry":true}}]]>