>>onMouseUpEntry: TypeError: morph.owner is null\n([object Object],[object MouseEvent])@http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?9c5ccfcff612db7d5ec90a76f575679c:22711\n([object MouseEvent])@http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?9c5ccfcff612db7d5ec90a76f575679c:25164\n([object MouseEvent])@http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?9c5ccfcff612db7d5ec90a76f575679c:24741\n([object MouseEvent])@http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?9c5ccfcff612db7d5ec90a76f575679c:20665\n([object MouseEvent])@http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?9c5ccfcff612db7d5ec90a76f575679c:20134\nbound([object MouseEvent])@http://lively-kernel.org/repository/webwerkstatt/core/lively/bootstrap.js:813\n","__layered_draggingEnabled__":true,"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":346},"eventHandler":{"__isSmartRef__":true,"id":347},"eventStartPos":{"__isSmartRef__":true,"id":348},"worldMenuOpened":true,"prevScroll":[0,-1080],"attributeConnections":[{"__isSmartRef__":true,"id":349}],"doNotSerialize":["$$savedWorldAsURL"],"doNotCopyProperties":["$$savedWorldAsURL"],"draggingEnabled":true,"clickedOnMorphTime":1327129868552,"_Scroll":[0,-1080],"savedWorldAsURL":{"__isSmartRef__":true,"id":354},"__LivelyClassName__":"lively.morphic.World"},"1":{"submorphs":[],"scripts":[],"id":"88E967D6-9D11-4F97-9404-43853B9ABE65","shape":{"__isSmartRef__":true,"id":2},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":8},"_MaxTextWidth":434.336,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":5},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":9},"textChunks":[{"__isSmartRef__":true,"id":10}],"charsReplaced":"because it ","lastFindLoc":223,"priorSelectionRange":[105,105],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":12},"renderContextTable":{"__isSmartRef__":true,"id":13},"eventHandler":{"__isSmartRef__":true,"id":14},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":15},"_ClipMode":"visible","derivationIds":[355,"91274946-0D6A-4B47-9A26-608C90DA8B5F"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":434.336,"_MinTextHeight":null,"previousSelection":[212,201],"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":16},"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.002003004005006,"__LivelyClassName__":"lively.morphic.Text"},"2":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3},"_Extent":{"__isSmartRef__":true,"id":4},"_BorderWidth":1.332,"_BorderColor":{"__isSmartRef__":true,"id":5},"renderContextTable":{"__isSmartRef__":true,"id":6},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7},"_BorderRadius":1.8500000000000003,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4":{"x":437,"y":721.3199999999999,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"6":{"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"},"7":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"8":{"x":552,"y":124.99999999999997,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"9":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"10":{"style":{"__isSmartRef__":true,"id":11},"chunkOwner":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"// 1 unnamed function - lambda\nvar callable = function (message) {\n window.alert(\"Callable called with message = \"\n + message);\n}\n\ncallable(\"Hello\")\n\n// 2 - named function (closure, returns function)\nfunction createClosure(initial) {\n var res = function () {\n initial = initial + 1;\n window.alert(\"Closure with modified state \"\n + initial);\n }\n return res;\n}\n\ncreateClosure(10)(); // call the closure\n// or just\ncc = createClosure(10);\ncc();\n\n// 3 - function with argument being another function\nfunction callCallableWithArg(f, x) {\n f(x);\n}\n\ncallCallableWithArg(callable, \"Hwllo\")\n\n// 4 - as 3, but has 2 function args\nfunction composeCallables(f, g, x) {\n f(g(x));\n}\n","__LivelyClassName__":"lively.morphic.TextChunk"},"11":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"12":{"x":437,"y":718.656,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"13":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","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","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"14":{"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"15":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"16":{"x":291,"y":-7.999999999999972,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"17":{"submorphs":[],"scripts":[],"id":"C4D3038D-1901-4BF9-85BC-7272A7BFC708","shape":{"__isSmartRef__":true,"id":18},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24},"_MaxTextWidth":261,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":21},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text2","partsBinMetaInfo":{"__isSmartRef__":true,"id":25},"textChunks":[{"__isSmartRef__":true,"id":26}],"charsReplaced":"Lists","lastFindLoc":5,"priorSelectionRange":[17,17],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":28},"renderContextTable":{"__isSmartRef__":true,"id":29},"eventHandler":{"__isSmartRef__":true,"id":30},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":31},"_ClipMode":"visible","derivationIds":[355],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":0},"_MinTextWidth":261,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":32},"previousSelection":[10,10],"__LivelyClassName__":"lively.morphic.Text"},"18":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":19},"_Extent":{"__isSmartRef__":true,"id":20},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":21},"renderContextTable":{"__isSmartRef__":true,"id":22},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":23},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"20":{"x":261,"y":35,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"21":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"22":{"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"},"23":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"24":{"x":2,"y":79,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"25":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"26":{"style":{"__isSmartRef__":true,"id":27},"morph":{"__isSmartRef__":true,"id":17},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":17},"storedString":"Lists / Maps / Collections ","__LivelyClassName__":"lively.morphic.TextChunk"},"27":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"28":{"x":261,"y":35,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"29":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","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","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"30":{"morph":{"__isSmartRef__":true,"id":17},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"31":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"32":{"x":51,"y":-13,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"33":{"submorphs":[],"scripts":[],"id":"440AF63B-CC80-4654-A6C9-74524E814338","shape":{"__isSmartRef__":true,"id":34},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":40},"_MaxTextWidth":124,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":37},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":41},"textChunks":[{"__isSmartRef__":true,"id":42}],"charsReplaced":"Lists","lastFindLoc":5,"priorSelectionRange":[10,10],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":44},"renderContextTable":{"__isSmartRef__":true,"id":45},"eventHandler":{"__isSmartRef__":true,"id":46},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":47},"_ClipMode":"visible","derivationIds":[355,"C4D3038D-1901-4BF9-85BC-7272A7BFC708"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":124,"_MinTextHeight":null,"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":48},"previousSelection":[0,10],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.002003004005006,"__LivelyClassName__":"lively.morphic.Text"},"34":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":35},"_Extent":{"__isSmartRef__":true,"id":36},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":37},"renderContextTable":{"__isSmartRef__":true,"id":38},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":39},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"35":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"36":{"x":124,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"37":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"38":{"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"},"39":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"40":{"x":517,"y":75.99999999999999,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"41":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"42":{"style":{"__isSmartRef__":true,"id":43},"morph":{"__isSmartRef__":true,"id":33},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":33},"storedString":"Functions","__LivelyClassName__":"lively.morphic.TextChunk"},"43":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"44":{"x":124,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"45":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","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","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"46":{"morph":{"__isSmartRef__":true,"id":33},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"47":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"48":{"x":86,"y":-8.999999999999986,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"49":{"submorphs":[],"scripts":[],"id":"DA592375-F951-4573-9524-8011F5CB5F75","shape":{"__isSmartRef__":true,"id":50},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":56},"_MaxTextWidth":124,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":53},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":57},"textChunks":[{"__isSmartRef__":true,"id":58}],"charsReplaced":"Functions","lastFindLoc":9,"priorSelectionRange":[7,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":60},"renderContextTable":{"__isSmartRef__":true,"id":61},"eventHandler":{"__isSmartRef__":true,"id":62},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":63},"_ClipMode":"visible","derivationIds":[355,"C4D3038D-1901-4BF9-85BC-7272A7BFC708","440AF63B-CC80-4654-A6C9-74524E814338"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":124,"_MinTextHeight":null,"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":64},"previousSelection":[1,1],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.002003004005006,"__LivelyClassName__":"lively.morphic.Text"},"50":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":51},"_Extent":{"__isSmartRef__":true,"id":52},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":53},"renderContextTable":{"__isSmartRef__":true,"id":54},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":55},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"51":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"52":{"x":124,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"53":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"54":{"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"},"55":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"56":{"x":1038,"y":85.99999999999999,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"57":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"58":{"style":{"__isSmartRef__":true,"id":59},"morph":{"__isSmartRef__":true,"id":49},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":49},"storedString":"Objects","__LivelyClassName__":"lively.morphic.TextChunk"},"59":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"60":{"x":124,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"61":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","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","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"62":{"morph":{"__isSmartRef__":true,"id":49},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"63":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"64":{"x":89,"y":-9.999999999999986,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"65":{"submorphs":[],"scripts":[],"id":"A8177E7D-A25E-43D6-8371-B173A02781EC","shape":{"__isSmartRef__":true,"id":66},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":72},"_MaxTextWidth":467.024,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":69},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text4","partsBinMetaInfo":{"__isSmartRef__":true,"id":73},"textChunks":[{"__isSmartRef__":true,"id":74},{"__isSmartRef__":true,"id":76},{"__isSmartRef__":true,"id":78}],"charsReplaced":" ","lastFindLoc":1099,"priorSelectionRange":[1098,1097],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":80},"renderContextTable":{"__isSmartRef__":true,"id":81},"eventHandler":{"__isSmartRef__":true,"id":82},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":83},"_ClipMode":"visible","derivationIds":[355],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":0},"_MinTextWidth":467.024,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"isBeingDragged":false,"previousSelection":[1104,1131],"distanceToDragEvent":{"__isSmartRef__":true,"id":84},"__LivelyClassName__":"lively.morphic.Text"},"66":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":67},"_Extent":{"__isSmartRef__":true,"id":68},"_BorderWidth":1.4880000000000002,"_BorderColor":{"__isSmartRef__":true,"id":69},"renderContextTable":{"__isSmartRef__":true,"id":70},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":71},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"67":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"68":{"x":483,"y":960.976,"__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","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"71":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"72":{"x":1065,"y":125,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"73":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"74":{"style":{"__isSmartRef__":true,"id":75},"chunkOwner":{"__isSmartRef__":true,"id":65},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\nfunction MyObject(name, value) {\n this.name = name;\n this.value = value;\n}\nvar my = new MyObject(\"foo\", 5);\nwindow.alert(\"my=\" + \" name=\" + my.name + \" value=\" + my.value);\n\nJavascript supports prototype based object orientation.\n","__LivelyClassName__":"lively.morphic.TextChunk"},"75":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"76":{"style":{"__isSmartRef__":true,"id":77},"chunkOwner":{"__isSmartRef__":true,"id":65},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Not a class type but an object constructor is created\nfor new objects with particular properties.","__LivelyClassName__":"lively.morphic.TextChunk"},"77":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"78":{"style":{"__isSmartRef__":true,"id":79},"chunkOwner":{"__isSmartRef__":true,"id":65},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" In the\nexample above the this keyword used to \nreference the ''current instance'' of the object.\nThe this object is essentially a property\nmap with members accessed (and initialized) in this \nexample with the dot notation.\n\nThe object constructor, MyObject, is an\nobject constructor not in how it's defined, which\nlooks like any other Javascript function, but in \nhow it's ''invoked''.\n\n var my = new MyObject(\"foo\", 5);\n\n\nThe new operator before the function \ninvokes the function with a newly construced\nobject as this and returns that the\ninitialized object.\n\n\nSo it looks like new MyObject(\"foo\", 5) \n - creates a new Map (\"object\"), and names it this\n - then it adds MyObject(this, name, value) as a method to the this Map (how???)\n - then creates MyObject(this, name, value) from MyObject(name, value) and calls MyObject(this, name, value)\n - then it returns the \"this\" Map (now initialized with 3 'keys\")\n - name\n - value\n - MyObject(this, name, value) \n\n ","__LivelyClassName__":"lively.morphic.TextChunk"},"79":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"80":{"x":483,"y":960.976,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"81":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","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","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"82":{"morph":{"__isSmartRef__":true,"id":65},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"83":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"84":{"x":325,"y":-9,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"85":{"submorphs":[],"scripts":[],"id":"B32F607E-EBBC-413F-B06A-58F6A6D7C93A","shape":{"__isSmartRef__":true,"id":86},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":92},"_MaxTextWidth":370,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":89},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":93},"textChunks":[{"__isSmartRef__":true,"id":94}],"charsReplaced":"Prototypesr","lastFindLoc":11,"priorSelectionRange":[0,0],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":96},"renderContextTable":{"__isSmartRef__":true,"id":97},"eventHandler":{"__isSmartRef__":true,"id":98},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":99},"_ClipMode":"visible","derivationIds":[355,"C4D3038D-1901-4BF9-85BC-7272A7BFC708","440AF63B-CC80-4654-A6C9-74524E814338","DA592375-F951-4573-9524-8011F5CB5F75"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":370,"_MinTextHeight":null,"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":100},"previousSelection":[11,11],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.002003004005006,"__LivelyClassName__":"lively.morphic.Text"},"86":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":87},"_Extent":{"__isSmartRef__":true,"id":88},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":89},"renderContextTable":{"__isSmartRef__":true,"id":90},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":91},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"87":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"88":{"x":370,"y":39,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"89":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"90":{"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"},"91":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"92":{"x":21.99999999999995,"y":1163,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"93":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"94":{"style":{"__isSmartRef__":true,"id":95},"morph":{"__isSmartRef__":true,"id":85},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":85},"storedString":"Object Prototype Implementation ","__LivelyClassName__":"lively.morphic.TextChunk"},"95":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"96":{"x":370,"y":39,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"97":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","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","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"98":{"morph":{"__isSmartRef__":true,"id":85},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"99":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"100":{"x":51,"y":-13,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"101":{"submorphs":[],"scripts":[],"id":"47B0D2F0-83C9-4FE9-B002-C91AA6989E37","shape":{"__isSmartRef__":true,"id":102},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":108},"_MaxTextWidth":1371.024,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":105},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text4","partsBinMetaInfo":{"__isSmartRef__":true,"id":109},"textChunks":[{"__isSmartRef__":true,"id":110},{"__isSmartRef__":true,"id":112},{"__isSmartRef__":true,"id":114},{"__isSmartRef__":true,"id":116},{"__isSmartRef__":true,"id":118},{"__isSmartRef__":true,"id":120},{"__isSmartRef__":true,"id":122},{"__isSmartRef__":true,"id":124},{"__isSmartRef__":true,"id":126},{"__isSmartRef__":true,"id":128},{"__isSmartRef__":true,"id":130}],"charsReplaced":"","lastFindLoc":3863,"priorSelectionRange":[3954,3954],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":132},"renderContextTable":{"__isSmartRef__":true,"id":133},"eventHandler":{"__isSmartRef__":true,"id":134},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":135},"_ClipMode":"visible","derivationIds":[355,"A8177E7D-A25E-43D6-8371-B173A02781EC"],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":0},"_MinTextWidth":1371.024,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"isBeingDragged":false,"previousSelection":[3823,3823],"__LivelyClassName__":"lively.morphic.Text"},"102":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":103},"_Extent":{"__isSmartRef__":true,"id":104},"_BorderWidth":1.4880000000000002,"_BorderColor":{"__isSmartRef__":true,"id":105},"renderContextTable":{"__isSmartRef__":true,"id":106},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":107},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"103":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"104":{"x":1387,"y":2127.976,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"105":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"106":{"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"},"107":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"108":{"x":31.99999999999995,"y":1213,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"109":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"110":{"style":{"__isSmartRef__":true,"id":111},"chunkOwner":{"__isSmartRef__":true,"id":101},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Part of what makes a language object oriented is that data not only has properties but also ''behaviors''. Also known as: member functions; methods; and object \nmessages. To implement a ","__LivelyClassName__":"lively.morphic.TextChunk"},"111":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"112":{"style":{"__isSmartRef__":true,"id":113},"chunkOwner":{"__isSmartRef__":true,"id":101},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"member function","__LivelyClassName__":"lively.morphic.TextChunk"},"113":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"114":{"style":{"__isSmartRef__":true,"id":115},"chunkOwner":{"__isSmartRef__":true,"id":101},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" in Javascript one would be tempted to write something like what's below based on the member initialization exampled above.\n\nfunction BadObject(data) {\n this.data = data\n this.memberFunction = function () {\n // ...functions on data...\n }\n}\n\nWhile the code above will work without error, it does create a new closure for each member function for each new instance of the object. ","__LivelyClassName__":"lively.morphic.TextChunk"},"115":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"116":{"style":{"__isSmartRef__":true,"id":117},"chunkOwner":{"__isSmartRef__":true,"id":101},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"What's really required is a class level function that works on instance data.","__LivelyClassName__":"lively.morphic.TextChunk"},"117":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"118":{"style":{"__isSmartRef__":true,"id":119},"chunkOwner":{"__isSmartRef__":true,"id":101},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" But remember, Javascript objects aren't class based but prototype based. So how do we implement \"class\" level member functions? (Skip to Implementation) Better yet, how do we implement \"class\" level members functions in general?\n\nEnter the prototype member map (\"container of class members\" as the key/value contents of prototype map is shared across all child instances, see below).\n\n","__LivelyClassName__":"lively.morphic.TextChunk"},"119":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"120":{"style":{"__isSmartRef__":true,"id":121},"chunkOwner":{"__isSmartRef__":true,"id":101},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"The internal object member, prototype","__LivelyClassName__":"lively.morphic.TextChunk"},"121":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"122":{"style":{"__isSmartRef__":true,"id":123},"chunkOwner":{"__isSmartRef__":true,"id":101},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":", has language defined significance in that it is used for resolving property names if the property isn't found in the current property map. It's considered internal because, while the instance's prototype member is ''inherited'' from the ''constructor's'' prototype member, it cannot be accessed directly from the object instance itself. The defined prototype member is a property map itself which holds members for property name resolution. Consider the example below:\n\n var parentPropertyMap = {\"bar\": \"I'm the bar\"};\n\n // Define the constructor with inheritable properties\n function ChildObject(foo) {\n this.foo = foo;\n }\n\n // This adds \"superclass\" to ChildObject (superclass is parentPropertyMap)\n ChildObject.prototype = parentPropertyMap; // Function is also an Object (and hence a Map !!!!!!!!!!!!!!!) so this can be done\n\n // childPropertyMap1/2 are objects (Maps)\n childPropertyMap1 = new ChildObject(\"I'm the foo1\");\n childPropertyMap2 = new ChildObject(\"I'm the foo2\");\n\n // Prints \"childPropertyMap1.foo = I'm the foo1\"\n window.alert(\"childPropertyMap1.foo = \" + childPropertyMap1.foo);\n\n // Prints \"childPropertyMap2.foo = I'm the foo2\"\n window.alert(\"childPropertyMap2.foo = \" + childPropertyMap2.foo);\n\n // Prints \"childPropertyMap1.bar = I'm the bar\"\n window.alert(\"childPropertyMap1.bar = \" + childPropertyMap1.bar);\n\n // Prints \"childPropertyMap2.bar = I'm the bar\"\n window.alert(\"childPropertyMap2.bar = \" + childPropertyMap2.bar);\n\n\nThe member foo is an instance member added to the instance's property map during construction:\n\n function ChildObject(foo) {\n this.foo = foo;\n }\n\nwhile bar is in the constructor's prototype:\n\n var parentPropertyMap = {\"bar\": \"I'm the bar\"};\n ...\n ChildObject.prototype = parentPropertyMap;\n\n\nwhich is ''inherited'' during the new operation (","__LivelyClassName__":"lively.morphic.TextChunk"},"123":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"124":{"style":{"__isSmartRef__":true,"id":125},"chunkOwner":{"__isSmartRef__":true,"id":101},"storedString":"copied to every instance of ChildObject","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"125":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"126":{"style":{"__isSmartRef__":true,"id":127},"chunkOwner":{"__isSmartRef__":true,"id":101},"storedString":"):\n\n childPropertyMap1 = new ChildObject(\"I'm the foo1\");\n childPropertyMap2 = new ChildObject(\"I'm the foo2\");\n\n\nIn other words, the member, bar, is shared across \nall instances of ChildObject.\n\nTherefore, by implementing the prototype member of the constructor function, ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"127":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"128":{"style":{"__isSmartRef__":true,"id":129},"chunkOwner":{"__isSmartRef__":true,"id":101},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"we can think of the constructor function itself as the \"class\" object. ","__LivelyClassName__":"lively.morphic.TextChunk"},"129":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"130":{"style":{"__isSmartRef__":true,"id":131},"chunkOwner":{"__isSmartRef__":true,"id":101},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" Complete with static class functions:\n\n function ClassObject() {}\n ClassObject.staticClassFunction = function(x) {\n return x * 2;\n }\n\n\n// static class variables:\n\n function ClassObject() {}\n ClassObject.staticClassVariable = 5;\n\n\nshared member variables:\n\n function ClassObject() {}\n ClassObject.prototype.sharedMember = 5;\n\n\nand of course, shared member functions:\n\n function ClassObject(x) {\n this.x = x;\n }\n ClassObject.prototype.memberFunction = function(x) {\n return x * this.x;\n }\n\n\nNote: Because the prototype member is copied to every instance during \"new\" ( so the prototype is NOT shared, anything static in Jacascript is \"prototype static\", modifiable later by instances.\n","__LivelyClassName__":"lively.morphic.TextChunk"},"131":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"132":{"x":1387,"y":2127.976,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"133":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","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","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"134":{"morph":{"__isSmartRef__":true,"id":101},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"135":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"136":{"submorphs":[],"scripts":[],"id":"7A24A887-9838-4AF7-A10D-12649877BD4D","shape":{"__isSmartRef__":true,"id":137},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":143},"_MaxTextWidth":502.336,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":140},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text6","partsBinMetaInfo":{"__isSmartRef__":true,"id":144},"textChunks":[{"__isSmartRef__":true,"id":145}],"charsReplaced":"var aList = [1, 2, \"three\"];\nalert(aList[1]);\n\n // ### append element\nvar newLength = aList.push(\"four\");\naList[4] = \"five\";\nalert(aList[3]);\nalert(aList[4]);\n\n// ### append lists\nvar aList1 = [\"six\"];\nvar concatList = aList.concat(aList1);\nalert(\"concatList=\" + concatList);\n\n// ### splice = add/remove from list (in place)\n\n// concatList.splice(removeAtIndex,howManyToRemove,addElm1,..)\nconcatList.splice(1,2);\nalert(\"after splice: concatList=\" + concatList);","lastFindLoc":522,"priorSelectionRange":[183,183],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":147},"renderContextTable":{"__isSmartRef__":true,"id":148},"eventHandler":{"__isSmartRef__":true,"id":149},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":150},"_ClipMode":"visible","derivationIds":[355,"91274946-0D6A-4B47-9A26-608C90DA8B5F"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":502.336,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"previousSelection":[58,522],"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":151},"splittedFrom":{"__isSmartRef__":true,"id":152},"owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.Text"},"137":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":138},"_Extent":{"__isSmartRef__":true,"id":139},"_BorderWidth":1.332,"_BorderColor":{"__isSmartRef__":true,"id":140},"renderContextTable":{"__isSmartRef__":true,"id":141},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":142},"_BorderRadius":1.8500000000000003,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"138":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"139":{"x":505,"y":1028.992,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"140":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"141":{"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"},"142":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"143":{"x":8,"y":116.71290108927747,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"144":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"145":{"style":{"__isSmartRef__":true,"id":146},"chunkOwner":{"__isSmartRef__":true,"id":136},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"// ### Only Array(list) and Map are in Javascript proper\n\nvar aList = [1, 2, \"three\"];\nalert(aList[1]);\n\n // ### append element\nvar newLength = aList.push(\"four\");\naList[4] = \"five\";\nalert(aList[3]);\nalert(aList[4]);\n\n// ### append lists\nvar aList1 = [\"six\"];\nvar concatList = aList.concat(aList1);\nalert(\"concatList=\" + concatList);\n\n// ### splice = add/remove from list (in place)\n\n// concatList.splice(removeAtIndex,howManyToRemove,addElm1,..)\nconcatList.splice(1,2);\nalert(\"after splice: concatList=\" + concatList);\n\n// ### Along with Arrays are the Object objects. \n// Objects act as property maps with strings serving as keys\n// object = map = associative list\nvar mapStr = {\"one\": 1, \"two\": 2, \"three\": 3};\nvar mapInt = { 1 : \"one\", 2 : \"two\", 3: \"three\" };\nalert(mapStr[\"one\"]);\nalert(mapStr.one);\nalert(mapInt[1]);\n// alert(mapInt.\"1\");// does NOT work \n// alert(mapInt.1);// does NOT work\n\n// ### add to map\nmapStr.four = 4;\nalert(mapStr.four);\n \n\n//delete from map\n\ndelete mapStr.one;\ndelete mapStr[\"two\"];\n\nfor (key in mapStr) {\n alert (\"after delete: at key=\" + key + \" value=\" + mapStr[key]); \n}","__LivelyClassName__":"lively.morphic.TextChunk"},"146":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"147":{"x":505,"y":1026.328,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"148":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","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","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"149":{"morph":{"__isSmartRef__":true,"id":136},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"150":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"151":{"x":345,"y":-16.712901089277466,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"152":{"submorphs":[],"scripts":[],"id":"91274946-0D6A-4B47-9A26-608C90DA8B5F","shape":{"__isSmartRef__":true,"id":153},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":159},"_MaxTextWidth":489.336,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":156},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":160},"textChunks":[{"__isSmartRef__":true,"id":161}],"charsReplaced":"// Only Array and Map are in Javascript proper\n\n// List\nvar aList = [1, 2, \"three\"];\nalert(aList[1]);\n\naList= aList.push(\"four\");","lastFindLoc":129,"priorSelectionRange":[0,129],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":163},"renderContextTable":{"__isSmartRef__":true,"id":164},"eventHandler":{"__isSmartRef__":true,"id":165},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":166},"_ClipMode":"visible","derivationIds":[355],"_WhiteSpaceHandling":"pre-wrap","owner":null,"_MinTextWidth":489.336,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"previousSelection":[85,101],"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":167},"__LivelyClassName__":"lively.morphic.Text"},"153":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":154},"_Extent":{"__isSmartRef__":true,"id":155},"_BorderWidth":1.332,"_BorderColor":{"__isSmartRef__":true,"id":156},"renderContextTable":{"__isSmartRef__":true,"id":157},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":158},"_BorderRadius":1.8500000000000003,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"154":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"155":{"x":505,"y":44.664,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"156":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"157":{"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"},"158":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"159":{"x":21,"y":112,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"160":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"161":{"style":{"__isSmartRef__":true,"id":162},"chunkOwner":{"__isSmartRef__":true,"id":152},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"162":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"163":{"x":505,"y":44.664,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"164":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","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","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"165":{"morph":{"__isSmartRef__":true,"id":152},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"166":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"167":{"x":255,"y":-10,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"168":{"submorphs":[],"scripts":[],"id":"940C82B0-BACD-4DA5-ADE9-5025DBC9DD73","shape":{"__isSmartRef__":true,"id":169},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":175},"_MaxTextWidth":1386,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":172},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":176},"textChunks":[{"__isSmartRef__":true,"id":177},{"__isSmartRef__":true,"id":179},{"__isSmartRef__":true,"id":181},{"__isSmartRef__":true,"id":183},{"__isSmartRef__":true,"id":185}],"charsReplaced":"Test Javascript","lastFindLoc":15,"priorSelectionRange":[4,4],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":187},"renderContextTable":{"__isSmartRef__":true,"id":188},"eventHandler":{"__isSmartRef__":true,"id":189},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":190},"_ClipMode":"visible","derivationIds":[355],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":0},"_MinTextWidth":1386,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"isBeingDragged":false,"previousSelection":[0,15],"distanceToDragEvent":{"__isSmartRef__":true,"id":191},"__LivelyClassName__":"lively.morphic.Text"},"169":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":170},"_Extent":{"__isSmartRef__":true,"id":171},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":172},"renderContextTable":{"__isSmartRef__":true,"id":173},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":174},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"170":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"171":{"x":1386,"y":54,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"172":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"173":{"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"},"174":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"175":{"x":103,"y":16,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"176":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"177":{"style":{"__isSmartRef__":true,"id":178},"morph":{"__isSmartRef__":true,"id":168},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":168},"storedString":"Test Javascript ","__LivelyClassName__":"lively.morphic.TextChunk"},"178":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"179":{"style":{"__isSmartRef__":true,"id":180},"chunkOwner":{"__isSmartRef__":true,"id":168},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"http://javascript.infogami.com/Javascript_in_Ten_Minutes","__LivelyClassName__":"lively.morphic.TextChunk"},"180":{"__SourceModuleName__":"Global.lively.morphic.TextCore","uri":"http://javascript.infogami.com/Javascript_in_Ten_Minutes","__LivelyClassName__":"lively.morphic.TextEmphasis"},"181":{"style":{"__isSmartRef__":true,"id":182},"chunkOwner":{"__isSmartRef__":true,"id":168},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"... ","__LivelyClassName__":"lively.morphic.TextChunk"},"182":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"183":{"style":{"__isSmartRef__":true,"id":184},"chunkOwner":{"__isSmartRef__":true,"id":168},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"http://www.gotapi.com","__LivelyClassName__":"lively.morphic.TextChunk"},"184":{"__SourceModuleName__":"Global.lively.morphic.TextCore","uri":"http://www.gotapi.com","__LivelyClassName__":"lively.morphic.TextEmphasis"},"185":{"style":{"__isSmartRef__":true,"id":186},"chunkOwner":{"__isSmartRef__":true,"id":168},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk"},"186":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"187":{"x":1389,"y":55,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"188":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","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","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"189":{"morph":{"__isSmartRef__":true,"id":168},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"190":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"191":{"x":927,"y":-8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"192":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":193},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"renderContextTable":{"__isSmartRef__":true,"id":199},"eventHandler":{"__isSmartRef__":true,"id":200},"lastScrollTime":1322776824090,"internalClickedOnMorph":{"__isSmartRef__":true,"id":201},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Position":{"__isSmartRef__":true,"id":337},"_Scale":1.002003004005006,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"scrollFocusMorph":{"__isSmartRef__":true,"id":214},"__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"193":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":194},"_Extent":{"__isSmartRef__":true,"id":195},"_Fill":{"__isSmartRef__":true,"id":196},"renderContextTable":{"__isSmartRef__":true,"id":197},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":198},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"194":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"195":{"x":2,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"196":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"197":{"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"},"198":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"199":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"200":{"morph":{"__isSmartRef__":true,"id":192},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"201":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":202},"derivationIds":[null],"id":"7A85B700-6BA5-4D8F-9C0A-E4566AE6B383","renderContextTable":{"__isSmartRef__":true,"id":208},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":209}],"eventHandler":{"__isSmartRef__":true,"id":211},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":212},"priorExtent":{"__isSmartRef__":true,"id":213},"_MaxTextWidth":60,"_MinTextWidth":60,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":214},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"202":{"_Position":{"__isSmartRef__":true,"id":203},"renderContextTable":{"__isSmartRef__":true,"id":204},"_Extent":{"__isSmartRef__":true,"id":205},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":206},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":207},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"203":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"204":{"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"},"205":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"206":{"x":0,"y":6,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"207":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"208":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","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","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"209":{"style":{"__isSmartRef__":true,"id":210},"chunkOwner":{"__isSmartRef__":true,"id":201},"storedString":"OK","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"210":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"211":{"morph":{"__isSmartRef__":true,"id":201},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"212":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"213":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"214":{"submorphs":[{"__isSmartRef__":true,"id":201}],"scripts":[],"shape":{"__isSmartRef__":true,"id":215},"derivationIds":[null],"id":"542AE718-4684-47A3-B41B-389548A20DAB","renderContextTable":{"__isSmartRef__":true,"id":231},"eventHandler":{"__isSmartRef__":true,"id":232},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":233},"priorExtent":{"__isSmartRef__":true,"id":234},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":235},"lighterFill":{"__isSmartRef__":true,"id":221},"label":{"__isSmartRef__":true,"id":201},"layout":{"__isSmartRef__":true,"id":244},"owner":{"__isSmartRef__":true,"id":245},"attributeConnections":[{"__isSmartRef__":true,"id":335},{"__isSmartRef__":true,"id":336}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"215":{"_Position":{"__isSmartRef__":true,"id":216},"renderContextTable":{"__isSmartRef__":true,"id":217},"_Extent":{"__isSmartRef__":true,"id":218},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":219},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":220},"_Fill":{"__isSmartRef__":true,"id":221},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"216":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"217":{"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"},"218":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"219":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"220":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"221":{"stops":[{"__isSmartRef__":true,"id":222},{"__isSmartRef__":true,"id":224},{"__isSmartRef__":true,"id":226},{"__isSmartRef__":true,"id":228}],"vector":{"__isSmartRef__":true,"id":230},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"222":{"offset":0,"color":{"__isSmartRef__":true,"id":223}},"223":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"224":{"offset":0.4,"color":{"__isSmartRef__":true,"id":225}},"225":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"226":{"offset":0.6,"color":{"__isSmartRef__":true,"id":227}},"227":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"228":{"offset":1,"color":{"__isSmartRef__":true,"id":229}},"229":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"230":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"231":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"232":{"morph":{"__isSmartRef__":true,"id":214},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"233":{"x":172,"y":56,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"234":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"235":{"stops":[{"__isSmartRef__":true,"id":236},{"__isSmartRef__":true,"id":238},{"__isSmartRef__":true,"id":240},{"__isSmartRef__":true,"id":242}],"vector":{"__isSmartRef__":true,"id":230},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"236":{"offset":0,"color":{"__isSmartRef__":true,"id":237}},"237":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"238":{"offset":0.4,"color":{"__isSmartRef__":true,"id":239}},"239":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"240":{"offset":0.6,"color":{"__isSmartRef__":true,"id":241}},"241":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"242":{"offset":1,"color":{"__isSmartRef__":true,"id":243}},"243":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"244":{"moveVertical":true,"moveHorizontal":true},"245":{"submorphs":[{"__isSmartRef__":true,"id":246},{"__isSmartRef__":true,"id":259},{"__isSmartRef__":true,"id":214},{"__isSmartRef__":true,"id":294}],"scripts":[],"shape":{"__isSmartRef__":true,"id":312},"derivationIds":[null],"id":"C1EE6AE2-48A0-4AE6-B2DA-2EBC5BA0FC0B","renderContextTable":{"__isSmartRef__":true,"id":319},"eventHandler":{"__isSmartRef__":true,"id":320},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":321},"isLockOwner":true,"layout":{"__isSmartRef__":true,"id":322},"draggingEnabled":false,"grabbingEnabled":false,"attributeConnections":[{"__isSmartRef__":true,"id":323},{"__isSmartRef__":true,"id":325}],"ownerApp":{"__isSmartRef__":true,"id":292},"owner":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":327},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"246":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":247},"derivationIds":[null],"id":"8765FA54-E277-4FC7-B976-1B745686EBD4","renderContextTable":{"__isSmartRef__":true,"id":253},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":254}],"eventHandler":{"__isSmartRef__":true,"id":256},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":257},"priorExtent":{"__isSmartRef__":true,"id":258},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":245},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"draggingEnabled":false,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"247":{"_Position":{"__isSmartRef__":true,"id":248},"renderContextTable":{"__isSmartRef__":true,"id":249},"_Extent":{"__isSmartRef__":true,"id":250},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":251},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":207},"_Fill":{"__isSmartRef__":true,"id":252},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"248":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"249":{"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"},"250":{"x":231,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"251":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"252":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"253":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","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","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"254":{"style":{"__isSmartRef__":true,"id":255},"chunkOwner":{"__isSmartRef__":true,"id":246},"storedString":"Please enter a relative or absolute path","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"255":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"256":{"morph":{"__isSmartRef__":true,"id":246},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"257":{"x":4,"y":4,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"258":{"x":292,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"259":{"submorphs":[{"__isSmartRef__":true,"id":260}],"scripts":[],"shape":{"__isSmartRef__":true,"id":272},"derivationIds":[null],"id":"35877A3C-6682-4540-8302-91D85629F00C","renderContextTable":{"__isSmartRef__":true,"id":277},"eventHandler":{"__isSmartRef__":true,"id":278},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":279},"priorExtent":{"__isSmartRef__":true,"id":280},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":235},"lighterFill":{"__isSmartRef__":true,"id":281},"label":{"__isSmartRef__":true,"id":260},"layout":{"__isSmartRef__":true,"id":290},"owner":{"__isSmartRef__":true,"id":245},"attributeConnections":[{"__isSmartRef__":true,"id":291},{"__isSmartRef__":true,"id":310}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"260":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":261},"derivationIds":[null],"id":"6A525236-5D5B-44E8-B4F7-925B35B622C6","renderContextTable":{"__isSmartRef__":true,"id":266},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":267}],"eventHandler":{"__isSmartRef__":true,"id":269},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":270},"priorExtent":{"__isSmartRef__":true,"id":271},"_MaxTextWidth":60,"_MinTextWidth":60,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":259},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"261":{"_Position":{"__isSmartRef__":true,"id":262},"renderContextTable":{"__isSmartRef__":true,"id":263},"_Extent":{"__isSmartRef__":true,"id":264},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":265},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":207},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"262":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"263":{"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"},"264":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"265":{"x":0,"y":6,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"266":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","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","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"267":{"style":{"__isSmartRef__":true,"id":268},"chunkOwner":{"__isSmartRef__":true,"id":260},"storedString":"Cancel","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"268":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"269":{"morph":{"__isSmartRef__":true,"id":260},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"270":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"271":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"272":{"_Position":{"__isSmartRef__":true,"id":273},"renderContextTable":{"__isSmartRef__":true,"id":274},"_Extent":{"__isSmartRef__":true,"id":275},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":276},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":220},"_Fill":{"__isSmartRef__":true,"id":235},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"273":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"274":{"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"},"275":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"276":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"277":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"278":{"morph":{"__isSmartRef__":true,"id":259},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"279":{"x":236,"y":56,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"280":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"281":{"stops":[{"__isSmartRef__":true,"id":282},{"__isSmartRef__":true,"id":284},{"__isSmartRef__":true,"id":286},{"__isSmartRef__":true,"id":288}],"vector":{"__isSmartRef__":true,"id":230},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"282":{"offset":0,"color":{"__isSmartRef__":true,"id":283}},"283":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"284":{"offset":0.4,"color":{"__isSmartRef__":true,"id":285}},"285":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"286":{"offset":0.6,"color":{"__isSmartRef__":true,"id":287}},"287":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"288":{"offset":1,"color":{"__isSmartRef__":true,"id":289}},"289":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"290":{"moveVertical":true,"moveHorizontal":true},"291":{"sourceObj":{"__isSmartRef__":true,"id":259},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":292},"targetMethodName":"removeTopLevel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"292":{"result":"test-javascript-as-presentation.xhtml","message":"Please enter a relative or absolute path","attributeConnections":[{"__isSmartRef__":true,"id":293}],"doNotSerialize":["$$result"],"doNotCopyProperties":["$$result"],"defaultInput":"test-javascript.xhtml","panel":{"__isSmartRef__":true,"id":245},"label":{"__isSmartRef__":true,"id":246},"cancelButton":{"__isSmartRef__":true,"id":259},"okButton":{"__isSmartRef__":true,"id":214},"inputText":{"__isSmartRef__":true,"id":294},"view":{"__isSmartRef__":true,"id":245},"__LivelyClassName__":"lively.morphic.PromptDialog","__SourceModuleName__":"Global.lively.morphic.Widgets"},"293":{"sourceObj":{"__isSmartRef__":true,"id":292},"sourceAttrName":"result","targetObj":{"__isSmartRef__":true,"id":292},"targetMethodName":"triggerCallback","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"294":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":295},"derivationIds":[null],"id":"4E1AD75B-9983-405E-AE24-2754443170A7","renderContextTable":{"__isSmartRef__":true,"id":301},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":302}],"eventHandler":{"__isSmartRef__":true,"id":304},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":305},"priorExtent":{"__isSmartRef__":true,"id":306},"_MaxTextWidth":266,"_MinTextWidth":266,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isInputLine":true,"draggingEnabled":false,"attributeConnections":[{"__isSmartRef__":true,"id":307},{"__isSmartRef__":true,"id":308}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"test-javascript-as-presentation.xhtml","owner":{"__isSmartRef__":true,"id":245},"priorSelectionRange":[0,21],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"295":{"_Position":{"__isSmartRef__":true,"id":296},"renderContextTable":{"__isSmartRef__":true,"id":297},"_Extent":{"__isSmartRef__":true,"id":298},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":299},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":207},"_Fill":{"__isSmartRef__":true,"id":300},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"296":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"297":{"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"},"298":{"x":276,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"299":{"x":4,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"300":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"301":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","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","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"302":{"style":{"__isSmartRef__":true,"id":303},"chunkOwner":{"__isSmartRef__":true,"id":294},"storedString":"test-javascript-as-presentation.xhtml","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"303":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"304":{"morph":{"__isSmartRef__":true,"id":294},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"305":{"x":4,"y":27,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"306":{"x":276,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"307":{"sourceObj":{"__isSmartRef__":true,"id":294},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":292},"targetMethodName":"result","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"308":{"sourceObj":{"__isSmartRef__":true,"id":294},"sourceAttrName":"onEscPressed","targetObj":{"__isSmartRef__":true,"id":292},"targetMethodName":"result","converter":null,"converterString":"function () {\n return null;\n}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":309},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"309":{"source":{"__isSmartRef__":true,"id":294},"target":{"__isSmartRef__":true,"id":292}},"310":{"sourceObj":{"__isSmartRef__":true,"id":259},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":292},"targetMethodName":"result","converter":null,"converterString":"function () {\n return null;\n}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":311},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"311":{"source":{"__isSmartRef__":true,"id":259},"target":{"__isSmartRef__":true,"id":292}},"312":{"_Position":{"__isSmartRef__":true,"id":313},"renderContextTable":{"__isSmartRef__":true,"id":314},"_Extent":{"__isSmartRef__":true,"id":315},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":316},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":317},"_Fill":{"__isSmartRef__":true,"id":318},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"313":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"314":{"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"},"315":{"x":300,"y":90,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"316":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"317":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"318":{"r":0.8235294117647058,"g":0.8235294117647058,"b":0.8235294117647058,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"319":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"320":{"morph":{"__isSmartRef__":true,"id":245},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"321":{"x":643.5,"y":368,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"322":{"adjustForNewBounds":true},"323":{"sourceObj":{"__isSmartRef__":true,"id":245},"sourceAttrName":"onEscPressed","targetObj":{"__isSmartRef__":true,"id":292},"targetMethodName":"result","converter":null,"converterString":"function () {\n return null;\n}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":324},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"324":{"source":{"__isSmartRef__":true,"id":245},"target":{"__isSmartRef__":true,"id":292}},"325":{"sourceObj":{"__isSmartRef__":true,"id":245},"sourceAttrName":"onEnterPressed","targetObj":{"__isSmartRef__":true,"id":294},"targetMethodName":"doSave","converter":null,"converterString":"function (arg) {\n return arg;\n}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":326},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"326":{"source":{"__isSmartRef__":true,"id":245},"target":{"__isSmartRef__":true,"id":294}},"327":{"$$onEnterPressed":{"__isSmartRef__":true,"id":328}},"328":{"varMapping":{"__isSmartRef__":true,"id":329},"source":"function onEnterPressed(evt) {\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":334},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"329":{"this":{"__isSmartRef__":true,"id":245},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":330}},"330":{"$super":{"__isSmartRef__":true,"id":331}},"331":{"varMapping":{"__isSmartRef__":true,"id":332},"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":333},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"332":{"obj":{"__isSmartRef__":true,"id":245},"name":"onEnterPressed"},"333":{},"334":{},"335":{"sourceObj":{"__isSmartRef__":true,"id":214},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":292},"targetMethodName":"removeTopLevel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"336":{"sourceObj":{"__isSmartRef__":true,"id":214},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":294},"targetMethodName":"doSave","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"337":{"x":847,"y":434,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"338":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":339},"_Extent":{"__isSmartRef__":true,"id":340},"_Fill":{"__isSmartRef__":true,"id":341},"renderContextTable":{"__isSmartRef__":true,"id":342},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":343},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"339":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"340":{"x":2800,"y":2900,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"341":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"342":{"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"},"343":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"344":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"345":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"346":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setScroll":"setScrollHTML"},"347":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"348":{"x":845,"y":432,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"349":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","converter":null,"converterString":null,"updaterString":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v);\n }\n}","varMapping":{"__isSmartRef__":true,"id":350},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":351},"__LivelyClassName__":"AttributeConnection"},"350":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"351":{"updater":{"__isSmartRef__":true,"id":352}},"352":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":350},"source":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":353},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"353":{},"354":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/users/mzimmerm/test-javascript.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"}}}]]>