has no method 'setCharType'\nTypeError: Object has no method 'setCharType'\n at ProtoVisMorph. (eval at (http://lively-kernel.org/repository/webwerkstatt/generated/combinedModules.js?790d446cc4bb9b86bb9480f531e26336:14820:60))\n at ProtoVisMorph. (http://lively-kernel.org/repository/webwerkstatt/generated/combinedModules.js?790d446cc4bb9b86bb9480f531e26336:14820:55)\n at Text. (http://lively-kernel.org/repository/webwerkstatt/generated/combinedModules.js?790d446cc4bb9b86bb9480f531e26336:14821:32)\n at eval at (http://lively-kernel.org/repository/webwerkstatt/generated/combinedModules.js?790d446cc4bb9b86bb9480f531e26336:3884:29)\n at eval at (http://lively-kernel.org/repository/webwerkstatt/generated/combinedModules.js?790d446cc4bb9b86bb9480f531e26336:3884:29)\n at withLayers (http://lively-kernel.org/repository/webwerkstatt/generated/combinedModules.js?790d446cc4bb9b86bb9480f531e26336:7658:20)\n at bound (http://lively-kernel.org/repository/webwerkstatt/lively/bootstrap.js:766:37)\n at http://lively-kernel.org/repository/webwerkstatt/generated/combinedModules.js?790d446cc4bb9b86bb9480f531e26336:7737:24\n at wrapped (http://lively-kernel.org/repository/webwerkstatt/generated/combinedModules.js?790d446cc4bb9b86bb9480f531e26336:140:22)\n at Text.boundEval (eval at (http://lively-kernel.org/repository/webwerkstatt/generated/combinedModules.js?790d446cc4bb9b86bb9480f531e26336:3884:29))","__layered_draggingEnabled__":true,"renderContextTable":{"__isSmartRef__":true,"id":269},"eventHandler":{"__isSmartRef__":true,"id":270},"eventStartPos":{"__isSmartRef__":true,"id":271},"__LivelyClassName__":"lively.morphic.World"},"1":{"submorphs":[],"scripts":[],"id":232,"shape":{"__isSmartRef__":true,"id":2},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":9},"name":"rectangle","showsHalos":false,"_Rotation":0,"partsBinMetaInfo":{"__isSmartRef__":true,"id":10},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":0},"renderContextTable":{"__isSmartRef__":true,"id":11},"eventHandler":{"__isSmartRef__":true,"id":12},"__LivelyClassName__":"lively.morphic.Box"},"2":{"position":{"__isSmartRef__":true,"id":3},"extent":{"__isSmartRef__":true,"id":4},"borderWidth":1,"borderColor":{"__isSmartRef__":true,"id":5},"fill":{"__isSmartRef__":true,"id":6},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":7},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4":{"x":100,"y":100,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"5":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"6":{"r":0,"g":0,"b":0.8,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"8":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"9":{"x":464,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"10":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"11":{"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","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12":{"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"13":{"submorphs":[],"scripts":[],"id":232,"shape":{"__isSmartRef__":true,"id":14},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":21},"name":"rectangle","showsHalos":false,"_Rotation":0,"partsBinMetaInfo":{"__isSmartRef__":true,"id":22},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":0},"renderContextTable":{"__isSmartRef__":true,"id":23},"eventHandler":{"__isSmartRef__":true,"id":24},"__LivelyClassName__":"lively.morphic.Box"},"14":{"position":{"__isSmartRef__":true,"id":15},"extent":{"__isSmartRef__":true,"id":16},"borderWidth":1,"borderColor":{"__isSmartRef__":true,"id":17},"fill":{"__isSmartRef__":true,"id":18},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":19},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":20},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"15":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"16":{"x":100,"y":100,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"17":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"18":{"r":0,"g":0,"b":0.8,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"19":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"20":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"21":{"x":876,"y":121,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"22":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"23":{"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","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"24":{"morph":{"__isSmartRef__":true,"id":13},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"25":{"submorphs":[],"scripts":[],"id":257,"shape":{"__isSmartRef__":true,"id":26},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":32},"_MaxTextWidth":588,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":33},"showsHalos":false,"_FontSize":25,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"issueTitle","partsBinMetaInfo":{"__isSmartRef__":true,"id":34},"_TextColor":{"__isSmartRef__":true,"id":35},"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"charsReplaced":"No Script Editor in NewWorld [partially fixed]","lastFindLoc":-46,"textChunks":[{"__isSmartRef__":true,"id":36}],"_ClipMode":"visible","priorExtent":{"__isSmartRef__":true,"id":38},"priorSelectionRange":[0,32],"renderContextTable":{"__isSmartRef__":true,"id":39},"eventHandler":{"__isSmartRef__":true,"id":40},"_MinTextWidth":588,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"26":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":27},"_Extent":{"__isSmartRef__":true,"id":28},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":29},"renderContextTable":{"__isSmartRef__":true,"id":30},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":31},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"27":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"28":{"x":588,"y":37,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"29":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"30":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"31":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"32":{"x":32,"y":34,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"33":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"34":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"35":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"36":{"style":{"__isSmartRef__":true,"id":37},"chunkOwner":{"__isSmartRef__":true,"id":25},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Protovis Visualization broken","__LivelyClassName__":"lively.morphic.TextChunk"},"37":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"38":{"x":588,"y":37,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"39":{"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","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","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"},"40":{"morph":{"__isSmartRef__":true,"id":25},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"41":{"submorphs":[],"scripts":[],"id":66,"shape":{"__isSmartRef__":true,"id":42},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":48},"_MaxTextWidth":584,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":45},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"issueDescription","partsBinMetaInfo":{"__isSmartRef__":true,"id":49},"owner":{"__isSmartRef__":true,"id":0},"textChunks":[{"__isSmartRef__":true,"id":50}],"_ClipMode":"visible","priorExtent":{"__isSmartRef__":true,"id":52},"priorSelectionRange":[0,0],"charsReplaced":"Create a world for your bug report","lastFindLoc":-34,"prevScroll":[0,0],"renderContextTable":{"__isSmartRef__":true,"id":53},"eventHandler":{"__isSmartRef__":true,"id":54},"_MinTextWidth":584,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"42":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":43},"_Extent":{"__isSmartRef__":true,"id":44},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":45},"renderContextTable":{"__isSmartRef__":true,"id":46},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":47},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"43":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"44":{"x":584,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"45":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"46":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"47":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"48":{"x":32,"y":85,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"49":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"50":{"style":{"__isSmartRef__":true,"id":51},"chunkOwner":{"__isSmartRef__":true,"id":41},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Description of the issue","__LivelyClassName__":"lively.morphic.TextChunk"},"51":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"52":{"x":584,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"53":{"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","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","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"},"54":{"morph":{"__isSmartRef__":true,"id":41},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"55":{"submorphs":[],"scripts":[],"id":101,"shape":{"__isSmartRef__":true,"id":56},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":62},"_MaxTextWidth":217,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":59},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":63},"textChunks":[{"__isSmartRef__":true,"id":64}],"charsReplaced":"some text ","lastFindLoc":10,"priorSelectionRange":[13,13],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":66},"renderContextTable":{"__isSmartRef__":true,"id":67},"eventHandler":{"__isSmartRef__":true,"id":68},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":69},"owner":{"__isSmartRef__":true,"id":0},"_MinTextWidth":217,"_MinTextHeight":null,"previousSelection":[7,7],"distanceToDragEvent":{"__isSmartRef__":true,"id":70},"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":71},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"56":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":57},"_Extent":{"__isSmartRef__":true,"id":58},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":59},"renderContextTable":{"__isSmartRef__":true,"id":60},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":61},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"57":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"58":{"x":217,"y":26,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"59":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"60":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"61":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"62":{"x":638,"y":47,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"63":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"64":{"style":{"__isSmartRef__":true,"id":65},"morph":{"__isSmartRef__":true,"id":55},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":55},"storedString":"Not fixed yet","__LivelyClassName__":"lively.morphic.TextChunk"},"65":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"66":{"x":217,"y":26,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"67":{"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","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","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"},"68":{"morph":{"__isSmartRef__":true,"id":55},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"69":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"70":{"x":317,"y":-18,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"71":{"r":1,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"72":{"submorphs":[{"__isSmartRef__":true,"id":73},{"__isSmartRef__":true,"id":125}],"scripts":[],"id":2482,"shape":{"__isSmartRef__":true,"id":177},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":185},"showsHalos":false,"name":"ProtovisDrawing","partsBinMetaInfo":{"__isSmartRef__":true,"id":186},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":187},"eventHandler":{"__isSmartRef__":true,"id":188},"layout":{"__isSmartRef__":true,"id":189},"priorExtent":{"__isSmartRef__":true,"id":190},"connections":{"__isSmartRef__":true,"id":191},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.0040100200350561,"distanceToDragEvent":{"__isSmartRef__":true,"id":193},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":194},"__LivelyClassName__":"lively.morphic.Box"},"73":{"submorphs":[],"scripts":[],"id":2483,"shape":{"__isSmartRef__":true,"id":74},"droppingEnabled":true,"halosEnabled":true,"data":[5,8,6,12],"doNotSerialize":["vis"],"showsHalos":false,"_Position":{"__isSmartRef__":true,"id":79},"name":"ProtovisMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":80},"__SourceModuleName__":"Global.apps.ProtoVisInterface","renderContextTable":{"__isSmartRef__":true,"id":81},"eventHandler":{"__isSmartRef__":true,"id":82},"connections":{"__isSmartRef__":true,"id":83},"owner":{"__isSmartRef__":true,"id":72},"priorExtent":{"__isSmartRef__":true,"id":85},"attributeConnections":[],"doNotCopyProperties":[],"scriptAnnotations":{"__isSmartRef__":true,"id":86},"maxDataLength":100,"_Rotation":0,"_Scale":0.9980029960049944,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":91},"__LivelyClassName__":"ProtoVisMorph"},"74":{"position":{"__isSmartRef__":true,"id":75},"_Extent":{"__isSmartRef__":true,"id":76},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":77},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":78},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"75":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"76":{"x":500.997999003999,"y":494.0120059760062,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"77":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"78":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"79":{"x":-253.48227898000812,"y":-190.68801613996595,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"80":{"migrationLevel":2,"partsSpaceName":"PartsBin/Visualization/","__SourceModuleName__":"Global.lively.PartsBin","partName":"ProtovisDrawing","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"81":{"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","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"82":{"morph":{"__isSmartRef__":true,"id":73},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"83":{"addDataAndRender":{"__isSmartRef__":true,"id":84}},"84":{},"85":{"x":500.997999003999,"y":493.0140069720071,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"86":{"reset":{"__isSmartRef__":true,"id":87},"addDataAndRender":{"__isSmartRef__":true,"id":89}},"87":{"time":{"__isSmartRef__":true,"id":88},"user":"robertkrahn"},"88":{"isSerializedDate":true,"string":"Mon Jul 04 2011 16:12:47 GMT+0200 (CEST)"},"89":{"time":{"__isSmartRef__":true,"id":90},"user":"robertkrahn"},"90":{"isSerializedDate":true,"string":"Mon Jul 04 2011 16:14:31 GMT+0200 (CEST)"},"91":{"draw":{"__isSmartRef__":true,"id":92},"prepareForNewRenderContext":{"__isSmartRef__":true,"id":103},"addDataAndRender":{"__isSmartRef__":true,"id":110},"reset":{"__isSmartRef__":true,"id":113},"drawAreaChart":{"__isSmartRef__":true,"id":99},"drawBarChart":{"__isSmartRef__":true,"id":116},"drawPieChart":{"__isSmartRef__":true,"id":119},"setChartType":{"__isSmartRef__":true,"id":122}},"92":{"varMapping":{"__isSmartRef__":true,"id":93},"source":"function drawAreaChart(w, h) {\n\tw = w - 30;\n\th = h - 25;\n\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h)\n\t\t.bottom(20)\n\t\t.left(20)\n\t\t.right(10)\n\t\t.top(5);\n\n\tvar xMin = pv.min(this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t})),\n\t\txMax = Math.max(\n\t\t\tthis.data.length - 1,\n\t\t\tpv.max(this.data.collect(function(d) {\n\t\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t\t}))\n\t\t),\n\t\tyVals = this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[1] : d;\n\t\t}),\n\t\tx = (this.xScale ?\n\t\t\t(this.xScale.hasOwnProperty('isWrapper') ? this.xScale(xMax) : this.xScale) :\n\t\t\tpv.Scale.linear(xMin, xMax)\n\t\t).range(0, w),\n\t\ty = (this.yScale ?\n\t\t\t(this.yScale.hasOwnProperty('isWrapper') ? this.yScale(pv.max(yVals)) : this.yScale) :\n\t\t\tpv.Scale.linear(\n\t\t\t\tpv.min(yVals.concat(0)),\n\t\t\t\tpv.max(yVals)\n\t\t\t)\n\t\t).range(0, h);\n\n\tvis.add(pv.Rule)\n\t\t.data(y.ticks())\n\t\t.bottom(y)\n\t\t.strokeStyle(function(d) { return d ? \"#eee\" : \"#000\"; })\n\t.anchor(\"left\").add(pv.Label)\n\t\t.text(this.yFormat || y.tickFormat);\n\n\tvis.add(pv.Rule)\n\t\t.data(x.ticks().length < this.data.length ? x.ticks() : x.ticks(this.data.length))\n\t\t.visible(function(d) { return d != 0; })\n\t\t.left(x)\n\t\t.bottom(-5)\n\t\t.height(5)\n\t.anchor(\"bottom\").add(pv.Label)\n\t .text(this.xFormat || x.tickFormat);\n\n\tvis.add(pv.Area)\n\t\t.def('idx', 0)\n\t\t.data(this.data)\n\t\t.bottom(1)\n\t\t.left(function(d) {\n\t\t\tvar idx = this.idx();\n\n\t\t\tif (d instanceof Array)\n\t\t\t\tidx = d[0];\n\t\t\tthis.idx(idx + 1);\n\t\t\n\t\t\treturn x(idx);\n\t\t})\n\t\t.height(function(d) {\n\t\t\tif (d instanceof Array)\n\t\t\t\td = d[1];\n\t\t\treturn y(d);\n\t\t})\n\t\t.fillStyle(\"rgb(121,173,210)\")\n\t.anchor(\"top\").add(pv.Line)\n\t\t.lineWidth(3);\n\n\treturn vis;\n}","funcProperties":{"__isSmartRef__":true,"id":98},"__SourceModuleName__":"Global","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":102},"__LivelyClassName__":"lively.Closure"},"93":{"this":{"__isSmartRef__":true,"id":73},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":94}},"94":{"$super":{"__isSmartRef__":true,"id":95}},"95":{"varMapping":{"__isSmartRef__":true,"id":96},"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":97},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"96":{"obj":{"__isSmartRef__":true,"id":73},"name":"draw"},"97":{},"98":{"hasLivelyClosure":true,"livelyClosure":{"__isSmartRef__":true,"id":99}},"99":{"varMapping":{"__isSmartRef__":true,"id":100},"source":"function drawAreaChart(w, h) {\n\tw = w - 30;\n\th = h - 25;\n\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h)\n\t\t.bottom(20)\n\t\t.left(20)\n\t\t.right(10)\n\t\t.top(5);\n\n\tvar xMin = pv.min(this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t})),\n\t\txMax = Math.max(\n\t\t\tthis.data.length - 1,\n\t\t\tpv.max(this.data.collect(function(d) {\n\t\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t\t}))\n\t\t),\n\t\tyVals = this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[1] : d;\n\t\t}),\n\t\tx = (this.xScale ?\n\t\t\t(this.xScale.hasOwnProperty('isWrapper') ? this.xScale(xMax) : this.xScale) :\n\t\t\tpv.Scale.linear(xMin, xMax)\n\t\t).range(0, w),\n\t\ty = (this.yScale ?\n\t\t\t(this.yScale.hasOwnProperty('isWrapper') ? this.yScale(pv.max(yVals)) : this.yScale) :\n\t\t\tpv.Scale.linear(\n\t\t\t\tpv.min(yVals.concat(0)),\n\t\t\t\tpv.max(yVals)\n\t\t\t)\n\t\t).range(0, h);\n\n\tvis.add(pv.Rule)\n\t\t.data(y.ticks())\n\t\t.bottom(y)\n\t\t.strokeStyle(function(d) { return d ? \"#eee\" : \"#000\"; })\n\t.anchor(\"left\").add(pv.Label)\n\t\t.text(this.yFormat || y.tickFormat);\n\n\tvis.add(pv.Rule)\n\t\t.data(x.ticks().length < this.data.length ? x.ticks() : x.ticks(this.data.length))\n\t\t.visible(function(d) { return d != 0; })\n\t\t.left(x)\n\t\t.bottom(-5)\n\t\t.height(5)\n\t.anchor(\"bottom\").add(pv.Label)\n\t .text(this.xFormat || x.tickFormat);\n\n\tvis.add(pv.Area)\n\t\t.def('idx', 0)\n\t\t.data(this.data)\n\t\t.bottom(1)\n\t\t.left(function(d) {\n\t\t\tvar idx = this.idx();\n\n\t\t\tif (d instanceof Array)\n\t\t\t\tidx = d[0];\n\t\t\tthis.idx(idx + 1);\n\t\t\n\t\t\treturn x(idx);\n\t\t})\n\t\t.height(function(d) {\n\t\t\tif (d instanceof Array)\n\t\t\t\td = d[1];\n\t\t\treturn y(d);\n\t\t})\n\t\t.fillStyle(\"rgb(121,173,210)\")\n\t.anchor(\"top\").add(pv.Line)\n\t\t.lineWidth(3);\n\n\treturn vis;\n}","funcProperties":{"__isSmartRef__":true,"id":101},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"100":{"this":{"__isSmartRef__":true,"id":73}},"101":{},"102":{"originalFunc":{"__isSmartRef__":true,"id":99}},"103":{"varMapping":{"__isSmartRef__":true,"id":104},"source":"function prepareForNewRenderContext(renderCtx) {\n $super(renderCtx);\n lively.bindings.callWhenNotNull(Global, 'pv', this, 'render');\n}","funcProperties":{"__isSmartRef__":true,"id":109},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"104":{"this":{"__isSmartRef__":true,"id":73},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":105}},"105":{"$super":{"__isSmartRef__":true,"id":106}},"106":{"varMapping":{"__isSmartRef__":true,"id":107},"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":108},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"107":{"obj":{"__isSmartRef__":true,"id":73},"name":"prepareForNewRenderContext"},"108":{},"109":{},"110":{"varMapping":{"__isSmartRef__":true,"id":111},"source":"function addDataAndRender(data) {\n if (data == null) return;\n\n if ((typeof data == 'object') && !(data instanceof Array))\n data = [data.x, data.y];\n\n if (!this.data)\n this.data = [data];\n else {\n if (this.maxDataLength) {\n this.data = this.data.slice(\n this.data.length-this.maxDataLength,this.data.length);\n }\n this.data.push(data);\n }\n\n this.render();\n}","funcProperties":{"__isSmartRef__":true,"id":112},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"111":{"this":{"__isSmartRef__":true,"id":73}},"112":{},"113":{"varMapping":{"__isSmartRef__":true,"id":114},"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":115},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"114":{"this":{"__isSmartRef__":true,"id":73}},"115":{},"116":{"varMapping":{"__isSmartRef__":true,"id":117},"source":"function drawBarChart(w, h) {\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h);\n\n\tvar yRange = pv.range(\n\t\tpv.min(this.data.concat(0)),\n\t\tpv.max(this.data), 5);\n\n\tvar leftPadding = 15,\n\t\teach_w = Math.floor(((w - leftPadding) / this.data.length) * 4 / 5),\n\t\teach_p = Math.ceil(each_w / 4)\n\t\teach_h = h / 20;\n\n\tvis.add(pv.Rule)\n\t\t.data(yRange)\n\t\t.bottom(function(d) { return d * each_h + .5; })\n\t.add(pv.Label);\n\n\tvis.add(pv.Bar)\n\t\t.data(this.data)\n\t\t.width(each_w)\n\t\t.height(function(d) { return d * each_h; })\n\t\t.bottom(0)\n\t\t.left(function() { return this.index * (each_w + each_p) + each_p / 2 + leftPadding; })\n\t\t.event(\"mouseover\", function() { console.log($A(arguments)); })\n\t.anchor(\"bottom\").add(pv.Label);\n\n\treturn vis;\n}","funcProperties":{"__isSmartRef__":true,"id":118},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"117":{"this":{"__isSmartRef__":true,"id":73}},"118":{},"119":{"varMapping":{"__isSmartRef__":true,"id":120},"source":"function drawPieChart(w, h) {\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h);\n\n\tvar max = Math.min(h, w),\n\t\tr = max / 2,\n\t\ta = pv.Scale.linear(0, pv.sum(this.data)).range(0, 2 * Math.PI);\n\n\tvis.add(pv.Wedge)\n\t\t.data(this.data.sort(pv.reverseOrder))\n\t\t.bottom((max + (h - max)) / 2)\n\t\t.left((max + (w - max)) / 2)\n\t\t.innerRadius(0)\n\t\t.outerRadius(r)\n\t\t.angle(a)\n\t.anchor(\"center\").add(pv.Label)\n\t\t.visible(function(d) { return d > .15; })\n\t\t.textAngle(0);\n\n\treturn vis;\n}","funcProperties":{"__isSmartRef__":true,"id":121},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"120":{"this":{"__isSmartRef__":true,"id":73}},"121":{},"122":{"varMapping":{"__isSmartRef__":true,"id":123},"source":"function setChartType(cType) {\n\tvar chart = this;\n\tif (!chart.vis) {\n\t\talert('Chart type could not be set. Chart is missing!');\n\t\tchart.render();\n\t\treturn;\n\t}\n\n\tswitch (cType.toLowerCase()) {\n\tcase 'bar':\n\t\tchart.drawBarChart.asScriptOf(chart, 'draw');\n\t\tbreak;\n\tcase 'pie':\n\t\tchart.drawPieChart.asScriptOf(chart, 'draw');\n\t\tbreak;\n\tcase 'area':\n\t\tchart.drawAreaChart.asScriptOf(chart, 'draw');\n\t\tbreak;\n\tdefault:\n\t\talert('The chart type \"' + cType + '\" is unknown!');\n\t\treturn;\n\t}\n this.render()\n}","funcProperties":{"__isSmartRef__":true,"id":124},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"123":{"this":{"__isSmartRef__":true,"id":73}},"124":{},"125":{"submorphs":[{"__isSmartRef__":true,"id":126}],"scripts":[],"id":2484,"shape":{"__isSmartRef__":true,"id":141},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":157},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":144},"lighterFill":{"__isSmartRef__":true,"id":158},"label":{"__isSmartRef__":true,"id":126},"attributeConnections":[{"__isSmartRef__":true,"id":167},{"__isSmartRef__":true,"id":168}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":173},"name":"resetButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":174},"renderContextTable":{"__isSmartRef__":true,"id":175},"eventHandler":{"__isSmartRef__":true,"id":176},"owner":{"__isSmartRef__":true,"id":72},"_Rotation":0,"_Scale":1.089423869470782,"__LivelyClassName__":"lively.morphic.Button"},"126":{"submorphs":[],"scripts":[],"id":2485,"shape":{"__isSmartRef__":true,"id":127},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"_OverflowMode":"visible","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":133},"textColor":{"__isSmartRef__":true,"id":130},"owner":{"__isSmartRef__":true,"id":125},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":134}],"padding":{"__isSmartRef__":true,"id":136},"_Padding":{"__isSmartRef__":true,"id":137},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":138},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":139},"eventHandler":{"__isSmartRef__":true,"id":140},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":116,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"127":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":128},"_Extent":{"__isSmartRef__":true,"id":129},"_BorderColor":{"__isSmartRef__":true,"id":130},"renderContextTable":{"__isSmartRef__":true,"id":131},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":132},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"128":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"129":{"x":116,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"130":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"131":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"132":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"133":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"134":{"style":{"__isSmartRef__":true,"id":135},"chunkOwner":{"__isSmartRef__":true,"id":126},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"reset","__LivelyClassName__":"lively.morphic.TextChunk"},"135":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"136":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"137":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"138":{"x":116,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"139":{"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","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","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"},"140":{"morph":{"__isSmartRef__":true,"id":126},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"141":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":142},"_Extent":{"__isSmartRef__":true,"id":143},"_Fill":{"__isSmartRef__":true,"id":144},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":154},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":155},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":156},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"142":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"143":{"x":116,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"144":{"stops":[{"__isSmartRef__":true,"id":145},{"__isSmartRef__":true,"id":147},{"__isSmartRef__":true,"id":149},{"__isSmartRef__":true,"id":151}],"vector":{"__isSmartRef__":true,"id":153},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"145":{"offset":0,"color":{"__isSmartRef__":true,"id":146}},"146":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"147":{"offset":0.4,"color":{"__isSmartRef__":true,"id":148}},"148":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"149":{"offset":0.6,"color":{"__isSmartRef__":true,"id":150}},"150":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"151":{"offset":1,"color":{"__isSmartRef__":true,"id":152}},"152":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"153":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"154":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"155":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"156":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"157":{"x":103.58462358410429,"y":-222.1093371082231,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"158":{"stops":[{"__isSmartRef__":true,"id":159},{"__isSmartRef__":true,"id":161},{"__isSmartRef__":true,"id":163},{"__isSmartRef__":true,"id":165}],"vector":{"__isSmartRef__":true,"id":153},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"159":{"offset":0,"color":{"__isSmartRef__":true,"id":160}},"160":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"161":{"offset":0.4,"color":{"__isSmartRef__":true,"id":162}},"162":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"163":{"offset":0.6,"color":{"__isSmartRef__":true,"id":164}},"164":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"165":{"offset":1,"color":{"__isSmartRef__":true,"id":166}},"166":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"167":{"sourceObj":{"__isSmartRef__":true,"id":125},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":73},"targetMethodName":"reset","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"168":{"sourceObj":{"__isSmartRef__":true,"id":125},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":73},"targetMethodName":"render","converter":null,"converterString":null,"updaterString":"function ($upd) { this.targetObj.data = [0]; $upd() }","varMapping":{"__isSmartRef__":true,"id":169},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":170},"__LivelyClassName__":"AttributeConnection"},"169":{"source":{"__isSmartRef__":true,"id":125},"target":{"__isSmartRef__":true,"id":73}},"170":{"updater":{"__isSmartRef__":true,"id":171}},"171":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":169},"source":"function ($upd) { this.targetObj.data = [0]; $upd() }","funcProperties":{"__isSmartRef__":true,"id":172},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"172":{},"173":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"174":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","partName":"Button","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"175":{"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","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"176":{"morph":{"__isSmartRef__":true,"id":125},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"177":{"position":{"__isSmartRef__":true,"id":178},"_Extent":{"__isSmartRef__":true,"id":179},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":180},"_Fill":{"__isSmartRef__":true,"id":181},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":182},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Position":{"__isSmartRef__":true,"id":183},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":184},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"178":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"179":{"x":514.1704110039991,"y":539.0546128281011,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"180":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"181":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"182":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"183":{"x":-261.476262000004,"y":-235.5282360000009,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"184":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"185":{"x":588,"y":597,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"186":{"migrationLevel":2,"partsSpaceName":"PartsBin/Visualization/","__SourceModuleName__":"Global.lively.PartsBin","partName":"ProtovisDrawing","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"187":{"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","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"188":{"morph":{"__isSmartRef__":true,"id":72},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"189":{},"190":{"x":514.1704110039991,"y":540.050618823587,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"191":{"addDataAndRender":{"__isSmartRef__":true,"id":192}},"192":{},"193":{"x":142,"y":-281,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"194":{"addDataAndRender":{"__isSmartRef__":true,"id":195},"reset":{"__isSmartRef__":true,"id":198},"prepareForNewRenderContext":{"__isSmartRef__":true,"id":201},"setupConnections":{"__isSmartRef__":true,"id":208}},"195":{"varMapping":{"__isSmartRef__":true,"id":196},"source":"function addDataAndRender(data) {\n this.get('ProtovisMorph').addDataAndRender(data)\n}","funcProperties":{"__isSmartRef__":true,"id":197},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"196":{"this":{"__isSmartRef__":true,"id":72}},"197":{},"198":{"varMapping":{"__isSmartRef__":true,"id":199},"source":"function reset() {\n this.connections = {addDataAndRender: {}}\n this.get('ProtovisMorph').reset();\n}","funcProperties":{"__isSmartRef__":true,"id":200},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"199":{"this":{"__isSmartRef__":true,"id":72}},"200":{},"201":{"varMapping":{"__isSmartRef__":true,"id":202},"source":"function prepareForNewRenderContext(renderCtx) {\n $super(renderCtx);\n lively.bindings.callWhenNotNull(Global, 'pv', this.get('ProtovisMorph'), 'render');\n}","funcProperties":{"__isSmartRef__":true,"id":207},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"202":{"this":{"__isSmartRef__":true,"id":72},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":203}},"203":{"$super":{"__isSmartRef__":true,"id":204}},"204":{"varMapping":{"__isSmartRef__":true,"id":205},"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":206},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"205":{"obj":{"__isSmartRef__":true,"id":72},"name":"prepareForNewRenderContext"},"206":{},"207":{},"208":{"varMapping":{"__isSmartRef__":true,"id":209},"source":"function setupConnections() {\n connect(this.get('resetButton'), 'fire', this.get('ProtovisMorph'), 'render',\n {updater: function($upd) { this.targetObj.data = []; $upd() }})\n}","funcProperties":{"__isSmartRef__":true,"id":210},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"209":{"this":{"__isSmartRef__":true,"id":72}},"210":{},"211":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":212},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"_Rotation":0,"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":218},"eventHandler":{"__isSmartRef__":true,"id":219},"clickedOnMorph":{"__isSmartRef__":true,"id":220},"attributeConnections":[{"__isSmartRef__":true,"id":255}],"doNotSerialize":["$$_Position"],"doNotCopyProperties":["$$_Position"],"_Position":{"__isSmartRef__":true,"id":260},"__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"212":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":213},"_Extent":{"__isSmartRef__":true,"id":214},"_Fill":{"__isSmartRef__":true,"id":215},"renderContextTable":{"__isSmartRef__":true,"id":216},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":217},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"213":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"214":{"x":2,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"215":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"216":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"217":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"218":{"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","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"219":{"morph":{"__isSmartRef__":true,"id":211},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"220":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":221},"id":2563,"renderContextTable":{"__isSmartRef__":true,"id":233},"textChunks":[{"__isSmartRef__":true,"id":234}],"eventHandler":{"__isSmartRef__":true,"id":236},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"_Position":{"__isSmartRef__":true,"id":237},"priorExtent":{"__isSmartRef__":true,"id":238},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":239},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":240},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"221":{"_Position":{"__isSmartRef__":true,"id":222},"renderContextTable":{"__isSmartRef__":true,"id":223},"_Extent":{"__isSmartRef__":true,"id":224},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":225},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":226},"_Fill":{"__isSmartRef__":true,"id":227},"_BorderRadius":4,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"222":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"223":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"224":{"x":228,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"225":{"x":3,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"226":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"227":{"stops":[{"__isSmartRef__":true,"id":228},{"__isSmartRef__":true,"id":230}],"vector":{"__isSmartRef__":true,"id":232},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"228":{"offset":0,"color":{"__isSmartRef__":true,"id":229}},"229":{"r":0.39215686274509803,"g":0.5137254901960784,"b":0.9725490196078431,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"230":{"offset":1,"color":{"__isSmartRef__":true,"id":231}},"231":{"r":0.13333333333333333,"g":0.3333333333333333,"b":0.9607843137254902,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"232":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"233":{"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","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","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"},"234":{"style":{"__isSmartRef__":true,"id":235},"chunkOwner":{"__isSmartRef__":true,"id":220},"storedString":"save world","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"235":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"236":{"morph":{"__isSmartRef__":true,"id":220},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"237":{"x":0,"y":207,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"238":{"x":257,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"239":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"240":{"onMouseWheel":{"__isSmartRef__":true,"id":241},"onSelectStart":{"__isSmartRef__":true,"id":248}},"241":{"varMapping":{"__isSmartRef__":true,"id":242},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":247},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"242":{"this":{"__isSmartRef__":true,"id":220},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":243}},"243":{"$super":{"__isSmartRef__":true,"id":244}},"244":{"varMapping":{"__isSmartRef__":true,"id":245},"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":246},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"245":{"obj":{"__isSmartRef__":true,"id":220},"name":"onMouseWheel"},"246":{},"247":{},"248":{"varMapping":{"__isSmartRef__":true,"id":249},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":254},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"249":{"this":{"__isSmartRef__":true,"id":220},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":250}},"250":{"$super":{"__isSmartRef__":true,"id":251}},"251":{"varMapping":{"__isSmartRef__":true,"id":252},"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":253},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"252":{"obj":{"__isSmartRef__":true,"id":220},"name":"onSelectStart"},"253":{},"254":{},"255":{"sourceObj":{"__isSmartRef__":true,"id":211},"sourceAttrName":"_Position","targetMethodName":"setPosition","converterString":"function (p) { \n return p.addPt(pt(0,10))\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":256},"isWeakConnection":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":257},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"256":{"source":{"__isSmartRef__":true,"id":211}},"257":{"converter":{"__isSmartRef__":true,"id":258}},"258":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":256},"source":"function (p) { \n return p.addPt(pt(0,10))\n }","funcProperties":{"__isSmartRef__":true,"id":259},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"259":{},"260":{"x":842,"y":528,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"261":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":262},"_Extent":{"__isSmartRef__":true,"id":263},"_Fill":{"__isSmartRef__":true,"id":264},"renderContextTable":{"__isSmartRef__":true,"id":265},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":266},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"262":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"263":{"x":2800,"y":2900,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"264":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"265":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"266":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"267":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"268":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"269":{"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","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"270":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"271":{"x":840,"y":526,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"isSimplifiedRegistry":true}}]]>