= 0) {\n this.setTextString(this.history[this.historyPosition]);\n } else {\n this.historyPosition = 0;\n }\n } else if (evt.keyCode === 40) {\n this.historyPosition++;\n if (this.historyPosition < this.history.length) {\n this.setTextString(this.history[this.historyPosition]);\n } else if (this.historyPosition == this.history.length) {\n this.setTextString(\"\");\n } else {\n this.historyPosition = this.history.length;\n }\n };\n //evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":1814},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1809":{"this":{"__isSmartRef__":true,"id":1782},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1810}},"1810":{"$super":{"__isSmartRef__":true,"id":1811}},"1811":{"varMapping":{"__isSmartRef__":true,"id":1812},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1813},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1812":{"obj":{"__isSmartRef__":true,"id":1782},"name":"onKeyDown"},"1813":{},"1814":{"timestamp":{"__isSmartRef__":true,"id":1815},"user":"conradcalmez","tags":[]},"1815":{"isSerializedDate":true,"string":"Mon Apr 30 2012 08:32:02 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1816":{"submorphs":[{"__isSmartRef__":true,"id":1817}],"scripts":[],"id":"471EACFA-F969-4597-BAB9-1D40196DEFF3","shape":{"__isSmartRef__":true,"id":1845},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1852},"showsHalos":false,"name":"ConsolePane","partsBinMetaInfo":{"__isSmartRef__":true,"id":1853},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1862},"eventHandler":{"__isSmartRef__":true,"id":1863},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","2284B4AF-3F6A-4ED0-B371-2D6A5F5F8721","825058EF-B1B2-4144-99EA-1AB7F5F057B1","A67547E7-12AD-4C37-AEB2-70DA37858E48","50181AE7-B6F0-4A6A-B4B5-95949DAA9D7F","B61C669C-3446-42B4-AE85-DFE3B0CD272E"],"partTests":{"__isSmartRef__":true,"id":1864},"_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":1781},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":1869},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1870},"__LivelyClassName__":"lively.morphic.Box"},"1817":{"submorphs":[],"scripts":[],"id":"E38FBF21-6CCC-4F95-963D-9A9A8CCB77EB","shape":{"__isSmartRef__":true,"id":1818},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"courier","registeredForMouseEvents":true,"_MaxTextWidth":326,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1821},"showsHalos":false,"_FontSize":10,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"TextPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":1825},"textChunks":[{"__isSmartRef__":true,"id":1826}],"charsReplaced":"","lastFindLoc":17,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1828},"renderContextTable":{"__isSmartRef__":true,"id":1829},"eventHandler":{"__isSmartRef__":true,"id":1830},"attributeConnections":[{"__isSmartRef__":true,"id":1831}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"layout":{"__isSmartRef__":true,"id":1832},"_Padding":{"__isSmartRef__":true,"id":1833},"_WhiteSpaceHandling":"pre-wrap","_Position":{"__isSmartRef__":true,"id":1834},"derivationIds":[2362,"5D172806-0544-45B6-80E9-E8AA3475FE71","022F604C-036A-4213-8CCE-C823172C8D13","BC5F6774-C382-49A3-A0C6-E26114FFF113","B5AC1E1E-F04F-4EA8-9416-1B08E0A9ACB8","36F5D6C4-E71B-4FD2-A402-0D9CFDB5A643"],"_ClipMode":"auto","moved":true,"owner":{"__isSmartRef__":true,"id":1816},"_MinTextWidth":326,"_MinTextHeight":null,"distanceToDragEvent":{"__isSmartRef__":true,"id":1835},"isBeingDragged":false,"eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","_Rotation":0,"_Scale":0.998001,"textString":"[object Object] connected","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1836},"__LivelyClassName__":"lively.morphic.Text"},"1818":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1819},"_Extent":{"__isSmartRef__":true,"id":1820},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1821},"renderContextTable":{"__isSmartRef__":true,"id":1822},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Fill":{"__isSmartRef__":true,"id":1823},"_Padding":{"__isSmartRef__":true,"id":1824},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1819":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1820":{"x":326,"y":548,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1821":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1822":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClassName":"setClassNameHTML"},"1823":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1824":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1825":{"partsSpaceName":"PartsBin/Text/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"a simple text morph","partName":"TextBox","revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1826":{"style":{"__isSmartRef__":true,"id":1827},"chunkOwner":{"__isSmartRef__":true,"id":1817},"storedString":"[object Object] connected","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1827":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1828":{"x":326,"y":548,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1829":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1830":{"morph":{"__isSmartRef__":true,"id":1817},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1831":{"sourceObj":{"__isSmartRef__":true,"id":1817},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1817},"targetMethodName":"scrollToBottom","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1832":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"1833":{"x":5,"y":5,"width":5,"height":5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1834":{"x":2.799100000010526,"y":2.958021000000997,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1835":{"x":180.01001502002487,"y":-12.987981975970001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1836":{"onrestore":{"__isSmartRef__":true,"id":1837}},"1837":{"varMapping":{"__isSmartRef__":true,"id":1838},"source":"function onrestore() {\n this.disableEvents();\n this.setExtent(pt(326,548));\n}","funcProperties":{"__isSmartRef__":true,"id":1843},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1838":{"this":{"__isSmartRef__":true,"id":1817},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1839}},"1839":{"$super":{"__isSmartRef__":true,"id":1840}},"1840":{"varMapping":{"__isSmartRef__":true,"id":1841},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1842},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1841":{"obj":{"__isSmartRef__":true,"id":1817},"name":"onrestore"},"1842":{},"1843":{"timestamp":{"__isSmartRef__":true,"id":1844},"user":"conradcalmez","tags":[]},"1844":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:04:02 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1845":{"position":{"__isSmartRef__":true,"id":1846},"_Extent":{"__isSmartRef__":true,"id":1847},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1848},"_Fill":{"__isSmartRef__":true,"id":1849},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1850},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1851},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1846":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1847":{"x":330,"y":550,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1848":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1849":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1850":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClassName":"setClassNameHTML"},"1851":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1852":{"x":1.196901999999909,"y":0.9980010000000021,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1853":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":1854},{"__isSmartRef__":true,"id":1856},{"__isSmartRef__":true,"id":1858},{"__isSmartRef__":true,"id":1860}],"revisionOnLoad":150682,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1854":{"date":{"__isSmartRef__":true,"id":1855},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"1855":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (Mitteleuropäische Zeit)"},"1856":{"date":{"__isSmartRef__":true,"id":1857},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1857":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (Mitteleuropäische Zeit)"},"1858":{"date":{"__isSmartRef__":true,"id":1859},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"1859":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (Mitteleuropäische Zeit)"},"1860":{"date":{"__isSmartRef__":true,"id":1861},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"1861":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1862":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1863":{"morph":{"__isSmartRef__":true,"id":1816},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1864":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1865}},"1865":{"test01IsMorph":{"__isSmartRef__":true,"id":1866}},"1866":{"varMapping":{"__isSmartRef__":true,"id":1867},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1868},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1867":{"this":{"__isSmartRef__":true,"id":1864}},"1868":{},"1869":{"x":330,"y":549,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1870":{"onrestore":{"__isSmartRef__":true,"id":1871}},"1871":{"varMapping":{"__isSmartRef__":true,"id":1872},"source":"function onrestore() {\n this.setClipMode(\"auto\");\n}","funcProperties":{"__isSmartRef__":true,"id":1877},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1872":{"this":{"__isSmartRef__":true,"id":1816},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1873}},"1873":{"$super":{"__isSmartRef__":true,"id":1874}},"1874":{"varMapping":{"__isSmartRef__":true,"id":1875},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1876},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1875":{"obj":{"__isSmartRef__":true,"id":1816},"name":"onrestore"},"1876":{},"1877":{"timestamp":{"__isSmartRef__":true,"id":1878},"user":"conradcalmez","tags":[]},"1878":{"isSerializedDate":true,"string":"Thu Apr 26 2012 20:07:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1879":{"position":{"__isSmartRef__":true,"id":1880},"_Extent":{"__isSmartRef__":true,"id":1881},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1882},"_Fill":{"__isSmartRef__":true,"id":1883},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1884},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1885},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1880":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1881":{"x":332.6,"y":582.1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1882":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1883":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1884":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClassName":"setClassNameHTML"},"1885":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1886":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1887":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":1888},{"__isSmartRef__":true,"id":1890},{"__isSmartRef__":true,"id":1892},{"__isSmartRef__":true,"id":1894}],"revisionOnLoad":150682,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1888":{"date":{"__isSmartRef__":true,"id":1889},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"1889":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (Mitteleuropäische Zeit)"},"1890":{"date":{"__isSmartRef__":true,"id":1891},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1891":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (Mitteleuropäische Zeit)"},"1892":{"date":{"__isSmartRef__":true,"id":1893},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"1893":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (Mitteleuropäische Zeit)"},"1894":{"date":{"__isSmartRef__":true,"id":1895},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"1895":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1896":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1897":{"morph":{"__isSmartRef__":true,"id":1781},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1898":{"sourceObj":{"__isSmartRef__":true,"id":1781},"sourceAttrName":"userName","targetObj":{"__isSmartRef__":true,"id":1781},"targetMethodName":"syncUserName","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1899":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1900}},"1900":{"test01IsMorph":{"__isSmartRef__":true,"id":1901}},"1901":{"varMapping":{"__isSmartRef__":true,"id":1902},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1903},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1902":{"this":{"__isSmartRef__":true,"id":1899}},"1903":{},"1904":{"x":332.6,"y":582.1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1905":{"adjustForNewBounds":true,"moveHorizontal":true,"resizeWidth":false,"resizeHeight":true},"1906":{"x":209,"y":-16,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1907":{"onrestore":{"__isSmartRef__":true,"id":1908},"hide":{"__isSmartRef__":true,"id":1916},"setUserName":{"__isSmartRef__":true,"id":1920},"syncUserName":{"__isSmartRef__":true,"id":1924},"toggle":{"__isSmartRef__":true,"id":1928},"isVisible":{"__isSmartRef__":true,"id":1932},"show":{"__isSmartRef__":true,"id":1940},"showMessage":{"__isSmartRef__":true,"id":1944},"sendMessage":{"__isSmartRef__":true,"id":1948},"getUserName":{"__isSmartRef__":true,"id":1952},"processCommand":{"__isSmartRef__":true,"id":1956}},"1908":{"varMapping":{"__isSmartRef__":true,"id":1909},"source":"function onrestore() {\n this.setExtent(pt(332.6,582.1));\n this.visible = false;\n this.hide();\n this.whiteboard = this.owner.get(\"WhiteBoard\");\n this.pencilStyler = this.owner.get(\"PencilStyler\");\n this.setUserName($world.getUserName());\n}","funcProperties":{"__isSmartRef__":true,"id":1914},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1909":{"this":{"__isSmartRef__":true,"id":1781},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1910}},"1910":{"$super":{"__isSmartRef__":true,"id":1911}},"1911":{"varMapping":{"__isSmartRef__":true,"id":1912},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1913},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1912":{"obj":{"__isSmartRef__":true,"id":1781},"name":"onrestore"},"1913":{},"1914":{"timestamp":{"__isSmartRef__":true,"id":1915},"user":"conradcalmez","tags":[]},"1915":{"isSerializedDate":true,"string":"Wed May 02 2012 19:27:45 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1916":{"varMapping":{"__isSmartRef__":true,"id":1917},"source":"function hide() {\n this.setPosition(pt(0, 0));\n this.setVisible(false);\n}","funcProperties":{"__isSmartRef__":true,"id":1918},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1917":{"this":{"__isSmartRef__":true,"id":1781}},"1918":{"timestamp":{"__isSmartRef__":true,"id":1919},"user":"conradcalmez","tags":[]},"1919":{"isSerializedDate":true,"string":"Wed May 02 2012 15:40:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1920":{"varMapping":{"__isSmartRef__":true,"id":1921},"source":"function setUserName(name) {\n this.userName = name;\n}","funcProperties":{"__isSmartRef__":true,"id":1922},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1921":{"this":{"__isSmartRef__":true,"id":1781}},"1922":{"timestamp":{"__isSmartRef__":true,"id":1923},"user":"conradcalmez","tags":[]},"1923":{"isSerializedDate":true,"string":"Mon Apr 30 2012 15:02:29 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1924":{"varMapping":{"__isSmartRef__":true,"id":1925},"source":"function syncUserName(name) {\n if (this.whiteboard.active) {\n this.whiteboard.socket.emit('nick', {message: name, broadcast: true});\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1926},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1925":{"this":{"__isSmartRef__":true,"id":1781}},"1926":{"timestamp":{"__isSmartRef__":true,"id":1927},"user":"conradcalmez","tags":[]},"1927":{"isSerializedDate":true,"string":"Wed May 02 2012 19:15:33 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1928":{"varMapping":{"__isSmartRef__":true,"id":1929},"source":"function toggle() {\n if (this.visible) {\n this.hide();\n this.visible = false;\n } else {\n this.show();\n this.visible = true;\n this.get(\"InputField\").focus();\n }\n if (this.pencilStyler.isVisible()) {\n this.pencilStyler.show();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1930},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1929":{"this":{"__isSmartRef__":true,"id":1781}},"1930":{"timestamp":{"__isSmartRef__":true,"id":1931},"user":"conradcalmez","tags":[]},"1931":{"isSerializedDate":true,"string":"Wed May 02 2012 19:31:38 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1932":{"varMapping":{"__isSmartRef__":true,"id":1933},"source":"function isVisible() {\n return this.visible || false;\n}","funcProperties":{"__isSmartRef__":true,"id":1938},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1933":{"this":{"__isSmartRef__":true,"id":1781},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1934}},"1934":{"$super":{"__isSmartRef__":true,"id":1935}},"1935":{"varMapping":{"__isSmartRef__":true,"id":1936},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1937},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1936":{"obj":{"__isSmartRef__":true,"id":1781},"name":"isVisible"},"1937":{},"1938":{"timestamp":{"__isSmartRef__":true,"id":1939},"user":"conradcalmez","tags":[]},"1939":{"isSerializedDate":true,"string":"Thu Apr 26 2012 17:52:17 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1940":{"varMapping":{"__isSmartRef__":true,"id":1941},"source":"function show() {\n var titlebarOffset = this.owner.get(\"TitleBar\").getExtent().y;\n var windowOffset = this.owner.getExtent().x + 1;\n this.setPosition(pt(windowOffset, titlebarOffset));\n this.setVisible(true);\n}","funcProperties":{"__isSmartRef__":true,"id":1942},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1941":{"this":{"__isSmartRef__":true,"id":1781}},"1942":{"timestamp":{"__isSmartRef__":true,"id":1943},"user":"conradcalmez","tags":[]},"1943":{"isSerializedDate":true,"string":"Wed May 02 2012 15:40:25 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1944":{"varMapping":{"__isSmartRef__":true,"id":1945},"source":"function showMessage(messageText, optNick) {\n var pane = this.get(\"ConsolePane\").get(\"TextPane\");\n var currentText = pane.getTextString();\n var text = \"\";\n if (optNick) {\n text = \"<\" + optNick + \"> \" + messageText;\n } else {\n text = messageText;\n }\n if (!currentText) {\n pane.setTextString(text);\n } else {\n pane.setTextString(currentText + \"\\n\" + text);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1946},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1945":{"this":{"__isSmartRef__":true,"id":1781}},"1946":{"timestamp":{"__isSmartRef__":true,"id":1947},"user":"conradcalmez","tags":[]},"1947":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:02:43 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1948":{"varMapping":{"__isSmartRef__":true,"id":1949},"source":"function sendMessage(messageText) {\n if (this.whiteboard.active) {\n this.whiteboard.socket.emit('chat', {\n message: messageText,\n me: true,\n broadcast: true,\n });\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1950},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1949":{"this":{"__isSmartRef__":true,"id":1781}},"1950":{"timestamp":{"__isSmartRef__":true,"id":1951},"user":"conradcalmez","tags":[]},"1951":{"isSerializedDate":true,"string":"Wed May 02 2012 19:15:59 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1952":{"varMapping":{"__isSmartRef__":true,"id":1953},"source":"function getUserName() {\n return this.userName || $world.getUserName();\n}","funcProperties":{"__isSmartRef__":true,"id":1954},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1953":{"this":{"__isSmartRef__":true,"id":1781}},"1954":{"timestamp":{"__isSmartRef__":true,"id":1955},"user":"conradcalmez","tags":[]},"1955":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:00:03 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1956":{"varMapping":{"__isSmartRef__":true,"id":1957},"source":"function processCommand(commandString) {\n var command = commandString.slice(1,commandString.length).split(\" \");\n if (command[0] === 'nick') {\n this.setUserName(command[1]);\n this.showMessage(\"changed nick to \" + command[1]);\n }\n else if (command[0] === 'names') {\n this.whiteboard.getConnectedUserNames();\n }\n else if (command[0] === 'channel' || command[0] === 'chan') {\n this.whiteboard.setChannel(command[1]);\n }\n else if (command[0] === 'clear') {\n this.whiteboard.clear();\n }\n else if (command[0] === 'activate' || command[0] === 'a') {\n this.whiteboard.activate();\n }\n else if (command[0] === 'deactivate' || command[0] === 'd') {\n this.whiteboard.deactivate();\n }\n else if (command[0] === 'color' || command[0] === 'c') {\n this.whiteboard.setColor(Color.rgb(command[1], command[2], command[3]));\n }\n else if (command[0] === 'pencil' || command[0] === 'p') {\n this.whiteboard.setPencilSize(command[1]);\n }\n else if (command[0] === 'pencilstyler' || command[0] === 'ps') {\n this.pencilStyler.toggle();\n }\n else if (command[0] === 'chat') {\n this.toggle();\n }\n else if (command[0] === 'help' || command[0] === 'h') {\n var helpText = \"HELP :: (available commands)\\n\";\n helpText += \"----------------------------\\n\\n\"\n helpText += \"/help\\n :: prints this help text\\n\"\n helpText += \"/nick \\n :: sets your nick name\\n\"\n helpText += \"/names\\n :: shows the users in your channel\\n\"\n helpText += \"/chan \\n :: sets the channel you are in\\n\"\n helpText += \"/clear\\n :: clears your whiteboard\\n\"\n helpText += \"/activate\\n :: takes your whiteboard online\\n\"\n helpText += \"/deactivate\\n :: takes your whiteboard offline\\n\"\n helpText += \"/color \\n :: sets the color of your pencil\\n\"\n helpText += \"/pencil \\n :: sets the size of your pencil in pixels\\n\"\n helpText += \"/pencilstyler\\n :: toggles the pencil styler\\n\"\n helpText += \"/chat\\n :: toggles the chat pane\\n\"\n this.showMessage(helpText);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1958},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1957":{"this":{"__isSmartRef__":true,"id":1781}},"1958":{"timestamp":{"__isSmartRef__":true,"id":1959},"user":"conradcalmez","tags":[]},"1959":{"isSerializedDate":true,"string":"Thu May 03 2012 10:54:40 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1960":{"onrestore":{"__isSmartRef__":true,"id":1961},"deactivate":{"__isSmartRef__":true,"id":1969},"setupConnections":{"__isSmartRef__":true,"id":1973},"getColor":{"__isSmartRef__":true,"id":1977},"setColor":{"__isSmartRef__":true,"id":1981},"getPencilSize":{"__isSmartRef__":true,"id":1985},"setPencilSize":{"__isSmartRef__":true,"id":1989},"getPencilStyle":{"__isSmartRef__":true,"id":1993},"disconnectSocket":{"__isSmartRef__":true,"id":1997},"activate":{"__isSmartRef__":true,"id":2001},"clear":{"__isSmartRef__":true,"id":2005},"clearDatabase":{"__isSmartRef__":true,"id":2009},"drawLineFrom":{"__isSmartRef__":true,"id":2013},"getDrawerID":{"__isSmartRef__":true,"id":2017},"initialSync":{"__isSmartRef__":true,"id":2021},"lineTo":{"__isSmartRef__":true,"id":2025},"morphMenuItems":{"__isSmartRef__":true,"id":2029},"onMouseDown":{"__isSmartRef__":true,"id":2037},"onMouseMove":{"__isSmartRef__":true,"id":2045},"onMouseOut":{"__isSmartRef__":true,"id":2053},"onMouseUp":{"__isSmartRef__":true,"id":2061},"onTouchEnd":{"__isSmartRef__":true,"id":2069},"onTouchMove":{"__isSmartRef__":true,"id":2077},"onTouchStart":{"__isSmartRef__":true,"id":2081},"remove":{"__isSmartRef__":true,"id":2089},"reset":{"__isSmartRef__":true,"id":2097},"startDrawing":{"__isSmartRef__":true,"id":2101},"stopDrawing":{"__isSmartRef__":true,"id":2105},"toggleActivation":{"__isSmartRef__":true,"id":2109},"transformPoint":{"__isSmartRef__":true,"id":2113},"finishLine":{"__isSmartRef__":true,"id":2117},"defaultChannelName":{"__isSmartRef__":true,"id":2121},"getCurrentShape":{"__isSmartRef__":true,"id":2125},"getChannel":{"__isSmartRef__":true,"id":2129},"setChannel":{"__isSmartRef__":true,"id":2133},"$$getChannel":{"__isSmartRef__":true,"id":2137},"createStrokeShape":{"__isSmartRef__":true,"id":2140},"connectSocket":{"__isSmartRef__":true,"id":2144},"sync":{"__isSmartRef__":true,"id":2148},"deleteMorphWith":{"__isSmartRef__":true,"id":2152},"removeDocumentWith":{"__isSmartRef__":true,"id":2156},"createSocketListeners":{"__isSmartRef__":true,"id":2160},"addMorphFrom":{"__isSmartRef__":true,"id":2164},"saveMorph":{"__isSmartRef__":true,"id":2168},"deserializeMorph":{"__isSmartRef__":true,"id":2172},"submorphsChanged":{"__isSmartRef__":true,"id":2176},"defaultColor":{"__isSmartRef__":true,"id":2180},"getConnectedUserNames":{"__isSmartRef__":true,"id":2184},"defaultPencilSize":{"__isSmartRef__":true,"id":2188},"setPencilStyle":{"__isSmartRef__":true,"id":2192},"defaultPencilStyle":{"__isSmartRef__":true,"id":2196}},"1961":{"varMapping":{"__isSmartRef__":true,"id":1962},"source":"function onrestore() {\n this.deactivate();\n module('projects.BP2012.Whiteboard').load(true);\n this.setupConnections();\n this.chat = this.owner.get(\"ChatPane\");\n this.pencilStyler = this.owner.get(\"PencilStyler\");\n}","funcProperties":{"__isSmartRef__":true,"id":1967},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1962":{"this":{"__isSmartRef__":true,"id":1597},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1963}},"1963":{"$super":{"__isSmartRef__":true,"id":1964}},"1964":{"varMapping":{"__isSmartRef__":true,"id":1965},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1966},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1965":{"obj":{"__isSmartRef__":true,"id":1597},"name":"onrestore"},"1966":{},"1967":{"timestamp":{"__isSmartRef__":true,"id":1968},"user":"conradcalmez","tags":["initialization"]},"1968":{"isSerializedDate":true,"string":"Wed May 02 2012 19:13:36 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1969":{"varMapping":{"__isSmartRef__":true,"id":1970},"source":"function deactivate() {\n if (this.active) {\n this.disconnectSocket();\n this.active = false;\n this.setBorderColor(Color.black);\n this.oldSubmorphs = [];\n this.active = false;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1971},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1970":{"this":{"__isSmartRef__":true,"id":1597}},"1971":{"timestamp":{"__isSmartRef__":true,"id":1972},"user":"conradcalmez","tags":["synchronization"]},"1972":{"isSerializedDate":true,"string":"Mon Apr 30 2012 11:19:02 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1973":{"varMapping":{"__isSmartRef__":true,"id":1974},"source":"function setupConnections() {\n this.attributeConnections.invoke('disconnect');\n connect(this, \"submorphs\", this, \"submorphsChanged\", {});\n connect(this, 'channelName', this.owner.titleBar, 'setTitle', {\n converter: function (channelName) {\n return 'Channel: ' + channelName\n }\n })\n}","funcProperties":{"__isSmartRef__":true,"id":1975},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1974":{"this":{"__isSmartRef__":true,"id":1597}},"1975":{"timestamp":{"__isSmartRef__":true,"id":1976},"user":"undefined","tags":["initialization"]},"1976":{"isSerializedDate":true,"string":"Wed Apr 25 2012 11:57:39 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1977":{"varMapping":{"__isSmartRef__":true,"id":1978},"source":"function getColor() {\n return this.color || this.defaultColor();\n}","funcProperties":{"__isSmartRef__":true,"id":1979},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1978":{"this":{"__isSmartRef__":true,"id":1597}},"1979":{"timestamp":{"__isSmartRef__":true,"id":1980},"user":"conradcalmez","tags":["drawing","accessing"]},"1980":{"isSerializedDate":true,"string":"Fri Apr 27 2012 20:44:47 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1981":{"varMapping":{"__isSmartRef__":true,"id":1982},"source":"function setColor(color) {\n this.color = color;\n}","funcProperties":{"__isSmartRef__":true,"id":1983},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1982":{"this":{"__isSmartRef__":true,"id":1597}},"1983":{"timestamp":{"__isSmartRef__":true,"id":1984},"user":"conradcalmez","tags":["drawing","accessing"]},"1984":{"isSerializedDate":true,"string":"Fri Apr 27 2012 20:45:41 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1985":{"varMapping":{"__isSmartRef__":true,"id":1986},"source":"function getPencilSize() {\n return this.pencilSize || this.defaultPencilSize();\n}","funcProperties":{"__isSmartRef__":true,"id":1987},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1986":{"this":{"__isSmartRef__":true,"id":1597}},"1987":{"timestamp":{"__isSmartRef__":true,"id":1988},"user":"conradcalmez","tags":["drawing","accessing"]},"1988":{"isSerializedDate":true,"string":"Mon Apr 30 2012 08:58:24 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1989":{"varMapping":{"__isSmartRef__":true,"id":1990},"source":"function setPencilSize(size) {\n this.pencilSize = size;\n}","funcProperties":{"__isSmartRef__":true,"id":1991},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1990":{"this":{"__isSmartRef__":true,"id":1597}},"1991":{"timestamp":{"__isSmartRef__":true,"id":1992},"user":"conradcalmez","tags":["drawing","accessing"]},"1992":{"isSerializedDate":true,"string":"Mon Apr 30 2012 08:57:47 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1993":{"varMapping":{"__isSmartRef__":true,"id":1994},"source":"function getPencilStyle() {\n return this.pencilStyle || this.defaultPencilStyle();\n}","funcProperties":{"__isSmartRef__":true,"id":1995},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1994":{"this":{"__isSmartRef__":true,"id":1597}},"1995":{"timestamp":{"__isSmartRef__":true,"id":1996},"user":"conradcalmez","tags":["drawing","accessing"]},"1996":{"isSerializedDate":true,"string":"Wed May 02 2012 15:03:14 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1997":{"varMapping":{"__isSmartRef__":true,"id":1998},"source":"function disconnectSocket() {\n this.socket && this.socket.disconnect();\n this.socket = undefined;\n}","funcProperties":{"__isSmartRef__":true,"id":1999},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1998":{"this":{"__isSmartRef__":true,"id":1597}},"1999":{"timestamp":{"__isSmartRef__":true,"id":2000},"user":"conradcalmez","tags":["synchronization"]},"2000":{"isSerializedDate":true,"string":"Mon Apr 30 2012 17:31:05 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2001":{"varMapping":{"__isSmartRef__":true,"id":2002},"source":"function activate() {\n if (!this.active) {\n this.oldSubmorphs = [];\n this.connectSocket();\n this.setBorderColor(Color.green);\n this.active = true;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2003},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2002":{"this":{"__isSmartRef__":true,"id":1597}},"2003":{"timestamp":{"__isSmartRef__":true,"id":2004},"user":"conradcalmez","tags":["synchronization"]},"2004":{"isSerializedDate":true,"string":"Wed May 02 2012 08:06:30 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2005":{"varMapping":{"__isSmartRef__":true,"id":2006},"source":"function clear() {\n if (this.active && this.socket)\n this.clearDatabase();\n else \n this.submorphs.invoke('remove')\n}","funcProperties":{"__isSmartRef__":true,"id":2007},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2006":{"this":{"__isSmartRef__":true,"id":1597}},"2007":{"timestamp":{"__isSmartRef__":true,"id":2008},"user":"undefined","tags":["drawing","synchronization"]},"2008":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:40:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2009":{"varMapping":{"__isSmartRef__":true,"id":2010},"source":"function clearDatabase() {\n this.socket.emit('clear', {\n me: true,\n broadcast: true,\n });\n}","funcProperties":{"__isSmartRef__":true,"id":2011},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2010":{"this":{"__isSmartRef__":true,"id":1597}},"2011":{"timestamp":{"__isSmartRef__":true,"id":2012},"user":"undefined","tags":["synchronization"]},"2012":{"isSerializedDate":true,"string":"Tue Apr 24 2012 16:48:04 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2013":{"varMapping":{"__isSmartRef__":true,"id":2014},"source":"function drawLineFrom(stroke) {\n var line = this.submorphs.find(function (ea) {\n return stroke.identifier == ea.identifier\n })\n if (!line) {\n line = this.createStrokeShape();\n line.identifier = stroke.identifier;\n this.addMorph(line);\n line.setVertices([]);\n line.setBorderWidth(stroke.width);\n line.setBorderColor(Color.rgb(stroke.color.r, stroke.color.g, stroke.color.b));\n }\n var vector = stroke.vector;\n line.setVertices(line.vertices().concat([pt(vector.x, vector.y)]));\n line.timestamp = stroke.time\n}","funcProperties":{"__isSmartRef__":true,"id":2015},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2014":{"this":{"__isSmartRef__":true,"id":1597}},"2015":{"timestamp":{"__isSmartRef__":true,"id":2016},"user":"conradcalmez","tags":["drawing"]},"2016":{"isSerializedDate":true,"string":"Mon Apr 30 2012 19:35:32 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2017":{"varMapping":{"__isSmartRef__":true,"id":2018},"source":"function getDrawerID() {\n // exception case: if two whiteboards are restored at exactly the same time, they will not be synced correctly\n return $world.getUserName() + \"_ON_\" + this.id + \"_AT_\" + this.timestamp.toString();\n}","funcProperties":{"__isSmartRef__":true,"id":2019},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2018":{"this":{"__isSmartRef__":true,"id":1597}},"2019":{"timestamp":{"__isSmartRef__":true,"id":2020},"user":"undefined","tags":["drawing","accessing"]},"2020":{"isSerializedDate":true,"string":"Thu Apr 19 2012 10:26:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2021":{"varMapping":{"__isSmartRef__":true,"id":2022},"source":"function initialSync(initialData) {\n var that = this;\n // sync new strokes and morphs\n this.submorphs.each(function (ea) {\n if (typeof(ea.identifier) === 'undefined') {\n ea.identifier = ea.id;\n if (ea.isStroke) {\n var color = {r: ea.getBorderColor().r*255, g: ea.getBorderColor().g*255, b: ea.getBorderColor().b*255};\n that.sync(ea.shape.vertices(), ea.timestamp, color, ea.getBorderWidth(), ea.identifier);\n } else {\n that.saveMorph(ea);\n }\n }\n });\n this.oldSubmorphs = this.submorphs.pluck('identifier');\n\n // pull strokes and morphs that are not already there\n var existingIds = this.submorphs.pluck('identifier');\n initialData.each(function (ea) {\n if (existingIds.indexOf(ea.identifier) < 0) {\n if (ea.vector) {\n that.drawLineFrom(ea);\n }\n else {\n that.addMorph(that.deserializeMorph(ea));\n }\n }\n });\n this.active = true\n}","funcProperties":{"__isSmartRef__":true,"id":2023},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2022":{"this":{"__isSmartRef__":true,"id":1597}},"2023":{"timestamp":{"__isSmartRef__":true,"id":2024},"user":"conradcalmez","tags":["synchronization"]},"2024":{"isSerializedDate":true,"string":"Mon Apr 30 2012 19:54:09 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2025":{"varMapping":{"__isSmartRef__":true,"id":2026},"source":"function lineTo(point, optTransform, optColor) {\n if (optTransform)\n point = this.transformPoint(point);\n\n var line = this.getCurrentShape();\n var color = optColor || Color.black;\n color && line.setBorderColor(color)\n\n line.setVertices(line.vertices().concat([point]))\n if (this.active) {\n line.identifier = line.identifier || line.id\n this.sync(point, undefined, {r: color.r*255, g: color.g*255, b: color.b*255}, line.getBorderWidth(), line.id);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2027},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2026":{"this":{"__isSmartRef__":true,"id":1597}},"2027":{"timestamp":{"__isSmartRef__":true,"id":2028},"user":"undefined","tags":["drawing"]},"2028":{"isSerializedDate":true,"string":"Wed May 02 2012 09:04:55 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2029":{"varMapping":{"__isSmartRef__":true,"id":2030},"source":"function morphMenuItems() {\n items = $super();\n var itemString = \"activate sync\";\n\n if (this.active) itemString = \"de\" + itemString;\n items.push([itemString, (function () {this.toggleActivation()}).bind(this)]);\n items.push([\"clear whiteboard\", (function () {this.clear()}).bind(this)])\n items.push([\n \"change channel\", \n function () { $world.prompt(\n 'Enter a channel name', \n function (input) {\n this.setChannel(input);\n }.bind(this),\n this.getChannel())\n }.bind(this)]);\n var penString = \" pencil styler\";\n if (this.pencilStyler.isVisible()) {\n penString = \"hide\" + penString;\n } else {\n penString = \"show\" + penString;\n }\n items.push([penString, (function () {this.pencilStyler.toggle()}).bind(this)]);\n var chatString = \" chat\";\n if (this.chat.isVisible()) {\n chatString = \"hide\" + chatString;\n } else {\n chatString = \"show\" + chatString;\n }\n items.push([chatString, (function () {this.chat.toggle()}).bind(this)]);\n return items;\n}","funcProperties":{"__isSmartRef__":true,"id":2035},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2030":{"this":{"__isSmartRef__":true,"id":1597},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2031}},"2031":{"$super":{"__isSmartRef__":true,"id":2032}},"2032":{"varMapping":{"__isSmartRef__":true,"id":2033},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2034},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2033":{"obj":{"__isSmartRef__":true,"id":1597},"name":"morphMenuItems"},"2034":{},"2035":{"timestamp":{"__isSmartRef__":true,"id":2036},"user":"conradcalmez","tags":["initialization"]},"2036":{"isSerializedDate":true,"string":"Wed May 02 2012 19:30:11 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2037":{"varMapping":{"__isSmartRef__":true,"id":2038},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown()) {\n var mup = $world.morphsContainingPoint(evt.mousePoint);\n \n for (var i = 0; i < mup.length; i++) {\n if (!(mup[i] instanceof lively.morphic.Path)) {\n if (mup[i] === this) \n break;\n mup[i].onMouseDown(evt);\n return false\n }\n }\n this.startDrawing(evt);\n evt.stop();\n }\n else\n $super(evt)\n}","funcProperties":{"__isSmartRef__":true,"id":2043},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2038":{"this":{"__isSmartRef__":true,"id":1597},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2039}},"2039":{"$super":{"__isSmartRef__":true,"id":2040}},"2040":{"varMapping":{"__isSmartRef__":true,"id":2041},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2042},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2041":{"obj":{"__isSmartRef__":true,"id":1597},"name":"onMouseDown"},"2042":{},"2043":{"timestamp":{"__isSmartRef__":true,"id":2044},"user":"undefined","tags":["mouse actions"]},"2044":{"isSerializedDate":true,"string":"Thu Apr 26 2012 11:10:30 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2045":{"varMapping":{"__isSmartRef__":true,"id":2046},"source":"function onMouseMove(evt) {\n if (this.isDrawing) {\n this.lineTo(pt(evt.pageX, evt.pageY), true, this.getColor());\n }\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":2051},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2046":{"this":{"__isSmartRef__":true,"id":1597},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2047}},"2047":{"$super":{"__isSmartRef__":true,"id":2048}},"2048":{"varMapping":{"__isSmartRef__":true,"id":2049},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2050},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2049":{"obj":{"__isSmartRef__":true,"id":1597},"name":"onMouseMove"},"2050":{},"2051":{"timestamp":{"__isSmartRef__":true,"id":2052},"user":"conradcalmez","tags":["mouse actions"]},"2052":{"isSerializedDate":true,"string":"Fri Apr 27 2012 20:48:04 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2053":{"varMapping":{"__isSmartRef__":true,"id":2054},"source":"function onMouseOut(evt) {\n // XXX cancelation better than strange drawing behavior?\n this.onMouseUp(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":2059},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2054":{"this":{"__isSmartRef__":true,"id":1597},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2055}},"2055":{"$super":{"__isSmartRef__":true,"id":2056}},"2056":{"varMapping":{"__isSmartRef__":true,"id":2057},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2058},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2057":{"obj":{"__isSmartRef__":true,"id":1597},"name":"onMouseOut"},"2058":{},"2059":{"timestamp":{"__isSmartRef__":true,"id":2060},"user":"undefined","tags":["mouse actions"]},"2060":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2061":{"varMapping":{"__isSmartRef__":true,"id":2062},"source":"function onMouseUp(evt) {\n this.stopDrawing(evt);\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":2067},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2062":{"this":{"__isSmartRef__":true,"id":1597},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2063}},"2063":{"$super":{"__isSmartRef__":true,"id":2064}},"2064":{"varMapping":{"__isSmartRef__":true,"id":2065},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2066},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2065":{"obj":{"__isSmartRef__":true,"id":1597},"name":"onMouseUp"},"2066":{},"2067":{"timestamp":{"__isSmartRef__":true,"id":2068},"user":"undefined","tags":["mouse actions"]},"2068":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2069":{"varMapping":{"__isSmartRef__":true,"id":2070},"source":"function onTouchEnd(evt) {\n this.stopDrawing(evt, true);\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":2075},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2070":{"this":{"__isSmartRef__":true,"id":1597},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2071}},"2071":{"$super":{"__isSmartRef__":true,"id":2072}},"2072":{"varMapping":{"__isSmartRef__":true,"id":2073},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2074},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2073":{"obj":{"__isSmartRef__":true,"id":1597},"name":"onTouchEnd"},"2074":{},"2075":{"timestamp":{"__isSmartRef__":true,"id":2076},"user":"undefined","tags":["touch actions"]},"2076":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2077":{"varMapping":{"__isSmartRef__":true,"id":2078},"source":"function onTouchMove(evt) {\n if (this.isDrawing) {\n this.lineTo(pt(evt.pageX, evt.pageY), true);\n }\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":2079},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2078":{"this":{"__isSmartRef__":true,"id":1597}},"2079":{"timestamp":{"__isSmartRef__":true,"id":2080},"user":"undefined","tags":["touch actions"]},"2080":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:05:20 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2081":{"varMapping":{"__isSmartRef__":true,"id":2082},"source":"function onTouchStart(evt) {\n if (evt.touches.length == 1) {\n this.startDrawing(evt);\n evt.stop();\n }\n else {\n this.isDrawing = false\n this.currentShape && this.currentShape.remove();\n delete this.currentShape;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2087},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2082":{"this":{"__isSmartRef__":true,"id":1597},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2083}},"2083":{"$super":{"__isSmartRef__":true,"id":2084}},"2084":{"varMapping":{"__isSmartRef__":true,"id":2085},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2086},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2085":{"obj":{"__isSmartRef__":true,"id":1597},"name":"onTouchStart"},"2086":{},"2087":{"timestamp":{"__isSmartRef__":true,"id":2088},"user":"undefined","tags":["touch actions"]},"2088":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:07:56 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2089":{"varMapping":{"__isSmartRef__":true,"id":2090},"source":"function remove() {\n // XXX stop longpolling\n this.deactivate();\n this.suspendSteppingAll();\n if (this.showsHalos) this.removeHalos();\n this.renderContextDispatch('remove');\n}","funcProperties":{"__isSmartRef__":true,"id":2095},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2090":{"this":{"__isSmartRef__":true,"id":1597},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2091}},"2091":{"$super":{"__isSmartRef__":true,"id":2092}},"2092":{"varMapping":{"__isSmartRef__":true,"id":2093},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2094},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2093":{"obj":{"__isSmartRef__":true,"id":1597},"name":"remove"},"2094":{},"2095":{"timestamp":{"__isSmartRef__":true,"id":2096},"user":"conradcalmez","tags":["initialization"]},"2096":{"isSerializedDate":true,"string":"Tue Apr 24 2012 17:12:56 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2097":{"varMapping":{"__isSmartRef__":true,"id":2098},"source":"function reset() {\n this.deactivate();\n this.active = false;\n this.disableGrabbing();\n this.setChannel('default');\n this.isDrawing = false;\n this.clear();\n this.pencilStyler = this.owner.get(\"PencilStyler\");\n this.pencilStyler.hide();\n this.pencilStyler.visible = false;\n this.chat = this.owner.get(\"ChatPane\");\n this.chat.hide();\n this.chat.visible = false;\n this.chat.setUserName(\"\");\n this.chat.get(\"TextPane\").setTextString(\"\");\n this.color = this.defaultColor();\n this.pencilSize = this.defaultPencilSize();\n this.pencilStyle = this.defaultPencilStyle();\n}","funcProperties":{"__isSmartRef__":true,"id":2099},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2098":{"this":{"__isSmartRef__":true,"id":1597}},"2099":{"timestamp":{"__isSmartRef__":true,"id":2100},"user":"conradcalmez","tags":["initialization"]},"2100":{"isSerializedDate":true,"string":"Wed May 02 2012 19:23:26 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2101":{"varMapping":{"__isSmartRef__":true,"id":2102},"source":"function startDrawing(evt) {\n this.isDrawing = true;\n}","funcProperties":{"__isSmartRef__":true,"id":2103},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2102":{"this":{"__isSmartRef__":true,"id":1597}},"2103":{"timestamp":{"__isSmartRef__":true,"id":2104},"user":"undefined","tags":["drawing"]},"2104":{"isSerializedDate":true,"string":"Wed Apr 18 2012 13:51:09 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2105":{"varMapping":{"__isSmartRef__":true,"id":2106},"source":"function stopDrawing(evt, touch) {\n if (this.isDrawing) {\n this.isDrawing = false;\n this.finishLine();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2107},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2106":{"this":{"__isSmartRef__":true,"id":1597}},"2107":{"timestamp":{"__isSmartRef__":true,"id":2108},"user":"undefined","tags":["drawing"]},"2108":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:10:16 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2109":{"varMapping":{"__isSmartRef__":true,"id":2110},"source":"function toggleActivation() {\n if (!this.active) {\n this.activate();\n } else {\n this.deactivate();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2111},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2110":{"this":{"__isSmartRef__":true,"id":1597}},"2111":{"timestamp":{"__isSmartRef__":true,"id":2112},"user":"undefined","tags":["synchronization"]},"2112":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2113":{"varMapping":{"__isSmartRef__":true,"id":2114},"source":"function transformPoint(pagePoint) {\n var shapePosition = this.getPositionInWorld();\n return pagePoint.subPt(shapePosition);\n}","funcProperties":{"__isSmartRef__":true,"id":2115},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2114":{"this":{"__isSmartRef__":true,"id":1597}},"2115":{"timestamp":{"__isSmartRef__":true,"id":2116},"user":"undefined","tags":["drawing"]},"2116":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:49:49 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2117":{"varMapping":{"__isSmartRef__":true,"id":2118},"source":"function finishLine() {\n if (typeof this.currentShape == 'undefined')\n return; \n\n var curShape = this.currentShape;\n this.currentShape = undefined;\n\n curShape.timestamp = Date.now();\n var color = {r: curShape.getBorderColor().r*255, g: curShape.getBorderColor().g*255, b: curShape.getBorderColor().b*255}\n // var result = this.sync(curShape.shape.vertices(), curShape.timestamp, color, curShape.getBorderWidth(), curShape.id);\n}","funcProperties":{"__isSmartRef__":true,"id":2119},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2118":{"this":{"__isSmartRef__":true,"id":1597}},"2119":{"timestamp":{"__isSmartRef__":true,"id":2120},"user":"conradcalmez","tags":["drawing"]},"2120":{"isSerializedDate":true,"string":"Mon Apr 30 2012 19:54:35 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2121":{"varMapping":{"__isSmartRef__":true,"id":2122},"source":"function defaultChannelName() {\n return 'example'\n}","funcProperties":{"__isSmartRef__":true,"id":2123},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2122":{"this":{"__isSmartRef__":true,"id":1597}},"2123":{"timestamp":{"__isSmartRef__":true,"id":2124},"user":"undefined","tags":["synchronization","accessing"]},"2124":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:35:08 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2125":{"varMapping":{"__isSmartRef__":true,"id":2126},"source":"function getCurrentShape() {\n this.oldSubmorphs = this.submorphs.pluck('identifier');\n if (typeof(this.currentShape) === 'undefined') {\n this.currentShape = this.createStrokeShape(); \n this.oldSubmorphs.push(this.currentShape.id) \n this.addMorph(this.currentShape);\n }\n return this.currentShape\n}","funcProperties":{"__isSmartRef__":true,"id":2127},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2126":{"this":{"__isSmartRef__":true,"id":1597}},"2127":{"timestamp":{"__isSmartRef__":true,"id":2128},"user":"undefined","tags":["drawing","accessing"]},"2128":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:31:38 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2129":{"varMapping":{"__isSmartRef__":true,"id":2130},"source":"function getChannel() {\n return (this.channelName || this.defaultChannelName())\n}","funcProperties":{"__isSmartRef__":true,"id":2131},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2130":{"this":{"__isSmartRef__":true,"id":1597}},"2131":{"timestamp":{"__isSmartRef__":true,"id":2132},"user":"undefined","tags":["synchronization","accessing"]},"2132":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2133":{"varMapping":{"__isSmartRef__":true,"id":2134},"source":"function setChannel(channelName) {\n this.channelName = channelName,\n that = this;\n\n // TODO: maybe we don't want this for proper offline/online switching reasons.\n this.submorphs.each(function (ea) {\n ea.identifier = undefined\n })\n\n if (this.active && this.socket) {\n this.submorphs.each(function (ea) {\n ea.remove();\n })\n\n this.socket.emit('channel', this.channelName, function(join, joinChannel, leave, leaveChannel, initialData) {\n if (join) {\n alertOK('Successfully joined channel ' + joinChannel + '.');\n that.initialSync(initialData);\n } \n if (leave) {\n alertOK('Successfully left channel ' + leaveChannel + '.');\n }\n });\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2135},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2134":{"this":{"__isSmartRef__":true,"id":1597}},"2135":{"timestamp":{"__isSmartRef__":true,"id":2136},"user":"undefined","tags":["synchronization","accessing"]},"2136":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:49:34 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2137":{"varMapping":{"__isSmartRef__":true,"id":2138},"source":"function getChannel() {\n return (this.channelName || this.defaultChannelName())\n}","funcProperties":{"__isSmartRef__":true,"id":2139},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2138":{"this":{"__isSmartRef__":true,"id":1597}},"2139":{"timestamp":{"__isSmartRef__":true,"id":2132},"user":"undefined","tags":[]},"2140":{"varMapping":{"__isSmartRef__":true,"id":2141},"source":"function createStrokeShape() {\n var m = Morph.makePolygon([], 1, Color.black, null);\n m.setBorderWidth(this.getPencilSize());\n m.disableEvents();\n m.disableDropping();\n m.isStroke = true;\n return m;\n}","funcProperties":{"__isSmartRef__":true,"id":2142},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2141":{"this":{"__isSmartRef__":true,"id":1597}},"2142":{"timestamp":{"__isSmartRef__":true,"id":2143},"user":"conradcalmez","tags":["drawing"]},"2143":{"isSerializedDate":true,"string":"Mon Apr 30 2012 09:10:10 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2144":{"varMapping":{"__isSmartRef__":true,"id":2145},"source":"function connectSocket() {\n var resource = 'socket.io',\n socketIOpath = '/socket.io.js',\n socketioURL = 'http://lively-kernel.org:4000/' + resource + socketIOpath,\n that = this,\n channel = this.getChannel();\n\n // load Socket.io library if required\n if (typeof(io) == \"undefined\") {\n var source = JSLoader.getSync(socketioURL);\n window.eval(source);\n }\n \n // connect to server \n this.socket = io.connect('lively-kernel.org:4000', {\n 'force new connection': true\n });\n \n // auth/(dis)connect + channel join\n this.socket.on('connect', function() {\n that.socket.emit('nick', {message: that.chat.getUserName()});\n that.socket.emit('channel', that.getChannel(), function(join, joinChannel, leave, leaveChannel, initialData) {\n if (join) {\n alertOK('Successfully joined channel ' + joinChannel + '.');\n that.initialSync(initialData);\n } \n if (leave) {\n alertOK('Successfully left channel ' + leaveChannel + '.');\n }\n });\n\n that.socket.on('error', function(reason) {\n alert('Unable to connect socket.io on namespace ' + channel + ': ' + reason);\n that.deactivate();\n });\n\n that.createSocketListeners();\n });\n}","funcProperties":{"__isSmartRef__":true,"id":2146},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2145":{"this":{"__isSmartRef__":true,"id":1597}},"2146":{"timestamp":{"__isSmartRef__":true,"id":2147},"user":"conradcalmez","tags":["synchronization"]},"2147":{"isSerializedDate":true,"string":"Wed May 02 2012 19:19:04 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2148":{"varMapping":{"__isSmartRef__":true,"id":2149},"source":"function sync(vertices, time, color, width, id) {\n if (this.active) {\n var stroke = {\n board: this.getChannel(),\n time: time,\n drawer: this.getDrawerID(),\n vector: vertices,\n color: color,\n width: width,\n identifier: id\n };\n this.socket.emit('draw', {\n message: stroke,\n me: false,\n broadcast: true,\n });\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2150},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2149":{"this":{"__isSmartRef__":true,"id":1597}},"2150":{"timestamp":{"__isSmartRef__":true,"id":2151},"user":"conradcalmez","tags":["synchronization"]},"2151":{"isSerializedDate":true,"string":"Mon Apr 30 2012 16:00:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2152":{"varMapping":{"__isSmartRef__":true,"id":2153},"source":"function deleteMorphWith(identifier) {\n var toDelete = this.submorphs.find(function (ea) {\n return (ea.identifier === identifier)\n })\n // remove toDelete from oldSubmorphs ary\n if (!toDelete) \n return\n this.oldSubmorphs = this.oldSubmorphs.select(function (ea) {\n return toDelete.identifier !== ea;\n })\n debugger\n toDelete.remove();\n}","funcProperties":{"__isSmartRef__":true,"id":2154},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2153":{"this":{"__isSmartRef__":true,"id":1597}},"2154":{"timestamp":{"__isSmartRef__":true,"id":2155},"user":"undefined","tags":["synchronization"]},"2155":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:44:00 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2156":{"varMapping":{"__isSmartRef__":true,"id":2157},"source":"function removeDocumentWith(identifier) {\n this.socket.emit('delete', {\n identifier: identifier,\n me: true,\n broadcast: true\n });\n}","funcProperties":{"__isSmartRef__":true,"id":2158},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2157":{"this":{"__isSmartRef__":true,"id":1597}},"2158":{"timestamp":{"__isSmartRef__":true,"id":2159},"user":"conradcalmez","tags":["synchronization"]},"2159":{"isSerializedDate":true,"string":"Tue Apr 24 2012 18:00:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2160":{"varMapping":{"__isSmartRef__":true,"id":2161},"source":"function createSocketListeners() {\n var that = this;\n\n // client (dis)connects\n this.socket.on('clientConnect', function (data) {\n that.chat.showMessage(data.message + ' connected');\n });\n this.socket.on('clientDisconnect', function (data) {\n that.chat.showMessage(data.message + ' disconnected');\n });\n \n // ping pong example\n this.socket.on('pong', function (data) {\n alertOK(data.message);\n });\n\n this.socket.on('draw', function (data) {\n that.drawLineFrom(data.message);\n });\n\n this.socket.on('clear', function () {\n that.submorphs.invoke('remove');\n });\n\n this.socket.on('delete', function (data) {\n that.deleteMorphWith(data.message);\n });\n\n this.socket.on('morph', function (data) {\n that.addMorphFrom(data.message);\n });\n\n this.socket.on('chat', function (data) {\n that.chat.showMessage(data.message, data.nick);\n });\n\n this.socket.on('names', function (data) {\n that.chat.showMessage(\"Currently connected users:\\n\" + data.message);\n });\n\n this.socket.on('nick', function (data) {\n that.chat.showMessage(data.message.old + \" changed its name to \" + data.message.new);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":2162},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2161":{"this":{"__isSmartRef__":true,"id":1597}},"2162":{"timestamp":{"__isSmartRef__":true,"id":2163},"user":"conradcalmez","tags":["synchronization"]},"2163":{"isSerializedDate":true,"string":"Thu May 03 2012 11:00:09 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2164":{"varMapping":{"__isSmartRef__":true,"id":2165},"source":"function addMorphFrom(JSONmorph) {\n // overhead if the morph already exists\n var newMorph = this.deserializeMorph(JSONmorph),\n relativePosition = newMorph.getPosition(),\n morph = this.submorphs.find(function (ea) {\n return ea.identifier === newMorph.identifier \n });\n newMorph && newMorph.disableDropping();\n morph && morph.disableDropping();\n if (morph instanceof lively.morphic.Morph) {\n morph.setPosition(relativePosition); \n } else {\n this.oldSubmorphs = this.submorphs.pluck('identifier')\n this.addMorph(newMorph);\n newMorph.setPosition(relativePosition);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2166},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2165":{"this":{"__isSmartRef__":true,"id":1597}},"2166":{"timestamp":{"__isSmartRef__":true,"id":2167},"user":"undefined","tags":["synchronization"]},"2167":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:15:47 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2168":{"varMapping":{"__isSmartRef__":true,"id":2169},"source":"function saveMorph(aMorph) { \n if (this.active) {\n aMorph.identifier = aMorph.identifier || aMorph.id;\n var newMorph = aMorph.serialize();\n newMorph.identifier = aMorph.identifier;\n this.socket.emit('morph', {\n message: newMorph,\n me: false,\n broadcast: true,\n });\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2170},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2169":{"this":{"__isSmartRef__":true,"id":1597}},"2170":{"timestamp":{"__isSmartRef__":true,"id":2171},"user":"undefined","tags":["synchronization"]},"2171":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:15:14 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2172":{"varMapping":{"__isSmartRef__":true,"id":2173},"source":"function deserializeMorph(JSONmorph) {\n var serializer = ObjectGraphLinearizer.forNewLivelyCopy();\n var jso = JSON.parse(JSONmorph.morph);\n morph = serializer.deserializeJso(jso);\n morph.withAllSubmorphsDo(function() { \n if (typeof this.setNewId == 'function') \n this.setNewId(); \n });\n return morph;\n}","funcProperties":{"__isSmartRef__":true,"id":2174},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2173":{"this":{"__isSmartRef__":true,"id":1597}},"2174":{"timestamp":{"__isSmartRef__":true,"id":2175},"user":"undefined","tags":["synchronization"]},"2175":{"isSerializedDate":true,"string":"Thu Apr 26 2012 10:51:42 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2176":{"varMapping":{"__isSmartRef__":true,"id":2177},"source":"function submorphsChanged() {\n if (this.active) {\n if (this.submorphs.length < this.oldSubmorphs.length) {\n debugger\n var ident = this.oldSubmorphs.withoutAll(this.submorphs.pluck('identifier'))[0]\n this.socket.emit('delete', {\n message: ident, \n me: false,\n broadcast: true\n })\n }\n debugger\n this.oldSubmorphs = this.submorphs.pluck('identifier');\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2178},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2177":{"this":{"__isSmartRef__":true,"id":1597}},"2178":{"timestamp":{"__isSmartRef__":true,"id":2179},"user":"undefined","tags":["synchronization"]},"2179":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:51:32 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2180":{"varMapping":{"__isSmartRef__":true,"id":2181},"source":"function defaultColor() {\n return Color.black;\n}","funcProperties":{"__isSmartRef__":true,"id":2182},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2181":{"this":{"__isSmartRef__":true,"id":1597}},"2182":{"timestamp":{"__isSmartRef__":true,"id":2183},"user":"conradcalmez","tags":["drawing","accessing"]},"2183":{"isSerializedDate":true,"string":"Fri Apr 27 2012 20:45:03 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2184":{"varMapping":{"__isSmartRef__":true,"id":2185},"source":"function getConnectedUserNames() {\n if (this.active) {\n this.socket.emit('names');\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2186},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2185":{"this":{"__isSmartRef__":true,"id":1597}},"2186":{"timestamp":{"__isSmartRef__":true,"id":2187},"user":"conradcalmez","tags":["synchronization","accessing"]},"2187":{"isSerializedDate":true,"string":"Mon Apr 30 2012 10:47:14 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2188":{"varMapping":{"__isSmartRef__":true,"id":2189},"source":"function defaultPencilSize() {\n return 1;\n}","funcProperties":{"__isSmartRef__":true,"id":2190},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2189":{"this":{"__isSmartRef__":true,"id":1597}},"2190":{"timestamp":{"__isSmartRef__":true,"id":2191},"user":"conradcalmez","tags":["drawing","accessing"]},"2191":{"isSerializedDate":true,"string":"Mon Apr 30 2012 08:59:02 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2192":{"varMapping":{"__isSmartRef__":true,"id":2193},"source":"function setPencilStyle(style) {\n this.pencilStyle = style;\n}","funcProperties":{"__isSmartRef__":true,"id":2194},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2193":{"this":{"__isSmartRef__":true,"id":1597}},"2194":{"timestamp":{"__isSmartRef__":true,"id":2195},"user":"conradcalmez","tags":["drawing","accessing"]},"2195":{"isSerializedDate":true,"string":"Wed May 02 2012 14:59:47 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2196":{"varMapping":{"__isSmartRef__":true,"id":2197},"source":"function defaultPencilStyle() {\n return \"solid\";\n}","funcProperties":{"__isSmartRef__":true,"id":2198},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2197":{"this":{"__isSmartRef__":true,"id":1597}},"2198":{"timestamp":{"__isSmartRef__":true,"id":2199},"user":"conradcalmez","tags":["accessing"]},"2199":{"isSerializedDate":true,"string":"Wed May 02 2012 15:03:39 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2200":{"onrestore":{"__isSmartRef__":true,"id":2201},"updateTarget":{"__isSmartRef__":true,"id":2209},"updateSliderColor":{"__isSmartRef__":true,"id":2213},"updateColorSlider":{"__isSmartRef__":true,"id":2217},"updateAlphaSlider":{"__isSmartRef__":true,"id":2221},"setBorderFillOfTarget":{"__isSmartRef__":true,"id":2225},"setBorderWidthOfTarget":{"__isSmartRef__":true,"id":2229},"nextSlide":{"__isSmartRef__":true,"id":2233},"previousSlide":{"__isSmartRef__":true,"id":2237},"setBorderStyleOfTarget":{"__isSmartRef__":true,"id":2241},"hide":{"__isSmartRef__":true,"id":2245},"isVisible":{"__isSmartRef__":true,"id":2249},"show":{"__isSmartRef__":true,"id":2257},"toggle":{"__isSmartRef__":true,"id":2261}},"2201":{"varMapping":{"__isSmartRef__":true,"id":2202},"source":"function onrestore() {\n $super();\n module('projects.BP2012.InteractionWithIPad.CSSTransitions').load();\n this.whiteboard = this.owner.get('WhiteBoard');\n this.chat = this.owner.get(\"ChatPane\");\n this.updateTarget(this.whiteboard);\n // module ('projects.BP2012.ToolWorld').load(true)\n // this.beTool()\n}","funcProperties":{"__isSmartRef__":true,"id":2207},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2202":{"this":{"__isSmartRef__":true,"id":2},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2203}},"2203":{"$super":{"__isSmartRef__":true,"id":2204}},"2204":{"varMapping":{"__isSmartRef__":true,"id":2205},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2206},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2205":{"obj":{"__isSmartRef__":true,"id":2},"name":"onrestore"},"2206":{},"2207":{"timestamp":{"__isSmartRef__":true,"id":2208},"user":"conradcalmez","tags":[]},"2208":{"isSerializedDate":true,"string":"Thu May 03 2012 10:47:28 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2209":{"varMapping":{"__isSmartRef__":true,"id":2210},"source":"function updateTarget(target) {\n if(target) {\n this.updateSliderColor(target.getColor());\n this.widthSlider.setValue(target.getPencilSize()-1);\n this.borderStyleList.setSelection(target.getPencilStyle());\n }\n else {\n this.updateSliderColor(Color.white);\n this.widthSlider.setValue(0);\n this.borderStyleList.setSelection(\"solid\");\n } \n \n}","funcProperties":{"__isSmartRef__":true,"id":2211},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2210":{"this":{"__isSmartRef__":true,"id":2}},"2211":{"timestamp":{"__isSmartRef__":true,"id":2212},"user":"conradcalmez","tags":[]},"2212":{"isSerializedDate":true,"string":"Wed May 02 2012 15:28:28 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2213":{"varMapping":{"__isSmartRef__":true,"id":2214},"source":"function updateSliderColor(color) {\n this.updateColorSlider(color);\n this.updateAlphaSlider(color);\n}","funcProperties":{"__isSmartRef__":true,"id":2215},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2214":{"this":{"__isSmartRef__":true,"id":2}},"2215":{"timestamp":{"__isSmartRef__":true,"id":2216},"user":"conradcalmez","tags":[]},"2216":{"isSerializedDate":true,"string":"Wed May 02 2012 13:51:06 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2217":{"varMapping":{"__isSmartRef__":true,"id":2218},"source":"function updateColorSlider(color) {\n this.slider.updateColor(color);\n this.slider.setValue(0.5);\n}","funcProperties":{"__isSmartRef__":true,"id":2219},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2218":{"this":{"__isSmartRef__":true,"id":2}},"2219":{"timestamp":{"__isSmartRef__":true,"id":2220},"user":"conradcalmez","tags":[]},"2220":{"isSerializedDate":true,"string":"Wed May 02 2012 13:51:25 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2221":{"varMapping":{"__isSmartRef__":true,"id":2222},"source":"function updateAlphaSlider(color) {\n this.alphaSlider.updateColor(color);\n this.alphaSlider.setValue(color.a);\n}","funcProperties":{"__isSmartRef__":true,"id":2223},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2222":{"this":{"__isSmartRef__":true,"id":2}},"2223":{"timestamp":{"__isSmartRef__":true,"id":2224},"user":"conradcalmez","tags":[]},"2224":{"isSerializedDate":true,"string":"Wed May 02 2012 13:51:51 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2225":{"varMapping":{"__isSmartRef__":true,"id":2226},"source":"function setBorderFillOfTarget(color) {\n this.whiteboard.setColor(color);\n}","funcProperties":{"__isSmartRef__":true,"id":2227},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2226":{"this":{"__isSmartRef__":true,"id":2}},"2227":{"timestamp":{"__isSmartRef__":true,"id":2228},"user":"conradcalmez","tags":[]},"2228":{"isSerializedDate":true,"string":"Wed May 02 2012 19:17:14 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2229":{"varMapping":{"__isSmartRef__":true,"id":2230},"source":"function setBorderWidthOfTarget(value) {\n // this.target && this.target.setBorderWidth(value);\n this.whiteboard.setPencilSize(value*5+1);\n}","funcProperties":{"__isSmartRef__":true,"id":2231},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2230":{"this":{"__isSmartRef__":true,"id":2}},"2231":{"timestamp":{"__isSmartRef__":true,"id":2232},"user":"conradcalmez","tags":[]},"2232":{"isSerializedDate":true,"string":"Wed May 02 2012 19:17:29 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2233":{"varMapping":{"__isSmartRef__":true,"id":2234},"source":"function nextSlide() {\n this.colorChooser.nextSlide();\n}","funcProperties":{"__isSmartRef__":true,"id":2235},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2234":{"this":{"__isSmartRef__":true,"id":2}},"2235":{"timestamp":{"__isSmartRef__":true,"id":2236},"user":"conradcalmez","tags":[]},"2236":{"isSerializedDate":true,"string":"Wed May 02 2012 14:15:52 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2237":{"varMapping":{"__isSmartRef__":true,"id":2238},"source":"function previousSlide() {\n this.colorChooser.previousSlide();\n}","funcProperties":{"__isSmartRef__":true,"id":2239},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2238":{"this":{"__isSmartRef__":true,"id":2}},"2239":{"timestamp":{"__isSmartRef__":true,"id":2240},"user":"conradcalmez","tags":[]},"2240":{"isSerializedDate":true,"string":"Wed May 02 2012 14:15:57 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2241":{"varMapping":{"__isSmartRef__":true,"id":2242},"source":"function setBorderStyleOfTarget(value) {\n // this.target && this.target.applyStyle({\n // borderStyle: value,\n // });\n this.whiteboard.setPencilStyle(value);\n}","funcProperties":{"__isSmartRef__":true,"id":2243},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2242":{"this":{"__isSmartRef__":true,"id":2}},"2243":{"timestamp":{"__isSmartRef__":true,"id":2244},"user":"conradcalmez","tags":[]},"2244":{"isSerializedDate":true,"string":"Wed May 02 2012 19:17:23 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2245":{"varMapping":{"__isSmartRef__":true,"id":2246},"source":"function hide() {\n this.setPosition(pt(0, 0));\n this.setVisible(false);\n}","funcProperties":{"__isSmartRef__":true,"id":2247},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2246":{"this":{"__isSmartRef__":true,"id":2}},"2247":{"timestamp":{"__isSmartRef__":true,"id":2248},"user":"conradcalmez","tags":[]},"2248":{"isSerializedDate":true,"string":"Wed May 02 2012 13:41:45 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2249":{"varMapping":{"__isSmartRef__":true,"id":2250},"source":"function isVisible() {\n return this.visible || false;\n}","funcProperties":{"__isSmartRef__":true,"id":2255},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2250":{"this":{"__isSmartRef__":true,"id":2},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2251}},"2251":{"$super":{"__isSmartRef__":true,"id":2252}},"2252":{"varMapping":{"__isSmartRef__":true,"id":2253},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2254},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2253":{"obj":{"__isSmartRef__":true,"id":2},"name":"isVisible"},"2254":{},"2255":{"timestamp":{"__isSmartRef__":true,"id":2256},"user":"conradcalmez","tags":[]},"2256":{"isSerializedDate":true,"string":"Wed May 02 2012 13:41:45 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2257":{"varMapping":{"__isSmartRef__":true,"id":2258},"source":"function show() {\n var titlebarOffset = this.owner.get(\"TitleBar\").getExtent().y;\n var windowOffset = this.owner.getExtent().x + 1;\n if (this.chat.isVisible()) {\n windowOffset += this.chat.getExtent().x;\n }\n this.setPosition(pt(windowOffset, titlebarOffset));\n this.setVisible(true);\n this.updateTarget(this.whiteboard);\n}","funcProperties":{"__isSmartRef__":true,"id":2259},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2258":{"this":{"__isSmartRef__":true,"id":2}},"2259":{"timestamp":{"__isSmartRef__":true,"id":2260},"user":"conradcalmez","tags":[]},"2260":{"isSerializedDate":true,"string":"Wed May 02 2012 19:26:50 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2261":{"varMapping":{"__isSmartRef__":true,"id":2262},"source":"function toggle() {\n if (this.visible) {\n this.hide();\n this.visible = false;\n } else {\n this.show();\n this.visible = true;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2263},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2262":{"this":{"__isSmartRef__":true,"id":2}},"2263":{"timestamp":{"__isSmartRef__":true,"id":2264},"user":"conradcalmez","tags":[]},"2264":{"isSerializedDate":true,"string":"Wed May 02 2012 13:41:45 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2265":{"renderContextTable":{"__isSmartRef__":true,"id":2266},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2267},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":2268},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2266":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClassName":"setClassNameHTML"},"2267":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2268":{"x":952.8027036045055,"y":605.901351802253,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2269":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"2270":{"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2271":{"adjustForNewBounds":true},"2272":{"x":147,"y":52,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2273":{"x":952.8027036045055,"y":605.901351802253,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2274":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A whiteboard designed for syncing with other worlds, based on svg paintings","migrationLevel":4,"partName":"WhiteboardSync","changes":[{"__isSmartRef__":true,"id":2275},{"__isSmartRef__":true,"id":2277},{"__isSmartRef__":true,"id":2279},{"__isSmartRef__":true,"id":2281},{"__isSmartRef__":true,"id":2283},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2289},{"__isSmartRef__":true,"id":2291},{"__isSmartRef__":true,"id":2293},{"__isSmartRef__":true,"id":2295},{"__isSmartRef__":true,"id":2297},{"__isSmartRef__":true,"id":2299},{"__isSmartRef__":true,"id":2301},{"__isSmartRef__":true,"id":2303},{"__isSmartRef__":true,"id":2305},{"__isSmartRef__":true,"id":2307},{"__isSmartRef__":true,"id":2309},{"__isSmartRef__":true,"id":2311}],"revisionOnLoad":158547,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2275":{"date":{"__isSmartRef__":true,"id":2276},"author":"conradcalmez","message":"last fixes before we go (hopefully)","id":"5A31AF3D-47CA-48C1-8005-8886A6C3E7F8"},"2276":{"isSerializedDate":true,"string":"Wed May 02 2012 08:07:05 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2277":{"date":{"__isSmartRef__":true,"id":2278},"author":"conradcalmez","message":"last fixes before we go.","id":"7353B8BF-FFBD-45FD-90AC-01ED94F01771"},"2278":{"isSerializedDate":true,"string":"Wed May 02 2012 08:05:22 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2279":{"date":{"__isSmartRef__":true,"id":2280},"author":"conradcalmez","message":"added /names and pencil size features","id":"BF425A3B-1FDE-4407-88E7-8E82C7F7C177"},"2280":{"isSerializedDate":true,"string":"Mon Apr 30 2012 09:12:21 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2281":{"date":{"__isSmartRef__":true,"id":2282},"author":"conradcalmez","message":"chat menu item was out of sync","id":"DB0AF77E-3879-4EDE-B492-0FB18E3B4CF7"},"2282":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:43:54 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2283":{"date":{"__isSmartRef__":true,"id":2284},"author":"conradcalmez","message":"update","id":"7EFE9327-DFF1-4A83-9CD2-D3CD845E0AE9"},"2284":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:42:09 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2285":{"date":{"__isSmartRef__":true,"id":2286},"author":"conradcalmez","message":"irc like commands","id":"54F1ED3B-C2C3-4449-B8D8-FE3ABCDA1626"},"2286":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:00:53 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2287":{"date":{"__isSmartRef__":true,"id":2288},"author":"conradcalmez","message":"empty input does not send message","id":"11316392-62F2-43F0-BFA8-46992E692BE8"},"2288":{"isSerializedDate":true,"string":"Fri Apr 27 2012 12:20:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2289":{"date":{"__isSmartRef__":true,"id":2290},"author":"conradcalmez","message":"added support for showing user names on client side","id":"F2A08A9F-07AB-474A-BAA0-C572AEAC1794"},"2290":{"isSerializedDate":true,"string":"Fri Apr 27 2012 11:57:57 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2291":{"date":{"__isSmartRef__":true,"id":2292},"author":"conradcalmez","message":"small chat fix","id":"ED314F3A-3FDF-4FE8-B84D-C8AA930292B1"},"2292":{"isSerializedDate":true,"string":"Fri Apr 27 2012 11:01:33 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2293":{"date":{"__isSmartRef__":true,"id":2294},"author":"conradcalmez","message":"refined chat functionality","id":"256DC98B-38BA-4A85-9EF1-830A9D4C702B"},"2294":{"isSerializedDate":true,"string":"Fri Apr 27 2012 10:26:51 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2295":{"date":{"__isSmartRef__":true,"id":2296},"author":"conradcalmez","message":"added chat GUI","id":"4254F06C-37FB-46DC-851F-350EA895BDA3"},"2296":{"isSerializedDate":true,"string":"Thu Apr 26 2012 18:08:43 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2297":{"date":{"__isSmartRef__":true,"id":2298},"author":"undefined","message":"integrated sync morph functionality","id":"ACDC1527-238D-4D72-AAA1-407F1EEA02CF"},"2298":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:18:37 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2299":{"date":{"__isSmartRef__":true,"id":2300},"author":"undefined","message":"copied and adapted from WhiteBoard part","id":"9BB5FF37-8D16-40E8-AD37-E352A5BC7BC2"},"2300":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:01:32 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2301":{"date":{"__isSmartRef__":true,"id":2302},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"2302":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2303":{"date":{"__isSmartRef__":true,"id":2304},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"2304":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (Mitteleuropäische Zeit)"},"2305":{"date":{"__isSmartRef__":true,"id":2306},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"2306":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (Mitteleuropäische Zeit)"},"2307":{"date":{"__isSmartRef__":true,"id":2308},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"2308":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (Mitteleuropäische Zeit)"},"2309":{"date":{"__isSmartRef__":true,"id":2310},"author":"undefined","message":"first adjustments to socket io","id":"E438495A-1570-47C0-8E70-40BE904677BE"},"2310":{"isSerializedDate":true,"string":"Tue Apr 24 2012 15:30:50 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2311":{"date":{"__isSmartRef__":true,"id":2312},"author":"undefined","message":"restoring older version","id":"DF0E5C88-D6B0-491C-A9BB-A37C9146CD21"},"2312":{"isSerializedDate":true,"string":"Wed Apr 25 2012 18:07:45 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2313":{"x":596,"y":60,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2314":{"submorphs":[],"scripts":[],"id":"BA585ECC-D6B1-41DA-A39A-47517863BBC4","shape":{"__isSmartRef__":true,"id":2315},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2322},"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2318},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"DemoMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":2323},"textChunks":[{"__isSmartRef__":true,"id":2336}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2338},"renderContextTable":{"__isSmartRef__":true,"id":2339},"eventHandler":{"__isSmartRef__":true,"id":2340},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2341},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","C9165BAA-8654-417C-91BB-721DD5BC3A1F"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"distanceToDragEvent":{"__isSmartRef__":true,"id":2342},"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.002003004005006,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2343},"__LivelyClassName__":"lively.morphic.Text"},"2315":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2316},"_Extent":{"__isSmartRef__":true,"id":2317},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2318},"renderContextTable":{"__isSmartRef__":true,"id":2319},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2320},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Fill":{"__isSmartRef__":true,"id":2321},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2316":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2317":{"x":128.695652,"y":50,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2318":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2319":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClassName":"setClassNameHTML"},"2320":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2321":{"r":0.897,"g":0.412,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2322":{"x":1320,"y":56,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2323":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"loads a layer that prints errors to the console","partName":"DemoMorph","changes":[{"__isSmartRef__":true,"id":2324},{"__isSmartRef__":true,"id":2326},{"__isSmartRef__":true,"id":2328},{"__isSmartRef__":true,"id":2330},{"__isSmartRef__":true,"id":2332},{"__isSmartRef__":true,"id":2334}],"revisionOnLoad":165917,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2324":{"date":{"__isSmartRef__":true,"id":2325},"author":"athomschke","message":"init","id":"5258119F-612A-467E-9A97-D0CF3B8A65E0"},"2325":{"isSerializedDate":true,"string":"Wed May 23 2012 08:30:06 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2326":{"date":{"__isSmartRef__":true,"id":2327},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2327":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2328":{"date":{"__isSmartRef__":true,"id":2329},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2329":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2330":{"date":{"__isSmartRef__":true,"id":2331},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2331":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2332":{"date":{"__isSmartRef__":true,"id":2333},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"2333":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (Mitteleuropäische Zeit)"},"2334":{"date":{"__isSmartRef__":true,"id":2335},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2335":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2336":{"style":{"__isSmartRef__":true,"id":2337},"chunkOwner":{"__isSmartRef__":true,"id":2314},"storedString":"This is a demo page","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2337":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2338":{"x":128.695652,"y":50,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2339":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2340":{"morph":{"__isSmartRef__":true,"id":2314},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2341":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2342":{"x":94,"y":-8,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2343":{"onrestore":{"__isSmartRef__":true,"id":2344}},"2344":{"varMapping":{"__isSmartRef__":true,"id":2345},"source":"function onrestore() {\n module('projects.BP2012.DemoModeLayer') && module('projects.BP2012.DemoModeLayer').load(true);\n}","funcProperties":{"__isSmartRef__":true,"id":2350},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2345":{"this":{"__isSmartRef__":true,"id":2314},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2346}},"2346":{"$super":{"__isSmartRef__":true,"id":2347}},"2347":{"varMapping":{"__isSmartRef__":true,"id":2348},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2349},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2348":{"obj":{"__isSmartRef__":true,"id":2314},"name":"onrestore"},"2349":{},"2350":{"timestamp":{"__isSmartRef__":true,"id":2351},"user":"athomschke","tags":[]},"2351":{"isSerializedDate":true,"string":"Wed May 23 2012 08:28:26 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2352":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2353},"id":2,"renderContextTable":{"__isSmartRef__":true,"id":2359},"eventHandler":{"__isSmartRef__":true,"id":2360},"droppingEnabled":false,"halosEnabled":false,"_world":{"__isSmartRef__":true,"id":0},"eventsAreIgnored":true,"_HandStyle":"default","_PointerEvents":"none","priorExtent":{"__isSmartRef__":true,"id":2361},"__SourceModuleName__":"Global.lively.morphic.Events","internalClickedOnMorph":{"__isSmartRef__":true,"id":0},"carriesGrabbedMorphs":false,"lastScrollTime":1337707849347,"scrollFocusMorph":{"__isSmartRef__":true,"id":0},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Position":{"__isSmartRef__":true,"id":2362},"_Scale":1,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"2353":{"_Position":{"__isSmartRef__":true,"id":2354},"renderContextTable":{"__isSmartRef__":true,"id":2355},"_Extent":{"__isSmartRef__":true,"id":2356},"_Fill":{"__isSmartRef__":true,"id":2357},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2358},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2354":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2355":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClassName":"setClassNameHTML"},"2356":{"x":2,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2357":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2358":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2359":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"2360":{"morph":{"__isSmartRef__":true,"id":2352},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2361":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2362":{"x":1191,"y":285,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2363":{"_Position":{"__isSmartRef__":true,"id":2364},"renderContextTable":{"__isSmartRef__":true,"id":2365},"_Extent":{"__isSmartRef__":true,"id":2366},"_Fill":{"__isSmartRef__":true,"id":2367},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2368},"_Opacity":1,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2364":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2365":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClassName":"setClassNameHTML"},"2366":{"x":3000,"y":4000,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2367":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2368":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2369":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"2370":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2371":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2372":{"x":1440,"y":6000,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2373":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"2374":{"submorphs":[{"__isSmartRef__":true,"id":2375}],"scripts":[],"id":"8CF48868-6C59-4B7B-AA86-543A89390C42","shape":{"__isSmartRef__":true,"id":2404},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2411},"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":2412},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2509},"eventHandler":{"__isSmartRef__":true,"id":2510},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"59692BC3-6C7B-4E23-B820-8699260EA722","486BB935-1313-4103-B2A8-642B19437478","18AFFD44-46CD-489E-B1D6-DED43E2B6B06","2608C892-2204-4981-9A87-8E749F8944AB","5535861F-4EA2-44AB-8A40-0538124E0AAC","16C292B3-86E8-4622-B516-27C48263B8CC","87731A20-D455-44D0-97E5-98A7CFD4E417","A17081E7-E597-47ED-BD32-6E4D206BD7D7","CFB4A44C-BFEA-4584-BCBA-AE2A56739200","76B3DD9B-8D01-42BA-A574-AB99D5F899BB","1EBC5512-8F54-4B24-998C-69A285EC8533","DD1165C7-6C1A-4361-A4AE-FCF6F31152FD","4D6D36E8-48F3-408A-B03C-202E4DC182BD","5F3B3E0F-BBC6-4DDA-BAA0-7EFC05FF2011","E0A6B33B-767A-4532-9021-892414520200","F5F5E2B1-5FF0-4E09-B323-AE88A3920B8D","0C7E832A-A741-430F-B295-8BC181D066FE","472AED3B-CB76-49BD-BF49-354A2D568F86","A7C52F65-D140-4791-880F-F7584C7BB570","3516412B-8B36-4E52-9416-6B7FB358BDC2","1840CACC-078C-4795-AD3F-E9D6F8D557A0","1FEDCA25-0131-46FA-840F-DC5F1B05C6CA","C620CED3-0AE9-4097-9AA7-2706A042F9C9","679A861B-40E0-4DB2-B22F-95B454C6978D","FEF39B3C-E634-4825-BAB8-2D44FE647B03"],"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":2511},"layout":{"__isSmartRef__":true,"id":2512},"distanceToDragEvent":{"__isSmartRef__":true,"id":2513},"prevScroll":[0,0],"moved":true,"_Rotation":0,"_Scale":1,"headRevision":146469,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2514},"__LivelyClassName__":"lively.morphic.Box"},"2375":{"submorphs":[{"__isSmartRef__":true,"id":2376}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2392},"id":"BF77E3E8-2D47-4CD3-ABDC-03E584967953","renderContextTable":{"__isSmartRef__":true,"id":2397},"eventHandler":{"__isSmartRef__":true,"id":2398},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2399},"name":"ProgressIndicator","priorExtent":{"__isSmartRef__":true,"id":2400},"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":2401},"partsBinMetaInfo":{"__isSmartRef__":true,"id":2402},"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[520,"071F18BE-FF28-40F5-ACAD-1916E0D25C38","DF185A10-743D-45FC-B9C2-76E12D908BCF","BF125D2C-596A-4C1E-A5F8-DAE4801E9497","3CEE8CFF-B8F1-4B4B-A405-CB583080252A","D0652878-8F9C-4591-8A82-296898AACDB6","31441DDF-2220-43BE-A99F-69E1FEC68030","14A90039-0D3E-46DC-8445-D42B8E02EB42","681EF5DE-A344-4114-B2F3-B96CE3872524","C0381116-5116-4F33-B082-A411D0E4534E","24E9581E-B008-46EE-9CBC-D5190E100D98","C69D1041-2C5E-48FE-B04C-04E66450658A","4830945B-4FFF-4564-9424-34D7995DAE60","8602C233-B3E7-4682-9B0E-D7549761D934","B4E0E11F-2BED-462E-B708-89D63971856E","EE0144C2-D016-4390-8A67-4E7DEF171C83","F44DF6E4-5F27-440E-AB5F-3721C0A10CA6","73FC6648-DAAF-4673-8CF4-7DA219513F22","B78EB1B5-780C-45F7-B0A7-B988B52B1FF1","DFDB8CD1-72F7-40F4-849B-1F9B866277AB","66111105-B1FC-41F7-BF70-D45118C9E09F","02420416-1E35-4831-AABB-91CD0460CA1A","7C6B2EB2-4510-4A8E-BAFF-5CF0040DD7F5","0503F5A1-1732-4610-9A5A-920D658CA766","07C5AE03-36AD-4849-BACD-27D7D9A2CCF2","9FFF9D73-931C-404C-AA4B-5AC2E7C53504"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":2374},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":2403},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Image"},"2376":{"submorphs":[],"scripts":[],"id":"64F2DD64-B5EB-406A-B585-630514199CDE","shape":{"__isSmartRef__":true,"id":2377},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2383},"_MaxTextWidth":257,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2380},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"loadedMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":2384},"textChunks":[{"__isSmartRef__":true,"id":2385}],"charsReplaced":"MorphName","lastFindLoc":18,"priorSelectionRange":[9,0],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2387},"renderContextTable":{"__isSmartRef__":true,"id":2388},"eventHandler":{"__isSmartRef__":true,"id":2389},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2390},"_ClipMode":"visible","derivationIds":[355,"023045B3-2D6B-4425-89FB-F4806D527BE0","DC0C2365-868C-41AE-8369-51C31E91493E","C6D9D314-86A1-4015-970B-F6787F535E1A","6AA4552E-2E85-447E-9033-99D5AA1A94BC","D94BE49C-8A3E-4F1F-BF28-FEDD9B40D213","AA8F0470-654C-4AA2-8135-4607F5429AC5","E0BAABCC-FFB2-4EDF-BAE5-C63CC99B6A97","1A86AE17-73AE-442E-AB36-DD90C6DFC8BC","EF750075-E964-4CD3-B6A4-161511E1D058","CED69CBF-FFA5-45E7-B333-FBACE4F278AC","E56978C1-7424-4C10-8168-11FD3237B540","D5AB2532-A4DC-42D6-AF17-99CBBCEAA848","245866CB-598A-4172-A3A0-A06D4D26C6AD","43B0F12E-5793-43AA-80E1-496774E0EBA6","1B776A8C-0413-475F-8EBD-120BBD91D2BB","F84F2C9A-8003-4E81-833A-83F48C92F3B8","3124B389-9FA4-4348-BC5D-0DFF9C59CD1B","1A1BCBAC-D7CC-4BAE-B8C2-7C693F7327A1","1CB201BA-5E0B-4771-821A-139FA2AEFBC2","195520FA-4816-47A4-B0F5-BA890AFD9DF9","0D15F28A-24C9-46B7-89C5-6D2354728AC1","316FE9D3-62EC-4FD6-9B0F-FFA622B79575","739F3743-9BE1-48C8-813D-C0BFB0DCACA6","01877B3B-7DA7-4222-B011-7B5F4E501862","B8FE7DEE-9568-4BE6-BA12-EA674BA79E08"],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":2375},"_MinTextWidth":257,"_MinTextHeight":null,"previousSelection":[6,6],"_Align":"center","distanceToDragEvent":{"__isSmartRef__":true,"id":2391},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2377":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2378},"_Extent":{"__isSmartRef__":true,"id":2379},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2380},"renderContextTable":{"__isSmartRef__":true,"id":2381},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2382},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2378":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2379":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2380":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2381":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClassName":"setClassNameHTML"},"2382":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2383":{"x":-109,"y":38,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2384":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2385":{"style":{"__isSmartRef__":true,"id":2386},"chunkOwner":{"__isSmartRef__":true,"id":2376},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"loading part","__LivelyClassName__":"lively.morphic.TextChunk"},"2386":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2387":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2388":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2389":{"morph":{"__isSmartRef__":true,"id":2376},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2390":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2391":{"x":179,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2392":{"_Position":{"__isSmartRef__":true,"id":2393},"renderContextTable":{"__isSmartRef__":true,"id":2394},"_Extent":{"__isSmartRef__":true,"id":2395},"_ImageURL":"data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2396},"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Image"},"2393":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2394":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClassName":"setClassNameHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"2395":{"x":31,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2396":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2397":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"2398":{"morph":{"__isSmartRef__":true,"id":2375},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2399":{"x":113.5,"y":81,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2400":{"x":30,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2401":{"x":39,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2402":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2403":{"centeredHorizontal":true,"centeredVertical":true},"2404":{"position":{"__isSmartRef__":true,"id":2405},"_Extent":{"__isSmartRef__":true,"id":2406},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2407},"_Fill":{"__isSmartRef__":true,"id":2408},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2409},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2410},"_BorderRadius":8.515,"_Opacity":0.8146,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2405":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2406":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2407":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2408":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2409":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClassName":"setClassNameHTML"},"2410":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2411":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2412":{"partsSpaceName":"PartsBin/iPadWidgets","__SourceModuleName__":"Global.lively.PartsBin","comment":"This is a placeholder to indicate that a morph is being loaded. It will be replaced by the morph as soon as the requested morph finished loading.","migrationLevel":4,"partName":"LoadingMorph","changes":[{"__isSmartRef__":true,"id":2413},{"__isSmartRef__":true,"id":2415},{"__isSmartRef__":true,"id":2417},{"__isSmartRef__":true,"id":2419},{"__isSmartRef__":true,"id":2421},{"__isSmartRef__":true,"id":2423},{"__isSmartRef__":true,"id":2425},{"__isSmartRef__":true,"id":2427},{"__isSmartRef__":true,"id":2429},{"__isSmartRef__":true,"id":2431},{"__isSmartRef__":true,"id":2433},{"__isSmartRef__":true,"id":2435},{"__isSmartRef__":true,"id":2437},{"__isSmartRef__":true,"id":2439},{"__isSmartRef__":true,"id":2441},{"__isSmartRef__":true,"id":2443},{"__isSmartRef__":true,"id":2445},{"__isSmartRef__":true,"id":2447},{"__isSmartRef__":true,"id":2449},{"__isSmartRef__":true,"id":2451},{"__isSmartRef__":true,"id":2453},{"__isSmartRef__":true,"id":2455},{"__isSmartRef__":true,"id":2457},{"__isSmartRef__":true,"id":2459},{"__isSmartRef__":true,"id":2461},{"__isSmartRef__":true,"id":2463},{"__isSmartRef__":true,"id":2465},{"__isSmartRef__":true,"id":2467},{"__isSmartRef__":true,"id":2469},{"__isSmartRef__":true,"id":2471},{"__isSmartRef__":true,"id":2473},{"__isSmartRef__":true,"id":2475},{"__isSmartRef__":true,"id":2477},{"__isSmartRef__":true,"id":2479},{"__isSmartRef__":true,"id":2481},{"__isSmartRef__":true,"id":2483},{"__isSmartRef__":true,"id":2485},{"__isSmartRef__":true,"id":2487},{"__isSmartRef__":true,"id":2489},{"__isSmartRef__":true,"id":2491},{"__isSmartRef__":true,"id":2493},{"__isSmartRef__":true,"id":2495},{"__isSmartRef__":true,"id":2497},{"__isSmartRef__":true,"id":2499},{"__isSmartRef__":true,"id":2501},{"__isSmartRef__":true,"id":2503},{"__isSmartRef__":true,"id":2505},{"__isSmartRef__":true,"id":2507}],"revisionOnLoad":151069,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2413":{"date":{"__isSmartRef__":true,"id":2414},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"2414":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:02:04 GMT+0100 (Mitteleuropäische Zeit)"},"2415":{"date":{"__isSmartRef__":true,"id":2416},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"2416":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:43:10 GMT+0100 (Mitteleuropäische Zeit)"},"2417":{"date":{"__isSmartRef__":true,"id":2418},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"2418":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:36:14 GMT+0100 (Mitteleuropäische Zeit)"},"2419":{"date":{"__isSmartRef__":true,"id":2420},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"2420":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:23:04 GMT+0100 (Mitteleuropäische Zeit)"},"2421":{"date":{"__isSmartRef__":true,"id":2422},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"2422":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:45 GMT+0100 (Mitteleuropäische Zeit)"},"2423":{"date":{"__isSmartRef__":true,"id":2424},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"2424":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:10 GMT+0100 (Mitteleuropäische Zeit)"},"2425":{"date":{"__isSmartRef__":true,"id":2426},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"2426":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:56:54 GMT+0100 (Mitteleuropäische Zeit)"},"2427":{"date":{"__isSmartRef__":true,"id":2428},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"2428":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:51:05 GMT+0100 (Mitteleuropäische Zeit)"},"2429":{"date":{"__isSmartRef__":true,"id":2430},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"2430":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:47:19 GMT+0100 (Mitteleuropäische Zeit)"},"2431":{"date":{"__isSmartRef__":true,"id":2432},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"2432":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:46:25 GMT+0100 (Mitteleuropäische Zeit)"},"2433":{"date":{"__isSmartRef__":true,"id":2434},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"2434":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:45:05 GMT+0100 (Mitteleuropäische Zeit)"},"2435":{"date":{"__isSmartRef__":true,"id":2436},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"2436":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:37:15 GMT+0100 (Mitteleuropäische Zeit)"},"2437":{"date":{"__isSmartRef__":true,"id":2438},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"2438":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:35:29 GMT+0100 (Mitteleuropäische Zeit)"},"2439":{"date":{"__isSmartRef__":true,"id":2440},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"2440":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:31:52 GMT+0100 (Mitteleuropäische Zeit)"},"2441":{"date":{"__isSmartRef__":true,"id":2442},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"2442":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:14:10 GMT+0100 (Mitteleuropäische Zeit)"},"2443":{"date":{"__isSmartRef__":true,"id":2444},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"2444":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:02:56 GMT+0100 (Mitteleuropäische Zeit)"},"2445":{"date":{"__isSmartRef__":true,"id":2446},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"2446":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:01:50 GMT+0100 (Mitteleuropäische Zeit)"},"2447":{"date":{"__isSmartRef__":true,"id":2448},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"2448":{"isSerializedDate":true,"string":"Wed Feb 22 2012 10:55:44 GMT+0100 (Mitteleuropäische Zeit)"},"2449":{"date":{"__isSmartRef__":true,"id":2450},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"2450":{"isSerializedDate":true,"string":"Fri Feb 10 2012 09:45:55 GMT+0100 (Mitteleuropäische Zeit)"},"2451":{"date":{"__isSmartRef__":true,"id":2452},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"2452":{"isSerializedDate":true,"string":"Wed Feb 08 2012 11:41:50 GMT+0100 (Mitteleuropäische Zeit)"},"2453":{"date":{"__isSmartRef__":true,"id":2454},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"2454":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:13:49 GMT+0100 (Mitteleuropäische Zeit)"},"2455":{"date":{"__isSmartRef__":true,"id":2456},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"2456":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:22:07 GMT+0100 (Mitteleuropäische Zeit)"},"2457":{"date":{"__isSmartRef__":true,"id":2458},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"2458":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:55:14 GMT+0100 (Mitteleuropäische Zeit)"},"2459":{"date":{"__isSmartRef__":true,"id":2460},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"2460":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:54:35 GMT+0100 (Mitteleuropäische Zeit)"},"2461":{"date":{"__isSmartRef__":true,"id":2462},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"2462":{"isSerializedDate":true,"string":"Thu Feb 02 2012 13:26:01 GMT+0100 (Mitteleuropäische Zeit)"},"2463":{"date":{"__isSmartRef__":true,"id":2464},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"2464":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:04:01 GMT+0100 (Mitteleuropäische Zeit)"},"2465":{"date":{"__isSmartRef__":true,"id":2466},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"2466":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:28:30 GMT+0100 (Mitteleuropäische Zeit)"},"2467":{"date":{"__isSmartRef__":true,"id":2468},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"2468":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:32:58 GMT+0100 (Mitteleuropäische Zeit)"},"2469":{"date":{"__isSmartRef__":true,"id":2470},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"2470":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:41:00 GMT+0100 (Mitteleuropäische Zeit)"},"2471":{"date":{"__isSmartRef__":true,"id":2472},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"2472":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:24:30 GMT+0100 (Mitteleuropäische Zeit)"},"2473":{"date":{"__isSmartRef__":true,"id":2474},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"2474":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:26:23 GMT+0100 (Mitteleuropäische Zeit)"},"2475":{"date":{"__isSmartRef__":true,"id":2476},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"2476":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:48:04 GMT+0100 (Mitteleuropäische Zeit)"},"2477":{"date":{"__isSmartRef__":true,"id":2478},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"2478":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:53:49 GMT+0100 (Mitteleuropäische Zeit)"},"2479":{"date":{"__isSmartRef__":true,"id":2480},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"2480":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:49:48 GMT+0100 (Mitteleuropäische Zeit)"},"2481":{"date":{"__isSmartRef__":true,"id":2482},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"2482":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:58:43 GMT+0100 (Mitteleuropäische Zeit)"},"2483":{"date":{"__isSmartRef__":true,"id":2484},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"2484":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:04:28 GMT+0100 (Mitteleuropäische Zeit)"},"2485":{"date":{"__isSmartRef__":true,"id":2486},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"2486":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:10:27 GMT+0100 (Mitteleuropäische Zeit)"},"2487":{"date":{"__isSmartRef__":true,"id":2488},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"2488":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:31:50 GMT+0100 (Mitteleuropäische Zeit)"},"2489":{"date":{"__isSmartRef__":true,"id":2490},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"2490":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:38:26 GMT+0100 (Mitteleuropäische Zeit)"},"2491":{"date":{"__isSmartRef__":true,"id":2492},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"2492":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:44:11 GMT+0100 (Mitteleuropäische Zeit)"},"2493":{"date":{"__isSmartRef__":true,"id":2494},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"2494":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:48:14 GMT+0100 (Mitteleuropäische Zeit)"},"2495":{"date":{"__isSmartRef__":true,"id":2496},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"2496":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:49:47 GMT+0100 (Mitteleuropäische Zeit)"},"2497":{"date":{"__isSmartRef__":true,"id":2498},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"2498":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:59:48 GMT+0100 (Mitteleuropäische Zeit)"},"2499":{"date":{"__isSmartRef__":true,"id":2500},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"2500":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:02:33 GMT+0100 (Mitteleuropäische Zeit)"},"2501":{"date":{"__isSmartRef__":true,"id":2502},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"2502":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:03:42 GMT+0100 (Mitteleuropäische Zeit)"},"2503":{"date":{"__isSmartRef__":true,"id":2504},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"2504":{"isSerializedDate":true,"string":"Thu Feb 09 2012 20:20:11 GMT+0100 (Mitteleuropäische Zeit)"},"2505":{"date":{"__isSmartRef__":true,"id":2506},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"2506":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:37:34 GMT+0100 (Mitteleuropäische Zeit)"},"2507":{"date":{"__isSmartRef__":true,"id":2508},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"2508":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:29 GMT+0100 (Mitteleuropäische Zeit)"},"2509":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"2510":{"morph":{"__isSmartRef__":true,"id":2374},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2511":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2512":{"adjustForNewBounds":true},"2513":{"x":171,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2514":{"loadPart":{"__isSmartRef__":true,"id":2515},"loadFinished":{"__isSmartRef__":true,"id":2519},"loadPartByName":{"__isSmartRef__":true,"id":2523}},"2515":{"varMapping":{"__isSmartRef__":true,"id":2516},"source":"function loadPart(partItem, isAsync) {\n this.partItem = partItem;\n \n this.openInWorld();\n if(partItem.part) {\n this.setExtent(partItem.part.getExtent());\n }\n this.align(this.bounds().center(), $world.visibleBounds().center());\n \n \n if(typeof isAsync === \"function\") {\n this.callback = isAsync;\n }\n\n connect(partItem, 'part', this, \"loadFinished\");\n\n partItem.loadPart(isAsync);\n\n return partItem.part;\n\n}","funcProperties":{"__isSmartRef__":true,"id":2517},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2516":{"this":{"__isSmartRef__":true,"id":2374}},"2517":{"timestamp":{"__isSmartRef__":true,"id":2518},"user":"sstamm","tags":[]},"2518":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:18 GMT+0100 (Mitteleuropäische Zeit)"},"2519":{"varMapping":{"__isSmartRef__":true,"id":2520},"source":"function loadFinished(part) {\n if(this.owner === $world.firstHand()) {\n $world.firstHand().removeAllMorphs();\n } else {\n this.owner.addMorph(part);\n part.align(part.bounds().center(), this.bounds().center());\n this.remove();\n }\n disconnect(this.partItem, 'part', this, \"loadFinished\");\n if(this.callback) {\n this.callback(part);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2521},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2520":{"this":{"__isSmartRef__":true,"id":2374}},"2521":{"timestamp":{"__isSmartRef__":true,"id":2522},"user":"sstamm","tags":[]},"2522":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:01:53 GMT+0100 (Mitteleuropäische Zeit)"},"2523":{"varMapping":{"__isSmartRef__":true,"id":2524},"source":"function loadPartByName(partName, optPartsSpaceName, isAsync) {\n var partItem = lively.PartsBin.getPartItem(partName, optPartsSpaceName);\n return this.loadPart(partItem, isAsync);\n}","funcProperties":{"__isSmartRef__":true,"id":2525},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2524":{"this":{"__isSmartRef__":true,"id":2374}},"2525":{"timestamp":{"__isSmartRef__":true,"id":2526},"user":"sstamm","tags":[]},"2526":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:03:18 GMT+0100 (Mitteleuropäische Zeit)"},"2527":{"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":2528},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2529},"__LivelyClassName__":"AttributeConnection"},"2528":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"2529":{"updater":{"__isSmartRef__":true,"id":2530}},"2530":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":2528},"source":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2531},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2531":{},"2532":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/projects/BP2012/blank.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"isSimplifiedRegistry":true}}]]>