(eval at (lively/morphic/TextCore.js?1306967718899:1283:48))\n at Text. (lively/morphic/TextCore.js?1306967718899:1283:55)\n at Text.boundEval (lively/morphic/TextCore.js?1306967718899:1284:32)\n at Text.tryBoundEval (lively/morphic/TextCore.js?1306967718899:1287:27)\n at Text.evalSelection (lively/morphic/TextCore.js?1306967718899:1270:27)\n at Text.doPrintit (lively/morphic/TextCore.js?1306967718899:538:34)\n at Text.processCommandKeys (lively/morphic/TextCore.js?1306967718899:469:30)\n at Text.onKeyDown (lively/morphic/TextCore.js?1306967718899:364:31)\n at EventHandler.handleEvent (lively/morphic/Events.js?1306967719776:137:73)\n at HTMLDivElement.bound (lively/Base.js?1306967715253:218:22)","draggingEnabled":true,"renderContextTable":{"__isSmartRef__":true,"id":128},"eventHandler":{"__isSmartRef__":true,"id":129},"eventStartPos":null,"__LivelyClassName__":"lively.morphic.World"},"1":{"submorphs":[],"scripts":[],"id":232,"shape":{"__isSmartRef__":true,"id":2},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":8},"name":"rectangle","showsHalos":false,"_Rotation":0,"partsBinMetaInfo":{"__isSmartRef__":true,"id":9},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":0},"renderContextTable":{"__isSmartRef__":true,"id":10},"eventHandler":{"__isSmartRef__":true,"id":11},"__LivelyClassName__":"lively.morphic.Box"},"2":{"position":{"__isSmartRef__":true,"id":3},"extent":{"__isSmartRef__":true,"id":4},"borderWidth":1,"borderColor":{"__isSmartRef__":true,"id":5},"fill":{"__isSmartRef__":true,"id":6},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":7},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4":{"x":100,"y":100,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"5":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"6":{"r":0,"g":0,"b":0.8,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"7":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8":{"x":464,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"9":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"10":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"11":{"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"12":{"submorphs":[],"scripts":[],"id":232,"shape":{"__isSmartRef__":true,"id":13},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":19},"name":"rectangle","showsHalos":false,"_Rotation":0,"partsBinMetaInfo":{"__isSmartRef__":true,"id":20},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":0},"renderContextTable":{"__isSmartRef__":true,"id":21},"eventHandler":{"__isSmartRef__":true,"id":22},"__LivelyClassName__":"lively.morphic.Box"},"13":{"position":{"__isSmartRef__":true,"id":14},"extent":{"__isSmartRef__":true,"id":15},"borderWidth":1,"borderColor":{"__isSmartRef__":true,"id":16},"fill":{"__isSmartRef__":true,"id":17},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":18},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"14":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"15":{"x":100,"y":100,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"16":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"17":{"r":0,"g":0,"b":0.8,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"18":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19":{"x":876,"y":121,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"20":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"21":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"22":{"morph":{"__isSmartRef__":true,"id":12},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23":{"submorphs":[],"scripts":[],"id":257,"shape":{"__isSmartRef__":true,"id":24},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":29},"_MaxTextWidth":795,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":30},"showsHalos":false,"_FontSize":25,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"issueTitle","partsBinMetaInfo":{"__isSmartRef__":true,"id":31},"_TextColor":{"__isSmartRef__":true,"id":32},"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"charsReplaced":"No Script Editor in NewWorld [partially fixed]","lastFindLoc":-46,"textChunks":[{"__isSmartRef__":true,"id":33}],"_ClipMode":"visible","priorExtent":{"__isSmartRef__":true,"id":35},"priorSelectionRange":[28,28],"renderContextTable":{"__isSmartRef__":true,"id":36},"eventHandler":{"__isSmartRef__":true,"id":37},"__LivelyClassName__":"lively.morphic.Text"},"24":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":25},"_Extent":{"__isSmartRef__":true,"id":26},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":27},"renderContextTable":{"__isSmartRef__":true,"id":28},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"25":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"26":{"x":795,"y":38,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"27":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"28":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"29":{"x":32,"y":34,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"30":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"31":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"32":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"33":{"style":{"__isSmartRef__":true,"id":34},"chunkOwner":{"__isSmartRef__":true,"id":23},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Parts do not load there require modules on world load","__LivelyClassName__":"lively.morphic.TextChunk"},"34":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"35":{"x":795,"y":38,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"36":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"37":{"morph":{"__isSmartRef__":true,"id":23},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"38":{"submorphs":[],"scripts":[],"id":66,"shape":{"__isSmartRef__":true,"id":39},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":44},"_MaxTextWidth":584,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":42},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"issueDescription","partsBinMetaInfo":{"__isSmartRef__":true,"id":45},"owner":{"__isSmartRef__":true,"id":0},"textChunks":[{"__isSmartRef__":true,"id":46}],"_ClipMode":"visible","priorExtent":{"__isSmartRef__":true,"id":48},"priorSelectionRange":[0,0],"charsReplaced":"Create a world for your bug report","lastFindLoc":-34,"prevScroll":[0,0],"renderContextTable":{"__isSmartRef__":true,"id":49},"eventHandler":{"__isSmartRef__":true,"id":50},"__LivelyClassName__":"lively.morphic.Text"},"39":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":40},"_Extent":{"__isSmartRef__":true,"id":41},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":42},"renderContextTable":{"__isSmartRef__":true,"id":43},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"40":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"41":{"x":584,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"42":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"43":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"44":{"x":32,"y":85,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"45":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"46":{"style":{"__isSmartRef__":true,"id":47},"chunkOwner":{"__isSmartRef__":true,"id":38},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"When a part has required modules that have been added through this.partsBinMetaInfo.addRequiredModule(), these requirements are not loaded after dropping it in the world, saving and restoring it.","__LivelyClassName__":"lively.morphic.TextChunk"},"47":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"48":{"x":584,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"49":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"50":{"morph":{"__isSmartRef__":true,"id":38},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"51":{"submorphs":[{"__isSmartRef__":true,"id":52}],"scripts":[],"id":129,"shape":{"__isSmartRef__":true,"id":72},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":78},"showsHalos":false,"name":"DatabaseContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":79},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":0.9980010000000026,"attributeConnections":[],"priorExtent":{"__isSmartRef__":true,"id":80},"connections":["dbURL","dbName"],"doNotSerialize":[],"doNotCopyProperties":[],"isDBContainer":true,"attributeMap":{"__isSmartRef__":true,"id":81},"dbURL":"","dbName":"","renderContextTable":{"__isSmartRef__":true,"id":82},"eventHandler":{"__isSmartRef__":true,"id":83},"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":84},"__LivelyClassName__":"lively.morphic.Box"},"52":{"submorphs":[],"scripts":[],"id":130,"shape":{"__isSmartRef__":true,"id":53},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":58},"_MaxTextWidth":null,"_MaxTextHeight":37,"textColor":{"__isSmartRef__":true,"id":56},"showsHalos":false,"_FontSize":24,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":59},"textChunks":[{"__isSmartRef__":true,"id":60}],"charsReplaced":"some text","lastFindLoc":-9,"priorSelectionRange":[0,2],"prevScroll":[0,0],"_Scale":1.002003004005006,"owner":{"__isSmartRef__":true,"id":51},"priorExtent":{"__isSmartRef__":true,"id":62},"attributeConnections":[{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":65},{"__isSmartRef__":true,"id":67}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"isLabel":true,"_ClipMode":"hidden","_WhiteSpaceHandling":"pre","allowInput":false,"eventsAreIgnored":true,"_TextColor":{"__isSmartRef__":true,"id":69},"renderContextTable":{"__isSmartRef__":true,"id":70},"textString":"DB","eventHandler":{"__isSmartRef__":true,"id":71},"__LivelyClassName__":"lively.morphic.Text"},"53":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":54},"_Extent":{"__isSmartRef__":true,"id":55},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":56},"_BorderRadius":0,"_Fill":null,"renderContextTable":{"__isSmartRef__":true,"id":57},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"54":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"55":{"x":45,"y":37,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"56":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"57":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"58":{"x":12.026039052065244,"y":18.03605407209018,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"59":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"60":{"style":{"__isSmartRef__":true,"id":61},"chunkOwner":{"__isSmartRef__":true,"id":52},"storedString":"DB","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"61":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"62":{"x":45,"y":37,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"63":{"sourceObj":{"__isSmartRef__":true,"id":52},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":64},"targetMethodName":"update","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"64":{"update":"DB"},"65":{"sourceObj":{"__isSmartRef__":true,"id":52},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":66},"targetMethodName":"update","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"66":{"update":"DB"},"67":{"sourceObj":{"__isSmartRef__":true,"id":52},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":68},"targetMethodName":"update","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"68":{"update":"DB"},"69":{"r":0.7,"g":0.7,"b":0.7,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"70":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"71":{"morph":{"__isSmartRef__":true,"id":52},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"72":{"position":{"__isSmartRef__":true,"id":73},"_Extent":{"__isSmartRef__":true,"id":74},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":75},"_Fill":{"__isSmartRef__":true,"id":76},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":10,"renderContextTable":{"__isSmartRef__":true,"id":77},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"73":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"74":{"x":70,"y":70,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"75":{"r":0.572,"g":0.572,"b":0.572,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"76":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"77":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"78":{"x":139,"y":272,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"79":{"partsSpaceName":"PartsBin/Database/","__SourceModuleName__":"Global.lively.PartsBin","comment":"DB container. Can save attributes from objects in the world to a database.","migrationLevel":2,"requiredModules":["apps.CouchDB"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"80":{"x":60,"y":60,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"81":{},"82":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"83":{"morph":{"__isSmartRef__":true,"id":51},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"84":{"saveObject":{"__isSmartRef__":true,"id":85},"onstore":{"__isSmartRef__":true,"id":88}},"85":{"varMapping":{"__isSmartRef__":true,"id":86},"source":"function saveObject() {\n\talertOK('Saving form inputs to DB...');\n\n\tvar db = new CouchDB(this.dbName);\n\tvar formObj = {};\n\n\tvar attrs = Properties.own(this.attributeMap);\n\tattrs.each(function(attr) {\n\t\tvar data = this.attributeMap[attr];\n\t\tvar srcObj = data[0];\n\t\tvar srcAttr = data[1];\n\t\tif (srcObj && (srcObj.owner) && (srcObj[srcAttr] != undefined))\n\t\t\tformObj[attr] = srcObj[srcAttr];\n\t}, this);\n\n\tres = db.save(formObj);\n\n\tif (res.error)\n\t\talert('Problem saving: ' + res.reason + ' (' + res.error + ')!');\n\telse\n\t\talertOK('Saving was successful!');\n}","funcProperties":{"__isSmartRef__":true,"id":87},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"86":{"this":{"__isSmartRef__":true,"id":51}},"87":{},"88":{"varMapping":{"__isSmartRef__":true,"id":89},"source":"function onstore() {\n\tvar attrs = Properties.own(this.attributeMap);\n\tattrs.each(function(attr) {\n\t\tvar data = this.attributeMap[attr];\n\t\tvar srcObj = data[0];\n\t\tif (!srcObj || !(srcObj.owner))\n\t\t\tdelete this.attributeMap[attr];\n\t}, this);\n\n\treturn $super();\n}","funcProperties":{"__isSmartRef__":true,"id":94},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"89":{"this":{"__isSmartRef__":true,"id":51},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":90}},"90":{"$super":{"__isSmartRef__":true,"id":91}},"91":{"varMapping":{"__isSmartRef__":true,"id":92},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":93},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"92":{"obj":{"__isSmartRef__":true,"id":51},"name":"onstore"},"93":{},"94":{},"95":{"submorphs":[],"scripts":[],"id":254,"shape":{"__isSmartRef__":true,"id":96},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":101},"_MaxTextWidth":790,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":99},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"Text2","partsBinMetaInfo":{"__isSmartRef__":true,"id":102},"textChunks":[{"__isSmartRef__":true,"id":103},{"__isSmartRef__":true,"id":105},{"__isSmartRef__":true,"id":107}],"charsReplaced":"","lastFindLoc":281,"priorSelectionRange":[250,250],"prevScroll":[0,0],"_Scale":1,"priorExtent":{"__isSmartRef__":true,"id":109},"renderContextTable":{"__isSmartRef__":true,"id":110},"eventHandler":{"__isSmartRef__":true,"id":111},"owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.Text"},"96":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":97},"_Extent":{"__isSmartRef__":true,"id":98},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":99},"renderContextTable":{"__isSmartRef__":true,"id":100},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"97":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"98":{"x":790,"y":154,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"99":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"100":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"101":{"x":252,"y":217,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"102":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"103":{"style":{"__isSmartRef__":true,"id":104},"morph":{"__isSmartRef__":true,"id":95},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":95},"storedString":"The database container has an required module (apps.CouchDB).\n\n$morph('","__LivelyClassName__":"lively.morphic.TextChunk"},"104":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"105":{"style":{"__isSmartRef__":true,"id":106},"chunkOwner":{"__isSmartRef__":true,"id":95},"storedString":"DatabaseContainer').partsBinMetaInfo.requiredModules // => apps.CouchDB\n\nWhen the world it was dropped into is loaded again, this requirement is not taken care off:\n\nnew CouchDB() // => undefined but should be ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"106":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"107":{"style":{"__isSmartRef__":true,"id":108},"chunkOwner":{"__isSmartRef__":true,"id":95},"storedString":"[object Object]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"108":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"109":{"x":790,"y":154,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"110":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"111":{"morph":{"__isSmartRef__":true,"id":95},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"112":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":113},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"_Position":{"__isSmartRef__":true,"id":118},"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"_Rotation":0,"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":119},"eventHandler":{"__isSmartRef__":true,"id":120},"__LivelyClassName__":"lively.morphic.HandMorph"},"113":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":114},"_Extent":{"__isSmartRef__":true,"id":115},"_Fill":{"__isSmartRef__":true,"id":116},"renderContextTable":{"__isSmartRef__":true,"id":117},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"114":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"115":{"x":2,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"116":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"117":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"118":{"x":580,"y":460,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"119":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"120":{"morph":{"__isSmartRef__":true,"id":112},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"121":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":122},"_Extent":{"__isSmartRef__":true,"id":123},"_Fill":{"__isSmartRef__":true,"id":124},"renderContextTable":{"__isSmartRef__":true,"id":125},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"122":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"123":{"x":2800,"y":2900,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"124":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"125":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"126":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"127":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"128":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"129":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"isSimplifiedRegistry":true}}]]>