>>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":246},"eventHandler":{"__isSmartRef__":true,"id":247},"eventStartPos":{"__isSmartRef__":true,"id":248},"worldMenuOpened":true,"prevScroll":[0,-1080],"attributeConnections":[{"__isSmartRef__":true,"id":249}],"doNotSerialize":["$$savedWorldAsURL"],"doNotCopyProperties":["$$savedWorldAsURL"],"draggingEnabled":true,"clickedOnMorphTime":1327132839185,"_Scroll":[0,-1080],"savedWorldAsURL":{"__isSmartRef__":true,"id":254},"__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":450.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":450.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":466,"y":847.664,"__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":466,"y":848.664,"__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":523.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":[1285,1285],"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":523.024,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"isBeingDragged":false,"previousSelection":[1098,1097],"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":539,"y":1124.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":540,"y":1126.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":"47B0D2F0-83C9-4FE9-B002-C91AA6989E37","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":1439.024,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":89},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Prototypes","partsBinMetaInfo":{"__isSmartRef__":true,"id":93},"textChunks":[{"__isSmartRef__":true,"id":94},{"__isSmartRef__":true,"id":96},{"__isSmartRef__":true,"id":98},{"__isSmartRef__":true,"id":100},{"__isSmartRef__":true,"id":102},{"__isSmartRef__":true,"id":104},{"__isSmartRef__":true,"id":106},{"__isSmartRef__":true,"id":108},{"__isSmartRef__":true,"id":110},{"__isSmartRef__":true,"id":112},{"__isSmartRef__":true,"id":114}],"charsReplaced":"","lastFindLoc":3863,"priorSelectionRange":[3986,3986],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":116},"renderContextTable":{"__isSmartRef__":true,"id":117},"eventHandler":{"__isSmartRef__":true,"id":118},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":119},"_ClipMode":"visible","derivationIds":[355,"A8177E7D-A25E-43D6-8371-B173A02781EC"],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":0},"_MinTextWidth":1439.024,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"isBeingDragged":false,"previousSelection":[1571,1572],"distanceToDragEvent":{"__isSmartRef__":true,"id":120},"__LivelyClassName__":"lively.morphic.Text"},"86":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":87},"_Extent":{"__isSmartRef__":true,"id":88},"_BorderWidth":1.4880000000000002,"_BorderColor":{"__isSmartRef__":true,"id":89},"renderContextTable":{"__isSmartRef__":true,"id":90},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":91},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"87":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"88":{"x":1455,"y":2366.976,"__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":25.99999999999995,"y":1378,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"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},"chunkOwner":{"__isSmartRef__":true,"id":85},"__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"},"95":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"96":{"style":{"__isSmartRef__":true,"id":97},"chunkOwner":{"__isSmartRef__":true,"id":85},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"member function","__LivelyClassName__":"lively.morphic.TextChunk"},"97":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"98":{"style":{"__isSmartRef__":true,"id":99},"chunkOwner":{"__isSmartRef__":true,"id":85},"__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"},"99":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"100":{"style":{"__isSmartRef__":true,"id":101},"chunkOwner":{"__isSmartRef__":true,"id":85},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"What's really required is a class level function that works on instance data.","__LivelyClassName__":"lively.morphic.TextChunk"},"101":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"102":{"style":{"__isSmartRef__":true,"id":103},"chunkOwner":{"__isSmartRef__":true,"id":85},"__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"},"103":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"104":{"style":{"__isSmartRef__":true,"id":105},"chunkOwner":{"__isSmartRef__":true,"id":85},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"The internal object member, prototype","__LivelyClassName__":"lively.morphic.TextChunk"},"105":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"106":{"style":{"__isSmartRef__":true,"id":107},"chunkOwner":{"__isSmartRef__":true,"id":85},"__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"},"107":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"108":{"style":{"__isSmartRef__":true,"id":109},"chunkOwner":{"__isSmartRef__":true,"id":85},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"copied to every instance of ChildObject","__LivelyClassName__":"lively.morphic.TextChunk"},"109":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"110":{"style":{"__isSmartRef__":true,"id":111},"chunkOwner":{"__isSmartRef__":true,"id":85},"__SourceModuleName__":"Global.lively.morphic.TextCore","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"},"111":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"112":{"style":{"__isSmartRef__":true,"id":113},"chunkOwner":{"__isSmartRef__":true,"id":85},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"we can think of the constructor function itself as the \"class\" object. ","__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":85},"__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"},"115":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"116":{"x":1455,"y":2366.976,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"117":{"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"},"118":{"morph":{"__isSmartRef__":true,"id":85},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"119":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"120":{"x":936,"y":-19,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"121":{"submorphs":[],"scripts":[],"id":"7A24A887-9838-4AF7-A10D-12649877BD4D","shape":{"__isSmartRef__":true,"id":122},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":128},"_MaxTextWidth":504.336,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":125},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text6","partsBinMetaInfo":{"__isSmartRef__":true,"id":129},"textChunks":[{"__isSmartRef__":true,"id":130}],"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":[866,866],"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,"91274946-0D6A-4B47-9A26-608C90DA8B5F"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":504.336,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"previousSelection":[183,183],"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":136},"splittedFrom":{"__isSmartRef__":true,"id":137},"owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.Text"},"122":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":123},"_Extent":{"__isSmartRef__":true,"id":124},"_BorderWidth":1.332,"_BorderColor":{"__isSmartRef__":true,"id":125},"renderContextTable":{"__isSmartRef__":true,"id":126},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":127},"_BorderRadius":1.8500000000000003,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"123":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"124":{"x":520,"y":1139.664,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"125":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"126":{"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"},"127":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"128":{"x":8,"y":116.71290108927747,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"129":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"130":{"style":{"__isSmartRef__":true,"id":131},"chunkOwner":{"__isSmartRef__":true,"id":121},"__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"},"131":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"132":{"x":520,"y":1133.32,"__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":121},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"135":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"136":{"x":345,"y":-16.712901089277466,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"137":{"submorphs":[],"scripts":[],"id":"91274946-0D6A-4B47-9A26-608C90DA8B5F","shape":{"__isSmartRef__":true,"id":138},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":144},"_MaxTextWidth":489.336,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":141},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":145},"textChunks":[{"__isSmartRef__":true,"id":146}],"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":148},"renderContextTable":{"__isSmartRef__":true,"id":149},"eventHandler":{"__isSmartRef__":true,"id":150},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":151},"_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":152},"__LivelyClassName__":"lively.morphic.Text"},"138":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":139},"_Extent":{"__isSmartRef__":true,"id":140},"_BorderWidth":1.332,"_BorderColor":{"__isSmartRef__":true,"id":141},"renderContextTable":{"__isSmartRef__":true,"id":142},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":143},"_BorderRadius":1.8500000000000003,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"139":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"140":{"x":505,"y":44.664,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"141":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"142":{"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"},"143":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"144":{"x":21,"y":112,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"145":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"146":{"style":{"__isSmartRef__":true,"id":147},"chunkOwner":{"__isSmartRef__":true,"id":137},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"147":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"148":{"x":505,"y":44.664,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"149":{"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"},"150":{"morph":{"__isSmartRef__":true,"id":137},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"151":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"152":{"x":255,"y":-10,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"153":{"submorphs":[],"scripts":[],"id":"940C82B0-BACD-4DA5-ADE9-5025DBC9DD73","shape":{"__isSmartRef__":true,"id":154},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":160},"_MaxTextWidth":1386,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":157},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":161},"textChunks":[{"__isSmartRef__":true,"id":162},{"__isSmartRef__":true,"id":164},{"__isSmartRef__":true,"id":166},{"__isSmartRef__":true,"id":168},{"__isSmartRef__":true,"id":170}],"charsReplaced":"Test Javascript","lastFindLoc":15,"priorSelectionRange":[4,4],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":172},"renderContextTable":{"__isSmartRef__":true,"id":173},"eventHandler":{"__isSmartRef__":true,"id":174},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":175},"_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":176},"__LivelyClassName__":"lively.morphic.Text"},"154":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":155},"_Extent":{"__isSmartRef__":true,"id":156},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":157},"renderContextTable":{"__isSmartRef__":true,"id":158},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":159},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"155":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"156":{"x":1386,"y":54,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"157":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"158":{"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"},"159":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"160":{"x":103,"y":16,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"161":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"162":{"style":{"__isSmartRef__":true,"id":163},"morph":{"__isSmartRef__":true,"id":153},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":153},"storedString":"Test Javascript ","__LivelyClassName__":"lively.morphic.TextChunk"},"163":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"164":{"style":{"__isSmartRef__":true,"id":165},"chunkOwner":{"__isSmartRef__":true,"id":153},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"http://javascript.infogami.com/Javascript_in_Ten_Minutes","__LivelyClassName__":"lively.morphic.TextChunk"},"165":{"__SourceModuleName__":"Global.lively.morphic.TextCore","uri":"http://javascript.infogami.com/Javascript_in_Ten_Minutes","__LivelyClassName__":"lively.morphic.TextEmphasis"},"166":{"style":{"__isSmartRef__":true,"id":167},"chunkOwner":{"__isSmartRef__":true,"id":153},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"... ","__LivelyClassName__":"lively.morphic.TextChunk"},"167":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"168":{"style":{"__isSmartRef__":true,"id":169},"chunkOwner":{"__isSmartRef__":true,"id":153},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"http://www.gotapi.com","__LivelyClassName__":"lively.morphic.TextChunk"},"169":{"__SourceModuleName__":"Global.lively.morphic.TextCore","uri":"http://www.gotapi.com","__LivelyClassName__":"lively.morphic.TextEmphasis"},"170":{"style":{"__isSmartRef__":true,"id":171},"chunkOwner":{"__isSmartRef__":true,"id":153},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk"},"171":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"172":{"x":1386,"y":54,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"173":{"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"},"174":{"morph":{"__isSmartRef__":true,"id":153},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"175":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"176":{"x":927,"y":-8,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"177":{"submorphs":[],"scripts":[],"id":"B32F607E-EBBC-413F-B06A-58F6A6D7C93A","shape":{"__isSmartRef__":true,"id":178},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":184},"_MaxTextWidth":370,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":181},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":185},"textChunks":[{"__isSmartRef__":true,"id":186}],"charsReplaced":"Prototypesr","lastFindLoc":11,"priorSelectionRange":[0,0],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":188},"renderContextTable":{"__isSmartRef__":true,"id":189},"eventHandler":{"__isSmartRef__":true,"id":190},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":191},"_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":192},"previousSelection":[11,11],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.002003004005006,"__LivelyClassName__":"lively.morphic.Text"},"178":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":179},"_Extent":{"__isSmartRef__":true,"id":180},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":181},"renderContextTable":{"__isSmartRef__":true,"id":182},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":183},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"179":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"180":{"x":370,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"181":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"182":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"183":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"184":{"x":25.99999999999993,"y":1329.9999999999998,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"185":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"186":{"style":{"__isSmartRef__":true,"id":187},"morph":{"__isSmartRef__":true,"id":177},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":177},"storedString":"Object Prototype Implementation ","__LivelyClassName__":"lively.morphic.TextChunk"},"187":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"188":{"x":370,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"189":{"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"},"190":{"morph":{"__isSmartRef__":true,"id":177},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"191":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"192":{"x":243.00000000000006,"y":-13,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"193":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":194},"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":200},"eventHandler":{"__isSmartRef__":true,"id":201},"lastScrollTime":1327132809272,"internalClickedOnMorph":{"__isSmartRef__":true,"id":202},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Position":{"__isSmartRef__":true,"id":237},"_Scale":1.002003004005006,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"194":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":195},"_Extent":{"__isSmartRef__":true,"id":196},"_Fill":{"__isSmartRef__":true,"id":197},"renderContextTable":{"__isSmartRef__":true,"id":198},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":199},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"195":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"196":{"x":2,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"197":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"198":{"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"},"199":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"200":{"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"},"201":{"morph":{"__isSmartRef__":true,"id":193},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"202":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":203},"derivationIds":[null],"id":"1D7095F2-584F-43A2-9E34-5E92E54BF03D","renderContextTable":{"__isSmartRef__":true,"id":215},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":216}],"eventHandler":{"__isSmartRef__":true,"id":218},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"_Position":{"__isSmartRef__":true,"id":219},"priorExtent":{"__isSmartRef__":true,"id":220},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":221},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":222},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"203":{"_Position":{"__isSmartRef__":true,"id":204},"renderContextTable":{"__isSmartRef__":true,"id":205},"_Extent":{"__isSmartRef__":true,"id":206},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":207},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":208},"_Fill":{"__isSmartRef__":true,"id":209},"_BorderRadius":4,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"204":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"205":{"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"},"206":{"x":186,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"207":{"x":3,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"208":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"209":{"stops":[{"__isSmartRef__":true,"id":210},{"__isSmartRef__":true,"id":212}],"vector":{"__isSmartRef__":true,"id":214},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"210":{"offset":0,"color":{"__isSmartRef__":true,"id":211}},"211":{"r":0.39215686274509803,"g":0.5137254901960784,"b":0.9725490196078431,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"212":{"offset":1,"color":{"__isSmartRef__":true,"id":213}},"213":{"r":0.13333333333333333,"g":0.3333333333333333,"b":0.9607843137254902,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"214":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"215":{"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"},"216":{"style":{"__isSmartRef__":true,"id":217},"chunkOwner":{"__isSmartRef__":true,"id":202},"storedString":"save world","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"217":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"218":{"morph":{"__isSmartRef__":true,"id":202},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"219":{"x":0,"y":184,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"220":{"x":280,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"221":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"222":{"onMouseWheel":{"__isSmartRef__":true,"id":223},"onSelectStart":{"__isSmartRef__":true,"id":230}},"223":{"varMapping":{"__isSmartRef__":true,"id":224},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":229},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"224":{"this":{"__isSmartRef__":true,"id":202},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":225}},"225":{"$super":{"__isSmartRef__":true,"id":226}},"226":{"varMapping":{"__isSmartRef__":true,"id":227},"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":228},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"227":{"obj":{"__isSmartRef__":true,"id":202},"name":"onMouseWheel"},"228":{},"229":{},"230":{"varMapping":{"__isSmartRef__":true,"id":231},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":236},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"231":{"this":{"__isSmartRef__":true,"id":202},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":232}},"232":{"$super":{"__isSmartRef__":true,"id":233}},"233":{"varMapping":{"__isSmartRef__":true,"id":234},"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":235},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"234":{"obj":{"__isSmartRef__":true,"id":202},"name":"onSelectStart"},"235":{},"236":{},"237":{"x":1294,"y":298,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"238":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":239},"_Extent":{"__isSmartRef__":true,"id":240},"_Fill":{"__isSmartRef__":true,"id":241},"renderContextTable":{"__isSmartRef__":true,"id":242},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":243},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"239":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"240":{"x":2800,"y":2900,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"241":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"242":{"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"},"243":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"244":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"245":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"246":{"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"},"247":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"248":{"x":1294,"y":297,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"249":{"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":250},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":251},"__LivelyClassName__":"AttributeConnection"},"250":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"251":{"updater":{"__isSmartRef__":true,"id":252}},"252":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":250},"source":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":253},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"253":{},"254":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/users/mzimmerm/test-javascript.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"isSimplifiedRegistry":true}}]]>