= 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":1760},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1755":{"this":{"__isSmartRef__":true,"id":1728},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1756}},"1756":{"$super":{"__isSmartRef__":true,"id":1757}},"1757":{"varMapping":{"__isSmartRef__":true,"id":1758},"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":1759},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1758":{"obj":{"__isSmartRef__":true,"id":1728},"name":"onKeyDown"},"1759":{},"1760":{"timestamp":{"__isSmartRef__":true,"id":1761},"user":"conradcalmez","tags":[]},"1761":{"isSerializedDate":true,"string":"Mon Apr 30 2012 08:32:02 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1762":{"submorphs":[{"__isSmartRef__":true,"id":1763}],"scripts":[],"id":"CE8DB3AC-FB4C-44E6-9A27-CA6FC7C78CB3","shape":{"__isSmartRef__":true,"id":1791},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1798},"showsHalos":false,"name":"ConsolePane","partsBinMetaInfo":{"__isSmartRef__":true,"id":1799},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1808},"eventHandler":{"__isSmartRef__":true,"id":1809},"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","2D23B2AE-CE3A-4BE2-B71F-2DB5593F34A1","295D3896-051A-4E4C-91B9-A5BB7E50FC1A","E3E1283C-C506-461E-86D9-1EE0B0600651","707C4A6E-B957-4EEE-98D0-C4EBDD0A8665","53D6AF1E-638F-4820-B6D1-8A3872FAF3FD","9104E920-2A4E-46CA-A40F-E8A24F0097C0","20759F50-158A-437C-A377-5185BD16DBC6","A6AC914D-3CA3-496C-9646-901DA0ADECEE","2E9DE628-367C-4AA5-AD8F-7AD895D56E7A","DAFB4156-1C23-4C62-BD67-14360FE3F7D5","5F0E004E-E50E-44F5-BEAF-3F9FF28CE7FE","12440475-EF19-4F9A-9973-3F654E15E9E0","047863D3-02AB-4319-9E99-B52C542CCA57","B3477420-9838-4720-9254-27632AED17C1","058EB467-B6E2-4972-B15D-129B8DC4C7EE","20084360-884B-4617-A00C-1BF3991A9589","ADF5B4F7-6BE0-40D3-8142-608621D0319F"],"partTests":{"__isSmartRef__":true,"id":1810},"_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":1727},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":1815},"prevScroll":[0,0],"#startLetters":"setRich","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1816},"__LivelyClassName__":"lively.morphic.Box"},"1763":{"submorphs":[],"scripts":[],"id":"46539FD0-8692-427D-B10D-40400E0B7F12","shape":{"__isSmartRef__":true,"id":1764},"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":1767},"showsHalos":false,"_FontSize":10,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"TextPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":1771},"textChunks":[{"__isSmartRef__":true,"id":1772}],"charsReplaced":"","lastFindLoc":17,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1774},"renderContextTable":{"__isSmartRef__":true,"id":1775},"eventHandler":{"__isSmartRef__":true,"id":1776},"attributeConnections":[{"__isSmartRef__":true,"id":1777}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"layout":{"__isSmartRef__":true,"id":1778},"_Padding":{"__isSmartRef__":true,"id":1779},"_WhiteSpaceHandling":"pre-wrap","_Position":{"__isSmartRef__":true,"id":1780},"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","0EDD287E-B203-49E2-A7A4-B1E4585D7F89","9E02E702-389F-4781-9011-6E99772A8B49","757F4E2C-C80E-4D2E-BA6B-713CB2CC267A","809DD85D-57DF-4633-881B-251BCE66B79F","2A105C6C-C5BD-426F-B6B4-D2A5C21D69F2","60F9BEBD-0B08-465D-BFE1-0DCF5CBF5C1F","C300B376-13FC-4522-BABC-47428948BA37","ADC0C761-B83D-4A01-B3BD-9F79A6308FA7","76FC1A8C-4309-4894-9BE8-34ADAD7C8B4D","B024113D-92D9-49E4-B1C7-792FE0B5D10E","BB2F5640-650D-4356-BD2C-4BD33A6FC8F9","79FD4841-0647-462A-9074-085FC577687C","A6C5CE78-AEED-462F-85A6-EEA7F742F693","CEF2E15B-9EFE-4ADA-908D-18779AF69FA8","997971B3-F6D6-4984-9622-9538DF41CE54","BB62C05D-4A10-4181-9DB0-CE375A57ED51","FE93B987-DFF3-480D-9443-2504B6635C89"],"_ClipMode":"auto","moved":true,"owner":{"__isSmartRef__":true,"id":1762},"_MinTextWidth":326,"_MinTextHeight":null,"distanceToDragEvent":{"__isSmartRef__":true,"id":1781},"isBeingDragged":false,"eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","#startLetters":"setRich","textString":"","_Rotation":0,"_Scale":0.998001,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1782},"__LivelyClassName__":"lively.morphic.Text"},"1764":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1765},"_Extent":{"__isSmartRef__":true,"id":1766},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1767},"renderContextTable":{"__isSmartRef__":true,"id":1768},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Fill":{"__isSmartRef__":true,"id":1769},"_Padding":{"__isSmartRef__":true,"id":1770},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1765":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1766":{"x":326,"y":548,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1767":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1768":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1769":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1770":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1771":{"partsSpaceName":"PartsBin/Text/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"a simple text morph","partName":"TextBox","revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1772":{"style":{"__isSmartRef__":true,"id":1773},"chunkOwner":{"__isSmartRef__":true,"id":1763},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1773":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1774":{"x":326,"y":548,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1775":{"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"},"1776":{"morph":{"__isSmartRef__":true,"id":1763},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1777":{"sourceObj":{"__isSmartRef__":true,"id":1763},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1763},"targetMethodName":"scrollToBottom","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1778":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"1779":{"x":5,"y":5,"width":5,"height":5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1780":{"x":2.799100000010526,"y":2.958021000000997,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1781":{"x":180.01001502002487,"y":-12.987981975970001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1782":{"onrestore":{"__isSmartRef__":true,"id":1783}},"1783":{"varMapping":{"__isSmartRef__":true,"id":1784},"source":"function onrestore() {\n this.disableEvents();\n this.setExtent(pt(326,548));\n}","funcProperties":{"__isSmartRef__":true,"id":1789},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1784":{"this":{"__isSmartRef__":true,"id":1763},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1785}},"1785":{"$super":{"__isSmartRef__":true,"id":1786}},"1786":{"varMapping":{"__isSmartRef__":true,"id":1787},"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":1788},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1787":{"obj":{"__isSmartRef__":true,"id":1763},"name":"onrestore"},"1788":{},"1789":{"timestamp":{"__isSmartRef__":true,"id":1790},"user":"conradcalmez","tags":[]},"1790":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:04:02 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1791":{"position":{"__isSmartRef__":true,"id":1792},"_Extent":{"__isSmartRef__":true,"id":1793},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1794},"_Fill":{"__isSmartRef__":true,"id":1795},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1796},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1797},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1792":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1793":{"x":330,"y":550,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1794":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1795":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1796":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1797":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1798":{"x":1.196901999999909,"y":0.9980010000000021,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1799":{"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":1800},{"__isSmartRef__":true,"id":1802},{"__isSmartRef__":true,"id":1804},{"__isSmartRef__":true,"id":1806}],"revisionOnLoad":150682,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1800":{"date":{"__isSmartRef__":true,"id":1801},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"1801":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (Mitteleuropäische Zeit)"},"1802":{"date":{"__isSmartRef__":true,"id":1803},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1803":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (Mitteleuropäische Zeit)"},"1804":{"date":{"__isSmartRef__":true,"id":1805},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"1805":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (Mitteleuropäische Zeit)"},"1806":{"date":{"__isSmartRef__":true,"id":1807},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"1807":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1808":{"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"},"1809":{"morph":{"__isSmartRef__":true,"id":1762},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1810":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1811}},"1811":{"test01IsMorph":{"__isSmartRef__":true,"id":1812}},"1812":{"varMapping":{"__isSmartRef__":true,"id":1813},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1814},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1813":{"this":{"__isSmartRef__":true,"id":1810}},"1814":{},"1815":{"x":330,"y":549,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1816":{"onrestore":{"__isSmartRef__":true,"id":1817}},"1817":{"varMapping":{"__isSmartRef__":true,"id":1818},"source":"function onrestore() {\n this.setClipMode(\"auto\");\n}","funcProperties":{"__isSmartRef__":true,"id":1823},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1818":{"this":{"__isSmartRef__":true,"id":1762},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1819}},"1819":{"$super":{"__isSmartRef__":true,"id":1820}},"1820":{"varMapping":{"__isSmartRef__":true,"id":1821},"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":1822},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1821":{"obj":{"__isSmartRef__":true,"id":1762},"name":"onrestore"},"1822":{},"1823":{"timestamp":{"__isSmartRef__":true,"id":1824},"user":"conradcalmez","tags":[]},"1824":{"isSerializedDate":true,"string":"Thu Apr 26 2012 20:07:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1825":{"position":{"__isSmartRef__":true,"id":1826},"_Extent":{"__isSmartRef__":true,"id":1827},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1828},"_Fill":{"__isSmartRef__":true,"id":1829},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1830},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1831},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1826":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1827":{"x":332.6,"y":582.1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1828":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1829":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1830":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1831":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1832":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1833":{"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":1834},{"__isSmartRef__":true,"id":1836},{"__isSmartRef__":true,"id":1838},{"__isSmartRef__":true,"id":1840}],"revisionOnLoad":150682,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1834":{"date":{"__isSmartRef__":true,"id":1835},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"1835":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (Mitteleuropäische Zeit)"},"1836":{"date":{"__isSmartRef__":true,"id":1837},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1837":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (Mitteleuropäische Zeit)"},"1838":{"date":{"__isSmartRef__":true,"id":1839},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"1839":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (Mitteleuropäische Zeit)"},"1840":{"date":{"__isSmartRef__":true,"id":1841},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"1841":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1842":{"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"},"1843":{"morph":{"__isSmartRef__":true,"id":1727},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1844":{"sourceObj":{"__isSmartRef__":true,"id":1727},"sourceAttrName":"userName","targetObj":{"__isSmartRef__":true,"id":1727},"targetMethodName":"syncUserName","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1845},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1845":{"source":{"__isSmartRef__":true,"id":1727},"target":{"__isSmartRef__":true,"id":1727}},"1846":{"sourceObj":{"__isSmartRef__":true,"id":1727},"sourceAttrName":"visible","targetObj":{"__isSmartRef__":true,"id":1643},"targetMethodName":"toggleState","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1847":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1848}},"1848":{"test01IsMorph":{"__isSmartRef__":true,"id":1849}},"1849":{"varMapping":{"__isSmartRef__":true,"id":1850},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1851},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1850":{"this":{"__isSmartRef__":true,"id":1847}},"1851":{},"1852":{"x":332.6,"y":582.1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1853":{"adjustForNewBounds":true,"moveHorizontal":true,"resizeWidth":false,"resizeHeight":true},"1854":{"x":209,"y":-16,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1855":{},"1856":{"onrestore":{"__isSmartRef__":true,"id":1857},"hide":{"__isSmartRef__":true,"id":1865},"initializeCommands":{"__isSmartRef__":true,"id":1869},"setupConnections":{"__isSmartRef__":true,"id":1873},"getChatButton":{"__isSmartRef__":true,"id":1877},"setUserName":{"__isSmartRef__":true,"id":1881},"syncUserName":{"__isSmartRef__":true,"id":1885},"toggle":{"__isSmartRef__":true,"id":1889},"isVisible":{"__isSmartRef__":true,"id":1893},"show":{"__isSmartRef__":true,"id":1901},"showMessage":{"__isSmartRef__":true,"id":1905},"sendMessage":{"__isSmartRef__":true,"id":1909},"getUserName":{"__isSmartRef__":true,"id":1913},"processCommand":{"__isSmartRef__":true,"id":1917},"reset":{"__isSmartRef__":true,"id":1921},"callCommand":{"__isSmartRef__":true,"id":1925}},"1857":{"varMapping":{"__isSmartRef__":true,"id":1858},"source":"function onrestore() {\n this.setExtent(pt(332.6,582.1));\n this.visible = false;\n this.hide();\n this.initializeCommands();\n}","funcProperties":{"__isSmartRef__":true,"id":1863},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1858":{"this":{"__isSmartRef__":true,"id":1727},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1859}},"1859":{"$super":{"__isSmartRef__":true,"id":1860}},"1860":{"varMapping":{"__isSmartRef__":true,"id":1861},"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":1862},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1861":{"obj":{"__isSmartRef__":true,"id":1727},"name":"onrestore"},"1862":{},"1863":{"timestamp":{"__isSmartRef__":true,"id":1864},"user":"conradcalmez","tags":[]},"1864":{"isSerializedDate":true,"string":"Mon May 07 2012 20:14:36 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1865":{"varMapping":{"__isSmartRef__":true,"id":1866},"source":"function hide() {\n this.setPosition(pt(0, 0));\n this.setVisible(false);\n}","funcProperties":{"__isSmartRef__":true,"id":1867},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1866":{"this":{"__isSmartRef__":true,"id":1727}},"1867":{"timestamp":{"__isSmartRef__":true,"id":1868},"user":"conradcalmez","tags":[]},"1868":{"isSerializedDate":true,"string":"Wed May 02 2012 15:40:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1869":{"varMapping":{"__isSmartRef__":true,"id":1870},"source":"function initializeCommands() {\n this.commands = {\n 'nick': function (name) {\n this.setUserName(name);\n this.showMessage(\"changed nick to \" + name);\n },\n 'names': function () {\n this.whiteboard.getConnectedUserNames();\n },\n 'channel': function (channel) {\n this.whiteboard.setChannel(channel);\n },\n 'chan': this.commands['channel'],\n 'clear': function () {\n this.whiteboard.clear();\n },\n 'activate': function () {\n this.whiteboard.activate();\n },\n 'a': this.commands['activate'],\n 'deactivate': function () {\n this.whiteboard.deactivate();\n },\n 'd': this.commands['deactivate'],\n 'color': function (r, g, b, a) {\n this.whiteboard.setColor(Color.rgba(r, g, b, a));\n },\n 'c': this.commands['color'],\n 'pencil': function (size) {\n this.whiteboard.setPencilSize(size);\n },\n 'p': this.commands['pencil'],\n 'pencilstyler': function () {\n this.pencilStyler.toggle();\n },\n 'ps': this.commands['pencilstyler'],\n 'chat': function () {\n this.toggle();\n },\n 'help': function () {\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 'h': this.commands['help'],\n };\n}","funcProperties":{"__isSmartRef__":true,"id":1871},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1870":{"this":{"__isSmartRef__":true,"id":1727}},"1871":{"timestamp":{"__isSmartRef__":true,"id":1872},"user":"conradcalmez","tags":[]},"1872":{"isSerializedDate":true,"string":"Mon May 07 2012 21:55:41 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1873":{"varMapping":{"__isSmartRef__":true,"id":1874},"source":"function setupConnections() {\n this.attributeConnections.invoke('disconnect');\n connect(this, \"userName\", this, \"syncUserName\", {});\n connect(this, 'visible', this.getChatButton(), 'toggleState');\n}","funcProperties":{"__isSmartRef__":true,"id":1875},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1874":{"this":{"__isSmartRef__":true,"id":1727}},"1875":{"timestamp":{"__isSmartRef__":true,"id":1876},"user":"athomschke","tags":[]},"1876":{"isSerializedDate":true,"string":"Fri May 18 2012 10:50:38 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1877":{"varMapping":{"__isSmartRef__":true,"id":1878},"source":"function getChatButton() {\n return this.owner.titleBar.get('ChatButton')\n}","funcProperties":{"__isSmartRef__":true,"id":1879},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1878":{"this":{"__isSmartRef__":true,"id":1727}},"1879":{"timestamp":{"__isSmartRef__":true,"id":1880},"user":"athomschke","tags":[]},"1880":{"isSerializedDate":true,"string":"Fri May 18 2012 10:49:59 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1881":{"varMapping":{"__isSmartRef__":true,"id":1882},"source":"function setUserName(name) {\n this.userName = name;\n}","funcProperties":{"__isSmartRef__":true,"id":1883},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1882":{"this":{"__isSmartRef__":true,"id":1727}},"1883":{"timestamp":{"__isSmartRef__":true,"id":1884},"user":"conradcalmez","tags":[]},"1884":{"isSerializedDate":true,"string":"Mon Apr 30 2012 15:02:29 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1885":{"varMapping":{"__isSmartRef__":true,"id":1886},"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":1887},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1886":{"this":{"__isSmartRef__":true,"id":1727}},"1887":{"timestamp":{"__isSmartRef__":true,"id":1888},"user":"conradcalmez","tags":[]},"1888":{"isSerializedDate":true,"string":"Wed May 02 2012 19:15:33 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1889":{"varMapping":{"__isSmartRef__":true,"id":1890},"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":1891},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1890":{"this":{"__isSmartRef__":true,"id":1727}},"1891":{"timestamp":{"__isSmartRef__":true,"id":1892},"user":"conradcalmez","tags":[]},"1892":{"isSerializedDate":true,"string":"Wed May 02 2012 19:31:38 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1893":{"varMapping":{"__isSmartRef__":true,"id":1894},"source":"function isVisible() {\n return this.visible || false;\n}","funcProperties":{"__isSmartRef__":true,"id":1899},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1894":{"this":{"__isSmartRef__":true,"id":1727},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1895}},"1895":{"$super":{"__isSmartRef__":true,"id":1896}},"1896":{"varMapping":{"__isSmartRef__":true,"id":1897},"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":1898},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1897":{"obj":{"__isSmartRef__":true,"id":1727},"name":"isVisible"},"1898":{},"1899":{"timestamp":{"__isSmartRef__":true,"id":1900},"user":"conradcalmez","tags":[]},"1900":{"isSerializedDate":true,"string":"Thu Apr 26 2012 17:52:17 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1901":{"varMapping":{"__isSmartRef__":true,"id":1902},"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":1903},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1902":{"this":{"__isSmartRef__":true,"id":1727}},"1903":{"timestamp":{"__isSmartRef__":true,"id":1904},"user":"conradcalmez","tags":[]},"1904":{"isSerializedDate":true,"string":"Wed May 02 2012 15:40:25 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1905":{"varMapping":{"__isSmartRef__":true,"id":1906},"source":"function showMessage(message, optNick) {\n var pane = this.get(\"ConsolePane\").get(\"TextPane\");\n var currentText = pane.getRichText();\n var text = new lively.morphic.RichText();\n text.initialize();\n var messageText = new lively.morphic.RichText();\n if (message.isRichText) {\n messageText.initialize();\n messageText.setTextChunks(message.getTextChunks()); \n } else {\n messageText.initialize(message);\n };\n if (optNick) {\n text.setTextChunks(\n new lively.morphic.RichText(\"<\" + optNick.name + \"> \").getTextChunks().concat(\n messageText.getTextChunks()\n )\n );\n text.emphasize({color: optNick.color}, 1, optNick.name.length+1);\n text.emphasize({fontWeight: 'bold'}, 0, optNick.name.length+2);\n } else {\n text.setTextChunks(\n messageText.getTextChunks()\n );\n //text.emphasize({fontWeight: 'normal'}, 0, text.textString.length);\n }\n var richText = new lively.morphic.RichText();\n richText.initialize();\n if (currentText.textString.length == 0) {\n richText.setTextChunks(text.getTextChunks());\n } else {\n richText.setTextChunks(\n currentText.getTextChunks().concat(\n new lively.morphic.RichText(\"\\n\").getTextChunks().concat(\n text.getTextChunks()\n )\n ));\n }\n pane.setRichText(richText);\n}","funcProperties":{"__isSmartRef__":true,"id":1907},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1906":{"this":{"__isSmartRef__":true,"id":1727}},"1907":{"timestamp":{"__isSmartRef__":true,"id":1908},"user":"conradcalmez","tags":[]},"1908":{"isSerializedDate":true,"string":"Mon May 14 2012 18:02:20 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1909":{"varMapping":{"__isSmartRef__":true,"id":1910},"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":1911},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1910":{"this":{"__isSmartRef__":true,"id":1727}},"1911":{"timestamp":{"__isSmartRef__":true,"id":1912},"user":"conradcalmez","tags":[]},"1912":{"isSerializedDate":true,"string":"Wed May 02 2012 19:15:59 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1913":{"varMapping":{"__isSmartRef__":true,"id":1914},"source":"function getUserName() {\n return this.userName || lively.morphic.World.current().getUserName();\n}","funcProperties":{"__isSmartRef__":true,"id":1915},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1914":{"this":{"__isSmartRef__":true,"id":1727}},"1915":{"timestamp":{"__isSmartRef__":true,"id":1916},"user":"conradcalmez","tags":[]},"1916":{"isSerializedDate":true,"string":"Fri May 04 2012 15:06:17 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1917":{"varMapping":{"__isSmartRef__":true,"id":1918},"source":"function processCommand(commandString) {\n this.callCommand(commandString.slice(1).split(\" \"));\n}","funcProperties":{"__isSmartRef__":true,"id":1919},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1918":{"this":{"__isSmartRef__":true,"id":1727}},"1919":{"timestamp":{"__isSmartRef__":true,"id":1920},"user":"conradcalmez","tags":[]},"1920":{"isSerializedDate":true,"string":"Mon May 07 2012 20:36:33 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1921":{"varMapping":{"__isSmartRef__":true,"id":1922},"source":"function reset() {\n this.whiteboard = this.owner.get(\"WhiteBoard\");\n this.pencilStyler = this.owner.get(\"PencilStyler\");\n this.initializeCommands();\n this.hide();\n this.visible = false;\n this.setUserName(\"\");\n this.get(\"TextPane\").setTextString(\"\");\n}","funcProperties":{"__isSmartRef__":true,"id":1923},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1922":{"this":{"__isSmartRef__":true,"id":1727}},"1923":{"timestamp":{"__isSmartRef__":true,"id":1924},"user":"athomschke","tags":[]},"1924":{"isSerializedDate":true,"string":"Wed May 09 2012 19:09:12 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1925":{"varMapping":{"__isSmartRef__":true,"id":1926},"source":"function callCommand(command) {\n var func = this.commands[command[0]]\n if (func) {\n func.apply(this, command.slice(1));\n } else {\n this.showMessage(\"!ERROR :: command \\\"\" + command[0] + \"\\\" is not available\");\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1927},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1926":{"this":{"__isSmartRef__":true,"id":1727}},"1927":{"timestamp":{"__isSmartRef__":true,"id":1928},"user":"conradcalmez","tags":[]},"1928":{"isSerializedDate":true,"string":"Tue May 08 2012 17:49:27 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1929":{"onrestore":{"__isSmartRef__":true,"id":1930},"deactivate":{"__isSmartRef__":true,"id":1938},"setupConnections":{"__isSmartRef__":true,"id":1942},"createTitleBarButton":{"__isSmartRef__":true,"id":1946},"getColor":{"__isSmartRef__":true,"id":1950},"setColor":{"__isSmartRef__":true,"id":1954},"getPencilSize":{"__isSmartRef__":true,"id":1958},"setPencilSize":{"__isSmartRef__":true,"id":1962},"getPencilStyle":{"__isSmartRef__":true,"id":1966},"disconnectSocket":{"__isSmartRef__":true,"id":1970},"activate":{"__isSmartRef__":true,"id":1974},"clear":{"__isSmartRef__":true,"id":1978},"clearDatabase":{"__isSmartRef__":true,"id":1982},"drawLineFrom":{"__isSmartRef__":true,"id":1986},"getDrawerID":{"__isSmartRef__":true,"id":1990},"initialSync":{"__isSmartRef__":true,"id":1994},"lineTo":{"__isSmartRef__":true,"id":1998},"morphMenuItems":{"__isSmartRef__":true,"id":2002},"onMouseDown":{"__isSmartRef__":true,"id":2010},"onMouseMove":{"__isSmartRef__":true,"id":2018},"onMouseOut":{"__isSmartRef__":true,"id":2026},"onMouseUp":{"__isSmartRef__":true,"id":2034},"onTouchEnd":{"__isSmartRef__":true,"id":2042},"onTouchMove":{"__isSmartRef__":true,"id":2050},"onTouchStart":{"__isSmartRef__":true,"id":2054},"remove":{"__isSmartRef__":true,"id":2062},"reset":{"__isSmartRef__":true,"id":2070},"startDrawing":{"__isSmartRef__":true,"id":2074},"stopDrawing":{"__isSmartRef__":true,"id":2078},"toggleActivation":{"__isSmartRef__":true,"id":2082},"transformPoint":{"__isSmartRef__":true,"id":2086},"finishLine":{"__isSmartRef__":true,"id":2090},"getCurrentShape":{"__isSmartRef__":true,"id":2094},"getChannel":{"__isSmartRef__":true,"id":2098},"setChannel":{"__isSmartRef__":true,"id":2102},"createStrokeShape":{"__isSmartRef__":true,"id":2106},"connectSocket":{"__isSmartRef__":true,"id":2110},"sync":{"__isSmartRef__":true,"id":2114},"deleteMorphWith":{"__isSmartRef__":true,"id":2118},"removeDocumentWith":{"__isSmartRef__":true,"id":2122},"createSocketListeners":{"__isSmartRef__":true,"id":2126},"addMorphFrom":{"__isSmartRef__":true,"id":2130},"saveMorph":{"__isSmartRef__":true,"id":2134},"deserializeMorph":{"__isSmartRef__":true,"id":2138},"defaultColor":{"__isSmartRef__":true,"id":2142},"getConnectedUserNames":{"__isSmartRef__":true,"id":2146},"defaultPencilSize":{"__isSmartRef__":true,"id":2150},"setPencilStyle":{"__isSmartRef__":true,"id":2154},"defaultPencilStyle":{"__isSmartRef__":true,"id":2158},"applyChanges":{"__isSmartRef__":true,"id":2162},"fakeCopy":{"__isSmartRef__":true,"id":2166},"observeChanges":{"__isSmartRef__":true,"id":2170},"sendChange":{"__isSmartRef__":true,"id":2174},"createMouseIndicator":{"__isSmartRef__":true,"id":2178},"updateMouseIndicators":{"__isSmartRef__":true,"id":2182},"handleMovingHand":{"__isSmartRef__":true,"id":2186},"onTouchOut":{"__isSmartRef__":true,"id":2190},"onLoad":{"__isSmartRef__":true,"id":2194}},"1930":{"varMapping":{"__isSmartRef__":true,"id":1931},"source":"function onrestore() {\n this.deactivate();\n module('projects.BP2012.Whiteboard').load(true);\n module('projects.BP2012.DiffMerge').load(true);\n this.setupConnections();\n}","funcProperties":{"__isSmartRef__":true,"id":1936},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1931":{"this":{"__isSmartRef__":true,"id":1433},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1932}},"1932":{"$super":{"__isSmartRef__":true,"id":1933}},"1933":{"varMapping":{"__isSmartRef__":true,"id":1934},"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":1935},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1934":{"obj":{"__isSmartRef__":true,"id":1433},"name":"onrestore"},"1935":{},"1936":{"timestamp":{"__isSmartRef__":true,"id":1937},"user":"athomschke","tags":["initialization"]},"1937":{"isSerializedDate":true,"string":"Fri May 18 2012 10:29:13 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1938":{"varMapping":{"__isSmartRef__":true,"id":1939},"source":"function deactivate() {\n if (this.active) {\n if (this.socket && this.socket.emit) {\n this.socket.emit('mouse', {\n message: {x: 0, y: 0, remove: []},\n me: false,\n broadcast: true,\n });\n this.disconnectSocket();\n }\n else {\n this.socket = undefined\n }\n this.stopStepping();\n this.oldSubmorphs = [];\n this.setBorderColor(Color.black);\n this.active = false;\n this.owner && this.owner.submorphs.each(function (ea) {\n ea.isMouseIndicator && ea.remove();\n });\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1940},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1939":{"this":{"__isSmartRef__":true,"id":1433}},"1940":{"timestamp":{"__isSmartRef__":true,"id":1941},"user":"athomschke","tags":["synchronization"]},"1941":{"isSerializedDate":true,"string":"Wed May 16 2012 14:13:08 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1942":{"varMapping":{"__isSmartRef__":true,"id":1943},"source":"function setupConnections() {\n this.attributeConnections.invoke('disconnect');\n connect(this, 'channelName', this.owner.titleBar, 'setTitle', {\n converter: function (channelName) {\n return 'Channel: ' + channelName\n }\n })\n connect(this, 'active', this.owner.titleBar.get('ActiveButton'), 'toggleState');\n this.chat.setupConnections();\n this.pencilStyler.setupConnections();\n}","funcProperties":{"__isSmartRef__":true,"id":1944},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1943":{"this":{"__isSmartRef__":true,"id":1433}},"1944":{"timestamp":{"__isSmartRef__":true,"id":1945},"user":"athomschke","tags":["initialization"]},"1945":{"isSerializedDate":true,"string":"Fri May 18 2012 11:04:10 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1946":{"varMapping":{"__isSmartRef__":true,"id":1947},"source":"function createTitleBarButton(name, tooltip, activateFunction, deactivateFunction) {\n if (!this.owner)\n return\n var titleBar = this.owner.get(\"TitleBar\");\n var b = new lively.morphic.Button();\n b.whiteboard = this;\n b.setToolTip(tooltip);\n b.extraButton = true;\n b.activateFunction = activateFunction;\n b.deactivateFunction = deactivateFunction;\n var size = titleBar.getExtent().y-2;\n b.setExtent(pt(size, size));\n if (b.beToolbarButton)\n b.beToolbarButton(name);\n else\n b.setLabel(name);\n b.normalFillInactive = b.normalFill;\n b.active = false;\n connect(b, \"fire\", b, \"onFire\", {});\n b.addScript(function setActive() {\n this.active = true;\n this.normalFill = Color.green;\n });\n b.addScript(function setInactive() {\n this.active = false;\n this.normalFill = this.normalFillInactive;\n });\n b.addScript(function toggleState () {\n if (!this.active)\n this.setActive();\n else\n this.setInactive();\n });\n b.addScript(function activate() {\n this.setActive();\n this.activateFunction.apply(this.whiteboard);\n });\n b.addScript(function deactivate() {\n this.setInactive();\n this.deactivateFunction.apply(this.whiteboard);\n });\n b.addScript(function onFire() {\n if (!this.active)\n this.activate();\n else\n this.deactivate();\n });\n b.openInWorld();\n titleBar.addMorphFront(b);\n var buttonCount = titleBar.submorphs.select(function (ea) {return ea.extraButton}).length;\n b.setPosition(pt((buttonCount+1) * b.getExtent().x, 1));\n b.adjustForNewBounds();\n return b;\n}","funcProperties":{"__isSmartRef__":true,"id":1948},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1947":{"this":{"__isSmartRef__":true,"id":1433}},"1948":{"timestamp":{"__isSmartRef__":true,"id":1949},"user":"undefined","tags":[]},"1949":{"isSerializedDate":true,"string":"Tue May 15 2012 17:26:34 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1950":{"varMapping":{"__isSmartRef__":true,"id":1951},"source":"function getColor() {\n return this.color || this.defaultColor();\n}","funcProperties":{"__isSmartRef__":true,"id":1952},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1951":{"this":{"__isSmartRef__":true,"id":1433}},"1952":{"timestamp":{"__isSmartRef__":true,"id":1953},"user":"conradcalmez","tags":["drawing","accessing"]},"1953":{"isSerializedDate":true,"string":"Fri Apr 27 2012 20:44:47 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1954":{"varMapping":{"__isSmartRef__":true,"id":1955},"source":"function setColor(color) {\n this.color = color;\n}","funcProperties":{"__isSmartRef__":true,"id":1956},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1955":{"this":{"__isSmartRef__":true,"id":1433}},"1956":{"timestamp":{"__isSmartRef__":true,"id":1957},"user":"conradcalmez","tags":["drawing","accessing"]},"1957":{"isSerializedDate":true,"string":"Fri Apr 27 2012 20:45:41 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1958":{"varMapping":{"__isSmartRef__":true,"id":1959},"source":"function getPencilSize() {\n return this.pencilSize || this.defaultPencilSize();\n}","funcProperties":{"__isSmartRef__":true,"id":1960},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1959":{"this":{"__isSmartRef__":true,"id":1433}},"1960":{"timestamp":{"__isSmartRef__":true,"id":1961},"user":"conradcalmez","tags":["drawing","accessing"]},"1961":{"isSerializedDate":true,"string":"Mon Apr 30 2012 08:58:24 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1962":{"varMapping":{"__isSmartRef__":true,"id":1963},"source":"function setPencilSize(size) {\n this.pencilSize = size;\n}","funcProperties":{"__isSmartRef__":true,"id":1964},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1963":{"this":{"__isSmartRef__":true,"id":1433}},"1964":{"timestamp":{"__isSmartRef__":true,"id":1965},"user":"conradcalmez","tags":["drawing","accessing"]},"1965":{"isSerializedDate":true,"string":"Mon Apr 30 2012 08:57:47 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1966":{"varMapping":{"__isSmartRef__":true,"id":1967},"source":"function getPencilStyle() {\n return this.pencilStyle || this.defaultPencilStyle();\n}","funcProperties":{"__isSmartRef__":true,"id":1968},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1967":{"this":{"__isSmartRef__":true,"id":1433}},"1968":{"timestamp":{"__isSmartRef__":true,"id":1969},"user":"conradcalmez","tags":["drawing","accessing"]},"1969":{"isSerializedDate":true,"string":"Wed May 02 2012 15:03:14 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1970":{"varMapping":{"__isSmartRef__":true,"id":1971},"source":"function disconnectSocket() {\n this.socket && this.socket.disconnect();\n this.socket = undefined;\n}","funcProperties":{"__isSmartRef__":true,"id":1972},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1971":{"this":{"__isSmartRef__":true,"id":1433}},"1972":{"timestamp":{"__isSmartRef__":true,"id":1973},"user":"conradcalmez","tags":["synchronization"]},"1973":{"isSerializedDate":true,"string":"Mon Apr 30 2012 17:31:05 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1974":{"varMapping":{"__isSmartRef__":true,"id":1975},"source":"function activate() {\n if (!this.active) {\n this.oldSubmorphs = []; \n this.prevState = undefined\n this.connectSocket();\n this.startStepping(1000, 'observeChanges')\n this.setBorderColor(Color.green);\n this.active = true;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1976},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1975":{"this":{"__isSmartRef__":true,"id":1433}},"1976":{"timestamp":{"__isSmartRef__":true,"id":1977},"user":"athomschke","tags":["synchronization"]},"1977":{"isSerializedDate":true,"string":"Wed May 16 2012 14:13:17 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1978":{"varMapping":{"__isSmartRef__":true,"id":1979},"source":"function clear() {\n if (this.active && this.socket)\n this.clearDatabase();\n else \n this.submorphs.invoke('remove')\n}","funcProperties":{"__isSmartRef__":true,"id":1980},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1979":{"this":{"__isSmartRef__":true,"id":1433}},"1980":{"timestamp":{"__isSmartRef__":true,"id":1981},"user":"undefined","tags":["drawing","synchronization"]},"1981":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:40:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1982":{"varMapping":{"__isSmartRef__":true,"id":1983},"source":"function clearDatabase() {\n this.socket.emit('clear', {\n me: true,\n broadcast: true,\n });\n}","funcProperties":{"__isSmartRef__":true,"id":1984},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1983":{"this":{"__isSmartRef__":true,"id":1433}},"1984":{"timestamp":{"__isSmartRef__":true,"id":1985},"user":"undefined","tags":["synchronization"]},"1985":{"isSerializedDate":true,"string":"Tue Apr 24 2012 16:48:04 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1986":{"varMapping":{"__isSmartRef__":true,"id":1987},"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.setBorderColor(Color.rgba(stroke.color.r, stroke.color.g, stroke.color.b, stroke.color.a));\n line.setBorderWidth(stroke.width);\n line.setBorderStyle(stroke.style);\n }\n var vector = stroke.vector;\n if (vector instanceof Array) {\n vector.each(function (ea) {\n line.setVertices(line.vertices().concat([pt(ea.x, ea.y)]));\n });\n } else {\n line.setVertices(line.vertices().concat([pt(vector.x, vector.y)]));\n }\n line.timestamp = stroke.time\n}","funcProperties":{"__isSmartRef__":true,"id":1988},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1987":{"this":{"__isSmartRef__":true,"id":1433}},"1988":{"timestamp":{"__isSmartRef__":true,"id":1989},"user":"conradcalmez","tags":["drawing"]},"1989":{"isSerializedDate":true,"string":"Wed May 09 2012 08:43:46 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1990":{"varMapping":{"__isSmartRef__":true,"id":1991},"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":1992},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1991":{"this":{"__isSmartRef__":true,"id":1433}},"1992":{"timestamp":{"__isSmartRef__":true,"id":1993},"user":"undefined","tags":["drawing","accessing"]},"1993":{"isSerializedDate":true,"string":"Thu Apr 19 2012 10:26:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1994":{"varMapping":{"__isSmartRef__":true,"id":1995},"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 = {\n r: ea.getBorderColor().r*255,\n g: ea.getBorderColor().g*255,\n b: ea.getBorderColor().b*255,\n a: ea.getBorderColor().a\n };\n that.sync(\n ea.shape.vertices(),\n ea.timestamp,\n ea.identifier,\n color,\n ea.getBorderWidth(),\n ea.getBorderStyle()\n );\n } else {\n that.saveMorph(ea);\n }\n }\n });\n this.oldSubmorphs = this.submorphs.pluck('identifier');\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 if (ea.morph) {\n var m = that.deserializeMorph(ea.morph);\n that.addMorph(m);\n m.setPosition(pt(ea.position.x, ea.position.y))\n }\n else if (ea.isChange) {\n that.applyChanges(ea.change);\n }\n }\n });\n this.active = true\n}","funcProperties":{"__isSmartRef__":true,"id":1996},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1995":{"this":{"__isSmartRef__":true,"id":1433}},"1996":{"timestamp":{"__isSmartRef__":true,"id":1997},"user":"undefined","tags":["synchronization"]},"1997":{"isSerializedDate":true,"string":"Tue May 15 2012 10:48:56 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1998":{"varMapping":{"__isSmartRef__":true,"id":1999},"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, line.id, {r: color.r*255, g: color.g*255, b: color.b*255, a: color.a}, line.getBorderWidth(), line.getBorderStyle());\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2000},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1999":{"this":{"__isSmartRef__":true,"id":1433}},"2000":{"timestamp":{"__isSmartRef__":true,"id":2001},"user":"conradcalmez","tags":["drawing"]},"2001":{"isSerializedDate":true,"string":"Tue May 08 2012 19:10:17 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2002":{"varMapping":{"__isSmartRef__":true,"id":2003},"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":2008},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2003":{"this":{"__isSmartRef__":true,"id":1433},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2004}},"2004":{"$super":{"__isSmartRef__":true,"id":2005}},"2005":{"varMapping":{"__isSmartRef__":true,"id":2006},"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":2007},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2006":{"obj":{"__isSmartRef__":true,"id":1433},"name":"morphMenuItems"},"2007":{},"2008":{"timestamp":{"__isSmartRef__":true,"id":2009},"user":"conradcalmez","tags":["initialization"]},"2009":{"isSerializedDate":true,"string":"Wed May 02 2012 19:30:11 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2010":{"varMapping":{"__isSmartRef__":true,"id":2011},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown()) {\n var mup = $world.morphsContainingPoint(evt.mousePoint);\n if ((mup.first() == this || mup.first().isStroke)\n && lively.morphic.World.current().firstHand().submorphs.length <= 0) {\n this.startDrawing(evt);\n evt.stop();\n }\n else \n $super(evt);\n }\n else\n $super(evt)\n}","funcProperties":{"__isSmartRef__":true,"id":2016},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2011":{"this":{"__isSmartRef__":true,"id":1433},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2012}},"2012":{"$super":{"__isSmartRef__":true,"id":2013}},"2013":{"varMapping":{"__isSmartRef__":true,"id":2014},"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":2015},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2014":{"obj":{"__isSmartRef__":true,"id":1433},"name":"onMouseDown"},"2015":{},"2016":{"timestamp":{"__isSmartRef__":true,"id":2017},"user":"undefined","tags":["mouse actions"]},"2017":{"isSerializedDate":true,"string":"Wed May 16 2012 10:54:40 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2018":{"varMapping":{"__isSmartRef__":true,"id":2019},"source":"function onMouseMove(evt) {\n this.handleMovingHand(pt(evt.pageX, evt.pageY));\n}","funcProperties":{"__isSmartRef__":true,"id":2024},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2019":{"this":{"__isSmartRef__":true,"id":1433},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2020}},"2020":{"$super":{"__isSmartRef__":true,"id":2021}},"2021":{"varMapping":{"__isSmartRef__":true,"id":2022},"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":2023},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2022":{"obj":{"__isSmartRef__":true,"id":1433},"name":"onMouseMove"},"2023":{},"2024":{"timestamp":{"__isSmartRef__":true,"id":2025},"user":"undefined","tags":["mouse actions"]},"2025":{"isSerializedDate":true,"string":"Tue May 15 2012 10:48:56 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2026":{"varMapping":{"__isSmartRef__":true,"id":2027},"source":"function onMouseOut(evt) {\n // XXX cancelation better than strange drawing behavior?\n if ($world.morphsContainingPoint(evt.mousePoint).indexOf(this) < 0) {\n if (this.isDrawing) {\n this.stopDrawing(evt);\n evt.stop();\n }\n if (this.active) {\n this.enteredBefore = false;\n this.socket.emit('mouse', {\n message: {\n x: evt.pageX, \n y: evt.pageY, \n remove: lively.morphic.World.current().firstHand().submorphs.slice(1)\n .collect(function (ea) {\n return ea.identifier;\n })\n },\n me: false,\n broadcast: true,\n });\n lively.morphic.World.current().firstHand().submorphs.each(function (ea) {\n ea.identifier = undefined;\n });\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2032},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2027":{"this":{"__isSmartRef__":true,"id":1433},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2028}},"2028":{"$super":{"__isSmartRef__":true,"id":2029}},"2029":{"varMapping":{"__isSmartRef__":true,"id":2030},"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":2031},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2030":{"obj":{"__isSmartRef__":true,"id":1433},"name":"onMouseOut"},"2031":{},"2032":{"timestamp":{"__isSmartRef__":true,"id":2033},"user":"athomschke","tags":["mouse actions"]},"2033":{"isSerializedDate":true,"string":"Wed May 16 2012 11:47:43 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2034":{"varMapping":{"__isSmartRef__":true,"id":2035},"source":"function onMouseUp(evt) {\n if (this.isDrawing) {\n this.stopDrawing(evt);\n evt.stop();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2040},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2035":{"this":{"__isSmartRef__":true,"id":1433},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2036}},"2036":{"$super":{"__isSmartRef__":true,"id":2037}},"2037":{"varMapping":{"__isSmartRef__":true,"id":2038},"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":2039},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2038":{"obj":{"__isSmartRef__":true,"id":1433},"name":"onMouseUp"},"2039":{},"2040":{"timestamp":{"__isSmartRef__":true,"id":2041},"user":"athomschke","tags":["mouse actions"]},"2041":{"isSerializedDate":true,"string":"Wed May 16 2012 12:13:20 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2042":{"varMapping":{"__isSmartRef__":true,"id":2043},"source":"function onTouchEnd(evt) {\n this.stopDrawing(evt, true);\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":2048},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2043":{"this":{"__isSmartRef__":true,"id":1433},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2044}},"2044":{"$super":{"__isSmartRef__":true,"id":2045}},"2045":{"varMapping":{"__isSmartRef__":true,"id":2046},"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":2047},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2046":{"obj":{"__isSmartRef__":true,"id":1433},"name":"onTouchEnd"},"2047":{},"2048":{"timestamp":{"__isSmartRef__":true,"id":2049},"user":"undefined","tags":["touch actions"]},"2049":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2050":{"varMapping":{"__isSmartRef__":true,"id":2051},"source":"function onTouchMove(evt) {\n this.handleMovingHand(evt.getPosition())\n}","funcProperties":{"__isSmartRef__":true,"id":2052},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2051":{"this":{"__isSmartRef__":true,"id":1433}},"2052":{"timestamp":{"__isSmartRef__":true,"id":2053},"user":"conradcalmez","tags":["touch actions"]},"2053":{"isSerializedDate":true,"string":"Tue May 08 2012 16:25:16 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2054":{"varMapping":{"__isSmartRef__":true,"id":2055},"source":"function onTouchStart(evt) {\n if (evt.touches.length == 1) {\n var mup = $world.morphsContainingPoint(evt.mousePoint);\n if ((mup.first() == this || mup.first().isStroke)\n && lively.morphic.World.current().firstHand().submorphs.length <= 0) {\n this.startDrawing(evt);\n evt.stop();\n }\n else \n $super(evt);\n }\n else {\n this.isDrawing = false\n this.currentShape && this.currentShape.remove();\n delete this.currentShape;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2060},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2055":{"this":{"__isSmartRef__":true,"id":1433},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2056}},"2056":{"$super":{"__isSmartRef__":true,"id":2057}},"2057":{"varMapping":{"__isSmartRef__":true,"id":2058},"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":2059},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2058":{"obj":{"__isSmartRef__":true,"id":1433},"name":"onTouchStart"},"2059":{},"2060":{"timestamp":{"__isSmartRef__":true,"id":2061},"user":"athomschke","tags":["touch actions"]},"2061":{"isSerializedDate":true,"string":"Wed May 16 2012 16:03:16 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2062":{"varMapping":{"__isSmartRef__":true,"id":2063},"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":2068},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2063":{"this":{"__isSmartRef__":true,"id":1433},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2064}},"2064":{"$super":{"__isSmartRef__":true,"id":2065}},"2065":{"varMapping":{"__isSmartRef__":true,"id":2066},"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":2067},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2066":{"obj":{"__isSmartRef__":true,"id":1433},"name":"remove"},"2067":{},"2068":{"timestamp":{"__isSmartRef__":true,"id":2069},"user":"conradcalmez","tags":["initialization"]},"2069":{"isSerializedDate":true,"string":"Tue Apr 24 2012 17:12:56 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2070":{"varMapping":{"__isSmartRef__":true,"id":2071},"source":"function reset() {\n this.deactivate();\n this.active = false;\n this.disableGrabbing();\n this.setChannel('default');\n this.enteredBefore = false;\n this.isDrawing = false;\n this.clear();\n this.color = this.defaultColor();\n this.pencilSize = this.defaultPencilSize();\n this.pencilStyle = this.defaultPencilStyle();\n this.prevState = undefined\n this.pencilStyler = this.owner.get(\"PencilStyler\");\n this.pencilStyler.reset()\n this.chat = this.owner.get(\"ChatPane\");\n this.chat.reset();\n // this.connectionsToRemove.invoke(\"disconnect\")\n // this.owner.get(\"TitleBar\").submorphs.select(function (ea) {return ea.extraButton}).invoke(\"remove\");\n}","funcProperties":{"__isSmartRef__":true,"id":2072},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2071":{"this":{"__isSmartRef__":true,"id":1433}},"2072":{"timestamp":{"__isSmartRef__":true,"id":2073},"user":"athomschke","tags":["initialization"]},"2073":{"isSerializedDate":true,"string":"Fri May 18 2012 10:33:37 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2074":{"varMapping":{"__isSmartRef__":true,"id":2075},"source":"function startDrawing(evt) {\n this.isDrawing = true;\n}","funcProperties":{"__isSmartRef__":true,"id":2076},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2075":{"this":{"__isSmartRef__":true,"id":1433}},"2076":{"timestamp":{"__isSmartRef__":true,"id":2077},"user":"undefined","tags":["drawing"]},"2077":{"isSerializedDate":true,"string":"Wed Apr 18 2012 13:51:09 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2078":{"varMapping":{"__isSmartRef__":true,"id":2079},"source":"function stopDrawing(evt, touch) {\n if (this.isDrawing) {\n this.isDrawing = false;\n this.finishLine();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2080},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2079":{"this":{"__isSmartRef__":true,"id":1433}},"2080":{"timestamp":{"__isSmartRef__":true,"id":2081},"user":"undefined","tags":["drawing"]},"2081":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:10:16 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2082":{"varMapping":{"__isSmartRef__":true,"id":2083},"source":"function toggleActivation() {\n if (!this.active) {\n this.activate();\n } else {\n this.deactivate();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2084},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2083":{"this":{"__isSmartRef__":true,"id":1433}},"2084":{"timestamp":{"__isSmartRef__":true,"id":2085},"user":"undefined","tags":["synchronization"]},"2085":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2086":{"varMapping":{"__isSmartRef__":true,"id":2087},"source":"function transformPoint(pagePoint) {\n return pagePoint\n .addPt(this.getScrollBounds().topLeft())\n .subPt(this.getPositionInWorld());\n}","funcProperties":{"__isSmartRef__":true,"id":2088},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2087":{"this":{"__isSmartRef__":true,"id":1433}},"2088":{"timestamp":{"__isSmartRef__":true,"id":2089},"user":"athomschke","tags":["drawing"]},"2089":{"isSerializedDate":true,"string":"Tue May 08 2012 15:26:54 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2090":{"varMapping":{"__isSmartRef__":true,"id":2091},"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 = {\n r: curShape.getBorderColor().r*255,\n g: curShape.getBorderColor().g*255,\n b: curShape.getBorderColor().b*255,\n a: curShape.getBorderColor().a*255,\n }\n // var result = this.sync(curShape.shape.vertices(), curShape.timestamp, curShape.id, color, curShape.getBorderWidth(), curShape.getBorderStyle());\n}","funcProperties":{"__isSmartRef__":true,"id":2092},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2091":{"this":{"__isSmartRef__":true,"id":1433}},"2092":{"timestamp":{"__isSmartRef__":true,"id":2093},"user":"conradcalmez","tags":["drawing"]},"2093":{"isSerializedDate":true,"string":"Mon May 07 2012 19:21:34 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2094":{"varMapping":{"__isSmartRef__":true,"id":2095},"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":2096},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2095":{"this":{"__isSmartRef__":true,"id":1433}},"2096":{"timestamp":{"__isSmartRef__":true,"id":2097},"user":"undefined","tags":["drawing","accessing"]},"2097":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:31:38 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2098":{"varMapping":{"__isSmartRef__":true,"id":2099},"source":"function getChannel() {\n return (this.channelName || 'example')\n}","funcProperties":{"__isSmartRef__":true,"id":2100},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2099":{"this":{"__isSmartRef__":true,"id":1433}},"2100":{"timestamp":{"__isSmartRef__":true,"id":2101},"user":"athomschke","tags":[]},"2101":{"isSerializedDate":true,"string":"Tue May 08 2012 08:21:55 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2102":{"varMapping":{"__isSmartRef__":true,"id":2103},"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":2104},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2103":{"this":{"__isSmartRef__":true,"id":1433}},"2104":{"timestamp":{"__isSmartRef__":true,"id":2105},"user":"undefined","tags":["synchronization","accessing"]},"2105":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:49:34 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2106":{"varMapping":{"__isSmartRef__":true,"id":2107},"source":"function createStrokeShape() {\n var m = Morph.makePolygon([], 1, Color.black, null);\n m.setBorderWidth(this.getPencilSize());\n m.setBorderStyle(this.getPencilStyle());\n m.disableEvents();\n m.disableDropping();\n m.isStroke = true;\n return m;\n}","funcProperties":{"__isSmartRef__":true,"id":2108},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2107":{"this":{"__isSmartRef__":true,"id":1433}},"2108":{"timestamp":{"__isSmartRef__":true,"id":2109},"user":"conradcalmez","tags":["drawing"]},"2109":{"isSerializedDate":true,"string":"Tue May 08 2012 19:07:26 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2110":{"varMapping":{"__isSmartRef__":true,"id":2111},"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 'reconnection delay': 1000,\n });\n \n // auth/(dis)connect + channel join\n that.createSocketListeners();\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}","funcProperties":{"__isSmartRef__":true,"id":2112},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2111":{"this":{"__isSmartRef__":true,"id":1433}},"2112":{"timestamp":{"__isSmartRef__":true,"id":2113},"user":"athomschke","tags":["synchronization"]},"2113":{"isSerializedDate":true,"string":"Wed May 09 2012 20:15:02 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2114":{"varMapping":{"__isSmartRef__":true,"id":2115},"source":"function sync(vertices, time, id, color, width, style) {\n if (this.active) {\n var stroke = {\n board: this.getChannel(),\n time: time,\n drawer: this.getDrawerID(),\n identifier: id,\n vector: vertices,\n color: color,\n width: width,\n style: style,\n };\n this.socket.emit('draw', {\n message: stroke,\n me: false,\n broadcast: true,\n });\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2116},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2115":{"this":{"__isSmartRef__":true,"id":1433}},"2116":{"timestamp":{"__isSmartRef__":true,"id":2117},"user":"conradcalmez","tags":["synchronization"]},"2117":{"isSerializedDate":true,"string":"Wed May 09 2012 08:27:35 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2118":{"varMapping":{"__isSmartRef__":true,"id":2119},"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 toDelete.remove();\n}","funcProperties":{"__isSmartRef__":true,"id":2120},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2119":{"this":{"__isSmartRef__":true,"id":1433}},"2120":{"timestamp":{"__isSmartRef__":true,"id":2121},"user":"athomschke","tags":["synchronization"]},"2121":{"isSerializedDate":true,"string":"Thu May 03 2012 17:58:59 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2122":{"varMapping":{"__isSmartRef__":true,"id":2123},"source":"function removeDocumentWith(identifier) {\n this.socket.emit('delete', {\n identifier: identifier,\n me: true,\n broadcast: true\n });\n}","funcProperties":{"__isSmartRef__":true,"id":2124},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2123":{"this":{"__isSmartRef__":true,"id":1433}},"2124":{"timestamp":{"__isSmartRef__":true,"id":2125},"user":"conradcalmez","tags":["synchronization"]},"2125":{"isSerializedDate":true,"string":"Tue Apr 24 2012 18:00:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2126":{"varMapping":{"__isSmartRef__":true,"id":2127},"source":"function createSocketListeners() {\n var that = this;\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 // client (dis)connects\n this.socket.on('clientConnect', function (data) {\n var richText = new lively.morphic.RichText();\n richText.initialize();\n var nick = new lively.morphic.RichText(data.message.nick);\n var color = Color.hsb(\n data.message.color.h, \n data.message.color.s, \n data.message.color.b);\n nick.emphasize({color: color}, 0, data.message.nick.length);\n richText.setTextChunks(\n nick.getTextChunks().concat(\n new lively.morphic.RichText(' connected').getTextChunks()\n )\n );\n that.chat.showMessage(richText);\n });\n this.socket.on('clientDisconnect', function (data) {\n var richText = new lively.morphic.RichText();\n richText.initialize();\n var nick = new lively.morphic.RichText(data.message.nick);\n var color = Color.hsb(data.message.color.h, data.message.color.s, data.message.color.b);\n nick.emphasize({color: color}, 0, data.message.nick.length);\n richText.setTextChunks(\n nick.getTextChunks().concat(\n new lively.morphic.RichText(' disconnected').getTextChunks()\n )\n );\n that.chat.showMessage(richText);\n that.owner.submorphs.each(function (ea) {\n if (ea.isMouseIndicator && ea.identifier === data.message.id) {\n ea.remove();\n }\n });\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 var color = Color.hsb(\n data.message.color.h, \n data.message.color.s, \n data.message.color.b);\n that.chat.showMessage(data.message.text, {name: data.message.nick, color: color});\n });\n\n this.socket.on('names', function (data) {\n var richText = new lively.morphic.RichText();\n richText.initialize();\n for (var i=0; i 0) {\n name.setTextChunks(\n new lively.morphic.RichText(\", \").getTextChunks().concat(\n name.getTextChunks()\n )\n );\n }\n richText.setTextChunks(\n richText.getTextChunks().concat(\n name.getTextChunks()\n )\n );\n }\n richText.setTextChunks(\n new lively.morphic.RichText(\"Currently connected users:\\n\").getTextChunks().concat(\n new lively.morphic.RichText(\"[\").getTextChunks().concat(\n richText.getTextChunks().concat(\n new lively.morphic.RichText(\"]\").getTextChunks()\n )\n )\n )\n );\n that.chat.showMessage(richText);\n });\n\n this.socket.on('nick', function (data) {\n var richText = new lively.morphic.RichText();\n richText.initialize();\n var color = Color.hsb(data.message.color.h, data.message.color.s, data.message.color.b);\n var oldName = new lively.morphic.RichText(data.message.old);\n oldName.emphasize({color: color}, 0, data.message.old.length);\n var newName = new lively.morphic.RichText(data.message.new);\n newName.emphasize({color: color}, 0, data.message.new.length);\n richText.setTextChunks(\n oldName.getTextChunks().concat(\n new lively.morphic.RichText(\" changed its name to \").getTextChunks().concat(\n newName.getTextChunks()\n )\n )\n );\n that.chat.showMessage(richText);\n });\n\n this.socket.on('mouse', function (data) {\n that.updateMouseIndicators(data);\n });\n\n this.socket.on('change', function(data) {\n that.applyChanges(data.message)\n })\n}","funcProperties":{"__isSmartRef__":true,"id":2128},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2127":{"this":{"__isSmartRef__":true,"id":1433}},"2128":{"timestamp":{"__isSmartRef__":true,"id":2129},"user":"athomschke","tags":["synchronization"]},"2129":{"isSerializedDate":true,"string":"Wed May 16 2012 15:10:50 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2130":{"varMapping":{"__isSmartRef__":true,"id":2131},"source":"function addMorphFrom(message) {\n var indicatorId = message.id,\n doNotAddToWhiteboard = message.doNotAddToWhiteboard;\n \n var indicator = this.owner.submorphs.find(function (ea) {\n return ea.identifier === indicatorId;\n });\n if (!indicator) return\n var that = this;\n if (doNotAddToWhiteboard) {\n indicator.submorphs.invoke('remove')\n }\n else { \n indicator.submorphs.each(function (ea) {\n that.addMorph(ea);\n ea.setPosition(ea.getPosition().addPt(pt(5,5)));\n });\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2132},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2131":{"this":{"__isSmartRef__":true,"id":1433}},"2132":{"timestamp":{"__isSmartRef__":true,"id":2133},"user":"athomschke","tags":["synchronization"]},"2133":{"isSerializedDate":true,"string":"Wed May 16 2012 14:25:55 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2134":{"varMapping":{"__isSmartRef__":true,"id":2135},"source":"function saveMorph(aMorph, doNotAddToWhiteboard) { \n if (this.active) {\n this.socket.emit('morph', {\n message: {\n morphId: aMorph.identifier,\n doNotAddToWhiteboard: doNotAddToWhiteboard},\n me: false,\n broadcast: true,\n });\n this.enteredBefore = false;\n }\n if (typeof(this.prevState) !== 'undefined') {\n if (this.submorphs.length != this.prevState.length) {\n this.fakeCopy();\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2136},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2135":{"this":{"__isSmartRef__":true,"id":1433}},"2136":{"timestamp":{"__isSmartRef__":true,"id":2137},"user":"athomschke","tags":["synchronization"]},"2137":{"isSerializedDate":true,"string":"Wed May 16 2012 14:16:48 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2138":{"varMapping":{"__isSmartRef__":true,"id":2139},"source":"function deserializeMorph(JSONmorph) {\n var serializer = ObjectGraphLinearizer.forNewLivelyCopy();\n var jso = JSON.parse(JSONmorph.morph);\n var 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":2140},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2139":{"this":{"__isSmartRef__":true,"id":1433}},"2140":{"timestamp":{"__isSmartRef__":true,"id":2141},"user":"conradcalmez","tags":["synchronization"]},"2141":{"isSerializedDate":true,"string":"Fri May 04 2012 14:55:48 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2142":{"varMapping":{"__isSmartRef__":true,"id":2143},"source":"function defaultColor() {\n return Color.black;\n}","funcProperties":{"__isSmartRef__":true,"id":2144},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2143":{"this":{"__isSmartRef__":true,"id":1433}},"2144":{"timestamp":{"__isSmartRef__":true,"id":2145},"user":"conradcalmez","tags":["drawing","accessing"]},"2145":{"isSerializedDate":true,"string":"Fri Apr 27 2012 20:45:03 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2146":{"varMapping":{"__isSmartRef__":true,"id":2147},"source":"function getConnectedUserNames() {\n if (this.active) {\n this.socket.emit('names');\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2148},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2147":{"this":{"__isSmartRef__":true,"id":1433}},"2148":{"timestamp":{"__isSmartRef__":true,"id":2149},"user":"conradcalmez","tags":["synchronization","accessing"]},"2149":{"isSerializedDate":true,"string":"Mon Apr 30 2012 10:47:14 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2150":{"varMapping":{"__isSmartRef__":true,"id":2151},"source":"function defaultPencilSize() {\n return 1;\n}","funcProperties":{"__isSmartRef__":true,"id":2152},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2151":{"this":{"__isSmartRef__":true,"id":1433}},"2152":{"timestamp":{"__isSmartRef__":true,"id":2153},"user":"conradcalmez","tags":["drawing","accessing"]},"2153":{"isSerializedDate":true,"string":"Mon Apr 30 2012 08:59:02 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2154":{"varMapping":{"__isSmartRef__":true,"id":2155},"source":"function setPencilStyle(style) {\n this.pencilStyle = style;\n}","funcProperties":{"__isSmartRef__":true,"id":2156},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2155":{"this":{"__isSmartRef__":true,"id":1433}},"2156":{"timestamp":{"__isSmartRef__":true,"id":2157},"user":"conradcalmez","tags":["drawing","accessing"]},"2157":{"isSerializedDate":true,"string":"Wed May 02 2012 14:59:47 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2158":{"varMapping":{"__isSmartRef__":true,"id":2159},"source":"function defaultPencilStyle() {\n return \"solid\";\n}","funcProperties":{"__isSmartRef__":true,"id":2160},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2159":{"this":{"__isSmartRef__":true,"id":1433}},"2160":{"timestamp":{"__isSmartRef__":true,"id":2161},"user":"conradcalmez","tags":["accessing"]},"2161":{"isSerializedDate":true,"string":"Wed May 02 2012 15:03:39 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2162":{"varMapping":{"__isSmartRef__":true,"id":2163},"source":"function applyChanges(diffL) {\n var that = this;\n Properties.own(diffL).each(function (ea) {\n var morphChange = lively.persistence.Serializer.deserialize(diffL[ea]);\n console.log(morphChange)\n var morph;\n that.withAllSubmorphsDo(function (m) {\n if (m.identifier === ea || m.id === ea)\n morph = m;\n })\n if (!morph) {\n // console.log('no morph found to apply properties of '+identifier)\n return false\n }\n Properties.own(morphChange.modified).each(function (prop) {\n morph.applyNestedProperty(\n morph, \n prop.split('::'), \n morphChange.modified[prop].oldValue)\n })\n // funny thing that, ask Astrid for explanation ;)\n Properties.own(morphChange.removed).each(function (submorphId) {\n if (morph.submorphs.pluck('identifier').indexOf(morphChange.removed[submorphId].identifier) < 0)\n morph.addMorph(morphChange.removed[submorphId]);\n })\n Properties.own(morphChange.added).each(function (toRemoveId) {\n var toRemoveIdentifier = morphChange.added[toRemoveId]\n morph.submorphs.find(function (toRemove) {\n if (toRemove.identifier == toRemoveIdentifier || toRemove.id == toRemoveId)\n toRemove.remove();\n })\n })\n if (morph.owner) \n morph.refreshRenderContext();\n })\n}","funcProperties":{"__isSmartRef__":true,"id":2164},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2163":{"this":{"__isSmartRef__":true,"id":1433}},"2164":{"timestamp":{"__isSmartRef__":true,"id":2165},"user":"athomschke","tags":["diffing"]},"2165":{"isSerializedDate":true,"string":"Wed May 16 2012 15:19:03 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2166":{"varMapping":{"__isSmartRef__":true,"id":2167},"source":"function fakeCopy() {\n this.prevState = this.submorphs.collect(function (ea) {\n var m = ea.copy();\n m.setName(ea.name)\n return m\n })\n}","funcProperties":{"__isSmartRef__":true,"id":2168},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2167":{"this":{"__isSmartRef__":true,"id":1433}},"2168":{"timestamp":{"__isSmartRef__":true,"id":2169},"user":"athomschke","tags":[]},"2169":{"isSerializedDate":true,"string":"Wed May 16 2012 16:06:13 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2170":{"varMapping":{"__isSmartRef__":true,"id":2171},"source":"function observeChanges() {\n var that = this;\n var diffL = {};\n var copyFunc = function () {\n that.fakeCopy();\n }\n if (typeof(this.prevState) !== 'undefined') {\n this.prevState.each(function (sub) {\n if (sub.isStroke || sub.isBlockedApplying) return\n var match = that.submorphs.find(function (ea) {\n return (sub.identifier === ea.identifier)\n })\n if (!match) return\n var tmpDiffList = sub.diffTo(match, ['showsHalos', 'isBlockedApplying']);\n //console.log(tmpDiffList)\n if (tmpDiffList && !tmpDiffList.isEmpty()) {\n Properties.own(tmpDiffList).each(function (ea) {\n if (!tmpDiffList[ea].isEmpty()) {\n diffL[tmpDiffList[ea].matchingId] = tmpDiffList[ea];\n diffL[tmpDiffList[ea].matchingId].flattenPropertyTree();\n }\n })\n };\n })\n if (Properties.own(diffL).length > 0) {\n that.sendChange(diffL);\n copyFunc.bind(this).delay(0);\n }\n }\n else\n copyFunc.bind(this).delay(0);\n}","funcProperties":{"__isSmartRef__":true,"id":2172},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2171":{"this":{"__isSmartRef__":true,"id":1433}},"2172":{"timestamp":{"__isSmartRef__":true,"id":2173},"user":"athomschke","tags":["diffing"]},"2173":{"isSerializedDate":true,"string":"Wed May 16 2012 15:45:49 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2174":{"varMapping":{"__isSmartRef__":true,"id":2175},"source":"function sendChange(change) {\n console.log(change)\n var that = this;\n Properties.own(change).each(function (ea) {\n if (Properties.own(change[ea].removed).length > 0) {\n that.saveMorph({identifier: that.socket.socket.sessionid}, true)\n }\n })\n var serializedChange = {};\n Properties.own(change).each(function (ea) {\n serializedChange[ea] = lively.persistence.Serializer.serialize(change[ea])\n })\n if (this.active) {\n this.socket.emit('change', {\n message: serializedChange,\n me: false,\n broadcast: true,\n })\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2176},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2175":{"this":{"__isSmartRef__":true,"id":1433}},"2176":{"timestamp":{"__isSmartRef__":true,"id":2177},"user":"athomschke","tags":["diffing"]},"2177":{"isSerializedDate":true,"string":"Wed May 16 2012 15:17:09 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2178":{"varMapping":{"__isSmartRef__":true,"id":2179},"source":"function createMouseIndicator(id, colorCode, nick) {\n var morph = Morph.makeRectangle(\n rect($world.getExtent().subXY(10,10),\n $world.getExtent()));\n morph.identifier = id;\n morph.isMouseIndicator = true;\n if (colorCode) {\n morph.setFill(Color.hsb(colorCode.h, colorCode.s, colorCode.b));\n }\n morph.setToolTip(nick);\n morph.openInWorld();\n return morph\n}","funcProperties":{"__isSmartRef__":true,"id":2180},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2179":{"this":{"__isSmartRef__":true,"id":1433}},"2180":{"timestamp":{"__isSmartRef__":true,"id":2181},"user":"conradcalmez","tags":[]},"2181":{"isSerializedDate":true,"string":"Mon May 14 2012 18:37:23 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2182":{"varMapping":{"__isSmartRef__":true,"id":2183},"source":"function updateMouseIndicators(data) {\n debugger\n // if exists then move it\n var position = pt(data.message.x, data.message.y)\n .subPt(this.getScrollBounds().topLeft())\n .addPt(this.getPosition());\n var morph = this.owner.submorphs.find(function (ea) {\n return ea.identifier === data.message.id\n })\n\n if (!morph) {\n morph = this.createMouseIndicator(\n data.message.id, \n data.message.color, \n data.message.nick);\n this.owner.addMorph(morph);\n } else {\n if (data.message.remove) {\n morph.remove();\n return;\n }\n }\n var extent = this.getExtent();\n if (position.x > extent.x)\n position.x = extent.x;\n else if (position.x < 0)\n position.x = 0;\n if (position.y > extent.y)\n position.y = extent.y;\n else if (position.y < 21)\n position.y = 21;\n morph.setPosition(position);\n var that = this;\n if (data.message.morphs) {\n data.message.morphs.each(function (ea) {\n if (ea.morph) \n var subMorph = that.deserializeMorph(ea.morph);\n else {\n var subMorph;\n that.withAllSubmorphsDo(function (each) {\n if (ea.id === each.identifier)\n subMorph = each\n });\n }\n morph.addMorphBack(subMorph);\n subMorph.setPosition(pt(ea.position.x,ea.position.y));\n });\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2184},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2183":{"this":{"__isSmartRef__":true,"id":1433}},"2184":{"timestamp":{"__isSmartRef__":true,"id":2185},"user":"athomschke","tags":[]},"2185":{"isSerializedDate":true,"string":"Wed May 16 2012 15:40:20 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2186":{"varMapping":{"__isSmartRef__":true,"id":2187},"source":"function handleMovingHand(point) {\n var point = this.transformPoint(point);\n var that = this;\n if (this.isDrawing) {\n this.lineTo(point, false, this.getColor());\n }\n if (this.active) {\n var data = {x: point.x, y: point.y};\n var submorphsOfHand = lively.morphic.World.current().firstHand().submorphs.slice(1);\n if (!this.enteredBefore && submorphsOfHand.length > 0) {\n this.enteredBefore = true;\n data.morphs = submorphsOfHand.map(function (ea) {\n var position = ea.getPosition();\n if (ea.identifier) {\n return {id: ea.identifier, position: position};\n } else {\n ea.withAllSubmorphsDo(function (each) {\n each.identifier = each.id\n })\n if (ea.selectionMorph) {\n disconnect(ea, \"extent\", ea.selectionMorph, \"setExtent\");\n disconnect(ea, \"_Position\", ea.selectionMorph, \"setPosition\");\n disconnect(ea, \"_Rotation\", ea.selectionMorph, \"setRotation\");\n disconnect(ea, \"_Scale\", ea.selectionMorph, \"setScale\");\n }\n var serialized = ea.serialize();\n if (ea.selectionMorph) {\n connect(ea, \"extent\", ea.selectionMorph, \"setExtent\");\n connect(ea, \"_Position\", ea.selectionMorph, \"setPosition\");\n connect(ea, \"_Rotation\", ea.selectionMorph, \"setRotation\");\n connect(ea, \"_Scale\", ea.selectionMorph, \"setScale\"); \n }\n return {morph: serialized, identifier: ea.identifier, position: position};\n }\n });\n }\n else if(submorphsOfHand.length > 0) {\n data.isNewMorphPosition = true;\n data.ids = submorphsOfHand.map(function (ea) {return ea.identifier})\n }\n this.socket.emit('mouse', {\n message: data,\n me: false,\n broadcast: true,\n });\n } \n}","funcProperties":{"__isSmartRef__":true,"id":2188},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2187":{"this":{"__isSmartRef__":true,"id":1433}},"2188":{"timestamp":{"__isSmartRef__":true,"id":2189},"user":"undefined","tags":[]},"2189":{"isSerializedDate":true,"string":"Tue May 15 2012 10:48:56 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2190":{"varMapping":{"__isSmartRef__":true,"id":2191},"source":"function onTouchOut(evt) {\n var touch = evt.touches[0]\n var globalPosition = evt.getPosition();\n this.stopDrawing(evt, true);\n if (this.active) {\n this.enteredBefore = false;\n this.socket.emit('mouse', {\n message: {x: touch.pageX, y: touch.pageY, remove: []},\n me: false,\n broadcast: true,\n });\n lively.morphic.World.current().firstHand().submorphs.each(function (ea) {\n ea.identifier = undefined;\n });\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2192},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2191":{"this":{"__isSmartRef__":true,"id":1433}},"2192":{"timestamp":{"__isSmartRef__":true,"id":2193},"user":"undefined","tags":[]},"2193":{"isSerializedDate":true,"string":"Tue May 15 2012 10:48:56 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2194":{"varMapping":{"__isSmartRef__":true,"id":2195},"source":"function onLoad() {\n this.connectionsToRemove = [];\n /* this.connectionsToRemove.push(\n connect(\n this, \"active\",\n this.createTitleBarButton(\n \"O\",\n \"toggles online status of SyncMorph\",\n function () {this.toggleActivation()},\n function () {this.toggleActivation()}\n ), \"toggleState\", {}\n )\n );\n this.connectionsToRemove.push(\n connect(\n this.chat, \"visible\",\n this.createTitleBarButton(\n \"C\",\n \"toggles visibility of chat\",\n function () {this.chat.show()},\n function () {this.chat.hide()}\n ), \"toggleState\", {}\n )\n );\n this.connectionsToRemove.push(\n connect(\n this.pencilStyler, \"visible\",\n this.createTitleBarButton(\n \"P\",\n \"toggles visibility of pencil styler\",\n function () {this.pencilStyler.show()},\n function () {this.pencilStyler.hide()}\n ), \"toggleState\", {}\n )\n ); */\n}","funcProperties":{"__isSmartRef__":true,"id":2196},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2195":{"this":{"__isSmartRef__":true,"id":1433}},"2196":{"timestamp":{"__isSmartRef__":true,"id":2197},"user":"athomschke","tags":[]},"2197":{"isSerializedDate":true,"string":"Fri May 18 2012 10:34:00 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2198":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2199":{"sourceObj":{"__isSmartRef__":true,"id":1392},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1392},"targetMethodName":"onFire","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2200},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2200":{"source":{"__isSmartRef__":true,"id":1392},"target":{"__isSmartRef__":true,"id":1392}},"2201":{"x":80,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2202":{"resizeWidth":false,"resizeHeight":true,"moveHorizontal":true},"2203":{"setActive":{"__isSmartRef__":true,"id":2204},"setInactive":{"__isSmartRef__":true,"id":2208},"toggleState":{"__isSmartRef__":true,"id":2211},"onFire":{"__isSmartRef__":true,"id":2215}},"2204":{"varMapping":{"__isSmartRef__":true,"id":2205},"source":"function setActive() {\n this.active = true;\n this.normalFillInactive = this.owner.menuButton.normalFill\n this.normalFill = Color.green;\n }","funcProperties":{"__isSmartRef__":true,"id":2206},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2205":{"this":{"__isSmartRef__":true,"id":1392}},"2206":{"timestamp":{"__isSmartRef__":true,"id":2207},"user":"athomschke","tags":[]},"2207":{"isSerializedDate":true,"string":"Fri May 18 2012 12:04:05 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2208":{"varMapping":{"__isSmartRef__":true,"id":2209},"source":"function setInactive() {\n this.active = false;\n this.normalFill = this.normalFillInactive;\n }","funcProperties":{"__isSmartRef__":true,"id":2210},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2209":{"this":{"__isSmartRef__":true,"id":1392}},"2210":{},"2211":{"varMapping":{"__isSmartRef__":true,"id":2212},"source":"function toggleState(bool) {\n if (bool)\n this.setActive();\n else\n this.setInactive();\n this.setFill(this.normalFill)\n}","funcProperties":{"__isSmartRef__":true,"id":2213},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2212":{"this":{"__isSmartRef__":true,"id":1392}},"2213":{"timestamp":{"__isSmartRef__":true,"id":2214},"user":"athomschke","tags":[]},"2214":{"isSerializedDate":true,"string":"Fri May 18 2012 11:08:59 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2215":{"varMapping":{"__isSmartRef__":true,"id":2216},"source":"function onFire() {\n this.whiteboard.pencilStyler.toggle();\n }","funcProperties":{"__isSmartRef__":true,"id":2217},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2216":{"this":{"__isSmartRef__":true,"id":1392}},"2217":{"timestamp":{"__isSmartRef__":true,"id":2218},"user":"athomschke","tags":[]},"2218":{"isSerializedDate":true,"string":"Fri May 18 2012 11:03:08 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2219":{"source":{"__isSmartRef__":true,"id":2},"target":{"__isSmartRef__":true,"id":1392}},"2220":{"partName":"BorderStyler","requiredModules":[],"comment":"Crayon Color chooser in morphic for Border Styles and more","changes":[{"__isSmartRef__":true,"id":2221},{"__isSmartRef__":true,"id":2223},{"__isSmartRef__":true,"id":2225},{"__isSmartRef__":true,"id":2227},{"__isSmartRef__":true,"id":2229},{"__isSmartRef__":true,"id":2231},{"__isSmartRef__":true,"id":2233},{"__isSmartRef__":true,"id":2235},{"__isSmartRef__":true,"id":2237},{"__isSmartRef__":true,"id":2239},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2245},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2251},{"__isSmartRef__":true,"id":2253},{"__isSmartRef__":true,"id":2255},{"__isSmartRef__":true,"id":2257},{"__isSmartRef__":true,"id":2259},{"__isSmartRef__":true,"id":2261},{"__isSmartRef__":true,"id":2263},{"__isSmartRef__":true,"id":2265},{"__isSmartRef__":true,"id":2267},{"__isSmartRef__":true,"id":2269},{"__isSmartRef__":true,"id":2271},{"__isSmartRef__":true,"id":2273},{"__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},{"__isSmartRef__":true,"id":2313},{"__isSmartRef__":true,"id":2315},{"__isSmartRef__":true,"id":2317},{"__isSmartRef__":true,"id":2319},{"__isSmartRef__":true,"id":2321},{"__isSmartRef__":true,"id":2323},{"__isSmartRef__":true,"id":2325},{"__isSmartRef__":true,"id":2327},{"__isSmartRef__":true,"id":2329}],"migrationLevel":4,"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","revisionOnLoad":155406,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2221":{"date":{"__isSmartRef__":true,"id":2222},"author":"undefined","message":"load module on restore","id":"F44CF25A-9AF1-41CD-92AC-A172245CF841"},"2222":{"isSerializedDate":true,"string":"Thu Mar 22 2012 08:43:09 GMT+0100 (Mitteleuropäische Zeit)"},"2223":{"date":{"__isSmartRef__":true,"id":2224},"author":"undefined","message":"connection foo","id":"31191EC1-B938-4B42-AEDF-40ED36CCC50F"},"2224":{"isSerializedDate":true,"string":"Thu Mar 15 2012 10:57:24 GMT+0100 (Mitteleuropäische Zeit)"},"2225":{"date":{"__isSmartRef__":true,"id":2226},"author":"undefined","message":"and again","id":"3062C063-AB80-4C4C-9353-977BA6A61EA4"},"2226":{"isSerializedDate":true,"string":"Wed Mar 14 2012 14:36:54 GMT+0100 (Mitteleuropäische Zeit)"},"2227":{"date":{"__isSmartRef__":true,"id":2228},"author":"undefined","message":"renewed connection","id":"E3415B0D-040D-49BC-949C-5A3047E55308"},"2228":{"isSerializedDate":true,"string":"Wed Mar 14 2012 13:43:00 GMT+0100 (Mitteleuropäische Zeit)"},"2229":{"date":{"__isSmartRef__":true,"id":2230},"author":"undefined","message":"bug fix ?","id":"F6EE3D44-CB77-4D7D-AD50-56A2D74CFF31"},"2230":{"isSerializedDate":true,"string":"Tue Mar 13 2012 18:00:40 GMT+0100 (Mitteleuropäische Zeit)"},"2231":{"date":{"__isSmartRef__":true,"id":2232},"author":"undefined","message":"removed beTool Button","id":"C6F4E4C3-6D78-4687-B2A2-63FE4AD064D7"},"2232":{"isSerializedDate":true,"string":"Tue Mar 13 2012 16:25:22 GMT+0100 (Mitteleuropäische Zeit)"},"2233":{"date":{"__isSmartRef__":true,"id":2234},"author":"undefined","message":"set border style connections","id":"F498A7AE-C184-48BF-93E5-28F320A99E56"},"2234":{"isSerializedDate":true,"string":"Tue Mar 13 2012 16:14:07 GMT+0100 (Mitteleuropäische Zeit)"},"2235":{"date":{"__isSmartRef__":true,"id":2236},"author":"undefined","message":"disconnect on remove","id":"27BA39B1-F2E1-4085-9538-59459DBCA5A8"},"2236":{"isSerializedDate":true,"string":"Tue Mar 13 2012 15:12:57 GMT+0100 (Mitteleuropäische Zeit)"},"2237":{"date":{"__isSmartRef__":true,"id":2238},"author":"undefined","message":"update from currentHaloTarget","id":"788A8BBD-8597-427D-87C5-44B1DDB9AC5B"},"2238":{"isSerializedDate":true,"string":"Tue Mar 13 2012 15:11:06 GMT+0100 (Mitteleuropäische Zeit)"},"2239":{"date":{"__isSmartRef__":true,"id":2240},"author":"undefined","message":"slider refactor","id":"822A5730-56DC-4448-B20A-32C9A11E8564"},"2240":{"isSerializedDate":true,"string":"Tue Mar 13 2012 13:53:04 GMT+0100 (Mitteleuropäische Zeit)"},"2241":{"date":{"__isSmartRef__":true,"id":2242},"author":"undefined","message":"","id":"EEEF933F-B3ED-4913-8572-8A3DFDA92CE5"},"2242":{"isSerializedDate":true,"string":"Fri Mar 09 2012 12:49:20 GMT+0100 (Mitteleuropäische Zeit)"},"2243":{"date":{"__isSmartRef__":true,"id":2244},"author":"undefined","message":"adjustments","id":"C5B8B7DD-322D-411B-8D45-80EBF74ED6B0"},"2244":{"isSerializedDate":true,"string":"Fri Mar 09 2012 12:29:19 GMT+0100 (Mitteleuropäische Zeit)"},"2245":{"date":{"__isSmartRef__":true,"id":2246},"author":"undefined","message":"description","id":"D84FA60D-56E0-4DAC-814F-02346BFA9172"},"2246":{"isSerializedDate":true,"string":"Fri Mar 09 2012 11:37:46 GMT+0100 (Mitteleuropäische Zeit)"},"2247":{"date":{"__isSmartRef__":true,"id":2248},"author":"undefined","message":"removed be toll button and gave it a label","id":"7FCFF806-37E2-4479-A793-25D177707BE0"},"2248":{"isSerializedDate":true,"string":"Fri Mar 09 2012 11:25:40 GMT+0100 (Mitteleuropäische Zeit)"},"2249":{"date":{"__isSmartRef__":true,"id":2250},"author":"huberthesse","message":"","id":"9B145087-5513-4440-AB0B-A1818C43923A"},"2250":{"isSerializedDate":true,"string":"Wed Mar 07 2012 14:47:10 GMT+0100 (Mitteleuropäische Zeit)"},"2251":{"date":{"__isSmartRef__":true,"id":2252},"author":"huberthesse","message":"refactored","id":"59C31ED2-CD26-4771-8E0E-C39906A7FE41"},"2252":{"isSerializedDate":true,"string":"Wed Mar 07 2012 14:43:25 GMT+0100 (Mitteleuropäische Zeit)"},"2253":{"date":{"__isSmartRef__":true,"id":2254},"author":"huberthesse","message":"","id":"4BC82BB6-C1DE-4B6C-B9E0-AEE69009459A"},"2254":{"isSerializedDate":true,"string":"Wed Mar 07 2012 10:43:29 GMT+0100 (Mitteleuropäische Zeit)"},"2255":{"date":{"__isSmartRef__":true,"id":2256},"author":"huberthesse","message":"reset()","id":"8BBA9FF0-BBB0-4846-A61A-74D5B1960689"},"2256":{"isSerializedDate":true,"string":"Fri Mar 02 2012 15:20:44 GMT+0100 (Mitteleuropäische Zeit)"},"2257":{"date":{"__isSmartRef__":true,"id":2258},"author":"huberthesse","message":"","id":"74086557-F451-4049-9278-D1AF6501DE43"},"2258":{"isSerializedDate":true,"string":"Fri Mar 02 2012 15:19:49 GMT+0100 (Mitteleuropäische Zeit)"},"2259":{"date":{"__isSmartRef__":true,"id":2260},"author":"huberthesse","message":"Structure behind color display","id":"ABFB7BBE-F59D-4F87-9F79-3ED54062E35A"},"2260":{"isSerializedDate":true,"string":"Tue Feb 28 2012 17:41:39 GMT+0100 (Mitteleuropäische Zeit)"},"2261":{"date":{"__isSmartRef__":true,"id":2262},"author":"huberthesse","message":"added alphaslider","id":"D23F441D-8D3A-4FD8-880B-191A262BC544"},"2262":{"isSerializedDate":true,"string":"Tue Feb 28 2012 17:31:21 GMT+0100 (Mitteleuropäische Zeit)"},"2263":{"date":{"__isSmartRef__":true,"id":2264},"author":"athomschke","message":"wuper!","id":"FAF1F6E2-AAD7-4BD4-8B62-4D28BA7D92BE"},"2264":{"isSerializedDate":true,"string":"Thu Feb 23 2012 18:09:22 GMT+0100 (Mitteleuropäische Zeit)"},"2265":{"date":{"__isSmartRef__":true,"id":2266},"author":"athomschke","message":"added a be Tool button","id":"3715E970-603F-4F0D-B271-B306A06E4120"},"2266":{"isSerializedDate":true,"string":"Thu Feb 23 2012 18:01:07 GMT+0100 (Mitteleuropäische Zeit)"},"2267":{"date":{"__isSmartRef__":true,"id":2268},"author":"huberthesse","message":"onRestore for borderRadius","id":"D07CCC21-917C-4F02-BC56-3CB393AAD460"},"2268":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:23:19 GMT+0100 (Mitteleuropäische Zeit)"},"2269":{"date":{"__isSmartRef__":true,"id":2270},"author":"huberthesse","message":"polish","id":"8E2F08E2-90DA-4628-AA3C-8442222C8ED1"},"2270":{"isSerializedDate":true,"string":"Wed Feb 22 2012 10:11:17 GMT+0100 (Mitteleuropäische Zeit)"},"2271":{"date":{"__isSmartRef__":true,"id":2272},"author":"athomschke","message":"IPadTheme adjust","id":"5CD315EB-D04A-4255-BC88-1B8191D1AC06"},"2272":{"isSerializedDate":true,"string":"Tue Feb 21 2012 19:08:01 GMT+0100 (Mitteleuropäische Zeit)"},"2273":{"date":{"__isSmartRef__":true,"id":2274},"author":"huberthesse","message":"Initial Commit","id":"510531D6-3311-43C2-9C10-E4F53BC9130E"},"2274":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:38:29 GMT+0100 (Mitteleuropäische Zeit)"},"2275":{"date":{"__isSmartRef__":true,"id":2276},"author":"huberthesse","message":"updated onrestore","id":"BD197924-EA47-4660-8E79-872CDD447D90"},"2276":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:51:41 GMT+0100 (Mitteleuropäische Zeit)"},"2277":{"date":{"__isSmartRef__":true,"id":2278},"author":"huberthesse","message":"","id":"243DC388-C9CB-46B9-BBAC-993B1B14050B"},"2278":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:52:02 GMT+0100 (Mitteleuropäische Zeit)"},"2279":{"date":{"__isSmartRef__":true,"id":2280},"author":"huberthesse","message":"","id":"1D7173A6-E844-4584-8746-65EC875A1D9A"},"2280":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:56:45 GMT+0100 (Mitteleuropäische Zeit)"},"2281":{"date":{"__isSmartRef__":true,"id":2282},"author":"athomschke","message":"adjusted knobsize","id":"0BD086ED-E4FE-417B-9393-523A41CC0EF5"},"2282":{"isSerializedDate":true,"string":"Tue Feb 21 2012 19:17:53 GMT+0100 (Mitteleuropäische Zeit)"},"2283":{"date":{"__isSmartRef__":true,"id":2284},"author":"athomschke","message":"style adjustments","id":"66411168-1312-4996-BEA2-606C2C9C2088"},"2284":{"isSerializedDate":true,"string":"Tue Feb 21 2012 19:25:08 GMT+0100 (Mitteleuropäische Zeit)"},"2285":{"date":{"__isSmartRef__":true,"id":2286},"author":"athomschke","message":"locked parts","id":"2CED0EF6-589C-4CFE-BE00-482CA408C526"},"2286":{"isSerializedDate":true,"string":"Tue Feb 21 2012 19:31:27 GMT+0100 (Mitteleuropäische Zeit)"},"2287":{"date":{"__isSmartRef__":true,"id":2288},"author":"athomschke","message":"tried the alpha value","id":"D0B14590-3BE0-481F-BDDA-142C324E23AE"},"2288":{"isSerializedDate":true,"string":"Wed Feb 22 2012 10:20:05 GMT+0100 (Mitteleuropäische Zeit)"},"2289":{"date":{"__isSmartRef__":true,"id":2290},"author":"athomschke","message":"restored state of yesterday... did I?","id":"FD3979EE-ACAC-4145-9C85-3C6809D8E6E1"},"2290":{"isSerializedDate":true,"string":"Thu Feb 23 2012 17:55:52 GMT+0100 (Mitteleuropäische Zeit)"},"2291":{"date":{"__isSmartRef__":true,"id":2292},"author":"athomschke","message":"I am a Tool now... again","id":"BC2CB0FE-68AE-4C39-9BC6-C480F70BB2D1"},"2292":{"isSerializedDate":true,"string":"Thu Feb 23 2012 17:56:55 GMT+0100 (Mitteleuropäische Zeit)"},"2293":{"date":{"__isSmartRef__":true,"id":2294},"author":"athomschke","message":"beTool on restore","id":"2632A3AF-04B3-46A1-8227-E80C294149AB"},"2294":{"isSerializedDate":true,"string":"Thu Feb 23 2012 17:58:16 GMT+0100 (Mitteleuropäische Zeit)"},"2295":{"date":{"__isSmartRef__":true,"id":2296},"author":"huberthesse","message":"Renamed ColorSlider and ColorButton","id":"EF8C5CFE-5006-45B6-8408-A04F67347028"},"2296":{"isSerializedDate":true,"string":"Tue Feb 28 2012 16:00:43 GMT+0100 (Mitteleuropäische Zeit)"},"2297":{"date":{"__isSmartRef__":true,"id":2298},"author":"huberthesse","message":"restructured Color update.","id":"4CDED44E-498F-413B-A62F-9D748B86AA96"},"2298":{"isSerializedDate":true,"string":"Tue Feb 28 2012 16:11:32 GMT+0100 (Mitteleuropäische Zeit)"},"2299":{"date":{"__isSmartRef__":true,"id":2300},"author":"huberthesse","message":"Connection more flexible","id":"98E20C49-613C-47F0-A4CA-95D3D9589D39"},"2300":{"isSerializedDate":true,"string":"Tue Feb 28 2012 16:34:55 GMT+0100 (Mitteleuropäische Zeit)"},"2301":{"date":{"__isSmartRef__":true,"id":2302},"author":"huberthesse","message":"added Buttons","id":"186E6ED9-F064-4740-A4FC-36C91C5F3429"},"2302":{"isSerializedDate":true,"string":"Fri Mar 02 2012 15:58:37 GMT+0100 (Mitteleuropäische Zeit)"},"2303":{"date":{"__isSmartRef__":true,"id":2304},"author":"huberthesse","message":"Added multiple slides","id":"2D4658B4-4042-4E38-85A9-30EA416520E9"},"2304":{"isSerializedDate":true,"string":"Fri Mar 02 2012 16:34:43 GMT+0100 (Mitteleuropäische Zeit)"},"2305":{"date":{"__isSmartRef__":true,"id":2306},"author":"huberthesse","message":"","id":"8BE47D2B-B6B3-4D3B-A448-8F8B0D4FCE8A"},"2306":{"isSerializedDate":true,"string":"Wed Mar 07 2012 14:57:37 GMT+0100 (Mitteleuropäische Zeit)"},"2307":{"date":{"__isSmartRef__":true,"id":2308},"author":"huberthesse","message":"","id":"C7CEF08A-055F-4852-BF34-7AD8708D83AD"},"2308":{"isSerializedDate":true,"string":"Wed Mar 07 2012 15:07:15 GMT+0100 (Mitteleuropäische Zeit)"},"2309":{"date":{"__isSmartRef__":true,"id":2310},"author":"huberthesse","message":"animashuns!!","id":"173736C8-5BD0-4609-941F-DFAD70D1F204"},"2310":{"isSerializedDate":true,"string":"Wed Mar 07 2012 15:28:20 GMT+0100 (Mitteleuropäische Zeit)"},"2311":{"date":{"__isSmartRef__":true,"id":2312},"author":"huberthesse","message":"","id":"4C52A76C-9995-4648-8C65-08E956F79AD6"},"2312":{"isSerializedDate":true,"string":"Wed Mar 07 2012 15:37:36 GMT+0100 (Mitteleuropäische Zeit)"},"2313":{"date":{"__isSmartRef__":true,"id":2314},"author":"huberthesse","message":"performance improvement","id":"A3796944-0AD5-4D68-8B24-E7C720B465AA"},"2314":{"isSerializedDate":true,"string":"Wed Mar 07 2012 15:49:34 GMT+0100 (Mitteleuropäische Zeit)"},"2315":{"date":{"__isSmartRef__":true,"id":2316},"author":"huberthesse","message":"bugfix: slidenumber reset","id":"C1D3EDC8-F80E-427A-B0C6-03CA107FEE88"},"2316":{"isSerializedDate":true,"string":"Wed Mar 07 2012 15:51:35 GMT+0100 (Mitteleuropäische Zeit)"},"2317":{"date":{"__isSmartRef__":true,"id":2318},"author":"huberthesse","message":"toogle Tool status","id":"637FE813-96F9-4FED-ABAB-5E1F0DA223E3"},"2318":{"isSerializedDate":true,"string":"Wed Mar 07 2012 17:35:59 GMT+0100 (Mitteleuropäische Zeit)"},"2319":{"date":{"__isSmartRef__":true,"id":2320},"author":"undefined","message":"apply style on button click","id":"C0F45D84-2653-498A-8959-8199C06BDEE0"},"2320":{"isSerializedDate":true,"string":"Fri Mar 09 2012 11:33:27 GMT+0100 (Mitteleuropäische Zeit)"},"2321":{"date":{"__isSmartRef__":true,"id":2322},"author":"undefined","message":"style adjustments","id":"7E86863F-608E-4C4A-937C-A6E22F3D6EFF"},"2322":{"isSerializedDate":true,"string":"Fri Mar 09 2012 11:42:24 GMT+0100 (Mitteleuropäische Zeit)"},"2323":{"date":{"__isSmartRef__":true,"id":2324},"author":"undefined","message":"restore check","id":"FDE120E3-31A5-447C-9A6E-68E6ECF2EF3D"},"2324":{"isSerializedDate":true,"string":"Wed Mar 14 2012 13:36:13 GMT+0100 (Mitteleuropäische Zeit)"},"2325":{"date":{"__isSmartRef__":true,"id":2326},"author":"undefined","message":"again connections","id":"7B5A5687-B639-43E9-A877-26A36C265029"},"2326":{"isSerializedDate":true,"string":"Wed Mar 14 2012 14:22:51 GMT+0100 (Mitteleuropäische Zeit)"},"2327":{"date":{"__isSmartRef__":true,"id":2328},"author":"undefined","message":"grr","id":"5C04082F-B302-448C-B5B4-2CAACCD7CF89"},"2328":{"isSerializedDate":true,"string":"Wed Mar 14 2012 14:41:17 GMT+0100 (Mitteleuropäische Zeit)"},"2329":{"date":{"__isSmartRef__":true,"id":2330},"author":"huberthesse","message":"Colors updated","id":"1DBE8C12-AC3E-4170-8C31-F92D52850B1A"},"2330":{"isSerializedDate":true,"string":"Wed Mar 21 2012 16:30:15 GMT+0100 (Mitteleuropäische Zeit)"},"2331":{"adjustForNewBounds":true,"moveVertical":true},"2332":{"x":212,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2333":{"lastStart":{"__isSmartRef__":true,"id":2334},"touchStart":{"__isSmartRef__":true,"id":2335},"touchStartInClientCoordinates":{"__isSmartRef__":true,"id":2336},"identifier":3753021798,"pageY":475,"screenX":459,"clientX":645,"clientY":439,"screenY":338,"pageX":645},"2334":{"isSerializedDate":true,"string":"Wed Feb 29 2012 18:19:15 GMT+0100 (Mitteleuropäische Zeit)"},"2335":{"x":645,"y":475,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2336":{"x":645,"y":439,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2337":{"submorphs":[{"__isSmartRef__":true,"id":2338}],"scripts":[],"id":"4CF22BEB-6CB3-440B-B908-BDFADFD6F3B6","shape":{"__isSmartRef__":true,"id":2358},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2373},"attributeConnections":[{"__isSmartRef__":true,"id":2374},{"__isSmartRef__":true,"id":2375}],"doNotSerialize":["$$value"],"doNotCopyProperties":["$$value"],"sliderExtent":0.1,"valueScale":50,"sliderKnob":{"__isSmartRef__":true,"id":2338},"styleClass":["slider_background_horizontal"],"showsHalos":false,"name":"RadiusSlider","partsBinMetaInfo":{"__isSmartRef__":true,"id":2377},"__SourceModuleName__":"Global.lively.morphic.Widgets","renderContextTable":{"__isSmartRef__":true,"id":2380},"eventHandler":{"__isSmartRef__":true,"id":2381},"layout":{"__isSmartRef__":true,"id":2382},"priorExtent":{"__isSmartRef__":true,"id":2383},"derivationIds":[2631,"729D9A8F-DDCC-4C30-A80B-BE2338365BE9","F2DAC7F1-FF46-4707-93C3-71C798A96BA6","C5C727C8-F427-473F-A591-477434004576","C9CBDA71-3F35-4E51-ABD0-89B49A0B9C96","80E8D703-24B3-42D3-9CAF-A653D46055E7","80E910D6-BAEF-465E-95E3-C58A7D51C59B","DEB35CBB-E687-4F69-9BF8-73B4FC1EBEFF","4D5746D1-E683-4382-A7E5-A34701C7BD7E","1CED8961-44D8-49E0-A8D1-C0C61024C1FF","AAA74ABE-0238-492A-B969-918E06675C1A","F2F43DDF-C70D-4D0E-B9F9-76E641CB3A36","4831F0ED-7106-49B2-A662-EC702B55080A","8E2E1551-652E-43C7-99B2-6552B37DF813","5F7B10BD-EA6B-4E80-92D5-FC70BAD0E74D","2B9CC6C6-F88F-4D1E-B597-D18F3F88E9C1"],"isBeingDragged":false,"moved":true,"distanceToDragEvent":{"__isSmartRef__":true,"id":2384},"owner":null,"isLockOwner":false,"value":0,"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2385},"__LivelyClassName__":"lively.morphic.Slider"},"2338":{"submorphs":[],"scripts":[],"id":"DFBD738F-DBFB-4B6C-BD37-955F56C8BAB1","shape":{"__isSmartRef__":true,"id":2339},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"_Position":{"__isSmartRef__":true,"id":2353},"slider":{"__isSmartRef__":true,"id":2337},"owner":{"__isSmartRef__":true,"id":2337},"styleClass":["slider_horizontal"],"hitPoint":{"__isSmartRef__":true,"id":2354},"__SourceModuleName__":"Global.lively.morphic.Widgets","renderContextTable":{"__isSmartRef__":true,"id":2355},"eventHandler":{"__isSmartRef__":true,"id":2356},"priorExtent":{"__isSmartRef__":true,"id":2357},"derivationIds":[2632,"4685341A-CC42-43FD-A93E-AA9EBE585604","57CD7B01-9ECD-4B7C-ABFD-012D9E664789","F6E520B1-1073-4989-8CF0-C2CAB0C161E7","F2030489-716E-4030-824E-84F33FD7E6B7","856C04E2-D220-4D8B-8891-743C94E75083","B1EE542B-D392-48A0-802B-BF295991A0CB","7217454D-2946-49FA-A031-CB4713D0D9D6","BE3371F8-989A-4DE0-8CF3-7738F7EA6BB0","2A368AAB-D0B5-4EF7-A621-BFB63FBD9829","F2140E2B-8636-4D6C-A3F7-3F36042A0631","C7774B11-8A0E-404B-8E13-C5236FC20DCE","4032B4A8-A397-4345-9210-8452B67AB26A","4031265D-632A-4418-A3BF-56F8398B74D7","57B7594C-F2E1-4D51-B226-D7B0B784AE75","2EAA13DD-FB74-4908-9CEF-530F86D96F5A"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"isLockOwner":false,"draggableWithoutHalo":true,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.SliderKnob"},"2339":{"position":{"__isSmartRef__":true,"id":2340},"_Extent":{"__isSmartRef__":true,"id":2341},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2342},"_Fill":{"__isSmartRef__":true,"id":2343},"_BorderRadius":13,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2351},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2352},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2340":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2341":{"x":18,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2342":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2343":{"stops":[{"__isSmartRef__":true,"id":2344},{"__isSmartRef__":true,"id":2346},{"__isSmartRef__":true,"id":2348}],"vector":{"__isSmartRef__":true,"id":2350},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2344":{"offset":0,"color":{"__isSmartRef__":true,"id":2345}},"2345":{"r":0.7,"g":0.7,"b":0.7,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2346":{"offset":0.3,"color":{"__isSmartRef__":true,"id":2347}},"2347":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2348":{"offset":1,"color":{"__isSmartRef__":true,"id":2349}},"2349":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2350":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2351":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2352":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2353":{"x":0,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2354":{"x":81,"y":1723,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2355":{"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"},"2356":{"morph":{"__isSmartRef__":true,"id":2338},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2357":{"x":18,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2358":{"position":{"__isSmartRef__":true,"id":2359},"_Extent":{"__isSmartRef__":true,"id":2360},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2361},"_Fill":{"__isSmartRef__":true,"id":2362},"_BorderRadius":6,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2371},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2372},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2359":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2360":{"x":297,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2361":{"r":0.37254901960784315,"g":0.3686274509803922,"b":0.37254901960784315,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2362":{"stops":[{"__isSmartRef__":true,"id":2363},{"__isSmartRef__":true,"id":2365},{"__isSmartRef__":true,"id":2367},{"__isSmartRef__":true,"id":2369}],"vector":{"__isSmartRef__":true,"id":2370},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2363":{"offset":0,"color":{"__isSmartRef__":true,"id":2364}},"2364":{"r":0.20784313725490197,"g":0.3254901960784314,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2365":{"offset":0,"color":{"__isSmartRef__":true,"id":2366}},"2366":{"r":0.20784313725490197,"g":0.3254901960784314,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2367":{"offset":0.01,"color":{"__isSmartRef__":true,"id":2368}},"2368":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2369":{"offset":1,"color":{"__isSmartRef__":true,"id":2368}},"2370":{"x":0,"y":0,"width":1,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2371":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2372":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2373":{"x":23,"y":439,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2374":{"sourceObj":{"__isSmartRef__":true,"id":2337},"sourceAttrName":"value","targetObj":{"__isSmartRef__":true,"id":2337},"targetMethodName":"adjustSliderParts","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2375":{"sourceObj":{"__isSmartRef__":true,"id":2337},"sourceAttrName":"value","targetObj":{"__isSmartRef__":true,"id":2},"targetMethodName":"setBorderRadiusOfTarget","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2376},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2376":{"source":{"__isSmartRef__":true,"id":2337},"target":{"__isSmartRef__":true,"id":2}},"2377":{"requiredModules":[],"partsSpaceName":"PartsBin/iPad Widgets/","migrationLevel":4,"__SourceModuleName__":"Global.lively.PartsBin","partName":"Slider","comment":"The connection point \"value\" can be used to read/write the slider knob position.","changes":[{"__isSmartRef__":true,"id":2378}],"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2378":{"date":{"__isSmartRef__":true,"id":2379},"author":"athomschke","message":"","id":"D5731AD3-FA80-46BF-85E1-B66950AD79A1"},"2379":{"isSerializedDate":true,"string":"Fri Feb 03 2012 13:17:09 GMT+0100 (Mitteleuropäische Zeit)"},"2380":{"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"},"2381":{"morph":{"__isSmartRef__":true,"id":2337},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2382":{"resizeWidth":true,"moveVertical":true},"2383":{"x":297,"y":7,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2384":{"x":195,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2385":{"setupConnections":{"__isSmartRef__":true,"id":2386},"setUp":{"__isSmartRef__":true,"id":2390},"adjustSliderParts":{"__isSmartRef__":true,"id":2394},"beIPadSlider":{"__isSmartRef__":true,"id":2402},"setKnobFill":{"__isSmartRef__":true,"id":2406},"setKnobRatio":{"__isSmartRef__":true,"id":2410},"updateFill":{"__isSmartRef__":true,"id":2414},"getSliderExtent":{"__isSmartRef__":true,"id":2418}},"2386":{"varMapping":{"__isSmartRef__":true,"id":2387},"source":"function setupConnections() {\n connect(this, 'value', this.owner, 'setBorderRadiusOfTarget', {})\n}","funcProperties":{"__isSmartRef__":true,"id":2388},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2387":{"this":{"__isSmartRef__":true,"id":2337}},"2388":{"timestamp":{"__isSmartRef__":true,"id":2389},"user":"undefined","tags":[]},"2389":{"isSerializedDate":true,"string":"Fri Mar 09 2012 13:19:37 GMT+0100 (Mitteleuropäische Zeit)"},"2390":{"varMapping":{"__isSmartRef__":true,"id":2391},"source":"function setUp() {\n this.valueScale = 50\n}","funcProperties":{"__isSmartRef__":true,"id":2392},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2391":{"this":{"__isSmartRef__":true,"id":2337}},"2392":{"timestamp":{"__isSmartRef__":true,"id":2393},"user":"undefined","tags":[]},"2393":{"isSerializedDate":true,"string":"Fri Mar 09 2012 13:19:37 GMT+0100 (Mitteleuropäische Zeit)"},"2394":{"varMapping":{"__isSmartRef__":true,"id":2395},"source":"function adjustSliderParts() {\n if (!this.sliderKnob) return;\n // This method adjusts the slider for changes in value as well as geometry\n var val = this.getScaledValue();\n var bnds = this.shape.bounds();\n var knobMult = this.knobRatio || 3\n var ext = this.getSliderExtent(); \n if (this.vertical()) { // more vertical...\n var offset = 0 - (this.sliderKnob.getExtent().x / 2) + (this.getExtent().x / 2);\n this.sliderKnob.setPosition(pt(offset,this.sliderKnob.getPosition().y));\n var size = this.getExtent().x * knobMult;\n this.sliderKnob.setExtent(pt(size, size));\n var elevPix = Math.max(ext*bnds.height, this.mss); // thickness of elevator in pixels\n var topLeft = pt(this.sliderKnob.getPosition().x, (bnds.height - elevPix)*val);\n } else { // more horizontal...\n var offset = 0 - (this.sliderKnob.getExtent().y / 2) + (this.getExtent().y / 2);\n this.sliderKnob.setPosition(pt(this.sliderKnob.getPosition().x, offset));\n var size = this.getExtent().y * knobMult; \n this.sliderKnob.setExtent(pt(size,size));\n var elevPix = Math.max(ext*bnds.width, this.mss); // thickness of elevator in pixels\n var topLeft = pt((bnds.width - elevPix)*val, this.sliderKnob.getPosition().y);\n };\n this.sliderKnob.setBounds(topLeft.extent(this.sliderKnob.getExtent()));\n this.sliderKnob.setBorderRadius(13);\n this.sliderKnob.draggableWithoutHalo = true;\n this.updateFill(val);\n}","funcProperties":{"__isSmartRef__":true,"id":2400},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2395":{"this":{"__isSmartRef__":true,"id":2337},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2396}},"2396":{"$super":{"__isSmartRef__":true,"id":2397}},"2397":{"varMapping":{"__isSmartRef__":true,"id":2398},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2399},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2398":{"obj":{"__isSmartRef__":true,"id":2337},"name":"adjustSliderParts"},"2399":{},"2400":{"timestamp":{"__isSmartRef__":true,"id":2401},"user":"undefined","tags":[]},"2401":{"isSerializedDate":true,"string":"Tue Mar 13 2012 11:57:27 GMT+0100 (Mitteleuropäische Zeit)"},"2402":{"varMapping":{"__isSmartRef__":true,"id":2403},"source":"function beIPadSlider() {\n if (this.vertical()) {\n this.setExtent(pt(7, this.getExtent().y));\n }\n else {\n this.setExtent(pt(this.getExtent().x, 7));\n };\n this.adjustSliderParts();\n this.setBorderWidth(1);\n this.setBorderColor(Color.rgb(95,94,95));\n this.setKnobFill();\n this.adjustSliderParts();\n}","funcProperties":{"__isSmartRef__":true,"id":2404},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2403":{"this":{"__isSmartRef__":true,"id":2337}},"2404":{"timestamp":{"__isSmartRef__":true,"id":2405},"user":"undefined","tags":[]},"2405":{"isSerializedDate":true,"string":"Tue Mar 13 2012 11:57:27 GMT+0100 (Mitteleuropäische Zeit)"},"2406":{"varMapping":{"__isSmartRef__":true,"id":2407},"source":"function setKnobFill() {\n var knobStyle= new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.darkGray.mixedWith(Color.white, 0.5)},\n {offset: 0.3, color: Color.lightGray},\n {offset: 1, color: Color.white}\n ]\n )\n this.sliderKnob.setFill(knobStyle);\n}","funcProperties":{"__isSmartRef__":true,"id":2408},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2407":{"this":{"__isSmartRef__":true,"id":2337}},"2408":{"timestamp":{"__isSmartRef__":true,"id":2409},"user":"undefined","tags":[]},"2409":{"isSerializedDate":true,"string":"Tue Mar 13 2012 11:57:27 GMT+0100 (Mitteleuropäische Zeit)"},"2410":{"varMapping":{"__isSmartRef__":true,"id":2411},"source":"function setKnobRatio(num) {\n this.knobRatio = num;\n}","funcProperties":{"__isSmartRef__":true,"id":2412},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2411":{"this":{"__isSmartRef__":true,"id":2337}},"2412":{"timestamp":{"__isSmartRef__":true,"id":2413},"user":"undefined","tags":[]},"2413":{"isSerializedDate":true,"string":"Tue Mar 13 2012 11:57:27 GMT+0100 (Mitteleuropäische Zeit)"},"2414":{"varMapping":{"__isSmartRef__":true,"id":2415},"source":"function updateFill(value) {\n var bgStyle = new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(53,83,255)},\n {offset: value, color: Color.rgb(53,83,255)},\n {offset: value+0.01, color: Color.white},\n {offset: 1, color: Color.white}\n ],\n 'eastWest'\n );\n this.setFill(bgStyle);\n}","funcProperties":{"__isSmartRef__":true,"id":2416},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2415":{"this":{"__isSmartRef__":true,"id":2337}},"2416":{"timestamp":{"__isSmartRef__":true,"id":2417},"user":"undefined","tags":[]},"2417":{"isSerializedDate":true,"string":"Tue Mar 13 2012 11:57:27 GMT+0100 (Mitteleuropäische Zeit)"},"2418":{"varMapping":{"__isSmartRef__":true,"id":2419},"source":"function getSliderExtent() {\n if (this.vertical()) \n return (this.sliderKnob.getExtent().y)/(this.getExtent().y)\n else \n return (this.sliderKnob.getExtent().x)/(this.getExtent().x)\n}","funcProperties":{"__isSmartRef__":true,"id":2424},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2419":{"this":{"__isSmartRef__":true,"id":2337},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2420}},"2420":{"$super":{"__isSmartRef__":true,"id":2421}},"2421":{"varMapping":{"__isSmartRef__":true,"id":2422},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2423},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2422":{"obj":{"__isSmartRef__":true,"id":2337},"name":"getSliderExtent"},"2423":{},"2424":{"timestamp":{"__isSmartRef__":true,"id":2425},"user":"undefined","tags":[]},"2425":{"isSerializedDate":true,"string":"Tue Mar 13 2012 13:51:22 GMT+0100 (Mitteleuropäische Zeit)"},"2426":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2427":{"setupConnections":{"__isSmartRef__":true,"id":2428},"getPencilButton":{"__isSmartRef__":true,"id":2432},"onrestore":{"__isSmartRef__":true,"id":2436},"updateTarget":{"__isSmartRef__":true,"id":2444},"updateSliderColor":{"__isSmartRef__":true,"id":2448},"updateColorSlider":{"__isSmartRef__":true,"id":2452},"updateAlphaSlider":{"__isSmartRef__":true,"id":2456},"setBorderFillOfTarget":{"__isSmartRef__":true,"id":2460},"setBorderWidthOfTarget":{"__isSmartRef__":true,"id":2464},"nextSlide":{"__isSmartRef__":true,"id":2468},"previousSlide":{"__isSmartRef__":true,"id":2472},"setBorderStyleOfTarget":{"__isSmartRef__":true,"id":2476},"hide":{"__isSmartRef__":true,"id":2480},"isVisible":{"__isSmartRef__":true,"id":2484},"show":{"__isSmartRef__":true,"id":2492},"toggle":{"__isSmartRef__":true,"id":2496},"reset":{"__isSmartRef__":true,"id":2500}},"2428":{"varMapping":{"__isSmartRef__":true,"id":2429},"source":"function setupConnections() {\n connect(this, 'visible', this.getPencilButton(), 'toggleState')\n}","funcProperties":{"__isSmartRef__":true,"id":2430},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2429":{"this":{"__isSmartRef__":true,"id":2}},"2430":{"timestamp":{"__isSmartRef__":true,"id":2431},"user":"athomschke","tags":[]},"2431":{"isSerializedDate":true,"string":"Fri May 18 2012 10:52:03 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2432":{"varMapping":{"__isSmartRef__":true,"id":2433},"source":"function getPencilButton() {\n return this.owner.titleBar.get('PencilButton')\n}","funcProperties":{"__isSmartRef__":true,"id":2434},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2433":{"this":{"__isSmartRef__":true,"id":2}},"2434":{"timestamp":{"__isSmartRef__":true,"id":2435},"user":"athomschke","tags":[]},"2435":{"isSerializedDate":true,"string":"Fri May 18 2012 10:51:26 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2436":{"varMapping":{"__isSmartRef__":true,"id":2437},"source":"function onrestore() {\n $super();\n module('projects.BP2012.InteractionWithIPad.CSSTransitions').load();\n this.whiteboard = this.owner.get('WhiteBoard');\n // module ('projects.BP2012.ToolWorld').load(true)\n // this.beTool()\n}","funcProperties":{"__isSmartRef__":true,"id":2442},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2437":{"this":{"__isSmartRef__":true,"id":2},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2438}},"2438":{"$super":{"__isSmartRef__":true,"id":2439}},"2439":{"varMapping":{"__isSmartRef__":true,"id":2440},"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":2441},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2440":{"obj":{"__isSmartRef__":true,"id":2},"name":"onrestore"},"2441":{},"2442":{"timestamp":{"__isSmartRef__":true,"id":2443},"user":"conradcalmez","tags":[]},"2443":{"isSerializedDate":true,"string":"Fri May 04 2012 15:07:51 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2444":{"varMapping":{"__isSmartRef__":true,"id":2445},"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":2446},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2445":{"this":{"__isSmartRef__":true,"id":2}},"2446":{"timestamp":{"__isSmartRef__":true,"id":2447},"user":"conradcalmez","tags":[]},"2447":{"isSerializedDate":true,"string":"Wed May 02 2012 15:28:28 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2448":{"varMapping":{"__isSmartRef__":true,"id":2449},"source":"function updateSliderColor(color) {\n this.updateColorSlider(color);\n this.updateAlphaSlider(color);\n}","funcProperties":{"__isSmartRef__":true,"id":2450},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2449":{"this":{"__isSmartRef__":true,"id":2}},"2450":{"timestamp":{"__isSmartRef__":true,"id":2451},"user":"conradcalmez","tags":[]},"2451":{"isSerializedDate":true,"string":"Wed May 02 2012 13:51:06 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2452":{"varMapping":{"__isSmartRef__":true,"id":2453},"source":"function updateColorSlider(color) {\n this.slider.updateColor(color);\n this.slider.setValue(0.5);\n}","funcProperties":{"__isSmartRef__":true,"id":2454},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2453":{"this":{"__isSmartRef__":true,"id":2}},"2454":{"timestamp":{"__isSmartRef__":true,"id":2455},"user":"conradcalmez","tags":[]},"2455":{"isSerializedDate":true,"string":"Wed May 02 2012 13:51:25 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2456":{"varMapping":{"__isSmartRef__":true,"id":2457},"source":"function updateAlphaSlider(color) {\n this.alphaSlider.updateColor(color);\n this.alphaSlider.setValue(color.a);\n}","funcProperties":{"__isSmartRef__":true,"id":2458},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2457":{"this":{"__isSmartRef__":true,"id":2}},"2458":{"timestamp":{"__isSmartRef__":true,"id":2459},"user":"conradcalmez","tags":[]},"2459":{"isSerializedDate":true,"string":"Wed May 02 2012 13:51:51 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2460":{"varMapping":{"__isSmartRef__":true,"id":2461},"source":"function setBorderFillOfTarget(color) {\n this.whiteboard.setColor(color);\n}","funcProperties":{"__isSmartRef__":true,"id":2462},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2461":{"this":{"__isSmartRef__":true,"id":2}},"2462":{"timestamp":{"__isSmartRef__":true,"id":2463},"user":"conradcalmez","tags":[]},"2463":{"isSerializedDate":true,"string":"Wed May 02 2012 19:17:14 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2464":{"varMapping":{"__isSmartRef__":true,"id":2465},"source":"function setBorderWidthOfTarget(value) {\n // this.target && this.target.setBorderWidth(value);\n this.whiteboard.setPencilSize(value*5+1);\n}","funcProperties":{"__isSmartRef__":true,"id":2466},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2465":{"this":{"__isSmartRef__":true,"id":2}},"2466":{"timestamp":{"__isSmartRef__":true,"id":2467},"user":"conradcalmez","tags":[]},"2467":{"isSerializedDate":true,"string":"Wed May 02 2012 19:17:29 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2468":{"varMapping":{"__isSmartRef__":true,"id":2469},"source":"function nextSlide() {\n this.colorChooser.nextSlide();\n}","funcProperties":{"__isSmartRef__":true,"id":2470},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2469":{"this":{"__isSmartRef__":true,"id":2}},"2470":{"timestamp":{"__isSmartRef__":true,"id":2471},"user":"conradcalmez","tags":[]},"2471":{"isSerializedDate":true,"string":"Wed May 02 2012 14:15:52 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2472":{"varMapping":{"__isSmartRef__":true,"id":2473},"source":"function previousSlide() {\n this.colorChooser.previousSlide();\n}","funcProperties":{"__isSmartRef__":true,"id":2474},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2473":{"this":{"__isSmartRef__":true,"id":2}},"2474":{"timestamp":{"__isSmartRef__":true,"id":2475},"user":"conradcalmez","tags":[]},"2475":{"isSerializedDate":true,"string":"Wed May 02 2012 14:15:57 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2476":{"varMapping":{"__isSmartRef__":true,"id":2477},"source":"function setBorderStyleOfTarget(value) {\n // this.target && this.target.applyStyle({\n // borderStyle: value,\n // });\n this.whiteboard.setPencilStyle(value);\n}","funcProperties":{"__isSmartRef__":true,"id":2478},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2477":{"this":{"__isSmartRef__":true,"id":2}},"2478":{"timestamp":{"__isSmartRef__":true,"id":2479},"user":"conradcalmez","tags":[]},"2479":{"isSerializedDate":true,"string":"Wed May 02 2012 19:17:23 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2480":{"varMapping":{"__isSmartRef__":true,"id":2481},"source":"function hide() {\n this.setPosition(pt(0, 0));\n this.setVisible(false);\n}","funcProperties":{"__isSmartRef__":true,"id":2482},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2481":{"this":{"__isSmartRef__":true,"id":2}},"2482":{"timestamp":{"__isSmartRef__":true,"id":2483},"user":"conradcalmez","tags":[]},"2483":{"isSerializedDate":true,"string":"Wed May 02 2012 13:41:45 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2484":{"varMapping":{"__isSmartRef__":true,"id":2485},"source":"function isVisible() {\n return this.visible || false;\n}","funcProperties":{"__isSmartRef__":true,"id":2490},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2485":{"this":{"__isSmartRef__":true,"id":2},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2486}},"2486":{"$super":{"__isSmartRef__":true,"id":2487}},"2487":{"varMapping":{"__isSmartRef__":true,"id":2488},"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":2489},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2488":{"obj":{"__isSmartRef__":true,"id":2},"name":"isVisible"},"2489":{},"2490":{"timestamp":{"__isSmartRef__":true,"id":2491},"user":"conradcalmez","tags":[]},"2491":{"isSerializedDate":true,"string":"Wed May 02 2012 13:41:45 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2492":{"varMapping":{"__isSmartRef__":true,"id":2493},"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":2494},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2493":{"this":{"__isSmartRef__":true,"id":2}},"2494":{"timestamp":{"__isSmartRef__":true,"id":2495},"user":"conradcalmez","tags":[]},"2495":{"isSerializedDate":true,"string":"Wed May 02 2012 19:26:50 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2496":{"varMapping":{"__isSmartRef__":true,"id":2497},"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":2498},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2497":{"this":{"__isSmartRef__":true,"id":2}},"2498":{"timestamp":{"__isSmartRef__":true,"id":2499},"user":"conradcalmez","tags":[]},"2499":{"isSerializedDate":true,"string":"Wed May 02 2012 13:41:45 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2500":{"varMapping":{"__isSmartRef__":true,"id":2501},"source":"function reset() {\n this.chat = this.owner.get(\"ChatPane\");\n this.updateTarget(this.whiteboard);\n this.hide();\n this.visible = false;\n}","funcProperties":{"__isSmartRef__":true,"id":2502},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2501":{"this":{"__isSmartRef__":true,"id":2}},"2502":{"timestamp":{"__isSmartRef__":true,"id":2503},"user":"athomschke","tags":[]},"2503":{"isSerializedDate":true,"string":"Wed May 09 2012 19:08:37 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2504":{"renderContextTable":{"__isSmartRef__":true,"id":2505},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2506},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":2507},"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2508},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2505":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2506":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2507":{"x":952.8027036045055,"y":605.901351802253,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2508":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"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":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2511":{"adjustForNewBounds":true},"2512":{"x":22,"y":19,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2513":{"x":952.8027036045055,"y":605.901351802253,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2514":{"a":1,"b":0,"c":0,"d":1,"e":603,"f":145,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"2515":{"x":954.8027036045055,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2516":{"a":1,"b":0,"c":0,"d":1,"e":678,"f":276,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"2517":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A whiteboard designed for syncing with other worlds, based on svg paintings. It is ably to sync whole morphs, too.","migrationLevel":4,"partName":"AlmostRealSync","changes":[{"__isSmartRef__":true,"id":2518},{"__isSmartRef__":true,"id":2520},{"__isSmartRef__":true,"id":2522},{"__isSmartRef__":true,"id":2524},{"__isSmartRef__":true,"id":2526},{"__isSmartRef__":true,"id":2528},{"__isSmartRef__":true,"id":2530},{"__isSmartRef__":true,"id":2532},{"__isSmartRef__":true,"id":2534},{"__isSmartRef__":true,"id":2536},{"__isSmartRef__":true,"id":2538},{"__isSmartRef__":true,"id":2540},{"__isSmartRef__":true,"id":2542},{"__isSmartRef__":true,"id":2544},{"__isSmartRef__":true,"id":2546},{"__isSmartRef__":true,"id":2548},{"__isSmartRef__":true,"id":2550},{"__isSmartRef__":true,"id":2552},{"__isSmartRef__":true,"id":2554},{"__isSmartRef__":true,"id":2556},{"__isSmartRef__":true,"id":2558},{"__isSmartRef__":true,"id":2560},{"__isSmartRef__":true,"id":2562},{"__isSmartRef__":true,"id":2564},{"__isSmartRef__":true,"id":2566},{"__isSmartRef__":true,"id":2568},{"__isSmartRef__":true,"id":2570},{"__isSmartRef__":true,"id":2572},{"__isSmartRef__":true,"id":2574}],"revisionOnLoad":164051,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2518":{"date":{"__isSmartRef__":true,"id":2519},"author":"conradcalmez","message":"disconnect old connection to buttons on reset","id":"73D533C7-48BA-40A6-9811-3F5268441F63"},"2519":{"isSerializedDate":true,"string":"Tue May 15 2012 15:55:48 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2520":{"date":{"__isSmartRef__":true,"id":2521},"author":"undefined","message":"merged with applying added and removed morphs","id":"FBA3FB23-A196-4B3B-B9A4-BFBCD22C9B7B"},"2521":{"isSerializedDate":true,"string":"Tue May 15 2012 10:53:04 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2522":{"date":{"__isSmartRef__":true,"id":2523},"author":"athomschke","message":"I hopefully merged the new iPad morph dragging functionality correctly with conrads new transformations.","id":"7831E0B3-DA31-4BEF-A3BF-A7D05A6E7B27"},"2523":{"isSerializedDate":true,"string":"Tue May 08 2012 15:29:27 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2524":{"date":{"__isSmartRef__":true,"id":2525},"author":"conradcalmez","message":"last fixes before we go (hopefully)","id":"5A31AF3D-47CA-48C1-8005-8886A6C3E7F8"},"2525":{"isSerializedDate":true,"string":"Wed May 02 2012 08:07:05 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2526":{"date":{"__isSmartRef__":true,"id":2527},"author":"conradcalmez","message":"last fixes before we go.","id":"7353B8BF-FFBD-45FD-90AC-01ED94F01771"},"2527":{"isSerializedDate":true,"string":"Wed May 02 2012 08:05:22 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2528":{"date":{"__isSmartRef__":true,"id":2529},"author":"conradcalmez","message":"added /names and pencil size features","id":"BF425A3B-1FDE-4407-88E7-8E82C7F7C177"},"2529":{"isSerializedDate":true,"string":"Mon Apr 30 2012 09:12:21 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2530":{"date":{"__isSmartRef__":true,"id":2531},"author":"conradcalmez","message":"chat menu item was out of sync","id":"DB0AF77E-3879-4EDE-B492-0FB18E3B4CF7"},"2531":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:43:54 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2532":{"date":{"__isSmartRef__":true,"id":2533},"author":"conradcalmez","message":"update","id":"7EFE9327-DFF1-4A83-9CD2-D3CD845E0AE9"},"2533":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:42:09 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2534":{"date":{"__isSmartRef__":true,"id":2535},"author":"conradcalmez","message":"irc like commands","id":"54F1ED3B-C2C3-4449-B8D8-FE3ABCDA1626"},"2535":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:00:53 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2536":{"date":{"__isSmartRef__":true,"id":2537},"author":"conradcalmez","message":"empty input does not send message","id":"11316392-62F2-43F0-BFA8-46992E692BE8"},"2537":{"isSerializedDate":true,"string":"Fri Apr 27 2012 12:20:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2538":{"date":{"__isSmartRef__":true,"id":2539},"author":"conradcalmez","message":"added support for showing user names on client side","id":"F2A08A9F-07AB-474A-BAA0-C572AEAC1794"},"2539":{"isSerializedDate":true,"string":"Fri Apr 27 2012 11:57:57 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2540":{"date":{"__isSmartRef__":true,"id":2541},"author":"conradcalmez","message":"small chat fix","id":"ED314F3A-3FDF-4FE8-B84D-C8AA930292B1"},"2541":{"isSerializedDate":true,"string":"Fri Apr 27 2012 11:01:33 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2542":{"date":{"__isSmartRef__":true,"id":2543},"author":"conradcalmez","message":"refined chat functionality","id":"256DC98B-38BA-4A85-9EF1-830A9D4C702B"},"2543":{"isSerializedDate":true,"string":"Fri Apr 27 2012 10:26:51 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2544":{"date":{"__isSmartRef__":true,"id":2545},"author":"conradcalmez","message":"added chat GUI","id":"4254F06C-37FB-46DC-851F-350EA895BDA3"},"2545":{"isSerializedDate":true,"string":"Thu Apr 26 2012 18:08:43 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2546":{"date":{"__isSmartRef__":true,"id":2547},"author":"undefined","message":"integrated sync morph functionality","id":"ACDC1527-238D-4D72-AAA1-407F1EEA02CF"},"2547":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:18:37 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2548":{"date":{"__isSmartRef__":true,"id":2549},"author":"undefined","message":"copied and adapted from WhiteBoard part","id":"9BB5FF37-8D16-40E8-AD37-E352A5BC7BC2"},"2549":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:01:32 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2550":{"date":{"__isSmartRef__":true,"id":2551},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"2551":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2552":{"date":{"__isSmartRef__":true,"id":2553},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"2553":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (Mitteleuropäische Zeit)"},"2554":{"date":{"__isSmartRef__":true,"id":2555},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"2555":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (Mitteleuropäische Zeit)"},"2556":{"date":{"__isSmartRef__":true,"id":2557},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"2557":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (Mitteleuropäische Zeit)"},"2558":{"date":{"__isSmartRef__":true,"id":2559},"author":"undefined","message":"first adjustments to socket io","id":"E438495A-1570-47C0-8E70-40BE904677BE"},"2559":{"isSerializedDate":true,"string":"Tue Apr 24 2012 15:30:50 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2560":{"date":{"__isSmartRef__":true,"id":2561},"author":"undefined","message":"restoring older version","id":"DF0E5C88-D6B0-491C-A9BB-A37C9146CD21"},"2561":{"isSerializedDate":true,"string":"Wed Apr 25 2012 18:07:45 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2562":{"date":{"__isSmartRef__":true,"id":2563},"author":"athomschke","message":"init - eveloped from WhiteBoard","id":"D9907B54-9746-4C92-8DD8-960F4EFD4B68"},"2563":{"isSerializedDate":true,"string":"Thu May 03 2012 11:46:55 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2564":{"date":{"__isSmartRef__":true,"id":2565},"author":"conradcalmez","message":"rebuild offset fix","id":"693EFA04-32AB-4FAF-A12E-E841FA33F2B9"},"2565":{"isSerializedDate":true,"string":"Tue May 08 2012 16:33:01 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2566":{"date":{"__isSmartRef__":true,"id":2567},"author":"conradcalmez","message":"fixed bug with alpha values","id":"4178C581-2FCB-47D2-9E0D-268644BD843D"},"2567":{"isSerializedDate":true,"string":"Tue May 08 2012 19:16:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2568":{"date":{"__isSmartRef__":true,"id":2569},"author":"conradcalmez","message":"fixed bug with alpha values","id":"45ED3AE9-C89C-43C7-A943-B9430B281B61"},"2569":{"isSerializedDate":true,"string":"Tue May 08 2012 19:17:44 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2570":{"date":{"__isSmartRef__":true,"id":2571},"author":"conradcalmez","message":"put button creation in onLoad","id":"8CF30CBF-6D1D-4723-A0BE-78C72E7A80DA"},"2571":{"isSerializedDate":true,"string":"Tue May 15 2012 15:33:02 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2572":{"date":{"__isSmartRef__":true,"id":2573},"author":"conradcalmez","message":"put button creation in onLoad","id":"13E0D54C-177F-4576-AAB9-701B9104B5AE"},"2573":{"isSerializedDate":true,"string":"Tue May 15 2012 15:33:26 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2574":{"date":{"__isSmartRef__":true,"id":2575},"author":"conradcalmez","message":"put button creation in onLoad","id":"96E1B143-91D3-45FD-A90E-CECC069001BC"},"2575":{"isSerializedDate":true,"string":"Tue May 15 2012 15:40:10 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2576":{"x":472,"y":33,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2577":{"x":678,"y":276,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2578":{"x":603,"y":145,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2579":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2580},"id":2,"renderContextTable":{"__isSmartRef__":true,"id":2586},"eventHandler":{"__isSmartRef__":true,"id":2587},"droppingEnabled":false,"halosEnabled":false,"_world":{"__isSmartRef__":true,"id":0},"eventsAreIgnored":true,"_HandStyle":"default","_PointerEvents":"none","priorExtent":{"__isSmartRef__":true,"id":2588},"__SourceModuleName__":"Global.lively.morphic.Events","internalClickedOnMorph":{"__isSmartRef__":true,"id":2589},"carriesGrabbedMorphs":false,"lastScrollTime":1337073315863,"scrollFocusMorph":{"__isSmartRef__":true,"id":2600},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Position":{"__isSmartRef__":true,"id":2721},"_Scale":1,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"2580":{"_Position":{"__isSmartRef__":true,"id":2581},"renderContextTable":{"__isSmartRef__":true,"id":2582},"_Extent":{"__isSmartRef__":true,"id":2583},"_Fill":{"__isSmartRef__":true,"id":2584},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2585},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2581":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2582":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2583":{"x":2,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2584":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2585":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2586":{"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"},"2587":{"morph":{"__isSmartRef__":true,"id":2579},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2588":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2589":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2590},"derivationIds":[null],"id":"6993878B-59BE-4697-BCEA-529D2543151F","renderContextTable":{"__isSmartRef__":true,"id":2596},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2597}],"eventHandler":{"__isSmartRef__":true,"id":2599},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2600},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":2595},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2720},"_MaxTextWidth":60,"_MinTextWidth":60,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2590":{"_Position":{"__isSmartRef__":true,"id":2591},"renderContextTable":{"__isSmartRef__":true,"id":2592},"_Extent":{"__isSmartRef__":true,"id":2593},"_Padding":{"__isSmartRef__":true,"id":2594},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2595},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2591":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2592":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2593":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2594":{"x":0,"y":6,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2595":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2596":{"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"},"2597":{"style":{"__isSmartRef__":true,"id":2598},"chunkOwner":{"__isSmartRef__":true,"id":2589},"storedString":"OK","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2598":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2599":{"morph":{"__isSmartRef__":true,"id":2589},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2600":{"submorphs":[{"__isSmartRef__":true,"id":2589}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2601},"derivationIds":[null],"id":"DA023E49-2825-40E4-B96A-C5FDB18A5862","renderContextTable":{"__isSmartRef__":true,"id":2616},"eventHandler":{"__isSmartRef__":true,"id":2617},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2618},"priorExtent":{"__isSmartRef__":true,"id":2619},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2620},"lighterFill":{"__isSmartRef__":true,"id":2607},"label":{"__isSmartRef__":true,"id":2589},"layout":{"__isSmartRef__":true,"id":2629},"owner":{"__isSmartRef__":true,"id":2630},"attributeConnections":[{"__isSmartRef__":true,"id":2718},{"__isSmartRef__":true,"id":2719}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2601":{"_Position":{"__isSmartRef__":true,"id":2602},"renderContextTable":{"__isSmartRef__":true,"id":2603},"_Extent":{"__isSmartRef__":true,"id":2604},"_Padding":{"__isSmartRef__":true,"id":2605},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2606},"_Fill":{"__isSmartRef__":true,"id":2607},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2602":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2603":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2604":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2605":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2606":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2607":{"stops":[{"__isSmartRef__":true,"id":2608},{"__isSmartRef__":true,"id":2610},{"__isSmartRef__":true,"id":2612},{"__isSmartRef__":true,"id":2614}],"vector":{"__isSmartRef__":true,"id":1711},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2608":{"offset":0,"color":{"__isSmartRef__":true,"id":2609}},"2609":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2610":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2611}},"2611":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2612":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2613}},"2613":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2614":{"offset":1,"color":{"__isSmartRef__":true,"id":2615}},"2615":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2616":{"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"},"2617":{"morph":{"__isSmartRef__":true,"id":2600},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2618":{"x":172,"y":56,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2619":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2620":{"stops":[{"__isSmartRef__":true,"id":2621},{"__isSmartRef__":true,"id":2623},{"__isSmartRef__":true,"id":2625},{"__isSmartRef__":true,"id":2627}],"vector":{"__isSmartRef__":true,"id":1711},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2621":{"offset":0,"color":{"__isSmartRef__":true,"id":2622}},"2622":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2623":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2624}},"2624":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2625":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2626}},"2626":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2627":{"offset":1,"color":{"__isSmartRef__":true,"id":2628}},"2628":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2629":{"moveVertical":true,"moveHorizontal":true},"2630":{"submorphs":[{"__isSmartRef__":true,"id":2631},{"__isSmartRef__":true,"id":2642},{"__isSmartRef__":true,"id":2600},{"__isSmartRef__":true,"id":2676}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2694},"derivationIds":[null],"id":"66488A70-C0C4-4AFD-96FD-9C357229813C","renderContextTable":{"__isSmartRef__":true,"id":2701},"eventHandler":{"__isSmartRef__":true,"id":2702},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2703},"isLockOwner":true,"layout":{"__isSmartRef__":true,"id":2704},"draggingEnabled":false,"grabbingEnabled":false,"attributeConnections":[{"__isSmartRef__":true,"id":2705},{"__isSmartRef__":true,"id":2707},{"__isSmartRef__":true,"id":2709}],"ownerApp":{"__isSmartRef__":true,"id":2674},"owner":null,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2710},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"2631":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2632},"derivationIds":[null],"id":"26B2C3AA-7642-4150-8920-5612F5575EBD","renderContextTable":{"__isSmartRef__":true,"id":2637},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":2638}],"eventHandler":{"__isSmartRef__":true,"id":2640},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2630},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"draggingEnabled":false,"priorExtent":{"__isSmartRef__":true,"id":2641},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2632":{"_Position":{"__isSmartRef__":true,"id":2633},"renderContextTable":{"__isSmartRef__":true,"id":2634},"_Extent":{"__isSmartRef__":true,"id":2635},"_Padding":{"__isSmartRef__":true,"id":2636},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2595},"_Fill":{"__isSmartRef__":true,"id":1708},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2633":{"x":4,"y":4,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2634":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2635":{"x":225,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2636":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2637":{"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"},"2638":{"style":{"__isSmartRef__":true,"id":2639},"chunkOwner":{"__isSmartRef__":true,"id":2631},"storedString":"Please enter a relative or absolute path","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2639":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2640":{"morph":{"__isSmartRef__":true,"id":2631},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2641":{"x":225,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2642":{"submorphs":[{"__isSmartRef__":true,"id":2643}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2654},"derivationIds":[null],"id":"7AD33634-3B4C-4259-ABDB-CF20FECF1B7F","renderContextTable":{"__isSmartRef__":true,"id":2659},"eventHandler":{"__isSmartRef__":true,"id":2660},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2661},"priorExtent":{"__isSmartRef__":true,"id":2662},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2620},"lighterFill":{"__isSmartRef__":true,"id":2663},"label":{"__isSmartRef__":true,"id":2643},"layout":{"__isSmartRef__":true,"id":2672},"owner":{"__isSmartRef__":true,"id":2630},"attributeConnections":[{"__isSmartRef__":true,"id":2673},{"__isSmartRef__":true,"id":2692}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2643":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2644},"derivationIds":[null],"id":"354FAB74-F9F5-4CEB-A180-2D4104B77C4D","renderContextTable":{"__isSmartRef__":true,"id":2649},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2650}],"eventHandler":{"__isSmartRef__":true,"id":2652},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2642},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":2595},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2653},"_MaxTextWidth":60,"_MinTextWidth":60,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2644":{"_Position":{"__isSmartRef__":true,"id":2645},"renderContextTable":{"__isSmartRef__":true,"id":2646},"_Extent":{"__isSmartRef__":true,"id":2647},"_Padding":{"__isSmartRef__":true,"id":2648},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2595},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2645":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2646":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2647":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2648":{"x":0,"y":6,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2649":{"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"},"2650":{"style":{"__isSmartRef__":true,"id":2651},"chunkOwner":{"__isSmartRef__":true,"id":2643},"storedString":"Cancel","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2651":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2652":{"morph":{"__isSmartRef__":true,"id":2643},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2653":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2654":{"_Position":{"__isSmartRef__":true,"id":2655},"renderContextTable":{"__isSmartRef__":true,"id":2656},"_Extent":{"__isSmartRef__":true,"id":2657},"_Padding":{"__isSmartRef__":true,"id":2658},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2606},"_Fill":{"__isSmartRef__":true,"id":2620},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2655":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2656":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2657":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2658":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2659":{"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"},"2660":{"morph":{"__isSmartRef__":true,"id":2642},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2661":{"x":236,"y":56,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2662":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2663":{"stops":[{"__isSmartRef__":true,"id":2664},{"__isSmartRef__":true,"id":2666},{"__isSmartRef__":true,"id":2668},{"__isSmartRef__":true,"id":2670}],"vector":{"__isSmartRef__":true,"id":1711},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2664":{"offset":0,"color":{"__isSmartRef__":true,"id":2665}},"2665":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2666":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2667}},"2667":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2668":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2669}},"2669":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2670":{"offset":1,"color":{"__isSmartRef__":true,"id":2671}},"2671":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2672":{"moveVertical":true,"moveHorizontal":true},"2673":{"sourceObj":{"__isSmartRef__":true,"id":2642},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2674},"targetMethodName":"removeTopLevel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2674":{"result":"SyncMorphRevised_Fix.xhtml","message":"Please enter a relative or absolute path","attributeConnections":[{"__isSmartRef__":true,"id":2675}],"doNotSerialize":["$$result"],"doNotCopyProperties":["$$result"],"defaultInput":"SyncMorphRevised.xhtml","panel":{"__isSmartRef__":true,"id":2630},"label":{"__isSmartRef__":true,"id":2631},"cancelButton":{"__isSmartRef__":true,"id":2642},"okButton":{"__isSmartRef__":true,"id":2600},"inputText":{"__isSmartRef__":true,"id":2676},"view":{"__isSmartRef__":true,"id":2630},"__LivelyClassName__":"lively.morphic.PromptDialog","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2675":{"sourceObj":{"__isSmartRef__":true,"id":2674},"sourceAttrName":"result","targetObj":{"__isSmartRef__":true,"id":2674},"targetMethodName":"triggerCallback","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2676":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2677},"derivationIds":[null],"id":"23EF8D22-8FE1-494B-BC42-D2B8DACF8FA7","renderContextTable":{"__isSmartRef__":true,"id":2683},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2684}],"eventHandler":{"__isSmartRef__":true,"id":2686},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_Position":{"__isSmartRef__":true,"id":2687},"isInputLine":true,"draggingEnabled":false,"attributeConnections":[{"__isSmartRef__":true,"id":2688},{"__isSmartRef__":true,"id":2689}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"SyncMorphRevised_Fix.xhtml","owner":{"__isSmartRef__":true,"id":2630},"priorExtent":{"__isSmartRef__":true,"id":2691},"_MaxTextWidth":282,"_MinTextWidth":282,"_MaxTextHeight":null,"_MinTextHeight":null,"priorSelectionRange":[18,18],"previousSelection":[0,22],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2677":{"_Position":{"__isSmartRef__":true,"id":2678},"renderContextTable":{"__isSmartRef__":true,"id":2679},"_Extent":{"__isSmartRef__":true,"id":2680},"_Padding":{"__isSmartRef__":true,"id":2681},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2595},"_Fill":{"__isSmartRef__":true,"id":2682},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2678":{"x":4,"y":4,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2679":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2680":{"x":292,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2681":{"x":4,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2682":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2683":{"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"},"2684":{"style":{"__isSmartRef__":true,"id":2685},"chunkOwner":{"__isSmartRef__":true,"id":2676},"storedString":"SyncMorphRevised_Fix.xhtml","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2685":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2686":{"morph":{"__isSmartRef__":true,"id":2676},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2687":{"x":4,"y":27,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2688":{"sourceObj":{"__isSmartRef__":true,"id":2676},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2674},"targetMethodName":"result","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2689":{"sourceObj":{"__isSmartRef__":true,"id":2676},"sourceAttrName":"onEscPressed","targetObj":{"__isSmartRef__":true,"id":2674},"targetMethodName":"result","converter":null,"converterString":"function () { return null }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2690},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2690":{"source":{"__isSmartRef__":true,"id":2676},"target":{"__isSmartRef__":true,"id":2674}},"2691":{"x":292,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2692":{"sourceObj":{"__isSmartRef__":true,"id":2642},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2674},"targetMethodName":"result","converter":null,"converterString":"function () { return null }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2693},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2693":{"source":{"__isSmartRef__":true,"id":2642},"target":{"__isSmartRef__":true,"id":2674}},"2694":{"_Position":{"__isSmartRef__":true,"id":2695},"renderContextTable":{"__isSmartRef__":true,"id":2696},"_Extent":{"__isSmartRef__":true,"id":2697},"_Padding":{"__isSmartRef__":true,"id":2698},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2699},"_Fill":{"__isSmartRef__":true,"id":2700},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2695":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2696":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2697":{"x":300,"y":90,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2698":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2699":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2700":{"r":0.8235294117647058,"g":0.8235294117647058,"b":0.8235294117647058,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2701":{"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"},"2702":{"morph":{"__isSmartRef__":true,"id":2630},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2703":{"x":801.5,"y":456,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2704":{"adjustForNewBounds":true},"2705":{"sourceObj":{"__isSmartRef__":true,"id":2630},"sourceAttrName":"onEscPressed","targetObj":{"__isSmartRef__":true,"id":2674},"targetMethodName":"result","converter":null,"converterString":"function () { return null}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2706},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2706":{"source":{"__isSmartRef__":true,"id":2630},"target":{"__isSmartRef__":true,"id":2674}},"2707":{"sourceObj":{"__isSmartRef__":true,"id":2630},"sourceAttrName":"onEnterPressed","targetObj":{"__isSmartRef__":true,"id":2676},"targetMethodName":"doSave","converter":null,"converterString":"function (arg) { return arg }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2708},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2708":{"source":{"__isSmartRef__":true,"id":2630},"target":{"__isSmartRef__":true,"id":2676}},"2709":{"sourceObj":{"__isSmartRef__":true,"id":2630},"sourceAttrName":"remove","targetMethodName":"remove","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2710":{"$$onEnterPressed":{"__isSmartRef__":true,"id":2711}},"2711":{"varMapping":{"__isSmartRef__":true,"id":2712},"source":"function onEnterPressed(evt) {\n evt.stop();\n }","funcProperties":{"__isSmartRef__":true,"id":2717},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2712":{"this":{"__isSmartRef__":true,"id":2630},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2713}},"2713":{"$super":{"__isSmartRef__":true,"id":2714}},"2714":{"varMapping":{"__isSmartRef__":true,"id":2715},"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":2716},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2715":{"obj":{"__isSmartRef__":true,"id":2630},"name":"onEnterPressed"},"2716":{},"2717":{},"2718":{"sourceObj":{"__isSmartRef__":true,"id":2600},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2674},"targetMethodName":"removeTopLevel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2719":{"sourceObj":{"__isSmartRef__":true,"id":2600},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2676},"targetMethodName":"doSave","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2720":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2721":{"x":996,"y":533,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2722":{"_Position":{"__isSmartRef__":true,"id":2723},"renderContextTable":{"__isSmartRef__":true,"id":2724},"_Extent":{"__isSmartRef__":true,"id":2725},"_Fill":{"__isSmartRef__":true,"id":2726},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2727},"_Opacity":1,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2723":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2724":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2725":{"x":3000,"y":4000,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2726":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2727":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2728":{"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"},"2729":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2730":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2731":{"x":1440,"y":6000,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2732":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"2733":{"x":994,"y":531,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2734":{"submorphs":[{"__isSmartRef__":true,"id":2735}],"scripts":[],"id":"FCF485A0-E6E4-4C3E-8CE3-1020C773A696","shape":{"__isSmartRef__":true,"id":2764},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2771},"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":2772},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2869},"eventHandler":{"__isSmartRef__":true,"id":2870},"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":2871},"layout":{"__isSmartRef__":true,"id":2872},"distanceToDragEvent":{"__isSmartRef__":true,"id":2873},"prevScroll":[0,0],"moved":true,"_Rotation":0,"_Scale":1,"headRevision":146469,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2874},"__LivelyClassName__":"lively.morphic.Box"},"2735":{"submorphs":[{"__isSmartRef__":true,"id":2736}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2752},"id":"DE526AF2-53B6-48AC-8362-DDABFA7C2319","renderContextTable":{"__isSmartRef__":true,"id":2757},"eventHandler":{"__isSmartRef__":true,"id":2758},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2759},"name":"ProgressIndicator","priorExtent":{"__isSmartRef__":true,"id":2760},"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":2761},"partsBinMetaInfo":{"__isSmartRef__":true,"id":2762},"__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":2734},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":2763},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Image"},"2736":{"submorphs":[],"scripts":[],"id":"7D20952A-89D0-4A89-B6EF-4EBE2F272DCC","shape":{"__isSmartRef__":true,"id":2737},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2743},"_MaxTextWidth":257,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2740},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"loadedMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":2744},"textChunks":[{"__isSmartRef__":true,"id":2745}],"charsReplaced":"MorphName","lastFindLoc":18,"priorSelectionRange":[9,0],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2747},"renderContextTable":{"__isSmartRef__":true,"id":2748},"eventHandler":{"__isSmartRef__":true,"id":2749},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2750},"_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":2735},"_MinTextWidth":257,"_MinTextHeight":null,"previousSelection":[6,6],"_Align":"center","distanceToDragEvent":{"__isSmartRef__":true,"id":2751},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2737":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2738},"_Extent":{"__isSmartRef__":true,"id":2739},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2740},"renderContextTable":{"__isSmartRef__":true,"id":2741},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2742},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2738":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2739":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2740":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2741":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2742":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2743":{"x":-109,"y":38,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2744":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2745":{"style":{"__isSmartRef__":true,"id":2746},"chunkOwner":{"__isSmartRef__":true,"id":2736},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"loading part","__LivelyClassName__":"lively.morphic.TextChunk"},"2746":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2747":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2748":{"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"},"2749":{"morph":{"__isSmartRef__":true,"id":2736},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2750":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2751":{"x":179,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2752":{"_Position":{"__isSmartRef__":true,"id":2753},"renderContextTable":{"__isSmartRef__":true,"id":2754},"_Extent":{"__isSmartRef__":true,"id":2755},"_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":2756},"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Image"},"2753":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2754":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"2755":{"x":31,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2756":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2757":{"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"},"2758":{"morph":{"__isSmartRef__":true,"id":2735},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2759":{"x":113.5,"y":81,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2760":{"x":30,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2761":{"x":39,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2762":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2763":{"centeredHorizontal":true,"centeredVertical":true},"2764":{"position":{"__isSmartRef__":true,"id":2765},"_Extent":{"__isSmartRef__":true,"id":2766},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2767},"_Fill":{"__isSmartRef__":true,"id":2768},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2769},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2770},"_BorderRadius":8.515,"_Opacity":0.8146,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2765":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2766":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2767":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2768":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2769":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2770":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2771":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2772":{"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":2773},{"__isSmartRef__":true,"id":2775},{"__isSmartRef__":true,"id":2777},{"__isSmartRef__":true,"id":2779},{"__isSmartRef__":true,"id":2781},{"__isSmartRef__":true,"id":2783},{"__isSmartRef__":true,"id":2785},{"__isSmartRef__":true,"id":2787},{"__isSmartRef__":true,"id":2789},{"__isSmartRef__":true,"id":2791},{"__isSmartRef__":true,"id":2793},{"__isSmartRef__":true,"id":2795},{"__isSmartRef__":true,"id":2797},{"__isSmartRef__":true,"id":2799},{"__isSmartRef__":true,"id":2801},{"__isSmartRef__":true,"id":2803},{"__isSmartRef__":true,"id":2805},{"__isSmartRef__":true,"id":2807},{"__isSmartRef__":true,"id":2809},{"__isSmartRef__":true,"id":2811},{"__isSmartRef__":true,"id":2813},{"__isSmartRef__":true,"id":2815},{"__isSmartRef__":true,"id":2817},{"__isSmartRef__":true,"id":2819},{"__isSmartRef__":true,"id":2821},{"__isSmartRef__":true,"id":2823},{"__isSmartRef__":true,"id":2825},{"__isSmartRef__":true,"id":2827},{"__isSmartRef__":true,"id":2829},{"__isSmartRef__":true,"id":2831},{"__isSmartRef__":true,"id":2833},{"__isSmartRef__":true,"id":2835},{"__isSmartRef__":true,"id":2837},{"__isSmartRef__":true,"id":2839},{"__isSmartRef__":true,"id":2841},{"__isSmartRef__":true,"id":2843},{"__isSmartRef__":true,"id":2845},{"__isSmartRef__":true,"id":2847},{"__isSmartRef__":true,"id":2849},{"__isSmartRef__":true,"id":2851},{"__isSmartRef__":true,"id":2853},{"__isSmartRef__":true,"id":2855},{"__isSmartRef__":true,"id":2857},{"__isSmartRef__":true,"id":2859},{"__isSmartRef__":true,"id":2861},{"__isSmartRef__":true,"id":2863},{"__isSmartRef__":true,"id":2865},{"__isSmartRef__":true,"id":2867}],"revisionOnLoad":151069,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2773":{"date":{"__isSmartRef__":true,"id":2774},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"2774":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:02:04 GMT+0100 (Mitteleuropäische Zeit)"},"2775":{"date":{"__isSmartRef__":true,"id":2776},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"2776":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:43:10 GMT+0100 (Mitteleuropäische Zeit)"},"2777":{"date":{"__isSmartRef__":true,"id":2778},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"2778":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:36:14 GMT+0100 (Mitteleuropäische Zeit)"},"2779":{"date":{"__isSmartRef__":true,"id":2780},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"2780":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:23:04 GMT+0100 (Mitteleuropäische Zeit)"},"2781":{"date":{"__isSmartRef__":true,"id":2782},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"2782":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:45 GMT+0100 (Mitteleuropäische Zeit)"},"2783":{"date":{"__isSmartRef__":true,"id":2784},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"2784":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:10 GMT+0100 (Mitteleuropäische Zeit)"},"2785":{"date":{"__isSmartRef__":true,"id":2786},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"2786":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:56:54 GMT+0100 (Mitteleuropäische Zeit)"},"2787":{"date":{"__isSmartRef__":true,"id":2788},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"2788":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:51:05 GMT+0100 (Mitteleuropäische Zeit)"},"2789":{"date":{"__isSmartRef__":true,"id":2790},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"2790":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:47:19 GMT+0100 (Mitteleuropäische Zeit)"},"2791":{"date":{"__isSmartRef__":true,"id":2792},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"2792":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:46:25 GMT+0100 (Mitteleuropäische Zeit)"},"2793":{"date":{"__isSmartRef__":true,"id":2794},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"2794":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:45:05 GMT+0100 (Mitteleuropäische Zeit)"},"2795":{"date":{"__isSmartRef__":true,"id":2796},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"2796":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:37:15 GMT+0100 (Mitteleuropäische Zeit)"},"2797":{"date":{"__isSmartRef__":true,"id":2798},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"2798":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:35:29 GMT+0100 (Mitteleuropäische Zeit)"},"2799":{"date":{"__isSmartRef__":true,"id":2800},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"2800":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:31:52 GMT+0100 (Mitteleuropäische Zeit)"},"2801":{"date":{"__isSmartRef__":true,"id":2802},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"2802":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:14:10 GMT+0100 (Mitteleuropäische Zeit)"},"2803":{"date":{"__isSmartRef__":true,"id":2804},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"2804":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:02:56 GMT+0100 (Mitteleuropäische Zeit)"},"2805":{"date":{"__isSmartRef__":true,"id":2806},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"2806":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:01:50 GMT+0100 (Mitteleuropäische Zeit)"},"2807":{"date":{"__isSmartRef__":true,"id":2808},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"2808":{"isSerializedDate":true,"string":"Wed Feb 22 2012 10:55:44 GMT+0100 (Mitteleuropäische Zeit)"},"2809":{"date":{"__isSmartRef__":true,"id":2810},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"2810":{"isSerializedDate":true,"string":"Fri Feb 10 2012 09:45:55 GMT+0100 (Mitteleuropäische Zeit)"},"2811":{"date":{"__isSmartRef__":true,"id":2812},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"2812":{"isSerializedDate":true,"string":"Wed Feb 08 2012 11:41:50 GMT+0100 (Mitteleuropäische Zeit)"},"2813":{"date":{"__isSmartRef__":true,"id":2814},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"2814":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:13:49 GMT+0100 (Mitteleuropäische Zeit)"},"2815":{"date":{"__isSmartRef__":true,"id":2816},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"2816":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:22:07 GMT+0100 (Mitteleuropäische Zeit)"},"2817":{"date":{"__isSmartRef__":true,"id":2818},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"2818":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:55:14 GMT+0100 (Mitteleuropäische Zeit)"},"2819":{"date":{"__isSmartRef__":true,"id":2820},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"2820":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:54:35 GMT+0100 (Mitteleuropäische Zeit)"},"2821":{"date":{"__isSmartRef__":true,"id":2822},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"2822":{"isSerializedDate":true,"string":"Thu Feb 02 2012 13:26:01 GMT+0100 (Mitteleuropäische Zeit)"},"2823":{"date":{"__isSmartRef__":true,"id":2824},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"2824":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:04:01 GMT+0100 (Mitteleuropäische Zeit)"},"2825":{"date":{"__isSmartRef__":true,"id":2826},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"2826":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:28:30 GMT+0100 (Mitteleuropäische Zeit)"},"2827":{"date":{"__isSmartRef__":true,"id":2828},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"2828":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:32:58 GMT+0100 (Mitteleuropäische Zeit)"},"2829":{"date":{"__isSmartRef__":true,"id":2830},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"2830":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:41:00 GMT+0100 (Mitteleuropäische Zeit)"},"2831":{"date":{"__isSmartRef__":true,"id":2832},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"2832":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:24:30 GMT+0100 (Mitteleuropäische Zeit)"},"2833":{"date":{"__isSmartRef__":true,"id":2834},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"2834":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:26:23 GMT+0100 (Mitteleuropäische Zeit)"},"2835":{"date":{"__isSmartRef__":true,"id":2836},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"2836":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:48:04 GMT+0100 (Mitteleuropäische Zeit)"},"2837":{"date":{"__isSmartRef__":true,"id":2838},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"2838":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:53:49 GMT+0100 (Mitteleuropäische Zeit)"},"2839":{"date":{"__isSmartRef__":true,"id":2840},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"2840":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:49:48 GMT+0100 (Mitteleuropäische Zeit)"},"2841":{"date":{"__isSmartRef__":true,"id":2842},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"2842":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:58:43 GMT+0100 (Mitteleuropäische Zeit)"},"2843":{"date":{"__isSmartRef__":true,"id":2844},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"2844":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:04:28 GMT+0100 (Mitteleuropäische Zeit)"},"2845":{"date":{"__isSmartRef__":true,"id":2846},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"2846":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:10:27 GMT+0100 (Mitteleuropäische Zeit)"},"2847":{"date":{"__isSmartRef__":true,"id":2848},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"2848":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:31:50 GMT+0100 (Mitteleuropäische Zeit)"},"2849":{"date":{"__isSmartRef__":true,"id":2850},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"2850":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:38:26 GMT+0100 (Mitteleuropäische Zeit)"},"2851":{"date":{"__isSmartRef__":true,"id":2852},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"2852":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:44:11 GMT+0100 (Mitteleuropäische Zeit)"},"2853":{"date":{"__isSmartRef__":true,"id":2854},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"2854":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:48:14 GMT+0100 (Mitteleuropäische Zeit)"},"2855":{"date":{"__isSmartRef__":true,"id":2856},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"2856":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:49:47 GMT+0100 (Mitteleuropäische Zeit)"},"2857":{"date":{"__isSmartRef__":true,"id":2858},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"2858":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:59:48 GMT+0100 (Mitteleuropäische Zeit)"},"2859":{"date":{"__isSmartRef__":true,"id":2860},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"2860":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:02:33 GMT+0100 (Mitteleuropäische Zeit)"},"2861":{"date":{"__isSmartRef__":true,"id":2862},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"2862":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:03:42 GMT+0100 (Mitteleuropäische Zeit)"},"2863":{"date":{"__isSmartRef__":true,"id":2864},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"2864":{"isSerializedDate":true,"string":"Thu Feb 09 2012 20:20:11 GMT+0100 (Mitteleuropäische Zeit)"},"2865":{"date":{"__isSmartRef__":true,"id":2866},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"2866":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:37:34 GMT+0100 (Mitteleuropäische Zeit)"},"2867":{"date":{"__isSmartRef__":true,"id":2868},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"2868":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:29 GMT+0100 (Mitteleuropäische Zeit)"},"2869":{"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"},"2870":{"morph":{"__isSmartRef__":true,"id":2734},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2871":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2872":{"adjustForNewBounds":true},"2873":{"x":171,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2874":{"loadPart":{"__isSmartRef__":true,"id":2875},"loadFinished":{"__isSmartRef__":true,"id":2879},"loadPartByName":{"__isSmartRef__":true,"id":2883}},"2875":{"varMapping":{"__isSmartRef__":true,"id":2876},"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":2877},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2876":{"this":{"__isSmartRef__":true,"id":2734}},"2877":{"timestamp":{"__isSmartRef__":true,"id":2878},"user":"sstamm","tags":[]},"2878":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:18 GMT+0100 (Mitteleuropäische Zeit)"},"2879":{"varMapping":{"__isSmartRef__":true,"id":2880},"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":2881},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2880":{"this":{"__isSmartRef__":true,"id":2734}},"2881":{"timestamp":{"__isSmartRef__":true,"id":2882},"user":"sstamm","tags":[]},"2882":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:01:53 GMT+0100 (Mitteleuropäische Zeit)"},"2883":{"varMapping":{"__isSmartRef__":true,"id":2884},"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":2885},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2884":{"this":{"__isSmartRef__":true,"id":2734}},"2885":{"timestamp":{"__isSmartRef__":true,"id":2886},"user":"sstamm","tags":[]},"2886":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:03:18 GMT+0100 (Mitteleuropäische Zeit)"},"2887":{"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":2888},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2889},"__LivelyClassName__":"AttributeConnection"},"2888":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"2889":{"updater":{"__isSmartRef__":true,"id":2890}},"2890":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":2888},"source":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2891},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2891":{},"2892":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/projects/BP2012/IPadPresentationPages/SyncMorphRevised.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"isSimplifiedRegistry":true}}]]>