has no method 'collect'","draggingEnabled":true,"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":203},"eventHandler":{"__isSmartRef__":true,"id":204},"eventStartPos":null,"__LivelyClassName__":"lively.morphic.World"},"1":{"submorphs":[],"scripts":[],"id":257,"shape":{"__isSmartRef__":true,"id":2},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":7},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":8},"showsHalos":false,"_FontSize":25,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":9},"_TextColor":{"__isSmartRef__":true,"id":10},"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"textChunks":[{"__isSmartRef__":true,"id":11}],"charsReplaced":"Use this page as a template for your own worlds","lastFindLoc":-47,"priorSelectionRange":[13,21],"prevScroll":[-2,-2],"_ClipMode":"visible","renderContextTable":{"__isSmartRef__":true,"id":13},"priorExtent":{"__isSmartRef__":true,"id":14},"eventHandler":{"__isSmartRef__":true,"id":15},"_WhiteSpaceHandling":"pre","__LivelyClassName__":"lively.morphic.Text"},"2":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3},"_Extent":{"__isSmartRef__":true,"id":4},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5},"renderContextTable":{"__isSmartRef__":true,"id":6},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4":{"x":521,"y":38,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"6":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7":{"x":23,"y":28,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"8":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"9":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"10":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"11":{"style":{"__isSmartRef__":true,"id":12},"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"Experimental metadata visualization\n","__LivelyClassName__":"lively.morphic.TextChunk"},"12":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"13":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"14":{"x":521,"y":38,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"15":{"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"16":{"submorphs":[],"scripts":[],"id":44,"shape":{"__isSmartRef__":true,"id":17},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":22},"_MaxTextWidth":628,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":20},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":23},"textChunks":[{"__isSmartRef__":true,"id":24}],"charsReplaced":"S","lastFindLoc":158,"priorSelectionRange":[166,166],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":26},"renderContextTable":{"__isSmartRef__":true,"id":27},"eventHandler":{"__isSmartRef__":true,"id":28},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":29},"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.002003004005006,"_WhiteSpaceHandling":"pre-wrap","distanceToDragEvent":{"__isSmartRef__":true,"id":30},"isBeingDragged":false,"__LivelyClassName__":"lively.morphic.Text"},"17":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":18},"_Extent":{"__isSmartRef__":true,"id":19},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":20},"renderContextTable":{"__isSmartRef__":true,"id":21},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"18":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"19":{"x":628,"y":46,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"20":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"21":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"22":{"x":40,"y":90,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"23":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"24":{"style":{"__isSmartRef__":true,"id":25},"morph":{"__isSmartRef__":true,"id":16},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":16},"storedString":"To start, insert an OData service URL into the \"ServiceURL\" field and press \"Explore...\".\nIt will visualize the metadata of the SAPData / OData service at the service URL.","__LivelyClassName__":"lively.morphic.TextChunk"},"25":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"26":{"x":628,"y":46,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"27":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"28":{"morph":{"__isSmartRef__":true,"id":16},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"29":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"30":{"x":375,"y":-15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"31":{"submorphs":[],"scripts":[],"id":275,"shape":{"__isSmartRef__":true,"id":32},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":37},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":35},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":38},"textChunks":[{"__isSmartRef__":true,"id":39}],"charsReplaced":"To start, insert an OData service URL into the \"ServiceURL\" field and press \"Explore...\".\nIt will visualize the metadata of the SAPData / OData service at the service URL.","lastFindLoc":-171,"priorSelectionRange":[4,4],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":41},"renderContextTable":{"__isSmartRef__":true,"id":42},"eventHandler":{"__isSmartRef__":true,"id":43},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":44},"_WhiteSpaceHandling":"pre","distanceToDragEvent":{"__isSmartRef__":true,"id":45},"isBeingDragged":false,"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.002003004005006,"__LivelyClassName__":"lively.morphic.Text"},"32":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":33},"_Extent":{"__isSmartRef__":true,"id":34},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":35},"renderContextTable":{"__isSmartRef__":true,"id":36},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"33":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"34":{"x":106,"y":28,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"35":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"36":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"37":{"x":40,"y":160,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"38":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"39":{"style":{"__isSmartRef__":true,"id":40},"morph":{"__isSmartRef__":true,"id":31},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":31},"storedString":"ServiceURL:","__LivelyClassName__":"lively.morphic.TextChunk"},"40":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"41":{"x":106,"y":28,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"42":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"43":{"morph":{"__isSmartRef__":true,"id":31},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"44":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"45":{"x":65.00000000000003,"y":-20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"46":{"submorphs":[],"scripts":[],"id":549,"shape":{"__isSmartRef__":true,"id":47},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":53},"_MaxTextWidth":600,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":54},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"serviceURL","partsBinMetaInfo":{"__isSmartRef__":true,"id":55},"textChunks":[{"__isSmartRef__":true,"id":56}],"charsReplaced":"To start, insert an OData service URL into the \"ServiceURL\" field and press \"Explore...\".\nIt will visualize the metadata of the SAPData / OData service at the service URL.","lastFindLoc":-171,"priorSelectionRange":[64,64],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":58},"renderContextTable":{"__isSmartRef__":true,"id":59},"eventHandler":{"__isSmartRef__":true,"id":60},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":61},"_WhiteSpaceHandling":"pre-wrap","distanceToDragEvent":{"__isSmartRef__":true,"id":62},"isBeingDragged":false,"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.002003004005006,"layout":{"__isSmartRef__":true,"id":63},"__LivelyClassName__":"lively.morphic.Text"},"47":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":48},"_Extent":{"__isSmartRef__":true,"id":49},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":50},"renderContextTable":{"__isSmartRef__":true,"id":51},"_BorderRadius":5,"_Opacity":1,"_BorderStyle":"solid","_Fill":{"__isSmartRef__":true,"id":52},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"48":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"49":{"x":600,"y":28,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"50":{"r":0.572,"g":0.572,"b":0.572,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"51":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"52":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"53":{"x":150,"y":160,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"54":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"55":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"56":{"style":{"__isSmartRef__":true,"id":57},"morph":{"__isSmartRef__":true,"id":46},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":46},"storedString":"http://services.odata.org/(S(asp33mq1bcq1qqxbcgikeccu))/OData/OData.svc","__LivelyClassName__":"lively.morphic.TextChunk"},"57":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"normal","__LivelyClassName__":"lively.morphic.TextEmphasis"},"58":{"x":600,"y":28,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"59":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"60":{"morph":{"__isSmartRef__":true,"id":46},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"61":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"62":{"x":71,"y":-18,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"63":{},"64":{"submorphs":[{"__isSmartRef__":true,"id":65}],"scripts":[],"id":1758,"shape":{"__isSmartRef__":true,"id":79},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":94},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":83},"lighterFill":{"__isSmartRef__":true,"id":95},"label":{"__isSmartRef__":true,"id":65},"name":"Explore","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":104},"attributeConnections":[{"__isSmartRef__":true,"id":105}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":106},"renderContextTable":{"__isSmartRef__":true,"id":107},"eventHandler":{"__isSmartRef__":true,"id":108},"distanceToDragEvent":{"__isSmartRef__":true,"id":109},"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.002003004005006,"scriptAnnotations":{"__isSmartRef__":true,"id":110},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":113},"__LivelyClassName__":"lively.morphic.Button"},"65":{"submorphs":[],"scripts":[],"id":1759,"shape":{"__isSmartRef__":true,"id":66},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":71},"_MaxTextWidth":101,"_MaxTextHeight":28,"textStyle":null,"padding":{"__isSmartRef__":true,"id":72},"_Padding":{"__isSmartRef__":true,"id":73},"owner":{"__isSmartRef__":true,"id":64},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":74},"textChunks":[{"__isSmartRef__":true,"id":75}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":77},"eventHandler":{"__isSmartRef__":true,"id":78},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text"},"66":{"position":{"__isSmartRef__":true,"id":67},"_Extent":{"__isSmartRef__":true,"id":68},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":69},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":70},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"67":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"68":{"x":101,"y":28,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"69":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"70":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"71":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"72":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"73":{"x":0,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"74":{"x":101,"y":28,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"75":{"style":{"__isSmartRef__":true,"id":76},"chunkOwner":{"__isSmartRef__":true,"id":65},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Explore...","__LivelyClassName__":"lively.morphic.TextChunk"},"76":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"77":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"78":{"morph":{"__isSmartRef__":true,"id":65},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"79":{"position":{"__isSmartRef__":true,"id":80},"_Extent":{"__isSmartRef__":true,"id":81},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":82},"_Fill":{"__isSmartRef__":true,"id":83},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":93},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"80":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"81":{"x":101,"y":28,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"82":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"83":{"stops":[{"__isSmartRef__":true,"id":84},{"__isSmartRef__":true,"id":86},{"__isSmartRef__":true,"id":88},{"__isSmartRef__":true,"id":90}],"vector":{"__isSmartRef__":true,"id":92},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"84":{"offset":0,"color":{"__isSmartRef__":true,"id":85}},"85":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"86":{"offset":0.4,"color":{"__isSmartRef__":true,"id":87}},"87":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"88":{"offset":0.6,"color":{"__isSmartRef__":true,"id":89}},"89":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"90":{"offset":1,"color":{"__isSmartRef__":true,"id":91}},"91":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"92":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"93":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"94":{"x":770,"y":160,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"95":{"stops":[{"__isSmartRef__":true,"id":96},{"__isSmartRef__":true,"id":98},{"__isSmartRef__":true,"id":100},{"__isSmartRef__":true,"id":102}],"vector":{"__isSmartRef__":true,"id":92},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"96":{"offset":0,"color":{"__isSmartRef__":true,"id":97}},"97":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"98":{"offset":0.4,"color":{"__isSmartRef__":true,"id":99}},"99":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"100":{"offset":0.6,"color":{"__isSmartRef__":true,"id":101}},"101":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"102":{"offset":1,"color":{"__isSmartRef__":true,"id":103}},"103":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"104":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"105":{"sourceObj":{"__isSmartRef__":true,"id":64},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":64},"targetMethodName":"explore","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"106":{"x":101,"y":21,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"107":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"108":{"morph":{"__isSmartRef__":true,"id":64},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"109":{"x":63,"y":-16,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"110":{"explore":{"__isSmartRef__":true,"id":111}},"111":{"time":{"__isSmartRef__":true,"id":112},"user":"markoroeder"},"112":{"isSerializedDate":true,"string":"Mon Aug 15 2011 17:02:06 GMT-0700 (PDT)"},"113":{"explore":{"__isSmartRef__":true,"id":114}},"114":{"varMapping":{"__isSmartRef__":true,"id":115},"source":"function explore() {\n var baseURL = $morph('serviceURL').textString;\n\n var url = new URL(baseURL + '/$metadata');\n var xml = new WebResource(url).get().content;\n var xmlDOM = new DOMParser().parseFromString(xml, \"text/xml\").documentElement;\n\n var conv = new lively.Helper.XMLConverter();\n var json = conv.convertToJSON(xmlDOM);\n\n var edmx = XMLJSONPrettifier.makePretty(json);\n\n var namedArrayToObject = function (arr) {\n var result = {};\n arr.each(function(ea) {\n ea.Name && (result[ea.Name] = ea);\n });\n return result;\n }\n\n var entitySets = Object.clone(namedArrayToObject(JSONPath(edmx, '$..EntityContainer[*].EntitySet')[0]));\n var entityTypes = namedArrayToObject(JSONPath(edmx, '$..EntityType.*'));\n for (var entityName in entitySets) {\n var value = entitySets[entityName];\n if (entitySets.hasOwnProperty(entityName) && (typeof value !== 'function')) {\n if (value.EntityType) {\n var t = value.EntityType.split('.').last();\n delete value.EntityType;\n if (entityTypes[t].Property)\n value.Property = namedArrayToObject(entityTypes[t].Property);\n if (entityTypes[t].NavigationProperty)\n value.NavigationProperty = namedArrayToObject(entityTypes[t].NavigationProperty);\n }\n }\n }\n\n $morph('ODataExplorer').setData(entitySets);\n $morph('ODataExplorer').render();\n}","funcProperties":{"__isSmartRef__":true,"id":116},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"115":{"this":{"__isSmartRef__":true,"id":64}},"116":{},"117":{"submorphs":[],"scripts":[],"id":152,"shape":{"__isSmartRef__":true,"id":118},"droppingEnabled":true,"halosEnabled":true,"data":{"__isSmartRef__":true,"id":122},"doNotSerialize":["vis","_rootNode"],"showsHalos":false,"_Position":{"__isSmartRef__":true,"id":149},"name":"ODataExplorer","partsBinMetaInfo":{"__isSmartRef__":true,"id":150},"__SourceModuleName__":"Global.apps.ProtoVisInterface","renderContextTable":{"__isSmartRef__":true,"id":151},"eventHandler":{"__isSmartRef__":true,"id":152},"connections":{"__isSmartRef__":true,"id":153},"owner":{"__isSmartRef__":true,"id":0},"priorExtent":{"__isSmartRef__":true,"id":155},"attributeConnections":[],"doNotCopyProperties":[],"scriptAnnotations":{"__isSmartRef__":true,"id":156},"maxDataLength":100,"_Rotation":0,"_Scale":1.0040120280581089,"distanceToDragEvent":{"__isSmartRef__":true,"id":165},"grabbingEnabled":false,"isBeingDragged":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":166},"__LivelyClassName__":"ProtoVisMorph"},"118":{"position":{"__isSmartRef__":true,"id":119},"_Extent":{"__isSmartRef__":true,"id":120},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":121},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"119":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"120":{"x":580,"y":580,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"121":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"122":{"Products":{"__isSmartRef__":true,"id":123},"Categories":{"__isSmartRef__":true,"id":135},"Suppliers":{"__isSmartRef__":true,"id":141}},"123":{"Name":"Products","Property":{"__isSmartRef__":true,"id":124},"NavigationProperty":{"__isSmartRef__":true,"id":132}},"124":{"ID":{"__isSmartRef__":true,"id":125},"Name":{"__isSmartRef__":true,"id":126},"Description":{"__isSmartRef__":true,"id":127},"ReleaseDate":{"__isSmartRef__":true,"id":128},"DiscontinuedDate":{"__isSmartRef__":true,"id":129},"Rating":{"__isSmartRef__":true,"id":130},"Price":{"__isSmartRef__":true,"id":131}},"125":{"Name":"ID","Type":"Edm.Int32","Nullable":false},"126":{"Name":"Name","Type":"Edm.String","Nullable":true,"FC_TargetPath":"SyndicationTitle","FC_ContentKind":"text","FC_KeepInContent":false},"127":{"Name":"Description","Type":"Edm.String","Nullable":true,"FC_TargetPath":"SyndicationSummary","FC_ContentKind":"text","FC_KeepInContent":false},"128":{"Name":"ReleaseDate","Type":"Edm.DateTime","Nullable":false},"129":{"Name":"DiscontinuedDate","Type":"Edm.DateTime","Nullable":true},"130":{"Name":"Rating","Type":"Edm.Int32","Nullable":false},"131":{"Name":"Price","Type":"Edm.Decimal","Nullable":false},"132":{"Category":{"__isSmartRef__":true,"id":133},"Supplier":{"__isSmartRef__":true,"id":134}},"133":{"Name":"Category","Relationship":"ODataDemo.Product_Category_Category_Products","FromRole":"Product_Category","ToRole":"Category_Products"},"134":{"Name":"Supplier","Relationship":"ODataDemo.Product_Supplier_Supplier_Products","FromRole":"Product_Supplier","ToRole":"Supplier_Products"},"135":{"Name":"Categories","Property":{"__isSmartRef__":true,"id":136},"NavigationProperty":{"__isSmartRef__":true,"id":139}},"136":{"ID":{"__isSmartRef__":true,"id":137},"Name":{"__isSmartRef__":true,"id":138}},"137":{"Name":"ID","Type":"Edm.Int32","Nullable":false},"138":{"Name":"Name","Type":"Edm.String","Nullable":true,"FC_TargetPath":"SyndicationTitle","FC_ContentKind":"text","FC_KeepInContent":true},"139":{"Products":{"__isSmartRef__":true,"id":140}},"140":{"Name":"Products","Relationship":"ODataDemo.Product_Category_Category_Products","FromRole":"Category_Products","ToRole":"Product_Category"},"141":{"Name":"Suppliers","Property":{"__isSmartRef__":true,"id":142},"NavigationProperty":{"__isSmartRef__":true,"id":147}},"142":{"ID":{"__isSmartRef__":true,"id":143},"Name":{"__isSmartRef__":true,"id":144},"Address":{"__isSmartRef__":true,"id":145},"Concurrency":{"__isSmartRef__":true,"id":146}},"143":{"Name":"ID","Type":"Edm.Int32","Nullable":false},"144":{"Name":"Name","Type":"Edm.String","Nullable":true,"FC_TargetPath":"SyndicationTitle","FC_ContentKind":"text","FC_KeepInContent":true},"145":{"Name":"Address","Type":"ODataDemo.Address","Nullable":false},"146":{"Name":"Concurrency","Type":"Edm.Int32","Nullable":false,"ConcurrencyMode":"Fixed"},"147":{"Products":{"__isSmartRef__":true,"id":148}},"148":{"Name":"Products","Relationship":"ODataDemo.Product_Supplier_Supplier_Products","FromRole":"Supplier_Products","ToRole":"Product_Supplier"},"149":{"x":160,"y":210,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"150":{"migrationLevel":2,"partsSpaceName":"PartsBin/Visualization/","__SourceModuleName__":"Global.lively.PartsBin","partName":"ProtovisDrawing","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"151":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"152":{"morph":{"__isSmartRef__":true,"id":117},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"153":{"addDataAndRender":{"__isSmartRef__":true,"id":154}},"154":{},"155":{"x":722.997999003999,"y":579.0120059760062,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"156":{"reset":{"__isSmartRef__":true,"id":157},"addDataAndRender":{"__isSmartRef__":true,"id":159},"draw":{"__isSmartRef__":true,"id":161},"nodes":{"__isSmartRef__":true,"id":163}},"157":{"time":{"__isSmartRef__":true,"id":158},"user":"robertkrahn"},"158":{"isSerializedDate":true,"string":"Mon Jul 04 2011 07:12:47 GMT-0700 (PDT)"},"159":{"time":{"__isSmartRef__":true,"id":160},"user":"robertkrahn"},"160":{"isSerializedDate":true,"string":"Mon Jul 04 2011 07:14:31 GMT-0700 (PDT)"},"161":{"time":{"__isSmartRef__":true,"id":162},"user":"markoroeder"},"162":{"isSerializedDate":true,"string":"Mon Aug 15 2011 17:04:08 GMT-0700 (PDT)"},"163":{"time":{"__isSmartRef__":true,"id":164},"user":"markoroeder"},"164":{"isSerializedDate":true,"string":"Mon Aug 15 2011 17:04:36 GMT-0700 (PDT)"},"165":{"x":368,"y":-10,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"166":{"draw":{"__isSmartRef__":true,"id":167},"prepareForNewRenderContext":{"__isSmartRef__":true,"id":174},"reset":{"__isSmartRef__":true,"id":181},"nodes":{"__isSmartRef__":true,"id":184}},"167":{"varMapping":{"__isSmartRef__":true,"id":168},"source":"function draw(w, h) {\n var vis = new pv.Panel()\n .width(w)\n .height(h)\n .margin(5)\n .fillStyle(\"white\")\n .event(\"mousedown\", pv.Behavior.pan())\n .event(\"mousewheel\", pv.Behavior.zoom());\n\n var partition = vis.add(pv.Layout.Partition.Fill)\n .nodes(this.nodes().nodes())\n .size(function(d) { return d.firstChild ? 0 : 1; })\n .order(\"descending\")\n .orient(\"radial\");\n\n partition.node.add(pv.Wedge)\n .fillStyle(pv.Colors.category19().by(function(d) {\n return d.parentNode && d.parentNode.nodeName;\n }))\n .strokeStyle(\"#fff\")\n .lineWidth(.5)\n .event(\"click\", function() {\n selectedNode = this.data();\n console.log('Clicked on: ' + this.data());\n });\n\n partition.label.add(pv.Label)\n .visible(function(d) { return d.angle * d.outerRadius >= 6; });\n\n return vis;\n}","funcProperties":{"__isSmartRef__":true,"id":173},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"168":{"this":{"__isSmartRef__":true,"id":117},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":169}},"169":{"$super":{"__isSmartRef__":true,"id":170}},"170":{"varMapping":{"__isSmartRef__":true,"id":171},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":172},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"171":{"obj":{"__isSmartRef__":true,"id":117},"name":"draw"},"172":{},"173":{},"174":{"varMapping":{"__isSmartRef__":true,"id":175},"source":"function prepareForNewRenderContext(renderCtx) {\n $super(renderCtx);\n lively.bindings.callWhenNotNull(Global, 'pv', this, 'render');\n}","funcProperties":{"__isSmartRef__":true,"id":180},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"175":{"this":{"__isSmartRef__":true,"id":117},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":176}},"176":{"$super":{"__isSmartRef__":true,"id":177}},"177":{"varMapping":{"__isSmartRef__":true,"id":178},"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":179},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"178":{"obj":{"__isSmartRef__":true,"id":117},"name":"prepareForNewRenderContext"},"179":{},"180":{},"181":{"varMapping":{"__isSmartRef__":true,"id":182},"source":"function reset() {\n this.connections = {addDataAndRender: {}}\n this.data = [5,8,6,12];\n this.maxDataLength = 100;\n this.setChartType('area');\n}","funcProperties":{"__isSmartRef__":true,"id":183},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"182":{"this":{"__isSmartRef__":true,"id":117}},"183":{},"184":{"varMapping":{"__isSmartRef__":true,"id":185},"source":"function nodes() {\n if (this._rootNode) return this._rootNode;\n\n function create(data) {\n var ignoreKeys = ['_namespace', '_namespaces', '_layer_object_id', 'xmlns', 'Name'];\n\n var node = new pv.Dom.Node;\n for (var key in data) {\n var value = data[key];\n if (!data.hasOwnProperty(key) || ignoreKeys.member(key) || (typeof value == 'function')) continue;\n var subNode = node.appendChild(\n (typeof value != 'object') ? new pv.Dom.Node(value) : create(value)\n );\n subNode.nodeName = key;\n }\n return node;\n }\n\n var root = create(pv.dom(this.data).$map);\n root.nodeName = 'Metadata';\n\n this._rootNode = root;\n return root;\n}","funcProperties":{"__isSmartRef__":true,"id":186},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"185":{"this":{"__isSmartRef__":true,"id":117}},"186":{},"187":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":188},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"_Position":{"__isSmartRef__":true,"id":193},"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"_Scale":1.002003004005006,"renderContextTable":{"__isSmartRef__":true,"id":194},"eventHandler":{"__isSmartRef__":true,"id":195},"_Rotation":0,"__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"188":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":189},"_Extent":{"__isSmartRef__":true,"id":190},"_Fill":{"__isSmartRef__":true,"id":191},"renderContextTable":{"__isSmartRef__":true,"id":192},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"189":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"190":{"x":2,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"191":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"192":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"193":{"x":1124,"y":412,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"194":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"195":{"morph":{"__isSmartRef__":true,"id":187},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"196":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":197},"_Extent":{"__isSmartRef__":true,"id":198},"_Fill":{"__isSmartRef__":true,"id":199},"renderContextTable":{"__isSmartRef__":true,"id":200},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"197":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"198":{"x":2800,"y":2900,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"199":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"200":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"201":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"202":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"203":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"204":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"isSimplifiedRegistry":true}}]]>