0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":644},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"639":{"this":{"__isSmartRef__":true,"id":279},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":640}},"640":{"$super":{"__isSmartRef__":true,"id":641}},"641":{"varMapping":{"__isSmartRef__":true,"id":642},"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":643},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"642":{"obj":{"__isSmartRef__":true,"id":279},"name":"onTouchEnd"},"643":{},"644":{"timestamp":{"__isSmartRef__":true,"id":645},"user":"sstamm","tags":[]},"645":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (CET)"},"646":{"varMapping":{"__isSmartRef__":true,"id":647},"source":"function stayInBounds() {\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n// this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":648},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"647":{"this":{"__isSmartRef__":true,"id":279}},"648":{"timestamp":{"__isSmartRef__":true,"id":649},"user":"sstamm","tags":[]},"649":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (CET)"},"650":{"varMapping":{"__isSmartRef__":true,"id":651},"source":"function isInBounds() {\n var heightMenu = this.owner.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":652},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"651":{"this":{"__isSmartRef__":true,"id":279}},"652":{"timestamp":{"__isSmartRef__":true,"id":653},"user":"sstamm","tags":[]},"653":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (CET)"},"654":{"position":{"__isSmartRef__":true,"id":655},"_Extent":{"__isSmartRef__":true,"id":656},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":657},"_Fill":{"__isSmartRef__":true,"id":658},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":659},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":660},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"655":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"656":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"657":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"658":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"659":{},"660":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"661":{"x":7,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"662":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":663},{"__isSmartRef__":true,"id":665},{"__isSmartRef__":true,"id":667},{"__isSmartRef__":true,"id":669}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"663":{"date":{"__isSmartRef__":true,"id":664},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"664":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (CET)"},"665":{"date":{"__isSmartRef__":true,"id":666},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"666":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (CET)"},"667":{"date":{"__isSmartRef__":true,"id":668},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"668":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (CET)"},"669":{"date":{"__isSmartRef__":true,"id":670},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"670":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (CET)"},"671":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"672":{"morph":{"__isSmartRef__":true,"id":278},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"673":{"sourceObj":{"__isSmartRef__":true,"id":278},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":278},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"674":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"675":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"676":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"677":{"onrestore":{"__isSmartRef__":true,"id":678},"initialize":{"__isSmartRef__":true,"id":686},"addItem":{"__isSmartRef__":true,"id":694},"createListItem":{"__isSmartRef__":true,"id":698},"touchstartCallback":{"__isSmartRef__":true,"id":316},"touchmoveCallback":{"__isSmartRef__":true,"id":320},"touchendCallback":{"__isSmartRef__":true,"id":324},"updateSelection":{"__isSmartRef__":true,"id":702},"handleClick":{"__isSmartRef__":true,"id":706},"initializeListEntries":{"__isSmartRef__":true,"id":710}},"678":{"varMapping":{"__isSmartRef__":true,"id":679},"source":"function onrestore() {\n var that = this;\n\n //TODO: this is a race condition, because the render context is not\n // ready in onrestore\n window.setTimeout(function() { \n that.shape.setClipMode(\"hidden\"); }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":684},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"679":{"this":{"__isSmartRef__":true,"id":278},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":680}},"680":{"$super":{"__isSmartRef__":true,"id":681}},"681":{"varMapping":{"__isSmartRef__":true,"id":682},"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":683},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"682":{"obj":{"__isSmartRef__":true,"id":278},"name":"onrestore"},"683":{},"684":{"timestamp":{"__isSmartRef__":true,"id":685},"user":"sstamm","tags":[]},"685":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (CET)"},"686":{"varMapping":{"__isSmartRef__":true,"id":687},"source":"function initialize() {\n console.log(\"in initialize\");\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n var itemContainer = this.get(\"ListItemContainer\");\n \n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n \n}","funcProperties":{"__isSmartRef__":true,"id":692},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"687":{"this":{"__isSmartRef__":true,"id":278},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":688}},"688":{"$super":{"__isSmartRef__":true,"id":689}},"689":{"varMapping":{"__isSmartRef__":true,"id":690},"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":691},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"690":{"obj":{"__isSmartRef__":true,"id":278},"name":"initialize"},"691":{},"692":{"timestamp":{"__isSmartRef__":true,"id":693},"user":"sstamm","tags":[]},"693":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (CET)"},"694":{"varMapping":{"__isSmartRef__":true,"id":695},"source":"function addItem(text) {\n var newMorph = this.createListItem(text);\n \n newMorph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(newMorph);\n this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":696},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"695":{"this":{"__isSmartRef__":true,"id":278}},"696":{"timestamp":{"__isSmartRef__":true,"id":697},"user":"sstamm","tags":[]},"697":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (CET)"},"698":{"varMapping":{"__isSmartRef__":true,"id":699},"source":"function createListItem(textString) {\n var part = lively.PartsBin.getPart(\"Rectangle\", \"PartsBin/Basic\");\n\n part.index = this.itemList.length;\n\n part.setExtent(pt(this.getExtent().x,44));\n part.applyStyle({resizeWidth: true});\n part.setFill(new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ));\n part.setBorderColor(Color.rgb(138,138,138));\n \n\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n part.registerForEvent(\"touchstart\", part, \"onTouchStart\", false);\n part.registerForEvent(\"touchmove\", part, \"onTouchMove\", false);\n part.registerForEvent(\"touchend\", part, \"onTouchEnd\", false);\n\n var text = lively.PartsBin.getPart(\"Text\", \"PartsBin/Basic\");\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":700},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"699":{"this":{"__isSmartRef__":true,"id":278}},"700":{"timestamp":{"__isSmartRef__":true,"id":701},"user":"sstamm","tags":[]},"701":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (CET)"},"702":{"varMapping":{"__isSmartRef__":true,"id":703},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.submorphs[0].textString;\n } else {\n this.selection = \"\";\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":704},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"703":{"this":{"__isSmartRef__":true,"id":278}},"704":{"timestamp":{"__isSmartRef__":true,"id":705},"user":"sstamm","tags":[]},"705":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (CET)"},"706":{"varMapping":{"__isSmartRef__":true,"id":707},"source":"function handleClick() {\n switch(this.selection){\n case \"PartsBin\":\n $world.openPartsBin();\n $world.hideMockMenu();\n break;\n case \"Parts\":\n this.owner.showList(this.selection);\n break;\n case \"Ellipse\":\n case \"Image\":\n case \"Line\":\n case \"Rectangle\":\n case \"Text\":\n $world.openPartItem(this.selection, \"PartsBin/Basic\");\n $world.hideMockMenu();\n break;\n case \"Button\":\n case \"List\":\n case \"ScriptableButton\":\n case \"Slider\":\n $world.openPartItem(this.selection, \"PartsBin/Inputs\");\n $world.hideMockMenu();\n break;\n case \"Tools\":\n this.owner.showList(this.selection);\n break;\n case \"Workspace\":\n $world.openWorkspace();\n $world.hideMockMenu();\n break;\n case \"System Code Browser\":\n $world.openSystemBrowser();\n $world.hideMockMenu();\n break;\n case \"Object Editor\":\n $world.openObjectEditor();\n $world.hideMockMenu();\n break;\n case \"Method Finder\":\n $world.openMethodFinder();\n $world.hideMockMenu();\n break;\n case \"Text Editor\":\n new lively.morphic.TextEditor().openIn(world)\n $world.hideMockMenu();\n break;\n case \"Preferences\":\n this.owner.showList(this.selection);\n break;\n case \"set username\":\n $world.askForUserName();\n $world.hideMockMenu();\n break;\n case \"set extent\":\n $world.askForNewWorldExtent();\n $world.hideMockMenu();\n break;\n case \"disable part caching\":\n $world.hideMockMenu();\n break;\n case \"Debugging\":\n this.owner.showList(this.selection);\n break;\n case \"reset world scale\":\n $world.resetScale();\n $world.hideMockMenu();\n break;\n case \"reset title bars\":\n $world.resetAllTitleBars();\n $world.hideMockMenu();\n break;\n case \"reset button labels\":\n $world.resetAllButtonLabels();\n $world.hideMockMenu();\n break;\n case \"World serialization info\":\n require('lively.persistence.Debugging').toRun(\n function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n }\n );\n $world.hideMockMenu();\n break;\n case \"clear part cache\":\n $world.hideMockMenu();\n break;\n case \"show connectors\":\n $world.hideMockMenu();\n break;\n case \"Wiki\":\n this.owner.showList(this.selection);\n break;\n case \"about this wiki\":\n $world.openAboutBox();\n $world.hideMockMenu();\n break;\n case \"view versions of this world\":\n $world.openVersionViewer();\n $world.hideMockMenu();\n break;\n case \"download world\":\n require('lively.persistence.StandAlonePackaging').toRun(\n function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"upload world to Dropbox\":\n require('apps.Dropbox').toRun(\n function() {\n DropboxAPI.uploadArchivedWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"delete world\":\n $world.interactiveDeleteWorldOnServer();\n $world.hideMockMenu();\n break;\n case \"Documentation\":\n this.owner.showList(this.selection);\n break;\n case \"on short cuts\":\n $world.openShortcutDocumentation();\n $world.hideMockMenu();\n break;\n case \"on connect data bindings\":\n $world.openConnectDocumentation();\n $world.hideMockMenu();\n break;\n case \"on Lively's PartsBin\":\n $world.openPartsBinDocumentation();\n $world.hideMockMenu();\n break;\n case \"more...\":\n window.open(Config.rootPath + 'documentation/');\n $world.hideMockMenu();\n break;\n case \"save world as ...\":\n $world.interactiveSaveWorldAs();\n $world.hideMockMenu();\n break;\n case \"save world\":\n $world.saveWorld();\n $world.hideMockMenu();\n break;\n default:\n //Do nothing\n }\n}","funcProperties":{"__isSmartRef__":true,"id":708},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"707":{"this":{"__isSmartRef__":true,"id":278}},"708":{"timestamp":{"__isSmartRef__":true,"id":709},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"709":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:26:04 GMT+0100 (CET)"},"710":{"varMapping":{"__isSmartRef__":true,"id":711},"source":"function initializeListEntries() {\n this.initialize();\n list = [\"Ellipse\",\"Image\",\"Line\",\"Rectangle\",\"Text\",\n \"Button\",\"List\",\"ScriptableButton\",\"Slider\"];\n for (var i = 0; i < list.length; i++) {\n this.addItem(list[i]);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":712},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"711":{"this":{"__isSmartRef__":true,"id":278}},"712":{"timestamp":{"__isSmartRef__":true,"id":713},"user":"conradcalmez","tags":[]},"713":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:56:41 GMT+0100 (CET)"},"714":{"onTouchStart":{"__isSmartRef__":true,"id":715},"onTouchMove":{"__isSmartRef__":true,"id":723},"onTouchEnd":{"__isSmartRef__":true,"id":731},"stayInBounds":{"__isSmartRef__":true,"id":739},"isInBounds":{"__isSmartRef__":true,"id":743},"removeAllMenuItems":{"__isSmartRef__":true,"id":747},"addItemMorph":{"__isSmartRef__":true,"id":751}},"715":{"varMapping":{"__isSmartRef__":true,"id":716},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":721},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"716":{"this":{"__isSmartRef__":true,"id":263},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":717}},"717":{"$super":{"__isSmartRef__":true,"id":718}},"718":{"varMapping":{"__isSmartRef__":true,"id":719},"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":720},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"719":{"obj":{"__isSmartRef__":true,"id":263},"name":"onTouchStart"},"720":{},"721":{"timestamp":{"__isSmartRef__":true,"id":722},"user":"sstamm","tags":[]},"722":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"723":{"varMapping":{"__isSmartRef__":true,"id":724},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n var x = this.getPosition().x;\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(x,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n timeDelta = Math.max(1, timeDelta);\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n \n this.velocity = positionDelta*(-10/timeDelta);\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":729},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"724":{"this":{"__isSmartRef__":true,"id":263},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":725}},"725":{"$super":{"__isSmartRef__":true,"id":726}},"726":{"varMapping":{"__isSmartRef__":true,"id":727},"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":728},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"727":{"obj":{"__isSmartRef__":true,"id":263},"name":"onTouchMove"},"728":{},"729":{"timestamp":{"__isSmartRef__":true,"id":730},"user":"sstamm","tags":[]},"730":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:45:19 GMT+0100 (CET)"},"731":{"varMapping":{"__isSmartRef__":true,"id":732},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":737},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"732":{"this":{"__isSmartRef__":true,"id":263},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":733}},"733":{"$super":{"__isSmartRef__":true,"id":734}},"734":{"varMapping":{"__isSmartRef__":true,"id":735},"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":736},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"735":{"obj":{"__isSmartRef__":true,"id":263},"name":"onTouchEnd"},"736":{},"737":{"timestamp":{"__isSmartRef__":true,"id":738},"user":"sstamm","tags":[]},"738":{"isSerializedDate":true,"string":"Wed Apr 18 2012 17:02:24 GMT+0200 (CEST)"},"739":{"varMapping":{"__isSmartRef__":true,"id":740},"source":"function stayInBounds() {\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta !== 0) {\n this.velocity = -delta/15;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":741},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"740":{"this":{"__isSmartRef__":true,"id":263}},"741":{"timestamp":{"__isSmartRef__":true,"id":742},"user":"sstamm","tags":[]},"742":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:30:56 GMT+0100 (CET)"},"743":{"varMapping":{"__isSmartRef__":true,"id":744},"source":"function isInBounds() {\n var heightMenu = this.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":745},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"744":{"this":{"__isSmartRef__":true,"id":263}},"745":{"timestamp":{"__isSmartRef__":true,"id":746},"user":"sstamm","tags":[]},"746":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:00:09 GMT+0100 (CET)"},"747":{"varMapping":{"__isSmartRef__":true,"id":748},"source":"function removeAllMenuItems() {\n this.itemList = [];\n this.setPosition(pt(0,0));\n this.submorphs.invoke(\"remove\");\n}","funcProperties":{"__isSmartRef__":true,"id":749},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"748":{"this":{"__isSmartRef__":true,"id":263}},"749":{"timestamp":{"__isSmartRef__":true,"id":750},"user":"sstamm","tags":[]},"750":{"isSerializedDate":true,"string":"Fri Mar 02 2012 11:53:17 GMT+0100 (CET)"},"751":{"varMapping":{"__isSmartRef__":true,"id":752},"source":"function addItemMorph(morph) {\n morph.disableDropping();\n this.itemList = this.itemList || [];\n morph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(morph);\n this.addMorph(morph);\n}","funcProperties":{"__isSmartRef__":true,"id":753},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"752":{"this":{"__isSmartRef__":true,"id":263}},"753":{"timestamp":{"__isSmartRef__":true,"id":754},"user":"sstamm","tags":[]},"754":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:41:29 GMT+0100 (CET)"},"755":{"position":{"__isSmartRef__":true,"id":756},"_Extent":{"__isSmartRef__":true,"id":757},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":758},"_Fill":{"__isSmartRef__":true,"id":759},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":760},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":761},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"756":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"757":{"x":100,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"758":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"759":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"760":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"761":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"762":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"763":{"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":764}],"revisionOnLoad":140998,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"764":{"date":{"__isSmartRef__":true,"id":765},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"765":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"766":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"767":{"morph":{"__isSmartRef__":true,"id":262},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"768":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":769}},"769":{"test01IsMorph":{"__isSmartRef__":true,"id":770}},"770":{"varMapping":{"__isSmartRef__":true,"id":771},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":772},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"771":{"this":{"__isSmartRef__":true,"id":768}},"772":{},"773":{"adjustForNewBounds":true,"resizeWidth":false,"resizeHeight":true},"774":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"775":{"position":{"__isSmartRef__":true,"id":776},"_Extent":{"__isSmartRef__":true,"id":777},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":{"__isSmartRef__":true,"id":779},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":780},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":781},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"776":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"777":{"x":348,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"778":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"779":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"780":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"781":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"782":{"x":-174.5,"y":84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"783":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":784},{"__isSmartRef__":true,"id":786},{"__isSmartRef__":true,"id":788},{"__isSmartRef__":true,"id":790}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"784":{"date":{"__isSmartRef__":true,"id":785},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"785":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (CET)"},"786":{"date":{"__isSmartRef__":true,"id":787},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"787":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (CET)"},"788":{"date":{"__isSmartRef__":true,"id":789},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"789":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (CET)"},"790":{"date":{"__isSmartRef__":true,"id":791},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"791":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (CET)"},"792":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"793":{"morph":{"__isSmartRef__":true,"id":261},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"794":{"sourceObj":{"__isSmartRef__":true,"id":261},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":261},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"795":{"sourceObj":{"__isSmartRef__":true,"id":261},"sourceAttrName":"title","targetObj":{"__isSmartRef__":true,"id":121},"targetMethodName":"textString","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"796":{"x":348,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"797":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"798":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"799":{"submorphs":[],"scripts":[],"id":"76730E8E-DDDB-400F-A48D-FA146A3CD680","shape":{"__isSmartRef__":true,"id":800},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":807},"showsHalos":false,"name":"ListItemContainer1","partsBinMetaInfo":{"__isSmartRef__":true,"id":808},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":809},"eventHandler":{"__isSmartRef__":true,"id":810},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","7AF9C5F0-EE68-416F-A10D-DD34087715DD","FAD6A6E3-B30D-441E-8E2E-91307AB82819","E8E4AF91-BE65-4070-B253-D631CE0F462C","DD3A6529-0925-4E61-ACD5-6046F08790EF","ABC193E1-1AA2-47B1-A05A-46C0CDB40424","B97A4F9F-8478-437F-A460-0AC7D90A8113","8E912F61-7CE7-4AFA-A5A1-4C092E432DBD","87E25E51-49D4-494F-BF2C-9FA542B14D4A","A2A05923-6ADE-4D34-B83E-E84CC6F0CB13","0A1AC4F5-352B-4574-B31A-9AE34DFC2A60","B55A2795-3FD1-454E-9327-EB0FF7727CEE","6E5B9FD2-3323-4DB2-B699-E9CE0754F260","4B5D7FBB-0C95-46F4-B439-C4267B3C0F30","25718CE0-AD32-46AE-8928-FE788FE6ADFC","6AF65CB7-DD3F-4FC0-98C7-30A789006946","BF6435A6-9E9E-4313-8565-B0C525800A72"],"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":811},"layout":{"__isSmartRef__":true,"id":812},"lists":{"__isSmartRef__":true,"id":813},"prevScroll":[0,0],"itemList":[],"_Rotation":0,"_Scale":0.998001,"owner":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1250},"__LivelyClassName__":"lively.morphic.Box"},"800":{"position":{"__isSmartRef__":true,"id":801},"_Extent":{"__isSmartRef__":true,"id":802},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":803},"_Fill":{"__isSmartRef__":true,"id":804},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":805},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":806},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"801":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"802":{"x":348,"y":41.903855807759854,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"803":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"804":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"805":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"806":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"807":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"808":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"809":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"810":{"morph":{"__isSmartRef__":true,"id":799},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"811":{"x":348,"y":41.903855807759854,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"812":{"resizeWidth":true,"adjustForNewBounds":true},"813":{"Parts":{"__isSmartRef__":true,"id":814}},"814":{"submorphs":[{"__isSmartRef__":true,"id":815}],"scripts":[],"id":"E20298AE-1569-4E74-AD48-FE1CB408E472","shape":{"__isSmartRef__":true,"id":1190},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1197},"showsHalos":false,"name":"TouchList1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1198},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1207},"eventHandler":{"__isSmartRef__":true,"id":1208},"attributeConnections":[{"__isSmartRef__":true,"id":1209}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","34806B09-40D4-4BE7-B17E-FFFFDB7B0928","A96DDB06-4250-4386-905D-8B702E91A05F","2D6F8200-15D9-4A2E-8809-3012C71831B8"],"priorExtent":{"__isSmartRef__":true,"id":1210},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":1211},"itemList":[{"__isSmartRef__":true,"id":816},{"__isSmartRef__":true,"id":864},{"__isSmartRef__":true,"id":899},{"__isSmartRef__":true,"id":934},{"__isSmartRef__":true,"id":969},{"__isSmartRef__":true,"id":1004},{"__isSmartRef__":true,"id":1039},{"__isSmartRef__":true,"id":1074},{"__isSmartRef__":true,"id":1109}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":1212},"owner":null,"_Visible":false,"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1213},"__LivelyClassName__":"lively.morphic.Box"},"815":{"submorphs":[{"__isSmartRef__":true,"id":816},{"__isSmartRef__":true,"id":864},{"__isSmartRef__":true,"id":899},{"__isSmartRef__":true,"id":934},{"__isSmartRef__":true,"id":969},{"__isSmartRef__":true,"id":1004},{"__isSmartRef__":true,"id":1039},{"__isSmartRef__":true,"id":1074},{"__isSmartRef__":true,"id":1109}],"scripts":[],"id":"5BD60918-1B33-4387-8B96-0AA376B1FC62","shape":{"__isSmartRef__":true,"id":1144},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1151},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":1152},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1153},"eventHandler":{"__isSmartRef__":true,"id":1154},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","1DB8DDC7-39AB-4B77-BB60-17766F9CFBD1","1EF09C78-2811-4346-B693-8B6E1D79A6EB"],"owner":{"__isSmartRef__":true,"id":814},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":1155},"layout":{"__isSmartRef__":true,"id":1156},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1157},"__LivelyClassName__":"lively.morphic.Box"},"816":{"submorphs":[{"__isSmartRef__":true,"id":817}],"scripts":[],"id":"5FE9FAE5-FB3C-49DA-BB28-F65B377FEB19","shape":{"__isSmartRef__":true,"id":833},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":845},"showsHalos":false,"name":"Rectangle14","partsBinMetaInfo":{"__isSmartRef__":true,"id":846},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":847},"eventHandler":{"__isSmartRef__":true,"id":848},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"3685AFE1-33BB-436C-8346-79C62B534359","607E0175-FDFB-4582-AC22-3CD982C54720"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":849},"layout":{"__isSmartRef__":true,"id":850},"owner":{"__isSmartRef__":true,"id":815},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":851},"__LivelyClassName__":"lively.morphic.Box"},"817":{"submorphs":[],"scripts":[],"id":"0F8FAFCF-7952-4FCE-ACC6-8C7BED2851BF","shape":{"__isSmartRef__":true,"id":818},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":824},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":821},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text16","partsBinMetaInfo":{"__isSmartRef__":true,"id":825},"textChunks":[{"__isSmartRef__":true,"id":826}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":828},"renderContextTable":{"__isSmartRef__":true,"id":829},"eventHandler":{"__isSmartRef__":true,"id":830},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":831},"_ClipMode":"visible","derivationIds":[355,"EC03880B-F51C-4053-97E4-D79A89A6D208","8AC5ABA3-243B-428A-B730-BD07AEC42A6C"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":832},"owner":{"__isSmartRef__":true,"id":816},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"818":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":819},"_Extent":{"__isSmartRef__":true,"id":820},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":821},"renderContextTable":{"__isSmartRef__":true,"id":822},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":823},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"819":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"820":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"821":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"822":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"823":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"824":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"825":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"826":{"style":{"__isSmartRef__":true,"id":827},"chunkOwner":{"__isSmartRef__":true,"id":817},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"827":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"828":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"829":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"830":{"morph":{"__isSmartRef__":true,"id":817},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"831":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"832":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"833":{"position":{"__isSmartRef__":true,"id":834},"_Extent":{"__isSmartRef__":true,"id":835},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":836},"_Fill":{"__isSmartRef__":true,"id":837},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":843},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":844},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"834":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"835":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"836":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"837":{"stops":[{"__isSmartRef__":true,"id":838},{"__isSmartRef__":true,"id":840}],"vector":{"__isSmartRef__":true,"id":842},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"838":{"offset":0,"color":{"__isSmartRef__":true,"id":839}},"839":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"840":{"offset":1,"color":{"__isSmartRef__":true,"id":841}},"841":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"842":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"843":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"844":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"845":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"846":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"847":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"848":{"morph":{"__isSmartRef__":true,"id":816},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"849":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"850":{"resizeWidth":true},"851":{"onTouchStart":{"__isSmartRef__":true,"id":852},"onTouchMove":{"__isSmartRef__":true,"id":856},"onTouchEnd":{"__isSmartRef__":true,"id":860}},"852":{"varMapping":{"__isSmartRef__":true,"id":853},"source":"function touchstartCallback(evt) {\n var touch = evt.touches[0];\n\n this.clickPosition = pt(touch.clientX,touch.clientY);\n this.lastClickPos = this.clickPosition;\n\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":854},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"853":{"this":{"__isSmartRef__":true,"id":814}},"854":{"timestamp":{"__isSmartRef__":true,"id":855},"user":"sstamm","tags":[]},"855":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (CET)"},"856":{"varMapping":{"__isSmartRef__":true,"id":857},"source":"function touchmoveCallback(evt) {\n var touch = evt.touches[0];\n \n this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n return false;\n \n}","funcProperties":{"__isSmartRef__":true,"id":858},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"857":{"this":{"__isSmartRef__":true,"id":814}},"858":{"timestamp":{"__isSmartRef__":true,"id":859},"user":"sstamm","tags":[]},"859":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (CET)"},"860":{"varMapping":{"__isSmartRef__":true,"id":861},"source":"function touchendCallback(evt) {\n var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n if(delta<25) {\n //TODO: find a better way to find the related listMorph\n var listMorph = this.owner.owner;\n \n if(listMorph && listMorph.updateSelection) {\n listMorph.updateSelection(this);\n }\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":862},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"861":{"this":{"__isSmartRef__":true,"id":814}},"862":{"timestamp":{"__isSmartRef__":true,"id":863},"user":"sstamm","tags":[]},"863":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (CET)"},"864":{"submorphs":[{"__isSmartRef__":true,"id":865}],"scripts":[],"id":"CB015488-847F-4196-9BE1-E280870F454B","shape":{"__isSmartRef__":true,"id":881},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":892},"showsHalos":false,"name":"Rectangle15","partsBinMetaInfo":{"__isSmartRef__":true,"id":893},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":894},"eventHandler":{"__isSmartRef__":true,"id":895},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"C66C3F61-C421-4796-92E9-C74B723D902D","F84212CF-37F3-47B4-A68E-0A68C71BDB5C"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":896},"layout":{"__isSmartRef__":true,"id":897},"owner":{"__isSmartRef__":true,"id":815},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":898},"__LivelyClassName__":"lively.morphic.Box"},"865":{"submorphs":[],"scripts":[],"id":"07BD3541-B089-4FDF-AFF3-DD05491D208C","shape":{"__isSmartRef__":true,"id":866},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":872},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":869},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text17","partsBinMetaInfo":{"__isSmartRef__":true,"id":873},"textChunks":[{"__isSmartRef__":true,"id":874}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":876},"renderContextTable":{"__isSmartRef__":true,"id":877},"eventHandler":{"__isSmartRef__":true,"id":878},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":879},"_ClipMode":"visible","derivationIds":[355,"A94B4C37-835A-4F9F-9594-A4469849AE32","EEC5C72F-D611-400E-9279-F996AB5C5D41"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":880},"owner":{"__isSmartRef__":true,"id":864},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"866":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":867},"_Extent":{"__isSmartRef__":true,"id":868},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":869},"renderContextTable":{"__isSmartRef__":true,"id":870},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":871},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"867":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"868":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"869":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"870":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"871":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"872":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"873":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"874":{"style":{"__isSmartRef__":true,"id":875},"chunkOwner":{"__isSmartRef__":true,"id":865},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"875":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"876":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"877":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"878":{"morph":{"__isSmartRef__":true,"id":865},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"879":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"880":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"881":{"position":{"__isSmartRef__":true,"id":882},"_Extent":{"__isSmartRef__":true,"id":883},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":884},"_Fill":{"__isSmartRef__":true,"id":885},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":890},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":891},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"882":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"883":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"884":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"885":{"stops":[{"__isSmartRef__":true,"id":886},{"__isSmartRef__":true,"id":888}],"vector":{"__isSmartRef__":true,"id":842},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"886":{"offset":0,"color":{"__isSmartRef__":true,"id":887}},"887":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"888":{"offset":1,"color":{"__isSmartRef__":true,"id":889}},"889":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"890":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"891":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"892":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"893":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"894":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"895":{"morph":{"__isSmartRef__":true,"id":864},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"896":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"897":{"resizeWidth":true},"898":{"onTouchStart":{"__isSmartRef__":true,"id":852},"onTouchMove":{"__isSmartRef__":true,"id":856},"onTouchEnd":{"__isSmartRef__":true,"id":860}},"899":{"submorphs":[{"__isSmartRef__":true,"id":900}],"scripts":[],"id":"E5B57597-1832-4144-8C80-CB87E8A22845","shape":{"__isSmartRef__":true,"id":916},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":927},"showsHalos":false,"name":"Rectangle16","partsBinMetaInfo":{"__isSmartRef__":true,"id":928},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":929},"eventHandler":{"__isSmartRef__":true,"id":930},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"7A12DA17-ED87-4021-A663-F310BE5DF0EB","9AB3A5B3-5924-4A09-9B31-22623502DB9B"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":931},"layout":{"__isSmartRef__":true,"id":932},"owner":{"__isSmartRef__":true,"id":815},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":933},"__LivelyClassName__":"lively.morphic.Box"},"900":{"submorphs":[],"scripts":[],"id":"0FFBB803-65DB-43F4-9887-6DC2EE1628AF","shape":{"__isSmartRef__":true,"id":901},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":907},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":904},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text18","partsBinMetaInfo":{"__isSmartRef__":true,"id":908},"textChunks":[{"__isSmartRef__":true,"id":909}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":911},"renderContextTable":{"__isSmartRef__":true,"id":912},"eventHandler":{"__isSmartRef__":true,"id":913},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":914},"_ClipMode":"visible","derivationIds":[355,"D1406DCD-1B6B-4823-AA26-EF7C62BA46B4","851AD306-E5F9-4FF1-8E9F-F3B6CF012A6E"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":915},"owner":{"__isSmartRef__":true,"id":899},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"901":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":902},"_Extent":{"__isSmartRef__":true,"id":903},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":904},"renderContextTable":{"__isSmartRef__":true,"id":905},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":906},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"902":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"903":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"904":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"905":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"906":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"907":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"908":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"909":{"style":{"__isSmartRef__":true,"id":910},"chunkOwner":{"__isSmartRef__":true,"id":900},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"910":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"911":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"912":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"913":{"morph":{"__isSmartRef__":true,"id":900},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"914":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"915":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"916":{"position":{"__isSmartRef__":true,"id":917},"_Extent":{"__isSmartRef__":true,"id":918},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":919},"_Fill":{"__isSmartRef__":true,"id":920},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":925},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":926},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"917":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"918":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"919":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"920":{"stops":[{"__isSmartRef__":true,"id":921},{"__isSmartRef__":true,"id":923}],"vector":{"__isSmartRef__":true,"id":842},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"921":{"offset":0,"color":{"__isSmartRef__":true,"id":922}},"922":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"923":{"offset":1,"color":{"__isSmartRef__":true,"id":924}},"924":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"925":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"926":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"927":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"928":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"929":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"930":{"morph":{"__isSmartRef__":true,"id":899},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"931":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"932":{"resizeWidth":true},"933":{"onTouchStart":{"__isSmartRef__":true,"id":852},"onTouchMove":{"__isSmartRef__":true,"id":856},"onTouchEnd":{"__isSmartRef__":true,"id":860}},"934":{"submorphs":[{"__isSmartRef__":true,"id":935}],"scripts":[],"id":"79A2AEFF-B1C8-4968-80B5-4304E1F3572D","shape":{"__isSmartRef__":true,"id":951},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":962},"showsHalos":false,"name":"Rectangle17","partsBinMetaInfo":{"__isSmartRef__":true,"id":963},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":964},"eventHandler":{"__isSmartRef__":true,"id":965},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"589B1B1C-5D03-4FBB-96B6-FB985B606C29","9335E5B1-C72C-47D7-BE82-8FE7C5FEFCA1"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":966},"layout":{"__isSmartRef__":true,"id":967},"owner":{"__isSmartRef__":true,"id":815},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":968},"__LivelyClassName__":"lively.morphic.Box"},"935":{"submorphs":[],"scripts":[],"id":"9A151460-6715-434E-A92D-42C882B923B9","shape":{"__isSmartRef__":true,"id":936},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":942},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":939},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text19","partsBinMetaInfo":{"__isSmartRef__":true,"id":943},"textChunks":[{"__isSmartRef__":true,"id":944}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":946},"renderContextTable":{"__isSmartRef__":true,"id":947},"eventHandler":{"__isSmartRef__":true,"id":948},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":949},"_ClipMode":"visible","derivationIds":[355,"04DE868C-5CE9-4416-865E-8EF6F84BCCA3","373735A1-3F28-454A-896D-785F4CA54B42"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":950},"owner":{"__isSmartRef__":true,"id":934},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"936":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":937},"_Extent":{"__isSmartRef__":true,"id":938},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":939},"renderContextTable":{"__isSmartRef__":true,"id":940},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":941},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"937":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"938":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"939":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"940":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"941":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"942":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"943":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"944":{"style":{"__isSmartRef__":true,"id":945},"chunkOwner":{"__isSmartRef__":true,"id":935},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"945":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"946":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"947":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"948":{"morph":{"__isSmartRef__":true,"id":935},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"949":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"950":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"951":{"position":{"__isSmartRef__":true,"id":952},"_Extent":{"__isSmartRef__":true,"id":953},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":954},"_Fill":{"__isSmartRef__":true,"id":955},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":960},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":961},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"952":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"953":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"954":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"955":{"stops":[{"__isSmartRef__":true,"id":956},{"__isSmartRef__":true,"id":958}],"vector":{"__isSmartRef__":true,"id":842},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"956":{"offset":0,"color":{"__isSmartRef__":true,"id":957}},"957":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"958":{"offset":1,"color":{"__isSmartRef__":true,"id":959}},"959":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"960":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"961":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"962":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"963":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"964":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"965":{"morph":{"__isSmartRef__":true,"id":934},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"966":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"967":{"resizeWidth":true},"968":{"onTouchStart":{"__isSmartRef__":true,"id":852},"onTouchMove":{"__isSmartRef__":true,"id":856},"onTouchEnd":{"__isSmartRef__":true,"id":860}},"969":{"submorphs":[{"__isSmartRef__":true,"id":970}],"scripts":[],"id":"3142743E-6C66-4445-8A87-D7D178EF64F4","shape":{"__isSmartRef__":true,"id":986},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":997},"showsHalos":false,"name":"Rectangle18","partsBinMetaInfo":{"__isSmartRef__":true,"id":998},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":999},"eventHandler":{"__isSmartRef__":true,"id":1000},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F5519D67-A069-4C3A-ACE8-0AA375A7E34A","59FBAB8D-A12D-4449-AD33-9060CCD6002D"],"index":4,"priorExtent":{"__isSmartRef__":true,"id":1001},"layout":{"__isSmartRef__":true,"id":1002},"owner":{"__isSmartRef__":true,"id":815},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1003},"__LivelyClassName__":"lively.morphic.Box"},"970":{"submorphs":[],"scripts":[],"id":"306A19BD-DBB7-4F0C-833C-614F75D992AA","shape":{"__isSmartRef__":true,"id":971},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":977},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":974},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text20","partsBinMetaInfo":{"__isSmartRef__":true,"id":978},"textChunks":[{"__isSmartRef__":true,"id":979}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":981},"renderContextTable":{"__isSmartRef__":true,"id":982},"eventHandler":{"__isSmartRef__":true,"id":983},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":984},"_ClipMode":"visible","derivationIds":[355,"0F3AE3FA-2B37-4FB7-9A76-FCCC9E93833A","A5006B05-E83D-4E10-807D-3F2210FF5C28"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":985},"owner":{"__isSmartRef__":true,"id":969},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"971":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":972},"_Extent":{"__isSmartRef__":true,"id":973},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":974},"renderContextTable":{"__isSmartRef__":true,"id":975},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":976},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"972":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"973":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"974":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"975":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"976":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"977":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"978":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"979":{"style":{"__isSmartRef__":true,"id":980},"chunkOwner":{"__isSmartRef__":true,"id":970},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"980":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"981":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"982":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"983":{"morph":{"__isSmartRef__":true,"id":970},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"984":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"985":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"986":{"position":{"__isSmartRef__":true,"id":987},"_Extent":{"__isSmartRef__":true,"id":988},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":989},"_Fill":{"__isSmartRef__":true,"id":990},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":995},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":996},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"987":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"988":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"989":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"990":{"stops":[{"__isSmartRef__":true,"id":991},{"__isSmartRef__":true,"id":993}],"vector":{"__isSmartRef__":true,"id":842},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"991":{"offset":0,"color":{"__isSmartRef__":true,"id":992}},"992":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"993":{"offset":1,"color":{"__isSmartRef__":true,"id":994}},"994":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"995":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"996":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"997":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"998":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"999":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1000":{"morph":{"__isSmartRef__":true,"id":969},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1001":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1002":{"resizeWidth":true},"1003":{"onTouchStart":{"__isSmartRef__":true,"id":852},"onTouchMove":{"__isSmartRef__":true,"id":856},"onTouchEnd":{"__isSmartRef__":true,"id":860}},"1004":{"submorphs":[{"__isSmartRef__":true,"id":1005}],"scripts":[],"id":"6BBC35B8-F512-41B1-B8A8-18380EDD2C38","shape":{"__isSmartRef__":true,"id":1021},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1032},"showsHalos":false,"name":"Rectangle19","partsBinMetaInfo":{"__isSmartRef__":true,"id":1033},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1034},"eventHandler":{"__isSmartRef__":true,"id":1035},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"14E2899E-FDE9-4DE2-A233-224D0A32A245","F2B3022A-6E1B-483B-A901-616629F13A6F"],"index":5,"priorExtent":{"__isSmartRef__":true,"id":1036},"layout":{"__isSmartRef__":true,"id":1037},"owner":{"__isSmartRef__":true,"id":815},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1038},"__LivelyClassName__":"lively.morphic.Box"},"1005":{"submorphs":[],"scripts":[],"id":"8AB82126-B9DF-471F-A525-BB94F76B665D","shape":{"__isSmartRef__":true,"id":1006},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1012},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1009},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text21","partsBinMetaInfo":{"__isSmartRef__":true,"id":1013},"textChunks":[{"__isSmartRef__":true,"id":1014}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1016},"renderContextTable":{"__isSmartRef__":true,"id":1017},"eventHandler":{"__isSmartRef__":true,"id":1018},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1019},"_ClipMode":"visible","derivationIds":[355,"4740724F-00A9-4F70-9787-A01B0FB0AE84","58940F01-B24D-4CEA-A4C9-50ED9AD21410"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1020},"owner":{"__isSmartRef__":true,"id":1004},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1006":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1007},"_Extent":{"__isSmartRef__":true,"id":1008},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1009},"renderContextTable":{"__isSmartRef__":true,"id":1010},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1011},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1007":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1008":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1009":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1010":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1011":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1012":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1013":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1014":{"style":{"__isSmartRef__":true,"id":1015},"chunkOwner":{"__isSmartRef__":true,"id":1005},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1015":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1016":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1017":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1018":{"morph":{"__isSmartRef__":true,"id":1005},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1019":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1020":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1021":{"position":{"__isSmartRef__":true,"id":1022},"_Extent":{"__isSmartRef__":true,"id":1023},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1024},"_Fill":{"__isSmartRef__":true,"id":1025},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1030},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1031},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1022":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1023":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1024":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1025":{"stops":[{"__isSmartRef__":true,"id":1026},{"__isSmartRef__":true,"id":1028}],"vector":{"__isSmartRef__":true,"id":842},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1026":{"offset":0,"color":{"__isSmartRef__":true,"id":1027}},"1027":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1028":{"offset":1,"color":{"__isSmartRef__":true,"id":1029}},"1029":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1030":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1031":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1032":{"x":0,"y":215,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1033":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1034":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1035":{"morph":{"__isSmartRef__":true,"id":1004},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1036":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1037":{"resizeWidth":true},"1038":{"onTouchStart":{"__isSmartRef__":true,"id":852},"onTouchMove":{"__isSmartRef__":true,"id":856},"onTouchEnd":{"__isSmartRef__":true,"id":860}},"1039":{"submorphs":[{"__isSmartRef__":true,"id":1040}],"scripts":[],"id":"C58D383C-F3A5-4D01-8B41-05DA6C61D290","shape":{"__isSmartRef__":true,"id":1056},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1067},"showsHalos":false,"name":"Rectangle20","partsBinMetaInfo":{"__isSmartRef__":true,"id":1068},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1069},"eventHandler":{"__isSmartRef__":true,"id":1070},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"1D856615-6103-491F-924E-274FD76E3EDA","868F296C-68D3-4896-A01F-A994BF66D021"],"index":6,"priorExtent":{"__isSmartRef__":true,"id":1071},"layout":{"__isSmartRef__":true,"id":1072},"owner":{"__isSmartRef__":true,"id":815},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1073},"__LivelyClassName__":"lively.morphic.Box"},"1040":{"submorphs":[],"scripts":[],"id":"E14CE99E-3E37-4C3D-9BC0-6A739D1C5E3A","shape":{"__isSmartRef__":true,"id":1041},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1047},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1044},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text22","partsBinMetaInfo":{"__isSmartRef__":true,"id":1048},"textChunks":[{"__isSmartRef__":true,"id":1049}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1051},"renderContextTable":{"__isSmartRef__":true,"id":1052},"eventHandler":{"__isSmartRef__":true,"id":1053},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1054},"_ClipMode":"visible","derivationIds":[355,"C8062D9B-D328-465D-997B-9B0AC5F4C985","A2498368-5D61-458F-8B9E-953A1D5EA943"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1055},"owner":{"__isSmartRef__":true,"id":1039},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1041":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1042},"_Extent":{"__isSmartRef__":true,"id":1043},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1044},"renderContextTable":{"__isSmartRef__":true,"id":1045},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1046},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1042":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1043":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1044":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1045":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1046":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1047":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1048":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1049":{"style":{"__isSmartRef__":true,"id":1050},"chunkOwner":{"__isSmartRef__":true,"id":1040},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1050":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1051":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1052":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1053":{"morph":{"__isSmartRef__":true,"id":1040},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1054":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1055":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1056":{"position":{"__isSmartRef__":true,"id":1057},"_Extent":{"__isSmartRef__":true,"id":1058},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1059},"_Fill":{"__isSmartRef__":true,"id":1060},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1065},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1066},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1057":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1058":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1059":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1060":{"stops":[{"__isSmartRef__":true,"id":1061},{"__isSmartRef__":true,"id":1063}],"vector":{"__isSmartRef__":true,"id":842},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1061":{"offset":0,"color":{"__isSmartRef__":true,"id":1062}},"1062":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1063":{"offset":1,"color":{"__isSmartRef__":true,"id":1064}},"1064":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1065":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1066":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1067":{"x":0,"y":258,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1068":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1069":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1070":{"morph":{"__isSmartRef__":true,"id":1039},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1071":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1072":{"resizeWidth":true},"1073":{"onTouchStart":{"__isSmartRef__":true,"id":852},"onTouchMove":{"__isSmartRef__":true,"id":856},"onTouchEnd":{"__isSmartRef__":true,"id":860}},"1074":{"submorphs":[{"__isSmartRef__":true,"id":1075}],"scripts":[],"id":"E0CCB80E-08B5-45B8-A4CB-80B59BF3EC9C","shape":{"__isSmartRef__":true,"id":1091},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1102},"showsHalos":false,"name":"Rectangle21","partsBinMetaInfo":{"__isSmartRef__":true,"id":1103},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1104},"eventHandler":{"__isSmartRef__":true,"id":1105},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"EE7DA9BE-241E-4272-A8F9-8F6BD7A79357","4653004D-70CE-483A-9F04-F421C7F1EC2C"],"index":7,"priorExtent":{"__isSmartRef__":true,"id":1106},"layout":{"__isSmartRef__":true,"id":1107},"owner":{"__isSmartRef__":true,"id":815},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1108},"__LivelyClassName__":"lively.morphic.Box"},"1075":{"submorphs":[],"scripts":[],"id":"42D8B1FB-AE40-4619-B97E-54FCCF140863","shape":{"__isSmartRef__":true,"id":1076},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1082},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1079},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text23","partsBinMetaInfo":{"__isSmartRef__":true,"id":1083},"textChunks":[{"__isSmartRef__":true,"id":1084}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1086},"renderContextTable":{"__isSmartRef__":true,"id":1087},"eventHandler":{"__isSmartRef__":true,"id":1088},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1089},"_ClipMode":"visible","derivationIds":[355,"D10C9D67-E7D7-4B96-89C5-A542439C15AA","34BCB687-561E-4E96-8ACE-53622B72CB1E"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1090},"owner":{"__isSmartRef__":true,"id":1074},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1076":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1077},"_Extent":{"__isSmartRef__":true,"id":1078},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1079},"renderContextTable":{"__isSmartRef__":true,"id":1080},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1081},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1077":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1078":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1079":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1080":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1081":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1082":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1083":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1084":{"style":{"__isSmartRef__":true,"id":1085},"chunkOwner":{"__isSmartRef__":true,"id":1075},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1085":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1086":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1087":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1088":{"morph":{"__isSmartRef__":true,"id":1075},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1089":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1090":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1091":{"position":{"__isSmartRef__":true,"id":1092},"_Extent":{"__isSmartRef__":true,"id":1093},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1094},"_Fill":{"__isSmartRef__":true,"id":1095},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1100},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1101},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1092":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1093":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1094":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1095":{"stops":[{"__isSmartRef__":true,"id":1096},{"__isSmartRef__":true,"id":1098}],"vector":{"__isSmartRef__":true,"id":842},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1096":{"offset":0,"color":{"__isSmartRef__":true,"id":1097}},"1097":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1098":{"offset":1,"color":{"__isSmartRef__":true,"id":1099}},"1099":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1100":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1101":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1102":{"x":0,"y":301,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1103":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1104":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1105":{"morph":{"__isSmartRef__":true,"id":1074},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1106":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1107":{"resizeWidth":true},"1108":{"onTouchStart":{"__isSmartRef__":true,"id":852},"onTouchMove":{"__isSmartRef__":true,"id":856},"onTouchEnd":{"__isSmartRef__":true,"id":860}},"1109":{"submorphs":[{"__isSmartRef__":true,"id":1110}],"scripts":[],"id":"FB9DAD23-0505-4F0D-A6B4-6E772E694DF4","shape":{"__isSmartRef__":true,"id":1126},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1137},"showsHalos":false,"name":"Rectangle22","partsBinMetaInfo":{"__isSmartRef__":true,"id":1138},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1139},"eventHandler":{"__isSmartRef__":true,"id":1140},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"2E1D745F-41F1-4D02-B340-3A77BEE1B7C3","77FFD08B-D46C-4713-9726-A96F693E887E"],"index":8,"priorExtent":{"__isSmartRef__":true,"id":1141},"layout":{"__isSmartRef__":true,"id":1142},"owner":{"__isSmartRef__":true,"id":815},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1143},"__LivelyClassName__":"lively.morphic.Box"},"1110":{"submorphs":[],"scripts":[],"id":"B71F6F46-B717-4A5F-951D-77417F7E6EFD","shape":{"__isSmartRef__":true,"id":1111},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1117},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1114},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text24","partsBinMetaInfo":{"__isSmartRef__":true,"id":1118},"textChunks":[{"__isSmartRef__":true,"id":1119}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1121},"renderContextTable":{"__isSmartRef__":true,"id":1122},"eventHandler":{"__isSmartRef__":true,"id":1123},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1124},"_ClipMode":"visible","derivationIds":[355,"73E4BF5B-12F7-4288-A9ED-02155EB86DB2","D705F0F9-9142-4B7A-894C-5230E2C923C4"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1125},"owner":{"__isSmartRef__":true,"id":1109},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1111":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1112},"_Extent":{"__isSmartRef__":true,"id":1113},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1114},"renderContextTable":{"__isSmartRef__":true,"id":1115},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1116},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1112":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1113":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1114":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1115":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1116":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1117":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1118":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1119":{"style":{"__isSmartRef__":true,"id":1120},"chunkOwner":{"__isSmartRef__":true,"id":1110},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1120":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1121":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1122":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1123":{"morph":{"__isSmartRef__":true,"id":1110},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1124":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1125":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1126":{"position":{"__isSmartRef__":true,"id":1127},"_Extent":{"__isSmartRef__":true,"id":1128},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1129},"_Fill":{"__isSmartRef__":true,"id":1130},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1135},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1136},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1127":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1128":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1129":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1130":{"stops":[{"__isSmartRef__":true,"id":1131},{"__isSmartRef__":true,"id":1133}],"vector":{"__isSmartRef__":true,"id":842},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1131":{"offset":0,"color":{"__isSmartRef__":true,"id":1132}},"1132":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1133":{"offset":1,"color":{"__isSmartRef__":true,"id":1134}},"1134":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1135":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1136":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1137":{"x":0,"y":344,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1138":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1139":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1140":{"morph":{"__isSmartRef__":true,"id":1109},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1141":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1142":{"resizeWidth":true},"1143":{"onTouchStart":{"__isSmartRef__":true,"id":852},"onTouchMove":{"__isSmartRef__":true,"id":856},"onTouchEnd":{"__isSmartRef__":true,"id":860}},"1144":{"position":{"__isSmartRef__":true,"id":1145},"_Extent":{"__isSmartRef__":true,"id":1146},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1147},"_Fill":{"__isSmartRef__":true,"id":1148},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1149},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1150},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1145":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1146":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1147":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1148":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1149":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1150":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1151":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1152":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1153":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1154":{"morph":{"__isSmartRef__":true,"id":815},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1155":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1156":{"resizeWidth":true,"adjustForNewBounds":true},"1157":{"onTouchStart":{"__isSmartRef__":true,"id":1158},"onTouchMove":{"__isSmartRef__":true,"id":1166},"onTouchEnd":{"__isSmartRef__":true,"id":1174},"stayInBounds":{"__isSmartRef__":true,"id":1182},"isInBounds":{"__isSmartRef__":true,"id":1186}},"1158":{"varMapping":{"__isSmartRef__":true,"id":1159},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":1164},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1159":{"this":{"__isSmartRef__":true,"id":815},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1160}},"1160":{"$super":{"__isSmartRef__":true,"id":1161}},"1161":{"varMapping":{"__isSmartRef__":true,"id":1162},"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":1163},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1162":{"obj":{"__isSmartRef__":true,"id":815},"name":"onTouchStart"},"1163":{},"1164":{"timestamp":{"__isSmartRef__":true,"id":1165},"user":"sstamm","tags":[]},"1165":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"1166":{"varMapping":{"__isSmartRef__":true,"id":1167},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(0,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1172},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1167":{"this":{"__isSmartRef__":true,"id":815},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1168}},"1168":{"$super":{"__isSmartRef__":true,"id":1169}},"1169":{"varMapping":{"__isSmartRef__":true,"id":1170},"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":1171},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1170":{"obj":{"__isSmartRef__":true,"id":815},"name":"onTouchMove"},"1171":{},"1172":{"timestamp":{"__isSmartRef__":true,"id":1173},"user":"sstamm","tags":[]},"1173":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (CET)"},"1174":{"varMapping":{"__isSmartRef__":true,"id":1175},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":1180},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1175":{"this":{"__isSmartRef__":true,"id":815},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1176}},"1176":{"$super":{"__isSmartRef__":true,"id":1177}},"1177":{"varMapping":{"__isSmartRef__":true,"id":1178},"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":1179},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1178":{"obj":{"__isSmartRef__":true,"id":815},"name":"onTouchEnd"},"1179":{},"1180":{"timestamp":{"__isSmartRef__":true,"id":1181},"user":"sstamm","tags":[]},"1181":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (CET)"},"1182":{"varMapping":{"__isSmartRef__":true,"id":1183},"source":"function stayInBounds() {\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n// this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":1184},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1183":{"this":{"__isSmartRef__":true,"id":815}},"1184":{"timestamp":{"__isSmartRef__":true,"id":1185},"user":"sstamm","tags":[]},"1185":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (CET)"},"1186":{"varMapping":{"__isSmartRef__":true,"id":1187},"source":"function isInBounds() {\n var heightMenu = this.owner.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1188},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1187":{"this":{"__isSmartRef__":true,"id":815}},"1188":{"timestamp":{"__isSmartRef__":true,"id":1189},"user":"sstamm","tags":[]},"1189":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (CET)"},"1190":{"position":{"__isSmartRef__":true,"id":1191},"_Extent":{"__isSmartRef__":true,"id":1192},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1193},"_Fill":{"__isSmartRef__":true,"id":1194},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1195},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1196},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1191":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1192":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1193":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1194":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1195":{},"1196":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1197":{"x":7,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1198":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":1199},{"__isSmartRef__":true,"id":1201},{"__isSmartRef__":true,"id":1203},{"__isSmartRef__":true,"id":1205}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1199":{"date":{"__isSmartRef__":true,"id":1200},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"1200":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (CET)"},"1201":{"date":{"__isSmartRef__":true,"id":1202},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"1202":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (CET)"},"1203":{"date":{"__isSmartRef__":true,"id":1204},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"1204":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (CET)"},"1205":{"date":{"__isSmartRef__":true,"id":1206},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"1206":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (CET)"},"1207":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1208":{"morph":{"__isSmartRef__":true,"id":814},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1209":{"sourceObj":{"__isSmartRef__":true,"id":814},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":814},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1210":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1211":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"1212":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1213":{"onrestore":{"__isSmartRef__":true,"id":1214},"initialize":{"__isSmartRef__":true,"id":1222},"addItem":{"__isSmartRef__":true,"id":1230},"createListItem":{"__isSmartRef__":true,"id":1234},"touchstartCallback":{"__isSmartRef__":true,"id":852},"touchmoveCallback":{"__isSmartRef__":true,"id":856},"touchendCallback":{"__isSmartRef__":true,"id":860},"updateSelection":{"__isSmartRef__":true,"id":1238},"handleClick":{"__isSmartRef__":true,"id":1242},"initializeListEntries":{"__isSmartRef__":true,"id":1246}},"1214":{"varMapping":{"__isSmartRef__":true,"id":1215},"source":"function onrestore() {\n var that = this;\n\n //TODO: this is a race condition, because the render context is not\n // ready in onrestore\n window.setTimeout(function() { \n that.shape.setClipMode(\"hidden\"); }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":1220},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1215":{"this":{"__isSmartRef__":true,"id":814},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1216}},"1216":{"$super":{"__isSmartRef__":true,"id":1217}},"1217":{"varMapping":{"__isSmartRef__":true,"id":1218},"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":1219},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1218":{"obj":{"__isSmartRef__":true,"id":814},"name":"onrestore"},"1219":{},"1220":{"timestamp":{"__isSmartRef__":true,"id":1221},"user":"sstamm","tags":[]},"1221":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (CET)"},"1222":{"varMapping":{"__isSmartRef__":true,"id":1223},"source":"function initialize() {\n console.log(\"in initialize\");\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n var itemContainer = this.get(\"ListItemContainer\");\n \n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n \n}","funcProperties":{"__isSmartRef__":true,"id":1228},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1223":{"this":{"__isSmartRef__":true,"id":814},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1224}},"1224":{"$super":{"__isSmartRef__":true,"id":1225}},"1225":{"varMapping":{"__isSmartRef__":true,"id":1226},"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":1227},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1226":{"obj":{"__isSmartRef__":true,"id":814},"name":"initialize"},"1227":{},"1228":{"timestamp":{"__isSmartRef__":true,"id":1229},"user":"sstamm","tags":[]},"1229":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (CET)"},"1230":{"varMapping":{"__isSmartRef__":true,"id":1231},"source":"function addItem(text) {\n var newMorph = this.createListItem(text);\n \n newMorph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(newMorph);\n this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":1232},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1231":{"this":{"__isSmartRef__":true,"id":814}},"1232":{"timestamp":{"__isSmartRef__":true,"id":1233},"user":"sstamm","tags":[]},"1233":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (CET)"},"1234":{"varMapping":{"__isSmartRef__":true,"id":1235},"source":"function createListItem(textString) {\n var part = lively.PartsBin.getPart(\"Rectangle\", \"PartsBin/Basic\");\n\n part.index = this.itemList.length;\n\n part.setExtent(pt(this.getExtent().x,44));\n part.applyStyle({resizeWidth: true});\n part.setFill(new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ));\n part.setBorderColor(Color.rgb(138,138,138));\n \n\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n part.registerForEvent(\"touchstart\", part, \"onTouchStart\", false);\n part.registerForEvent(\"touchmove\", part, \"onTouchMove\", false);\n part.registerForEvent(\"touchend\", part, \"onTouchEnd\", false);\n\n var text = lively.PartsBin.getPart(\"Text\", \"PartsBin/Basic\");\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":1236},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1235":{"this":{"__isSmartRef__":true,"id":814}},"1236":{"timestamp":{"__isSmartRef__":true,"id":1237},"user":"sstamm","tags":[]},"1237":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (CET)"},"1238":{"varMapping":{"__isSmartRef__":true,"id":1239},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.submorphs[0].textString;\n } else {\n this.selection = \"\";\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1240},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1239":{"this":{"__isSmartRef__":true,"id":814}},"1240":{"timestamp":{"__isSmartRef__":true,"id":1241},"user":"sstamm","tags":[]},"1241":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (CET)"},"1242":{"varMapping":{"__isSmartRef__":true,"id":1243},"source":"function handleClick() {\n switch(this.selection){\n case \"PartsBin\":\n $world.openPartsBin();\n $world.hideMockMenu();\n break;\n case \"Parts\":\n this.owner.showList(this.selection);\n break;\n case \"Ellipse\":\n case \"Image\":\n case \"Line\":\n case \"Rectangle\":\n case \"Text\":\n $world.openPartItem(this.selection, \"PartsBin/Basic\");\n $world.hideMockMenu();\n break;\n case \"Button\":\n case \"List\":\n case \"ScriptableButton\":\n case \"Slider\":\n $world.openPartItem(this.selection, \"PartsBin/Inputs\");\n $world.hideMockMenu();\n break;\n case \"Tools\":\n this.owner.showList(this.selection);\n break;\n case \"Workspace\":\n $world.openWorkspace();\n $world.hideMockMenu();\n break;\n case \"System Code Browser\":\n $world.openSystemBrowser();\n $world.hideMockMenu();\n break;\n case \"Object Editor\":\n $world.openObjectEditor();\n $world.hideMockMenu();\n break;\n case \"Method Finder\":\n $world.openMethodFinder();\n $world.hideMockMenu();\n break;\n case \"Text Editor\":\n new lively.morphic.TextEditor().openIn(world)\n $world.hideMockMenu();\n break;\n case \"Preferences\":\n this.owner.showList(this.selection);\n break;\n case \"set username\":\n $world.askForUserName();\n $world.hideMockMenu();\n break;\n case \"set extent\":\n $world.askForNewWorldExtent();\n $world.hideMockMenu();\n break;\n case \"disable part caching\":\n $world.hideMockMenu();\n break;\n case \"Debugging\":\n this.owner.showList(this.selection);\n break;\n case \"reset world scale\":\n $world.resetScale();\n $world.hideMockMenu();\n break;\n case \"reset title bars\":\n $world.resetAllTitleBars();\n $world.hideMockMenu();\n break;\n case \"reset button labels\":\n $world.resetAllButtonLabels();\n $world.hideMockMenu();\n break;\n case \"World serialization info\":\n require('lively.persistence.Debugging').toRun(\n function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n }\n );\n $world.hideMockMenu();\n break;\n case \"clear part cache\":\n $world.hideMockMenu();\n break;\n case \"show connectors\":\n $world.hideMockMenu();\n break;\n case \"Wiki\":\n this.owner.showList(this.selection);\n break;\n case \"about this wiki\":\n $world.openAboutBox();\n $world.hideMockMenu();\n break;\n case \"view versions of this world\":\n $world.openVersionViewer();\n $world.hideMockMenu();\n break;\n case \"download world\":\n require('lively.persistence.StandAlonePackaging').toRun(\n function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"upload world to Dropbox\":\n require('apps.Dropbox').toRun(\n function() {\n DropboxAPI.uploadArchivedWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"delete world\":\n $world.interactiveDeleteWorldOnServer();\n $world.hideMockMenu();\n break;\n case \"Documentation\":\n this.owner.showList(this.selection);\n break;\n case \"on short cuts\":\n $world.openShortcutDocumentation();\n $world.hideMockMenu();\n break;\n case \"on connect data bindings\":\n $world.openConnectDocumentation();\n $world.hideMockMenu();\n break;\n case \"on Lively's PartsBin\":\n $world.openPartsBinDocumentation();\n $world.hideMockMenu();\n break;\n case \"more...\":\n window.open(Config.rootPath + 'documentation/');\n $world.hideMockMenu();\n break;\n case \"save world as ...\":\n $world.interactiveSaveWorldAs();\n $world.hideMockMenu();\n break;\n case \"save world\":\n $world.saveWorld();\n $world.hideMockMenu();\n break;\n default:\n //Do nothing\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1244},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1243":{"this":{"__isSmartRef__":true,"id":814}},"1244":{"timestamp":{"__isSmartRef__":true,"id":1245},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"1245":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:26:04 GMT+0100 (CET)"},"1246":{"varMapping":{"__isSmartRef__":true,"id":1247},"source":"function initializeListEntries() {\n this.initialize();\n list = [\"Ellipse\",\"Image\",\"Line\",\"Rectangle\",\"Text\",\n \"Button\",\"List\",\"ScriptableButton\",\"Slider\"];\n for (var i = 0; i < list.length; i++) {\n this.addItem(list[i]);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1248},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1247":{"this":{"__isSmartRef__":true,"id":814}},"1248":{"timestamp":{"__isSmartRef__":true,"id":1249},"user":"conradcalmez","tags":[]},"1249":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:56:41 GMT+0100 (CET)"},"1250":{"onTouchStart":{"__isSmartRef__":true,"id":1251},"onTouchMove":{"__isSmartRef__":true,"id":1259},"onTouchEnd":{"__isSmartRef__":true,"id":1263},"stayInBounds":{"__isSmartRef__":true,"id":1271},"isInBounds":{"__isSmartRef__":true,"id":1275},"removeAllMenuItems":{"__isSmartRef__":true,"id":1279},"addItemMorph":{"__isSmartRef__":true,"id":1283}},"1251":{"varMapping":{"__isSmartRef__":true,"id":1252},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":1257},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1252":{"this":{"__isSmartRef__":true,"id":799},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1253}},"1253":{"$super":{"__isSmartRef__":true,"id":1254}},"1254":{"varMapping":{"__isSmartRef__":true,"id":1255},"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":1256},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1255":{"obj":{"__isSmartRef__":true,"id":799},"name":"onTouchStart"},"1256":{},"1257":{"timestamp":{"__isSmartRef__":true,"id":1258},"user":"sstamm","tags":[]},"1258":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"1259":{"varMapping":{"__isSmartRef__":true,"id":1260},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n var x = this.getPosition().x;\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(x,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1261},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1260":{"this":{"__isSmartRef__":true,"id":799}},"1261":{"timestamp":{"__isSmartRef__":true,"id":1262},"user":"sstamm","tags":[]},"1262":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:08:15 GMT+0100 (CET)"},"1263":{"varMapping":{"__isSmartRef__":true,"id":1264},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n \n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":1269},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1264":{"this":{"__isSmartRef__":true,"id":799},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1265}},"1265":{"$super":{"__isSmartRef__":true,"id":1266}},"1266":{"varMapping":{"__isSmartRef__":true,"id":1267},"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":1268},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1267":{"obj":{"__isSmartRef__":true,"id":799},"name":"onTouchEnd"},"1268":{},"1269":{"timestamp":{"__isSmartRef__":true,"id":1270},"user":"sstamm","tags":[]},"1270":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:10:41 GMT+0100 (CET)"},"1271":{"varMapping":{"__isSmartRef__":true,"id":1272},"source":"function stayInBounds() {\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1273},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1272":{"this":{"__isSmartRef__":true,"id":799}},"1273":{"timestamp":{"__isSmartRef__":true,"id":1274},"user":"sstamm","tags":[]},"1274":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:01:17 GMT+0100 (CET)"},"1275":{"varMapping":{"__isSmartRef__":true,"id":1276},"source":"function isInBounds() {\n var heightMenu = this.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1277},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1276":{"this":{"__isSmartRef__":true,"id":799}},"1277":{"timestamp":{"__isSmartRef__":true,"id":1278},"user":"sstamm","tags":[]},"1278":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:00:09 GMT+0100 (CET)"},"1279":{"varMapping":{"__isSmartRef__":true,"id":1280},"source":"function removeAllMenuItems() {\n this.itemList = [];\n this.setPosition(pt(0,0));\n this.submorphs.invoke(\"remove\");\n}","funcProperties":{"__isSmartRef__":true,"id":1281},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1280":{"this":{"__isSmartRef__":true,"id":799}},"1281":{"timestamp":{"__isSmartRef__":true,"id":1282},"user":"sstamm","tags":[]},"1282":{"isSerializedDate":true,"string":"Fri Mar 02 2012 11:53:17 GMT+0100 (CET)"},"1283":{"varMapping":{"__isSmartRef__":true,"id":1284},"source":"function addItemMorph(morph) {\n morph.disableDropping();\n this.itemList = this.itemList || [];\n morph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(morph);\n this.addMorph(morph);\n}","funcProperties":{"__isSmartRef__":true,"id":1285},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1284":{"this":{"__isSmartRef__":true,"id":799}},"1285":{"timestamp":{"__isSmartRef__":true,"id":1286},"user":"sstamm","tags":[]},"1286":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:41:29 GMT+0100 (CET)"},"1287":{"submorphs":[],"scripts":[],"id":"C20C81D5-32CE-44FC-AF44-45BDC8A23D2E","shape":{"__isSmartRef__":true,"id":1288},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1295},"showsHalos":false,"name":"ListItemContainer1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1296},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1297},"eventHandler":{"__isSmartRef__":true,"id":1298},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","7AF9C5F0-EE68-416F-A10D-DD34087715DD","FAD6A6E3-B30D-441E-8E2E-91307AB82819","E8E4AF91-BE65-4070-B253-D631CE0F462C","DD3A6529-0925-4E61-ACD5-6046F08790EF","ABC193E1-1AA2-47B1-A05A-46C0CDB40424","B97A4F9F-8478-437F-A460-0AC7D90A8113","8E912F61-7CE7-4AFA-A5A1-4C092E432DBD","87E25E51-49D4-494F-BF2C-9FA542B14D4A","A2A05923-6ADE-4D34-B83E-E84CC6F0CB13","0A1AC4F5-352B-4574-B31A-9AE34DFC2A60","B55A2795-3FD1-454E-9327-EB0FF7727CEE","6E5B9FD2-3323-4DB2-B699-E9CE0754F260","4B5D7FBB-0C95-46F4-B439-C4267B3C0F30","25718CE0-AD32-46AE-8928-FE788FE6ADFC","6AF65CB7-DD3F-4FC0-98C7-30A789006946","BF6435A6-9E9E-4313-8565-B0C525800A72","76730E8E-DDDB-400F-A48D-FA146A3CD680"],"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":1299},"layout":{"__isSmartRef__":true,"id":1300},"lists":{"__isSmartRef__":true,"id":1301},"prevScroll":[0,0],"itemList":[],"_Rotation":0,"_Scale":0.998001,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1738},"__LivelyClassName__":"lively.morphic.Box"},"1288":{"position":{"__isSmartRef__":true,"id":1289},"_Extent":{"__isSmartRef__":true,"id":1290},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1291},"_Fill":{"__isSmartRef__":true,"id":1292},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1293},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1294},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1289":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1290":{"x":348,"y":41.903855807759854,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1291":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1292":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1293":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1294":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1295":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1296":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1297":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1298":{"morph":{"__isSmartRef__":true,"id":1287},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1299":{"x":348,"y":41.903855807759854,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1300":{"resizeWidth":true,"adjustForNewBounds":true},"1301":{"Parts":{"__isSmartRef__":true,"id":1302}},"1302":{"submorphs":[{"__isSmartRef__":true,"id":1303}],"scripts":[],"id":"E20298AE-1569-4E74-AD48-FE1CB408E472","shape":{"__isSmartRef__":true,"id":1678},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1685},"showsHalos":false,"name":"TouchList1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1686},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1695},"eventHandler":{"__isSmartRef__":true,"id":1696},"attributeConnections":[{"__isSmartRef__":true,"id":1697}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","34806B09-40D4-4BE7-B17E-FFFFDB7B0928","A96DDB06-4250-4386-905D-8B702E91A05F","2D6F8200-15D9-4A2E-8809-3012C71831B8"],"priorExtent":{"__isSmartRef__":true,"id":1698},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":1699},"itemList":[{"__isSmartRef__":true,"id":1304},{"__isSmartRef__":true,"id":1352},{"__isSmartRef__":true,"id":1387},{"__isSmartRef__":true,"id":1422},{"__isSmartRef__":true,"id":1457},{"__isSmartRef__":true,"id":1492},{"__isSmartRef__":true,"id":1527},{"__isSmartRef__":true,"id":1562},{"__isSmartRef__":true,"id":1597}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":1700},"owner":null,"_Visible":false,"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1701},"__LivelyClassName__":"lively.morphic.Box"},"1303":{"submorphs":[{"__isSmartRef__":true,"id":1304},{"__isSmartRef__":true,"id":1352},{"__isSmartRef__":true,"id":1387},{"__isSmartRef__":true,"id":1422},{"__isSmartRef__":true,"id":1457},{"__isSmartRef__":true,"id":1492},{"__isSmartRef__":true,"id":1527},{"__isSmartRef__":true,"id":1562},{"__isSmartRef__":true,"id":1597}],"scripts":[],"id":"5BD60918-1B33-4387-8B96-0AA376B1FC62","shape":{"__isSmartRef__":true,"id":1632},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1639},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":1640},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1641},"eventHandler":{"__isSmartRef__":true,"id":1642},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","1DB8DDC7-39AB-4B77-BB60-17766F9CFBD1","1EF09C78-2811-4346-B693-8B6E1D79A6EB"],"owner":{"__isSmartRef__":true,"id":1302},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":1643},"layout":{"__isSmartRef__":true,"id":1644},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1645},"__LivelyClassName__":"lively.morphic.Box"},"1304":{"submorphs":[{"__isSmartRef__":true,"id":1305}],"scripts":[],"id":"5FE9FAE5-FB3C-49DA-BB28-F65B377FEB19","shape":{"__isSmartRef__":true,"id":1321},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1333},"showsHalos":false,"name":"Rectangle14","partsBinMetaInfo":{"__isSmartRef__":true,"id":1334},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1335},"eventHandler":{"__isSmartRef__":true,"id":1336},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"3685AFE1-33BB-436C-8346-79C62B534359","607E0175-FDFB-4582-AC22-3CD982C54720"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":1337},"layout":{"__isSmartRef__":true,"id":1338},"owner":{"__isSmartRef__":true,"id":1303},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1339},"__LivelyClassName__":"lively.morphic.Box"},"1305":{"submorphs":[],"scripts":[],"id":"0F8FAFCF-7952-4FCE-ACC6-8C7BED2851BF","shape":{"__isSmartRef__":true,"id":1306},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1312},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1309},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text16","partsBinMetaInfo":{"__isSmartRef__":true,"id":1313},"textChunks":[{"__isSmartRef__":true,"id":1314}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1316},"renderContextTable":{"__isSmartRef__":true,"id":1317},"eventHandler":{"__isSmartRef__":true,"id":1318},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1319},"_ClipMode":"visible","derivationIds":[355,"EC03880B-F51C-4053-97E4-D79A89A6D208","8AC5ABA3-243B-428A-B730-BD07AEC42A6C"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1320},"owner":{"__isSmartRef__":true,"id":1304},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1306":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1307},"_Extent":{"__isSmartRef__":true,"id":1308},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1309},"renderContextTable":{"__isSmartRef__":true,"id":1310},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1311},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1307":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1308":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1309":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1310":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1311":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1312":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1313":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1314":{"style":{"__isSmartRef__":true,"id":1315},"chunkOwner":{"__isSmartRef__":true,"id":1305},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1315":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1316":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1317":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1318":{"morph":{"__isSmartRef__":true,"id":1305},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1319":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1320":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1321":{"position":{"__isSmartRef__":true,"id":1322},"_Extent":{"__isSmartRef__":true,"id":1323},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1324},"_Fill":{"__isSmartRef__":true,"id":1325},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1331},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1332},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1322":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1323":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1324":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1325":{"stops":[{"__isSmartRef__":true,"id":1326},{"__isSmartRef__":true,"id":1328}],"vector":{"__isSmartRef__":true,"id":1330},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1326":{"offset":0,"color":{"__isSmartRef__":true,"id":1327}},"1327":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1328":{"offset":1,"color":{"__isSmartRef__":true,"id":1329}},"1329":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1330":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1331":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1332":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1333":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1334":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1335":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1336":{"morph":{"__isSmartRef__":true,"id":1304},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1337":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1338":{"resizeWidth":true},"1339":{"onTouchStart":{"__isSmartRef__":true,"id":1340},"onTouchMove":{"__isSmartRef__":true,"id":1344},"onTouchEnd":{"__isSmartRef__":true,"id":1348}},"1340":{"varMapping":{"__isSmartRef__":true,"id":1341},"source":"function touchstartCallback(evt) {\n var touch = evt.touches[0];\n\n this.clickPosition = pt(touch.clientX,touch.clientY);\n this.lastClickPos = this.clickPosition;\n\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":1342},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1341":{"this":{"__isSmartRef__":true,"id":1302}},"1342":{"timestamp":{"__isSmartRef__":true,"id":1343},"user":"sstamm","tags":[]},"1343":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (CET)"},"1344":{"varMapping":{"__isSmartRef__":true,"id":1345},"source":"function touchmoveCallback(evt) {\n var touch = evt.touches[0];\n \n this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n return false;\n \n}","funcProperties":{"__isSmartRef__":true,"id":1346},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1345":{"this":{"__isSmartRef__":true,"id":1302}},"1346":{"timestamp":{"__isSmartRef__":true,"id":1347},"user":"sstamm","tags":[]},"1347":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (CET)"},"1348":{"varMapping":{"__isSmartRef__":true,"id":1349},"source":"function touchendCallback(evt) {\n var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n if(delta<25) {\n //TODO: find a better way to find the related listMorph\n var listMorph = this.owner.owner;\n \n if(listMorph && listMorph.updateSelection) {\n listMorph.updateSelection(this);\n }\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":1350},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1349":{"this":{"__isSmartRef__":true,"id":1302}},"1350":{"timestamp":{"__isSmartRef__":true,"id":1351},"user":"sstamm","tags":[]},"1351":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (CET)"},"1352":{"submorphs":[{"__isSmartRef__":true,"id":1353}],"scripts":[],"id":"CB015488-847F-4196-9BE1-E280870F454B","shape":{"__isSmartRef__":true,"id":1369},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1380},"showsHalos":false,"name":"Rectangle15","partsBinMetaInfo":{"__isSmartRef__":true,"id":1381},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1382},"eventHandler":{"__isSmartRef__":true,"id":1383},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"C66C3F61-C421-4796-92E9-C74B723D902D","F84212CF-37F3-47B4-A68E-0A68C71BDB5C"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":1384},"layout":{"__isSmartRef__":true,"id":1385},"owner":{"__isSmartRef__":true,"id":1303},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1386},"__LivelyClassName__":"lively.morphic.Box"},"1353":{"submorphs":[],"scripts":[],"id":"07BD3541-B089-4FDF-AFF3-DD05491D208C","shape":{"__isSmartRef__":true,"id":1354},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1360},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1357},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text17","partsBinMetaInfo":{"__isSmartRef__":true,"id":1361},"textChunks":[{"__isSmartRef__":true,"id":1362}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1364},"renderContextTable":{"__isSmartRef__":true,"id":1365},"eventHandler":{"__isSmartRef__":true,"id":1366},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1367},"_ClipMode":"visible","derivationIds":[355,"A94B4C37-835A-4F9F-9594-A4469849AE32","EEC5C72F-D611-400E-9279-F996AB5C5D41"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1368},"owner":{"__isSmartRef__":true,"id":1352},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1354":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1355},"_Extent":{"__isSmartRef__":true,"id":1356},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1357},"renderContextTable":{"__isSmartRef__":true,"id":1358},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1359},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1355":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1356":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1357":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1358":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1359":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1360":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1361":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1362":{"style":{"__isSmartRef__":true,"id":1363},"chunkOwner":{"__isSmartRef__":true,"id":1353},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1363":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1364":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1365":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1366":{"morph":{"__isSmartRef__":true,"id":1353},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1367":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1368":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1369":{"position":{"__isSmartRef__":true,"id":1370},"_Extent":{"__isSmartRef__":true,"id":1371},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1372},"_Fill":{"__isSmartRef__":true,"id":1373},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1378},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1379},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1370":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1371":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1372":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1373":{"stops":[{"__isSmartRef__":true,"id":1374},{"__isSmartRef__":true,"id":1376}],"vector":{"__isSmartRef__":true,"id":1330},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1374":{"offset":0,"color":{"__isSmartRef__":true,"id":1375}},"1375":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1376":{"offset":1,"color":{"__isSmartRef__":true,"id":1377}},"1377":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1378":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1379":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1380":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1381":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1382":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1383":{"morph":{"__isSmartRef__":true,"id":1352},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1384":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1385":{"resizeWidth":true},"1386":{"onTouchStart":{"__isSmartRef__":true,"id":1340},"onTouchMove":{"__isSmartRef__":true,"id":1344},"onTouchEnd":{"__isSmartRef__":true,"id":1348}},"1387":{"submorphs":[{"__isSmartRef__":true,"id":1388}],"scripts":[],"id":"E5B57597-1832-4144-8C80-CB87E8A22845","shape":{"__isSmartRef__":true,"id":1404},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1415},"showsHalos":false,"name":"Rectangle16","partsBinMetaInfo":{"__isSmartRef__":true,"id":1416},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1417},"eventHandler":{"__isSmartRef__":true,"id":1418},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"7A12DA17-ED87-4021-A663-F310BE5DF0EB","9AB3A5B3-5924-4A09-9B31-22623502DB9B"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":1419},"layout":{"__isSmartRef__":true,"id":1420},"owner":{"__isSmartRef__":true,"id":1303},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1421},"__LivelyClassName__":"lively.morphic.Box"},"1388":{"submorphs":[],"scripts":[],"id":"0FFBB803-65DB-43F4-9887-6DC2EE1628AF","shape":{"__isSmartRef__":true,"id":1389},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1395},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1392},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text18","partsBinMetaInfo":{"__isSmartRef__":true,"id":1396},"textChunks":[{"__isSmartRef__":true,"id":1397}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1399},"renderContextTable":{"__isSmartRef__":true,"id":1400},"eventHandler":{"__isSmartRef__":true,"id":1401},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1402},"_ClipMode":"visible","derivationIds":[355,"D1406DCD-1B6B-4823-AA26-EF7C62BA46B4","851AD306-E5F9-4FF1-8E9F-F3B6CF012A6E"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1403},"owner":{"__isSmartRef__":true,"id":1387},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1389":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1390},"_Extent":{"__isSmartRef__":true,"id":1391},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1392},"renderContextTable":{"__isSmartRef__":true,"id":1393},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1394},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1390":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1391":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1392":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1393":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1394":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1395":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1396":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1397":{"style":{"__isSmartRef__":true,"id":1398},"chunkOwner":{"__isSmartRef__":true,"id":1388},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1398":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1399":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1400":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1401":{"morph":{"__isSmartRef__":true,"id":1388},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1402":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1403":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1404":{"position":{"__isSmartRef__":true,"id":1405},"_Extent":{"__isSmartRef__":true,"id":1406},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1407},"_Fill":{"__isSmartRef__":true,"id":1408},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1413},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1414},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1405":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1406":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1407":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1408":{"stops":[{"__isSmartRef__":true,"id":1409},{"__isSmartRef__":true,"id":1411}],"vector":{"__isSmartRef__":true,"id":1330},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1409":{"offset":0,"color":{"__isSmartRef__":true,"id":1410}},"1410":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1411":{"offset":1,"color":{"__isSmartRef__":true,"id":1412}},"1412":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1413":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1414":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1415":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1416":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1417":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1418":{"morph":{"__isSmartRef__":true,"id":1387},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1419":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1420":{"resizeWidth":true},"1421":{"onTouchStart":{"__isSmartRef__":true,"id":1340},"onTouchMove":{"__isSmartRef__":true,"id":1344},"onTouchEnd":{"__isSmartRef__":true,"id":1348}},"1422":{"submorphs":[{"__isSmartRef__":true,"id":1423}],"scripts":[],"id":"79A2AEFF-B1C8-4968-80B5-4304E1F3572D","shape":{"__isSmartRef__":true,"id":1439},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1450},"showsHalos":false,"name":"Rectangle17","partsBinMetaInfo":{"__isSmartRef__":true,"id":1451},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1452},"eventHandler":{"__isSmartRef__":true,"id":1453},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"589B1B1C-5D03-4FBB-96B6-FB985B606C29","9335E5B1-C72C-47D7-BE82-8FE7C5FEFCA1"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":1454},"layout":{"__isSmartRef__":true,"id":1455},"owner":{"__isSmartRef__":true,"id":1303},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1456},"__LivelyClassName__":"lively.morphic.Box"},"1423":{"submorphs":[],"scripts":[],"id":"9A151460-6715-434E-A92D-42C882B923B9","shape":{"__isSmartRef__":true,"id":1424},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1430},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1427},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text19","partsBinMetaInfo":{"__isSmartRef__":true,"id":1431},"textChunks":[{"__isSmartRef__":true,"id":1432}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1434},"renderContextTable":{"__isSmartRef__":true,"id":1435},"eventHandler":{"__isSmartRef__":true,"id":1436},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1437},"_ClipMode":"visible","derivationIds":[355,"04DE868C-5CE9-4416-865E-8EF6F84BCCA3","373735A1-3F28-454A-896D-785F4CA54B42"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1438},"owner":{"__isSmartRef__":true,"id":1422},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1424":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1425},"_Extent":{"__isSmartRef__":true,"id":1426},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1427},"renderContextTable":{"__isSmartRef__":true,"id":1428},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1429},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1425":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1426":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1427":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1428":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1429":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1430":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1431":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1432":{"style":{"__isSmartRef__":true,"id":1433},"chunkOwner":{"__isSmartRef__":true,"id":1423},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1433":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1434":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1435":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1436":{"morph":{"__isSmartRef__":true,"id":1423},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1437":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1438":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1439":{"position":{"__isSmartRef__":true,"id":1440},"_Extent":{"__isSmartRef__":true,"id":1441},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1442},"_Fill":{"__isSmartRef__":true,"id":1443},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1448},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1449},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1440":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1441":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1442":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1443":{"stops":[{"__isSmartRef__":true,"id":1444},{"__isSmartRef__":true,"id":1446}],"vector":{"__isSmartRef__":true,"id":1330},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1444":{"offset":0,"color":{"__isSmartRef__":true,"id":1445}},"1445":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1446":{"offset":1,"color":{"__isSmartRef__":true,"id":1447}},"1447":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1448":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1449":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1450":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1451":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1452":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1453":{"morph":{"__isSmartRef__":true,"id":1422},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1454":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1455":{"resizeWidth":true},"1456":{"onTouchStart":{"__isSmartRef__":true,"id":1340},"onTouchMove":{"__isSmartRef__":true,"id":1344},"onTouchEnd":{"__isSmartRef__":true,"id":1348}},"1457":{"submorphs":[{"__isSmartRef__":true,"id":1458}],"scripts":[],"id":"3142743E-6C66-4445-8A87-D7D178EF64F4","shape":{"__isSmartRef__":true,"id":1474},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1485},"showsHalos":false,"name":"Rectangle18","partsBinMetaInfo":{"__isSmartRef__":true,"id":1486},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1487},"eventHandler":{"__isSmartRef__":true,"id":1488},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F5519D67-A069-4C3A-ACE8-0AA375A7E34A","59FBAB8D-A12D-4449-AD33-9060CCD6002D"],"index":4,"priorExtent":{"__isSmartRef__":true,"id":1489},"layout":{"__isSmartRef__":true,"id":1490},"owner":{"__isSmartRef__":true,"id":1303},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1491},"__LivelyClassName__":"lively.morphic.Box"},"1458":{"submorphs":[],"scripts":[],"id":"306A19BD-DBB7-4F0C-833C-614F75D992AA","shape":{"__isSmartRef__":true,"id":1459},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1465},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1462},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text20","partsBinMetaInfo":{"__isSmartRef__":true,"id":1466},"textChunks":[{"__isSmartRef__":true,"id":1467}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1469},"renderContextTable":{"__isSmartRef__":true,"id":1470},"eventHandler":{"__isSmartRef__":true,"id":1471},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1472},"_ClipMode":"visible","derivationIds":[355,"0F3AE3FA-2B37-4FB7-9A76-FCCC9E93833A","A5006B05-E83D-4E10-807D-3F2210FF5C28"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1473},"owner":{"__isSmartRef__":true,"id":1457},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1459":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1460},"_Extent":{"__isSmartRef__":true,"id":1461},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1462},"renderContextTable":{"__isSmartRef__":true,"id":1463},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1464},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1460":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1461":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1462":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1463":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1464":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1465":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1466":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1467":{"style":{"__isSmartRef__":true,"id":1468},"chunkOwner":{"__isSmartRef__":true,"id":1458},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1468":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1469":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1470":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1471":{"morph":{"__isSmartRef__":true,"id":1458},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1472":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1473":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1474":{"position":{"__isSmartRef__":true,"id":1475},"_Extent":{"__isSmartRef__":true,"id":1476},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1477},"_Fill":{"__isSmartRef__":true,"id":1478},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1483},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1484},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1475":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1476":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1477":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1478":{"stops":[{"__isSmartRef__":true,"id":1479},{"__isSmartRef__":true,"id":1481}],"vector":{"__isSmartRef__":true,"id":1330},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1479":{"offset":0,"color":{"__isSmartRef__":true,"id":1480}},"1480":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1481":{"offset":1,"color":{"__isSmartRef__":true,"id":1482}},"1482":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1483":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1484":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1485":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1486":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1487":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1488":{"morph":{"__isSmartRef__":true,"id":1457},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1489":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1490":{"resizeWidth":true},"1491":{"onTouchStart":{"__isSmartRef__":true,"id":1340},"onTouchMove":{"__isSmartRef__":true,"id":1344},"onTouchEnd":{"__isSmartRef__":true,"id":1348}},"1492":{"submorphs":[{"__isSmartRef__":true,"id":1493}],"scripts":[],"id":"6BBC35B8-F512-41B1-B8A8-18380EDD2C38","shape":{"__isSmartRef__":true,"id":1509},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1520},"showsHalos":false,"name":"Rectangle19","partsBinMetaInfo":{"__isSmartRef__":true,"id":1521},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1522},"eventHandler":{"__isSmartRef__":true,"id":1523},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"14E2899E-FDE9-4DE2-A233-224D0A32A245","F2B3022A-6E1B-483B-A901-616629F13A6F"],"index":5,"priorExtent":{"__isSmartRef__":true,"id":1524},"layout":{"__isSmartRef__":true,"id":1525},"owner":{"__isSmartRef__":true,"id":1303},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1526},"__LivelyClassName__":"lively.morphic.Box"},"1493":{"submorphs":[],"scripts":[],"id":"8AB82126-B9DF-471F-A525-BB94F76B665D","shape":{"__isSmartRef__":true,"id":1494},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1500},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1497},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text21","partsBinMetaInfo":{"__isSmartRef__":true,"id":1501},"textChunks":[{"__isSmartRef__":true,"id":1502}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1504},"renderContextTable":{"__isSmartRef__":true,"id":1505},"eventHandler":{"__isSmartRef__":true,"id":1506},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1507},"_ClipMode":"visible","derivationIds":[355,"4740724F-00A9-4F70-9787-A01B0FB0AE84","58940F01-B24D-4CEA-A4C9-50ED9AD21410"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1508},"owner":{"__isSmartRef__":true,"id":1492},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1494":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1495},"_Extent":{"__isSmartRef__":true,"id":1496},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1497},"renderContextTable":{"__isSmartRef__":true,"id":1498},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1499},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1495":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1496":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1497":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1498":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1499":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1500":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1501":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1502":{"style":{"__isSmartRef__":true,"id":1503},"chunkOwner":{"__isSmartRef__":true,"id":1493},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1503":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1504":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1505":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1506":{"morph":{"__isSmartRef__":true,"id":1493},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1507":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1508":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1509":{"position":{"__isSmartRef__":true,"id":1510},"_Extent":{"__isSmartRef__":true,"id":1511},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1512},"_Fill":{"__isSmartRef__":true,"id":1513},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1518},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1519},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1510":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1511":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1512":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1513":{"stops":[{"__isSmartRef__":true,"id":1514},{"__isSmartRef__":true,"id":1516}],"vector":{"__isSmartRef__":true,"id":1330},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1514":{"offset":0,"color":{"__isSmartRef__":true,"id":1515}},"1515":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1516":{"offset":1,"color":{"__isSmartRef__":true,"id":1517}},"1517":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1518":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1519":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1520":{"x":0,"y":215,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1521":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1522":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1523":{"morph":{"__isSmartRef__":true,"id":1492},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1524":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1525":{"resizeWidth":true},"1526":{"onTouchStart":{"__isSmartRef__":true,"id":1340},"onTouchMove":{"__isSmartRef__":true,"id":1344},"onTouchEnd":{"__isSmartRef__":true,"id":1348}},"1527":{"submorphs":[{"__isSmartRef__":true,"id":1528}],"scripts":[],"id":"C58D383C-F3A5-4D01-8B41-05DA6C61D290","shape":{"__isSmartRef__":true,"id":1544},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1555},"showsHalos":false,"name":"Rectangle20","partsBinMetaInfo":{"__isSmartRef__":true,"id":1556},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1557},"eventHandler":{"__isSmartRef__":true,"id":1558},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"1D856615-6103-491F-924E-274FD76E3EDA","868F296C-68D3-4896-A01F-A994BF66D021"],"index":6,"priorExtent":{"__isSmartRef__":true,"id":1559},"layout":{"__isSmartRef__":true,"id":1560},"owner":{"__isSmartRef__":true,"id":1303},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1561},"__LivelyClassName__":"lively.morphic.Box"},"1528":{"submorphs":[],"scripts":[],"id":"E14CE99E-3E37-4C3D-9BC0-6A739D1C5E3A","shape":{"__isSmartRef__":true,"id":1529},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1535},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1532},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text22","partsBinMetaInfo":{"__isSmartRef__":true,"id":1536},"textChunks":[{"__isSmartRef__":true,"id":1537}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1539},"renderContextTable":{"__isSmartRef__":true,"id":1540},"eventHandler":{"__isSmartRef__":true,"id":1541},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1542},"_ClipMode":"visible","derivationIds":[355,"C8062D9B-D328-465D-997B-9B0AC5F4C985","A2498368-5D61-458F-8B9E-953A1D5EA943"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1543},"owner":{"__isSmartRef__":true,"id":1527},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1529":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1530},"_Extent":{"__isSmartRef__":true,"id":1531},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1532},"renderContextTable":{"__isSmartRef__":true,"id":1533},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1534},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1530":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1531":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1532":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1533":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1534":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1535":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1536":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1537":{"style":{"__isSmartRef__":true,"id":1538},"chunkOwner":{"__isSmartRef__":true,"id":1528},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1538":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1539":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1540":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1541":{"morph":{"__isSmartRef__":true,"id":1528},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1542":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1543":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1544":{"position":{"__isSmartRef__":true,"id":1545},"_Extent":{"__isSmartRef__":true,"id":1546},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1547},"_Fill":{"__isSmartRef__":true,"id":1548},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1553},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1554},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1545":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1546":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1547":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1548":{"stops":[{"__isSmartRef__":true,"id":1549},{"__isSmartRef__":true,"id":1551}],"vector":{"__isSmartRef__":true,"id":1330},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1549":{"offset":0,"color":{"__isSmartRef__":true,"id":1550}},"1550":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1551":{"offset":1,"color":{"__isSmartRef__":true,"id":1552}},"1552":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1553":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1554":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1555":{"x":0,"y":258,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1556":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1557":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1558":{"morph":{"__isSmartRef__":true,"id":1527},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1559":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1560":{"resizeWidth":true},"1561":{"onTouchStart":{"__isSmartRef__":true,"id":1340},"onTouchMove":{"__isSmartRef__":true,"id":1344},"onTouchEnd":{"__isSmartRef__":true,"id":1348}},"1562":{"submorphs":[{"__isSmartRef__":true,"id":1563}],"scripts":[],"id":"E0CCB80E-08B5-45B8-A4CB-80B59BF3EC9C","shape":{"__isSmartRef__":true,"id":1579},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1590},"showsHalos":false,"name":"Rectangle21","partsBinMetaInfo":{"__isSmartRef__":true,"id":1591},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1592},"eventHandler":{"__isSmartRef__":true,"id":1593},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"EE7DA9BE-241E-4272-A8F9-8F6BD7A79357","4653004D-70CE-483A-9F04-F421C7F1EC2C"],"index":7,"priorExtent":{"__isSmartRef__":true,"id":1594},"layout":{"__isSmartRef__":true,"id":1595},"owner":{"__isSmartRef__":true,"id":1303},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1596},"__LivelyClassName__":"lively.morphic.Box"},"1563":{"submorphs":[],"scripts":[],"id":"42D8B1FB-AE40-4619-B97E-54FCCF140863","shape":{"__isSmartRef__":true,"id":1564},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1570},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1567},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text23","partsBinMetaInfo":{"__isSmartRef__":true,"id":1571},"textChunks":[{"__isSmartRef__":true,"id":1572}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1574},"renderContextTable":{"__isSmartRef__":true,"id":1575},"eventHandler":{"__isSmartRef__":true,"id":1576},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1577},"_ClipMode":"visible","derivationIds":[355,"D10C9D67-E7D7-4B96-89C5-A542439C15AA","34BCB687-561E-4E96-8ACE-53622B72CB1E"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1578},"owner":{"__isSmartRef__":true,"id":1562},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1564":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1565},"_Extent":{"__isSmartRef__":true,"id":1566},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1567},"renderContextTable":{"__isSmartRef__":true,"id":1568},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1569},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1565":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1566":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1567":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1568":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1569":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1570":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1571":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1572":{"style":{"__isSmartRef__":true,"id":1573},"chunkOwner":{"__isSmartRef__":true,"id":1563},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1573":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1574":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1575":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1576":{"morph":{"__isSmartRef__":true,"id":1563},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1577":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1578":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1579":{"position":{"__isSmartRef__":true,"id":1580},"_Extent":{"__isSmartRef__":true,"id":1581},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1582},"_Fill":{"__isSmartRef__":true,"id":1583},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1588},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1589},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1580":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1581":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1582":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1583":{"stops":[{"__isSmartRef__":true,"id":1584},{"__isSmartRef__":true,"id":1586}],"vector":{"__isSmartRef__":true,"id":1330},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1584":{"offset":0,"color":{"__isSmartRef__":true,"id":1585}},"1585":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1586":{"offset":1,"color":{"__isSmartRef__":true,"id":1587}},"1587":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1588":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1589":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1590":{"x":0,"y":301,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1591":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1592":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1593":{"morph":{"__isSmartRef__":true,"id":1562},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1594":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1595":{"resizeWidth":true},"1596":{"onTouchStart":{"__isSmartRef__":true,"id":1340},"onTouchMove":{"__isSmartRef__":true,"id":1344},"onTouchEnd":{"__isSmartRef__":true,"id":1348}},"1597":{"submorphs":[{"__isSmartRef__":true,"id":1598}],"scripts":[],"id":"FB9DAD23-0505-4F0D-A6B4-6E772E694DF4","shape":{"__isSmartRef__":true,"id":1614},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1625},"showsHalos":false,"name":"Rectangle22","partsBinMetaInfo":{"__isSmartRef__":true,"id":1626},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1627},"eventHandler":{"__isSmartRef__":true,"id":1628},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"2E1D745F-41F1-4D02-B340-3A77BEE1B7C3","77FFD08B-D46C-4713-9726-A96F693E887E"],"index":8,"priorExtent":{"__isSmartRef__":true,"id":1629},"layout":{"__isSmartRef__":true,"id":1630},"owner":{"__isSmartRef__":true,"id":1303},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1631},"__LivelyClassName__":"lively.morphic.Box"},"1598":{"submorphs":[],"scripts":[],"id":"B71F6F46-B717-4A5F-951D-77417F7E6EFD","shape":{"__isSmartRef__":true,"id":1599},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1605},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1602},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text24","partsBinMetaInfo":{"__isSmartRef__":true,"id":1606},"textChunks":[{"__isSmartRef__":true,"id":1607}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1609},"renderContextTable":{"__isSmartRef__":true,"id":1610},"eventHandler":{"__isSmartRef__":true,"id":1611},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1612},"_ClipMode":"visible","derivationIds":[355,"73E4BF5B-12F7-4288-A9ED-02155EB86DB2","D705F0F9-9142-4B7A-894C-5230E2C923C4"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1613},"owner":{"__isSmartRef__":true,"id":1597},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1599":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1600},"_Extent":{"__isSmartRef__":true,"id":1601},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1602},"renderContextTable":{"__isSmartRef__":true,"id":1603},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1604},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1600":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1601":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1602":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1603":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1604":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1605":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1606":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1607":{"style":{"__isSmartRef__":true,"id":1608},"chunkOwner":{"__isSmartRef__":true,"id":1598},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1608":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1609":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1610":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1611":{"morph":{"__isSmartRef__":true,"id":1598},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1612":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1613":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1614":{"position":{"__isSmartRef__":true,"id":1615},"_Extent":{"__isSmartRef__":true,"id":1616},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1617},"_Fill":{"__isSmartRef__":true,"id":1618},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1623},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1624},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1615":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1616":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1617":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1618":{"stops":[{"__isSmartRef__":true,"id":1619},{"__isSmartRef__":true,"id":1621}],"vector":{"__isSmartRef__":true,"id":1330},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1619":{"offset":0,"color":{"__isSmartRef__":true,"id":1620}},"1620":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1621":{"offset":1,"color":{"__isSmartRef__":true,"id":1622}},"1622":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1623":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1624":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1625":{"x":0,"y":344,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1626":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1627":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1628":{"morph":{"__isSmartRef__":true,"id":1597},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1629":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1630":{"resizeWidth":true},"1631":{"onTouchStart":{"__isSmartRef__":true,"id":1340},"onTouchMove":{"__isSmartRef__":true,"id":1344},"onTouchEnd":{"__isSmartRef__":true,"id":1348}},"1632":{"position":{"__isSmartRef__":true,"id":1633},"_Extent":{"__isSmartRef__":true,"id":1634},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1635},"_Fill":{"__isSmartRef__":true,"id":1636},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1637},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1638},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1633":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1634":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1635":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1636":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1637":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1638":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1639":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1640":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1641":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1642":{"morph":{"__isSmartRef__":true,"id":1303},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1643":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1644":{"resizeWidth":true,"adjustForNewBounds":true},"1645":{"onTouchStart":{"__isSmartRef__":true,"id":1646},"onTouchMove":{"__isSmartRef__":true,"id":1654},"onTouchEnd":{"__isSmartRef__":true,"id":1662},"stayInBounds":{"__isSmartRef__":true,"id":1670},"isInBounds":{"__isSmartRef__":true,"id":1674}},"1646":{"varMapping":{"__isSmartRef__":true,"id":1647},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":1652},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1647":{"this":{"__isSmartRef__":true,"id":1303},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1648}},"1648":{"$super":{"__isSmartRef__":true,"id":1649}},"1649":{"varMapping":{"__isSmartRef__":true,"id":1650},"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":1651},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1650":{"obj":{"__isSmartRef__":true,"id":1303},"name":"onTouchStart"},"1651":{},"1652":{"timestamp":{"__isSmartRef__":true,"id":1653},"user":"sstamm","tags":[]},"1653":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"1654":{"varMapping":{"__isSmartRef__":true,"id":1655},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(0,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1660},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1655":{"this":{"__isSmartRef__":true,"id":1303},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1656}},"1656":{"$super":{"__isSmartRef__":true,"id":1657}},"1657":{"varMapping":{"__isSmartRef__":true,"id":1658},"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":1659},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1658":{"obj":{"__isSmartRef__":true,"id":1303},"name":"onTouchMove"},"1659":{},"1660":{"timestamp":{"__isSmartRef__":true,"id":1661},"user":"sstamm","tags":[]},"1661":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (CET)"},"1662":{"varMapping":{"__isSmartRef__":true,"id":1663},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":1668},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1663":{"this":{"__isSmartRef__":true,"id":1303},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1664}},"1664":{"$super":{"__isSmartRef__":true,"id":1665}},"1665":{"varMapping":{"__isSmartRef__":true,"id":1666},"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":1667},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1666":{"obj":{"__isSmartRef__":true,"id":1303},"name":"onTouchEnd"},"1667":{},"1668":{"timestamp":{"__isSmartRef__":true,"id":1669},"user":"sstamm","tags":[]},"1669":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (CET)"},"1670":{"varMapping":{"__isSmartRef__":true,"id":1671},"source":"function stayInBounds() {\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n// this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":1672},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1671":{"this":{"__isSmartRef__":true,"id":1303}},"1672":{"timestamp":{"__isSmartRef__":true,"id":1673},"user":"sstamm","tags":[]},"1673":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (CET)"},"1674":{"varMapping":{"__isSmartRef__":true,"id":1675},"source":"function isInBounds() {\n var heightMenu = this.owner.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1676},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1675":{"this":{"__isSmartRef__":true,"id":1303}},"1676":{"timestamp":{"__isSmartRef__":true,"id":1677},"user":"sstamm","tags":[]},"1677":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (CET)"},"1678":{"position":{"__isSmartRef__":true,"id":1679},"_Extent":{"__isSmartRef__":true,"id":1680},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1681},"_Fill":{"__isSmartRef__":true,"id":1682},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1683},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1684},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1679":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1680":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1681":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1682":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1683":{},"1684":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1685":{"x":7,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1686":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":1687},{"__isSmartRef__":true,"id":1689},{"__isSmartRef__":true,"id":1691},{"__isSmartRef__":true,"id":1693}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1687":{"date":{"__isSmartRef__":true,"id":1688},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"1688":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (CET)"},"1689":{"date":{"__isSmartRef__":true,"id":1690},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"1690":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (CET)"},"1691":{"date":{"__isSmartRef__":true,"id":1692},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"1692":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (CET)"},"1693":{"date":{"__isSmartRef__":true,"id":1694},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"1694":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (CET)"},"1695":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1696":{"morph":{"__isSmartRef__":true,"id":1302},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1697":{"sourceObj":{"__isSmartRef__":true,"id":1302},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1302},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1698":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1699":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"1700":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1701":{"onrestore":{"__isSmartRef__":true,"id":1702},"initialize":{"__isSmartRef__":true,"id":1710},"addItem":{"__isSmartRef__":true,"id":1718},"createListItem":{"__isSmartRef__":true,"id":1722},"touchstartCallback":{"__isSmartRef__":true,"id":1340},"touchmoveCallback":{"__isSmartRef__":true,"id":1344},"touchendCallback":{"__isSmartRef__":true,"id":1348},"updateSelection":{"__isSmartRef__":true,"id":1726},"handleClick":{"__isSmartRef__":true,"id":1730},"initializeListEntries":{"__isSmartRef__":true,"id":1734}},"1702":{"varMapping":{"__isSmartRef__":true,"id":1703},"source":"function onrestore() {\n var that = this;\n\n //TODO: this is a race condition, because the render context is not\n // ready in onrestore\n window.setTimeout(function() { \n that.shape.setClipMode(\"hidden\"); }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":1708},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1703":{"this":{"__isSmartRef__":true,"id":1302},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1704}},"1704":{"$super":{"__isSmartRef__":true,"id":1705}},"1705":{"varMapping":{"__isSmartRef__":true,"id":1706},"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":1707},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1706":{"obj":{"__isSmartRef__":true,"id":1302},"name":"onrestore"},"1707":{},"1708":{"timestamp":{"__isSmartRef__":true,"id":1709},"user":"sstamm","tags":[]},"1709":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (CET)"},"1710":{"varMapping":{"__isSmartRef__":true,"id":1711},"source":"function initialize() {\n console.log(\"in initialize\");\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n var itemContainer = this.get(\"ListItemContainer\");\n \n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n \n}","funcProperties":{"__isSmartRef__":true,"id":1716},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1711":{"this":{"__isSmartRef__":true,"id":1302},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1712}},"1712":{"$super":{"__isSmartRef__":true,"id":1713}},"1713":{"varMapping":{"__isSmartRef__":true,"id":1714},"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":1715},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1714":{"obj":{"__isSmartRef__":true,"id":1302},"name":"initialize"},"1715":{},"1716":{"timestamp":{"__isSmartRef__":true,"id":1717},"user":"sstamm","tags":[]},"1717":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (CET)"},"1718":{"varMapping":{"__isSmartRef__":true,"id":1719},"source":"function addItem(text) {\n var newMorph = this.createListItem(text);\n \n newMorph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(newMorph);\n this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":1720},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1719":{"this":{"__isSmartRef__":true,"id":1302}},"1720":{"timestamp":{"__isSmartRef__":true,"id":1721},"user":"sstamm","tags":[]},"1721":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (CET)"},"1722":{"varMapping":{"__isSmartRef__":true,"id":1723},"source":"function createListItem(textString) {\n var part = lively.PartsBin.getPart(\"Rectangle\", \"PartsBin/Basic\");\n\n part.index = this.itemList.length;\n\n part.setExtent(pt(this.getExtent().x,44));\n part.applyStyle({resizeWidth: true});\n part.setFill(new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ));\n part.setBorderColor(Color.rgb(138,138,138));\n \n\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n part.registerForEvent(\"touchstart\", part, \"onTouchStart\", false);\n part.registerForEvent(\"touchmove\", part, \"onTouchMove\", false);\n part.registerForEvent(\"touchend\", part, \"onTouchEnd\", false);\n\n var text = lively.PartsBin.getPart(\"Text\", \"PartsBin/Basic\");\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":1724},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1723":{"this":{"__isSmartRef__":true,"id":1302}},"1724":{"timestamp":{"__isSmartRef__":true,"id":1725},"user":"sstamm","tags":[]},"1725":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (CET)"},"1726":{"varMapping":{"__isSmartRef__":true,"id":1727},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.submorphs[0].textString;\n } else {\n this.selection = \"\";\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1728},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1727":{"this":{"__isSmartRef__":true,"id":1302}},"1728":{"timestamp":{"__isSmartRef__":true,"id":1729},"user":"sstamm","tags":[]},"1729":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (CET)"},"1730":{"varMapping":{"__isSmartRef__":true,"id":1731},"source":"function handleClick() {\n switch(this.selection){\n case \"PartsBin\":\n $world.openPartsBin();\n $world.hideMockMenu();\n break;\n case \"Parts\":\n this.owner.showList(this.selection);\n break;\n case \"Ellipse\":\n case \"Image\":\n case \"Line\":\n case \"Rectangle\":\n case \"Text\":\n $world.openPartItem(this.selection, \"PartsBin/Basic\");\n $world.hideMockMenu();\n break;\n case \"Button\":\n case \"List\":\n case \"ScriptableButton\":\n case \"Slider\":\n $world.openPartItem(this.selection, \"PartsBin/Inputs\");\n $world.hideMockMenu();\n break;\n case \"Tools\":\n this.owner.showList(this.selection);\n break;\n case \"Workspace\":\n $world.openWorkspace();\n $world.hideMockMenu();\n break;\n case \"System Code Browser\":\n $world.openSystemBrowser();\n $world.hideMockMenu();\n break;\n case \"Object Editor\":\n $world.openObjectEditor();\n $world.hideMockMenu();\n break;\n case \"Method Finder\":\n $world.openMethodFinder();\n $world.hideMockMenu();\n break;\n case \"Text Editor\":\n new lively.morphic.TextEditor().openIn(world)\n $world.hideMockMenu();\n break;\n case \"Preferences\":\n this.owner.showList(this.selection);\n break;\n case \"set username\":\n $world.askForUserName();\n $world.hideMockMenu();\n break;\n case \"set extent\":\n $world.askForNewWorldExtent();\n $world.hideMockMenu();\n break;\n case \"disable part caching\":\n $world.hideMockMenu();\n break;\n case \"Debugging\":\n this.owner.showList(this.selection);\n break;\n case \"reset world scale\":\n $world.resetScale();\n $world.hideMockMenu();\n break;\n case \"reset title bars\":\n $world.resetAllTitleBars();\n $world.hideMockMenu();\n break;\n case \"reset button labels\":\n $world.resetAllButtonLabels();\n $world.hideMockMenu();\n break;\n case \"World serialization info\":\n require('lively.persistence.Debugging').toRun(\n function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n }\n );\n $world.hideMockMenu();\n break;\n case \"clear part cache\":\n $world.hideMockMenu();\n break;\n case \"show connectors\":\n $world.hideMockMenu();\n break;\n case \"Wiki\":\n this.owner.showList(this.selection);\n break;\n case \"about this wiki\":\n $world.openAboutBox();\n $world.hideMockMenu();\n break;\n case \"view versions of this world\":\n $world.openVersionViewer();\n $world.hideMockMenu();\n break;\n case \"download world\":\n require('lively.persistence.StandAlonePackaging').toRun(\n function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"upload world to Dropbox\":\n require('apps.Dropbox').toRun(\n function() {\n DropboxAPI.uploadArchivedWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"delete world\":\n $world.interactiveDeleteWorldOnServer();\n $world.hideMockMenu();\n break;\n case \"Documentation\":\n this.owner.showList(this.selection);\n break;\n case \"on short cuts\":\n $world.openShortcutDocumentation();\n $world.hideMockMenu();\n break;\n case \"on connect data bindings\":\n $world.openConnectDocumentation();\n $world.hideMockMenu();\n break;\n case \"on Lively's PartsBin\":\n $world.openPartsBinDocumentation();\n $world.hideMockMenu();\n break;\n case \"more...\":\n window.open(Config.rootPath + 'documentation/');\n $world.hideMockMenu();\n break;\n case \"save world as ...\":\n $world.interactiveSaveWorldAs();\n $world.hideMockMenu();\n break;\n case \"save world\":\n $world.saveWorld();\n $world.hideMockMenu();\n break;\n default:\n //Do nothing\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1732},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1731":{"this":{"__isSmartRef__":true,"id":1302}},"1732":{"timestamp":{"__isSmartRef__":true,"id":1733},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"1733":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:26:04 GMT+0100 (CET)"},"1734":{"varMapping":{"__isSmartRef__":true,"id":1735},"source":"function initializeListEntries() {\n this.initialize();\n list = [\"Ellipse\",\"Image\",\"Line\",\"Rectangle\",\"Text\",\n \"Button\",\"List\",\"ScriptableButton\",\"Slider\"];\n for (var i = 0; i < list.length; i++) {\n this.addItem(list[i]);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1736},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1735":{"this":{"__isSmartRef__":true,"id":1302}},"1736":{"timestamp":{"__isSmartRef__":true,"id":1737},"user":"conradcalmez","tags":[]},"1737":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:56:41 GMT+0100 (CET)"},"1738":{"onTouchStart":{"__isSmartRef__":true,"id":1739},"onTouchMove":{"__isSmartRef__":true,"id":1747},"onTouchEnd":{"__isSmartRef__":true,"id":1751},"stayInBounds":{"__isSmartRef__":true,"id":1759},"isInBounds":{"__isSmartRef__":true,"id":1763},"removeAllMenuItems":{"__isSmartRef__":true,"id":1767},"addItemMorph":{"__isSmartRef__":true,"id":1771}},"1739":{"varMapping":{"__isSmartRef__":true,"id":1740},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":1745},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1740":{"this":{"__isSmartRef__":true,"id":1287},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1741}},"1741":{"$super":{"__isSmartRef__":true,"id":1742}},"1742":{"varMapping":{"__isSmartRef__":true,"id":1743},"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":1744},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1743":{"obj":{"__isSmartRef__":true,"id":1287},"name":"onTouchStart"},"1744":{},"1745":{"timestamp":{"__isSmartRef__":true,"id":1746},"user":"sstamm","tags":[]},"1746":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"1747":{"varMapping":{"__isSmartRef__":true,"id":1748},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n var x = this.getPosition().x;\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(x,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1749},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1748":{"this":{"__isSmartRef__":true,"id":1287}},"1749":{"timestamp":{"__isSmartRef__":true,"id":1750},"user":"sstamm","tags":[]},"1750":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:08:15 GMT+0100 (CET)"},"1751":{"varMapping":{"__isSmartRef__":true,"id":1752},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n \n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":1757},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1752":{"this":{"__isSmartRef__":true,"id":1287},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1753}},"1753":{"$super":{"__isSmartRef__":true,"id":1754}},"1754":{"varMapping":{"__isSmartRef__":true,"id":1755},"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":1756},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1755":{"obj":{"__isSmartRef__":true,"id":1287},"name":"onTouchEnd"},"1756":{},"1757":{"timestamp":{"__isSmartRef__":true,"id":1758},"user":"sstamm","tags":[]},"1758":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:10:41 GMT+0100 (CET)"},"1759":{"varMapping":{"__isSmartRef__":true,"id":1760},"source":"function stayInBounds() {\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1761},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1760":{"this":{"__isSmartRef__":true,"id":1287}},"1761":{"timestamp":{"__isSmartRef__":true,"id":1762},"user":"sstamm","tags":[]},"1762":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:01:17 GMT+0100 (CET)"},"1763":{"varMapping":{"__isSmartRef__":true,"id":1764},"source":"function isInBounds() {\n var heightMenu = this.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1765},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1764":{"this":{"__isSmartRef__":true,"id":1287}},"1765":{"timestamp":{"__isSmartRef__":true,"id":1766},"user":"sstamm","tags":[]},"1766":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:00:09 GMT+0100 (CET)"},"1767":{"varMapping":{"__isSmartRef__":true,"id":1768},"source":"function removeAllMenuItems() {\n this.itemList = [];\n this.setPosition(pt(0,0));\n this.submorphs.invoke(\"remove\");\n}","funcProperties":{"__isSmartRef__":true,"id":1769},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1768":{"this":{"__isSmartRef__":true,"id":1287}},"1769":{"timestamp":{"__isSmartRef__":true,"id":1770},"user":"sstamm","tags":[]},"1770":{"isSerializedDate":true,"string":"Fri Mar 02 2012 11:53:17 GMT+0100 (CET)"},"1771":{"varMapping":{"__isSmartRef__":true,"id":1772},"source":"function addItemMorph(morph) {\n morph.disableDropping();\n this.itemList = this.itemList || [];\n morph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(morph);\n this.addMorph(morph);\n}","funcProperties":{"__isSmartRef__":true,"id":1773},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1772":{"this":{"__isSmartRef__":true,"id":1287}},"1773":{"timestamp":{"__isSmartRef__":true,"id":1774},"user":"sstamm","tags":[]},"1774":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:41:29 GMT+0100 (CET)"},"1775":{"addItem":{"__isSmartRef__":true,"id":1776},"createListItem":{"__isSmartRef__":true,"id":1780},"touchstartCallback":{"__isSmartRef__":true,"id":1784},"touchmoveCallback":{"__isSmartRef__":true,"id":1788},"touchendCallback":{"__isSmartRef__":true,"id":1792},"updateSelection":{"__isSmartRef__":true,"id":1796},"handleClick":{"__isSmartRef__":true,"id":1800},"createMenuItems":{"__isSmartRef__":true,"id":1804},"testSimpleCreate":{"__isSmartRef__":true,"id":1808},"removeAllMenuItems":{"__isSmartRef__":true,"id":1812},"setup":{"__isSmartRef__":true,"id":1816},"testCreateMenuItemsWithSubmenus":{"__isSmartRef__":true,"id":1820},"reset":{"__isSmartRef__":true,"id":1824},"openSuperMenu":{"__isSmartRef__":true,"id":1828},"openSubMenu":{"__isSmartRef__":true,"id":1832},"createContainer":{"__isSmartRef__":true,"id":1836},"getCurrentContainer":{"__isSmartRef__":true,"id":1840},"addMenuItems":{"__isSmartRef__":true,"id":1844},"getLevel":{"__isSmartRef__":true,"id":1848},"createContainerPrototype":{"__isSmartRef__":true,"id":1851},"onTouchMove":{"__isSmartRef__":true,"id":1855},"onTouchStart":{"__isSmartRef__":true,"id":1863},"onTouchEnd":{"__isSmartRef__":true,"id":1871}},"1776":{"varMapping":{"__isSmartRef__":true,"id":1777},"source":"function addItem(item) {\n var newMorph = this.createListItem(item);\n this.getCurrentContainer().addItemMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":1778},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1777":{"this":{"__isSmartRef__":true,"id":261}},"1778":{"timestamp":{"__isSmartRef__":true,"id":1779},"user":"sstamm","tags":[]},"1779":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:17:35 GMT+0100 (CET)"},"1780":{"varMapping":{"__isSmartRef__":true,"id":1781},"source":"function createListItem(item) {\n var textString = item.string;\n var part = Morph.makeRectangle(0, 0, 10, 10);\n part.disableSelection();\n part.name = \"MenuItem_\" + textString;\n part.item = item;\n\n part.applyStyle({\n extent: pt(this.getExtent().x,44),\n fill: new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ),\n resizeWidth: true,\n borderColor: Color.rgb(138,138,138)\n });\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n var text = new TextMorph(new Rectangle(0,0,this.getExtent().x,44));\n text.applyStyle({fill: null, borderWidth: 0});\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n \n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n text.disableSelection();\n text.ignoreEvents();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":1782},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1781":{"this":{"__isSmartRef__":true,"id":261}},"1782":{"timestamp":{"__isSmartRef__":true,"id":1783},"user":"sstamm","tags":[]},"1783":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:06:24 GMT+0200 (CEST)"},"1784":{"varMapping":{"__isSmartRef__":true,"id":1785},"source":"function touchstartCallback(evt) {\n var touch = evt.touches[0];\n\n this.clickPosition = pt(touch.clientX,touch.clientY);\n this.lastClickPos = this.clickPosition;\n\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":1786},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1785":{"this":{"__isSmartRef__":true,"id":261}},"1786":{"timestamp":{"__isSmartRef__":true,"id":1787},"user":"sstamm","tags":[]},"1787":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (CET)"},"1788":{"varMapping":{"__isSmartRef__":true,"id":1789},"source":"function touchmoveCallback(evt) {\n var touch = evt.touches[0];\n \n this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n return false;\n \n}","funcProperties":{"__isSmartRef__":true,"id":1790},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1789":{"this":{"__isSmartRef__":true,"id":261}},"1790":{"timestamp":{"__isSmartRef__":true,"id":1791},"user":"sstamm","tags":[]},"1791":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (CET)"},"1792":{"varMapping":{"__isSmartRef__":true,"id":1793},"source":"function touchendCallback(evt) {\n var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n if(delta<25) {\n //TODO: find a better way to find the related listMorph\n var listMorph = this.owner.owner.owner;\n\n if(listMorph && listMorph.updateSelection) {\n listMorph.updateSelection(this);\n }\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":1794},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1793":{"this":{"__isSmartRef__":true,"id":261}},"1794":{"timestamp":{"__isSmartRef__":true,"id":1795},"user":"sstamm","tags":[]},"1795":{"isSerializedDate":true,"string":"Wed Apr 18 2012 16:59:27 GMT+0200 (CEST)"},"1796":{"varMapping":{"__isSmartRef__":true,"id":1797},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.item.value;\n } else {\n this.selection = null;\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1798},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1797":{"this":{"__isSmartRef__":true,"id":261}},"1798":{"timestamp":{"__isSmartRef__":true,"id":1799},"user":"conradcalmez","tags":[]},"1799":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:44:22 GMT+0100 (CET)"},"1800":{"varMapping":{"__isSmartRef__":true,"id":1801},"source":"function handleClick(selection) {\n if (!selection) return;\n\n if (selection[1] instanceof Array) {\n this.openSubMenu(selection);\n return;\n }\n\n if (selection[1] instanceof Function && this.owner.targetMorph) {\n var evt = document.createEvent('MouseEvents');\n evt.initMouseEvent(\n 'mouseup',\n true,\n true,\n window,\n 1,\n 0,\n 0,\n 0,\n 0,\n false,\n false,\n false,\n false,\n 0,\n null\n );\n lively.morphic.EventHandler.prototype.patchEvent(evt);\n var morph = this.owner;\n var synchron = selection[2] == 'synchron'\n // make the call of the callback function asynchronous, so that complex operations\n // do not block the visual update of the list\n // some operations such as 'save world' need synchron remove of the menu\n if(!morph.isPinned()) {\n if(morph.isFixed) {\n window.setTimeout(function() { \n morph.removeFixed(); }, synchron ? 0 : 200);\n } else {\n window.setTimeout(function() { \n morph.remove(); }, synchron ? 0 : 200); \n }\n }\n window.setTimeout(function() { selection[1](evt, morph); }, synchron ? 0 : 50);\n\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1802},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1801":{"this":{"__isSmartRef__":true,"id":261}},"1802":{"timestamp":{"__isSmartRef__":true,"id":1803},"user":"huberthesse","tags":[""]},"1803":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:18:32 GMT+0200 (CEST)"},"1804":{"varMapping":{"__isSmartRef__":true,"id":1805},"source":"function createMenuItems(items) {\n this.removeAllMenuItems();\n this.addMenuItems(items);\n}","funcProperties":{"__isSmartRef__":true,"id":1806},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1805":{"this":{"__isSmartRef__":true,"id":261}},"1806":{"timestamp":{"__isSmartRef__":true,"id":1807},"user":"sstamm","tags":[]},"1807":{"isSerializedDate":true,"string":"Fri Mar 02 2012 13:55:23 GMT+0100 (CET)"},"1808":{"varMapping":{"__isSmartRef__":true,"id":1809},"source":"function testSimpleCreate() {\n var helloWasRun = false;\n this.setup([\n [\"hello\", function() {\n helloWasRun = true;}],\n ]);\n this.updateSelection(this.itemList.first());\n assert(helloWasRun, \"hello callback was not run\");\n}","funcProperties":{"__isSmartRef__":true,"id":1810},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1809":{"this":{"__isSmartRef__":true,"id":261}},"1810":{"timestamp":{"__isSmartRef__":true,"id":1811},"user":"conradcalmez","tags":["test"]},"1811":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:39:19 GMT+0100 (CET)"},"1812":{"varMapping":{"__isSmartRef__":true,"id":1813},"source":"function removeAllMenuItems() {\n this.getCurrentContainer().removeAllMenuItems();\n while(this.containerStack.length > 0){\n this.getCurrentContainer().remove();\n this.currentContainer = containerStack.pop();\n this.currentContainer.removeAllMenuItems();\n }\n this.containerPrototype = this.createContainerPrototype();\n this.nextContainer = this.createContainer();\n this.titleStack = [];\n this.containerStack = [];\n}","funcProperties":{"__isSmartRef__":true,"id":1814},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1813":{"this":{"__isSmartRef__":true,"id":261}},"1814":{"timestamp":{"__isSmartRef__":true,"id":1815},"user":"sstamm","tags":[]},"1815":{"isSerializedDate":true,"string":"Fri Mar 02 2012 17:01:55 GMT+0100 (CET)"},"1816":{"varMapping":{"__isSmartRef__":true,"id":1817},"source":"function setup(itemList) {\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.setClipMode(\"hidden\");\n this.titleStack = [];\n this.containerStack = [];\n var container = this.getCurrentContainer();\n this.get(\"SubmenuContainer\").removeAllMorphs();\n this.get(\"SubmenuContainer\").addMorph(container);\n this.currentContainer = container;\n this.get(\"SubmenuContainer\").setPosition(pt(0,0));\n //world menu entries\n this.createMenuItems(itemList);\n}","funcProperties":{"__isSmartRef__":true,"id":1818},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1817":{"this":{"__isSmartRef__":true,"id":261}},"1818":{"timestamp":{"__isSmartRef__":true,"id":1819},"user":"sstamm","tags":[]},"1819":{"isSerializedDate":true,"string":"Fri Apr 20 2012 11:05:41 GMT+0200 (CEST)"},"1820":{"varMapping":{"__isSmartRef__":true,"id":1821},"source":"function testCreateMenuItemsWithSubmenus() {\n var helloWasRun = false;\n this.setup([\n [\"sub\", [\n [\"hello\", function() {\n helloWasRun = true;}] \n ]\n ]\n ]);\n this.updateSelection(this.itemList.first());\n (function () {\n this.updateSelection(this.itemList.first());\n assert(helloWasRun, \"hello callback was not run\");\n }).bind(this).delay(0);\n}","funcProperties":{"__isSmartRef__":true,"id":1822},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1821":{"this":{"__isSmartRef__":true,"id":261}},"1822":{"timestamp":{"__isSmartRef__":true,"id":1823},"user":"conradcalmez","tags":["test"]},"1823":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:58:41 GMT+0100 (CET)"},"1824":{"varMapping":{"__isSmartRef__":true,"id":1825},"source":"function reset() {\n this.disableDropping();\n this.submorphs.invoke('disableDropping');\n this.setup([]);\n}","funcProperties":{"__isSmartRef__":true,"id":1826},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1825":{"this":{"__isSmartRef__":true,"id":261}},"1826":{"timestamp":{"__isSmartRef__":true,"id":1827},"user":"conradcalmez","tags":[]},"1827":{"isSerializedDate":true,"string":"Mon Feb 13 2012 12:30:08 GMT+0100 (CET)"},"1828":{"varMapping":{"__isSmartRef__":true,"id":1829},"source":"function openSuperMenu() {\n this.title = this.titleStack.pop();\n\n var offset = this.getExtent().x * this.getLevel();\n\n if (this.getLevel() === 0){\n this.get(\"BackButton\").setVisible(false);\n }\n\n var that = this;\n var callbackFct = function() {\n that.getCurrentContainer().remove();\n that.currentContainer = that.containerStack.pop();\n };\n\n this.get(\"SubmenuContainer\").setPositionAnimated(pt(-offset, 0), 500, callbackFct);\n\n}","funcProperties":{"__isSmartRef__":true,"id":1830},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1829":{"this":{"__isSmartRef__":true,"id":261}},"1830":{"timestamp":{"__isSmartRef__":true,"id":1831},"user":"sstamm","tags":[]},"1831":{"isSerializedDate":true,"string":"Mon Mar 05 2012 16:43:12 GMT+0100 (CET)"},"1832":{"varMapping":{"__isSmartRef__":true,"id":1833},"source":"function openSubMenu(selection) {\n (function () {\n this.titleStack.push(this.title);\n this.containerStack.push(this.getCurrentContainer());\n this.get(\"BackButton\").setVisible(true);\n this.title = selection[0];\n\n var offset = this.getExtent().x * this.getLevel();\n\n var container;\n if(this.nextContainer){\n container = this.nextContainer;\n delete this.nextContainer;\n } else {\n container = this.createContainer();\n }\n container.setPosition(pt(offset, 0));\n this.get(\"SubmenuContainer\").addMorph(container);\n \n this.currentContainer = container;\n this.addMenuItems(selection[1]);\n\n var that = this;\n this.get(\"SubmenuContainer\").setPositionAnimated(pt(-offset, 0), 500, function(){\n that.nextContainer = that.createContainer();\n });\n\n }).bind(this).delay(0);\n}","funcProperties":{"__isSmartRef__":true,"id":1834},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1833":{"this":{"__isSmartRef__":true,"id":261}},"1834":{"timestamp":{"__isSmartRef__":true,"id":1835},"user":"sstamm","tags":[]},"1835":{"isSerializedDate":true,"string":"Mon Mar 05 2012 10:40:27 GMT+0100 (CET)"},"1836":{"varMapping":{"__isSmartRef__":true,"id":1837},"source":"function createContainer() {\n var container = this.containerPrototype.copy();\n container.removeAllMenuItems();\n return container;\n}","funcProperties":{"__isSmartRef__":true,"id":1838},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1837":{"this":{"__isSmartRef__":true,"id":261}},"1838":{"timestamp":{"__isSmartRef__":true,"id":1839},"user":"sstamm","tags":[]},"1839":{"isSerializedDate":true,"string":"Fri Mar 02 2012 15:11:52 GMT+0100 (CET)"},"1840":{"varMapping":{"__isSmartRef__":true,"id":1841},"source":"function getCurrentContainer() {\n if(!this.currentContainer){\n this.currentContainer = this.get(\"SubmenuContainer\").submorphs[0];\n }\n return this.currentContainer;\n}","funcProperties":{"__isSmartRef__":true,"id":1842},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1841":{"this":{"__isSmartRef__":true,"id":261}},"1842":{"timestamp":{"__isSmartRef__":true,"id":1843},"user":"sstamm","tags":[]},"1843":{"isSerializedDate":true,"string":"Mon Mar 05 2012 16:25:13 GMT+0100 (CET)"},"1844":{"varMapping":{"__isSmartRef__":true,"id":1845},"source":"function addMenuItems(items) {\n var that = this;\n items.forEach(function (item) {\n that.addItem({string: item[0], value: item, isListItem: true});\n });\n}","funcProperties":{"__isSmartRef__":true,"id":1846},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1845":{"this":{"__isSmartRef__":true,"id":261}},"1846":{"timestamp":{"__isSmartRef__":true,"id":1847},"user":"sstamm","tags":[]},"1847":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:17:17 GMT+0100 (CET)"},"1848":{"varMapping":{"__isSmartRef__":true,"id":1849},"source":"function getLevel() {\n return this.titleStack.length;\n}","funcProperties":{"__isSmartRef__":true,"id":1850},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1849":{"this":{"__isSmartRef__":true,"id":261}},"1850":{},"1851":{"varMapping":{"__isSmartRef__":true,"id":1852},"source":"function createContainerPrototype() {\n var container = this.getCurrentContainer().copy();\n container.removeAllMenuItems();\n return container;\n}","funcProperties":{"__isSmartRef__":true,"id":1853},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1852":{"this":{"__isSmartRef__":true,"id":261}},"1853":{"timestamp":{"__isSmartRef__":true,"id":1854},"user":"sstamm","tags":[]},"1854":{"isSerializedDate":true,"string":"Fri Mar 02 2012 15:11:30 GMT+0100 (CET)"},"1855":{"varMapping":{"__isSmartRef__":true,"id":1856},"source":"function onTouchMove(evt) {\n this.getCurrentContainer().onTouchMove(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":1861},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1856":{"this":{"__isSmartRef__":true,"id":261},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1857}},"1857":{"$super":{"__isSmartRef__":true,"id":1858}},"1858":{"varMapping":{"__isSmartRef__":true,"id":1859},"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":1860},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1859":{"obj":{"__isSmartRef__":true,"id":261},"name":"onTouchMove"},"1860":{},"1861":{"timestamp":{"__isSmartRef__":true,"id":1862},"user":"sstamm","tags":[]},"1862":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:51:49 GMT+0100 (CET)"},"1863":{"varMapping":{"__isSmartRef__":true,"id":1864},"source":"function onTouchStart(evt) {\n this.getCurrentContainer().onTouchStart(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":1869},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1864":{"this":{"__isSmartRef__":true,"id":261},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1865}},"1865":{"$super":{"__isSmartRef__":true,"id":1866}},"1866":{"varMapping":{"__isSmartRef__":true,"id":1867},"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":1868},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1867":{"obj":{"__isSmartRef__":true,"id":261},"name":"onTouchStart"},"1868":{},"1869":{"timestamp":{"__isSmartRef__":true,"id":1870},"user":"sstamm","tags":[]},"1870":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:52:02 GMT+0100 (CET)"},"1871":{"varMapping":{"__isSmartRef__":true,"id":1872},"source":"function onTouchEnd(evt) {\n this.getCurrentContainer().onTouchEnd(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":1877},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1872":{"this":{"__isSmartRef__":true,"id":261},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1873}},"1873":{"$super":{"__isSmartRef__":true,"id":1874}},"1874":{"varMapping":{"__isSmartRef__":true,"id":1875},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1876},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1875":{"obj":{"__isSmartRef__":true,"id":261},"name":"onTouchEnd"},"1876":{},"1877":{"timestamp":{"__isSmartRef__":true,"id":1878},"user":"sstamm","tags":[]},"1878":{"isSerializedDate":true,"string":"Wed Apr 18 2012 17:02:08 GMT+0200 (CEST)"},"1879":{"position":{"__isSmartRef__":true,"id":1880},"_Extent":{"__isSmartRef__":true,"id":1881},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1882},"_Fill":{"__isSmartRef__":true,"id":1883},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1884},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1885},"_BorderRadius":12.215000000000002,"_Opacity":1,"_BorderStyle":"solid","_Position":{"__isSmartRef__":true,"id":1886},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1880":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1881":{"x":361,"y":318,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1882":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1883":{"r":0.03529411764705882,"g":0.06274509803921569,"b":0.11372549019607843,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1884":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1885":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1886":{"x":-180.5,"y":55,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1887":{"x":243,"y":61,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1888":{"partsSpaceName":"PartsBin/iPadWidgets/","__SourceModuleName__":"Global.lively.PartsBin","comment":"menu in iPad style","migrationLevel":4,"partName":"TouchMenu","changes":[{"__isSmartRef__":true,"id":1889},{"__isSmartRef__":true,"id":1891},{"__isSmartRef__":true,"id":1893},{"__isSmartRef__":true,"id":1895},{"__isSmartRef__":true,"id":1897},{"__isSmartRef__":true,"id":1899},{"__isSmartRef__":true,"id":1901},{"__isSmartRef__":true,"id":1903},{"__isSmartRef__":true,"id":1905},{"__isSmartRef__":true,"id":1907},{"__isSmartRef__":true,"id":1909},{"__isSmartRef__":true,"id":1911},{"__isSmartRef__":true,"id":1913},{"__isSmartRef__":true,"id":1915},{"__isSmartRef__":true,"id":1917},{"__isSmartRef__":true,"id":1919},{"__isSmartRef__":true,"id":1921},{"__isSmartRef__":true,"id":1923},{"__isSmartRef__":true,"id":1925},{"__isSmartRef__":true,"id":1927},{"__isSmartRef__":true,"id":1929},{"__isSmartRef__":true,"id":1931},{"__isSmartRef__":true,"id":1933},{"__isSmartRef__":true,"id":1935},{"__isSmartRef__":true,"id":1937},{"__isSmartRef__":true,"id":1939},{"__isSmartRef__":true,"id":1941},{"__isSmartRef__":true,"id":1943},{"__isSmartRef__":true,"id":1945},{"__isSmartRef__":true,"id":1947},{"__isSmartRef__":true,"id":1949},{"__isSmartRef__":true,"id":1951},{"__isSmartRef__":true,"id":1953},{"__isSmartRef__":true,"id":1955},{"__isSmartRef__":true,"id":1957},{"__isSmartRef__":true,"id":1959},{"__isSmartRef__":true,"id":1961},{"__isSmartRef__":true,"id":1963},{"__isSmartRef__":true,"id":1965},{"__isSmartRef__":true,"id":1967},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1971},{"__isSmartRef__":true,"id":1973},{"__isSmartRef__":true,"id":1975},{"__isSmartRef__":true,"id":1977},{"__isSmartRef__":true,"id":1979},{"__isSmartRef__":true,"id":1981},{"__isSmartRef__":true,"id":1983},{"__isSmartRef__":true,"id":1985},{"__isSmartRef__":true,"id":1987},{"__isSmartRef__":true,"id":1989},{"__isSmartRef__":true,"id":1991},{"__isSmartRef__":true,"id":1993},{"__isSmartRef__":true,"id":1995},{"__isSmartRef__":true,"id":1997},{"__isSmartRef__":true,"id":1999},{"__isSmartRef__":true,"id":2001},{"__isSmartRef__":true,"id":2003},{"__isSmartRef__":true,"id":2005},{"__isSmartRef__":true,"id":2007},{"__isSmartRef__":true,"id":2009},{"__isSmartRef__":true,"id":2011},{"__isSmartRef__":true,"id":2013},{"__isSmartRef__":true,"id":2015},{"__isSmartRef__":true,"id":2017},{"__isSmartRef__":true,"id":2019},{"__isSmartRef__":true,"id":2021},{"__isSmartRef__":true,"id":2023},{"__isSmartRef__":true,"id":2025},{"__isSmartRef__":true,"id":2027},{"__isSmartRef__":true,"id":2029},{"__isSmartRef__":true,"id":2031},{"__isSmartRef__":true,"id":2033},{"__isSmartRef__":true,"id":2035},{"__isSmartRef__":true,"id":2037},{"__isSmartRef__":true,"id":2039},{"__isSmartRef__":true,"id":2041},{"__isSmartRef__":true,"id":2043},{"__isSmartRef__":true,"id":2045},{"__isSmartRef__":true,"id":2047},{"__isSmartRef__":true,"id":2049},{"__isSmartRef__":true,"id":2051},{"__isSmartRef__":true,"id":2053},{"__isSmartRef__":true,"id":2055},{"__isSmartRef__":true,"id":2057},{"__isSmartRef__":true,"id":2059},{"__isSmartRef__":true,"id":2061},{"__isSmartRef__":true,"id":2063},{"__isSmartRef__":true,"id":2065},{"__isSmartRef__":true,"id":2067},{"__isSmartRef__":true,"id":2069},{"__isSmartRef__":true,"id":2071},{"__isSmartRef__":true,"id":2073},{"__isSmartRef__":true,"id":2075},{"__isSmartRef__":true,"id":2077},{"__isSmartRef__":true,"id":2079},{"__isSmartRef__":true,"id":2081},{"__isSmartRef__":true,"id":2083},{"__isSmartRef__":true,"id":2085},{"__isSmartRef__":true,"id":2087},{"__isSmartRef__":true,"id":2089},{"__isSmartRef__":true,"id":2091},{"__isSmartRef__":true,"id":2093},{"__isSmartRef__":true,"id":2095},{"__isSmartRef__":true,"id":2097},{"__isSmartRef__":true,"id":2099},{"__isSmartRef__":true,"id":2101},{"__isSmartRef__":true,"id":2103}],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"revisionOnLoad":154018,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1889":{"date":{"__isSmartRef__":true,"id":1890},"author":"sstamm","message":"","id":"C233DB7C-A314-4F83-A059-448742FCF64C"},"1890":{"isSerializedDate":true,"string":"Wed Apr 18 2012 16:13:51 GMT+0200 (CEST)"},"1891":{"date":{"__isSmartRef__":true,"id":1892},"author":"sstamm","message":"disabled selection","id":"C336051C-F50D-4718-9C87-6B81ECA9548F"},"1892":{"isSerializedDate":true,"string":"Wed Apr 18 2012 15:28:35 GMT+0200 (CEST)"},"1893":{"date":{"__isSmartRef__":true,"id":1894},"author":"sstamm","message":"","id":"C9059BA0-44F6-4F7E-94C6-76056E68E530"},"1894":{"isSerializedDate":true,"string":"Thu Mar 29 2012 15:48:40 GMT+0200 (CEST)"},"1895":{"date":{"__isSmartRef__":true,"id":1896},"author":"huberthesse","message":"","id":"CE73D90E-82DE-4B8F-923D-165B4F13302F"},"1896":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:47:22 GMT+0200 (CEST)"},"1897":{"date":{"__isSmartRef__":true,"id":1898},"author":"huberthesse","message":"","id":"AF038D91-7D22-4C78-B715-EB6A6CBBA3EE"},"1898":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:44:54 GMT+0200 (CEST)"},"1899":{"date":{"__isSmartRef__":true,"id":1900},"author":"huberthesse","message":"","id":"CE723E9F-E46C-4286-9B9D-2F0600D63240"},"1900":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:40:32 GMT+0200 (CEST)"},"1901":{"date":{"__isSmartRef__":true,"id":1902},"author":"huberthesse","message":"","id":"1827308A-D5A2-447C-98FF-736B9F2D902B"},"1902":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:38:09 GMT+0200 (CEST)"},"1903":{"date":{"__isSmartRef__":true,"id":1904},"author":"huberthesse","message":"","id":"7A4F0108-9EA3-4111-B4B3-BA0D71FABAFF"},"1904":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:24:58 GMT+0200 (CEST)"},"1905":{"date":{"__isSmartRef__":true,"id":1906},"author":"huberthesse","message":"","id":"B33CD0AB-C6CA-4C68-8D64-EA414CF9DF1F"},"1906":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:18:44 GMT+0200 (CEST)"},"1907":{"date":{"__isSmartRef__":true,"id":1908},"author":"huberthesse","message":"added support for synchron calls","id":"C62F7D6A-3463-4E5B-BC1F-E50130F6E114"},"1908":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:07:26 GMT+0200 (CEST)"},"1909":{"date":{"__isSmartRef__":true,"id":1910},"author":"sstamm","message":"","id":"5EA0E64B-00D7-44A0-B94F-E44DD81970DE"},"1910":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:52:29 GMT+0100 (CET)"},"1911":{"date":{"__isSmartRef__":true,"id":1912},"author":"sstamm","message":"","id":"C79FA26E-C4CC-4AA1-BF45-8999BEC2C328"},"1912":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:48:52 GMT+0100 (CET)"},"1913":{"date":{"__isSmartRef__":true,"id":1914},"author":"sstamm","message":"fixed bug with infinite velocity","id":"3A6C0C0E-1466-4D41-9B40-D18B54092F0A"},"1914":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:46:05 GMT+0100 (CET)"},"1915":{"date":{"__isSmartRef__":true,"id":1916},"author":"sstamm","message":"","id":"6EA0250C-48D8-436E-9C04-78237D8E3964"},"1916":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:43:33 GMT+0100 (CET)"},"1917":{"date":{"__isSmartRef__":true,"id":1918},"author":"sstamm","message":"","id":"AB7C595A-6A78-4929-9FB9-1567793A2573"},"1918":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:42:13 GMT+0100 (CET)"},"1919":{"date":{"__isSmartRef__":true,"id":1920},"author":"sstamm","message":"","id":"5730A8FE-8C00-41BC-BDF5-6B693FED7AA3"},"1920":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:39:26 GMT+0100 (CET)"},"1921":{"date":{"__isSmartRef__":true,"id":1922},"author":"sstamm","message":"","id":"2FA4E085-6A7F-4A16-A5EE-12E883BC9525"},"1922":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:33:55 GMT+0100 (CET)"},"1923":{"date":{"__isSmartRef__":true,"id":1924},"author":"sstamm","message":"","id":"A64B156D-94C9-4551-A053-15765A65B065"},"1924":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:19:34 GMT+0100 (CET)"},"1925":{"date":{"__isSmartRef__":true,"id":1926},"author":"sstamm","message":"","id":"7D9AFF8E-C7C7-49BE-AF05-EF12B984A6BA"},"1926":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:15:27 GMT+0100 (CET)"},"1927":{"date":{"__isSmartRef__":true,"id":1928},"author":"sstamm","message":"","id":"E1B2AA93-72B7-4EE7-95AA-B5FE40810FB9"},"1928":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:13:22 GMT+0100 (CET)"},"1929":{"date":{"__isSmartRef__":true,"id":1930},"author":"sstamm","message":"","id":"76752B38-5105-433B-8BF6-1A96930D69BA"},"1930":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:11:16 GMT+0100 (CET)"},"1931":{"date":{"__isSmartRef__":true,"id":1932},"author":"huberthesse","message":"","id":"42C4D2CF-1622-44D1-A74D-8D2D99983E62"},"1932":{"isSerializedDate":true,"string":"Fri Mar 23 2012 13:35:47 GMT+0100 (CET)"},"1933":{"date":{"__isSmartRef__":true,"id":1934},"author":"huberthesse","message":"","id":"059D4660-23B7-478B-B823-B14C05C15E5B"},"1934":{"isSerializedDate":true,"string":"Fri Mar 23 2012 13:34:49 GMT+0100 (CET)"},"1935":{"date":{"__isSmartRef__":true,"id":1936},"author":"huberthesse","message":"remove touch menu after exec of menu item if menu is not pinned","id":"847E300C-D104-423A-9194-933730A02919"},"1936":{"isSerializedDate":true,"string":"Fri Mar 23 2012 13:32:41 GMT+0100 (CET)"},"1937":{"date":{"__isSmartRef__":true,"id":1938},"author":"markoroeder","message":"changed an access from direct access to a getter","id":"5C60B13C-48A5-4D3E-A609-493D5FFB12ED"},"1938":{"isSerializedDate":true,"string":"Wed Mar 07 2012 11:22:54 GMT+0100 (CET)"},"1939":{"date":{"__isSmartRef__":true,"id":1940},"author":"bsiegmund","message":"reverted","id":"6CF23553-C451-4309-9CA3-CDDED6FD3FA0"},"1940":{"isSerializedDate":true,"string":"Thu Mar 01 2012 14:54:36 GMT+0100 (CET)"},"1941":{"date":{"__isSmartRef__":true,"id":1942},"author":"bsiegmund","message":"using faster list now","id":"F59315D3-BB43-405F-BCB5-5EF72FB89E9B"},"1942":{"isSerializedDate":true,"string":"Thu Mar 01 2012 14:39:59 GMT+0100 (CET)"},"1943":{"date":{"__isSmartRef__":true,"id":1944},"author":"sstamm","message":"scale in setup related to world scale","id":"C61FF380-83B5-47A5-9E90-BB4F3B29737E"},"1944":{"isSerializedDate":true,"string":"Thu Mar 01 2012 14:10:34 GMT+0100 (CET)"},"1945":{"date":{"__isSmartRef__":true,"id":1946},"author":"sstamm","message":"callback function is now called asynchronously, to provide immidiate feedback","id":"5CE7BADD-7D07-4D05-8D6C-1F19528A278E"},"1946":{"isSerializedDate":true,"string":"Thu Feb 23 2012 16:16:34 GMT+0100 (CET)"},"1947":{"date":{"__isSmartRef__":true,"id":1948},"author":"sstamm","message":"callback function is now asynchronous","id":"E412D2ED-68A2-4E46-9872-BE2741D22E4B"},"1948":{"isSerializedDate":true,"string":"Thu Feb 23 2012 16:06:13 GMT+0100 (CET)"},"1949":{"date":{"__isSmartRef__":true,"id":1950},"author":"conradcalmez","message":"copy on pinning","id":"161AD73E-BC7A-4F74-970E-6EE8A9591F04"},"1950":{"isSerializedDate":true,"string":"Wed Feb 22 2012 16:11:04 GMT+0100 (CET)"},"1951":{"date":{"__isSmartRef__":true,"id":1952},"author":"conradcalmez","message":"","id":"F97D487B-F43A-4164-9CEC-5100A5639514"},"1952":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:35:36 GMT+0100 (CET)"},"1953":{"date":{"__isSmartRef__":true,"id":1954},"author":"conradcalmez","message":"","id":"5ADFFA36-2DE8-44B1-ADE0-085E4467E6B2"},"1954":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:34:11 GMT+0100 (CET)"},"1955":{"date":{"__isSmartRef__":true,"id":1956},"author":"conradcalmez","message":"","id":"2DE30403-782E-4EA1-ACEB-10B16E17331D"},"1956":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:29:34 GMT+0100 (CET)"},"1957":{"date":{"__isSmartRef__":true,"id":1958},"author":"conradcalmez","message":"","id":"4EA34716-6498-46CD-B9F1-EE93E25BC342"},"1958":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:27:28 GMT+0100 (CET)"},"1959":{"date":{"__isSmartRef__":true,"id":1960},"author":"conradcalmez","message":"","id":"44010F70-F3B9-4164-AF04-CBF8590B9FC4"},"1960":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:25:35 GMT+0100 (CET)"},"1961":{"date":{"__isSmartRef__":true,"id":1962},"author":"conradcalmez","message":"","id":"953187D9-20B4-441E-BA46-F8D9E309BEE7"},"1962":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:19:48 GMT+0100 (CET)"},"1963":{"date":{"__isSmartRef__":true,"id":1964},"author":"conradcalmez","message":"","id":"BC4C2269-9441-4876-B96E-280821720496"},"1964":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:18:29 GMT+0100 (CET)"},"1965":{"date":{"__isSmartRef__":true,"id":1966},"author":"conradcalmez","message":"","id":"FDFD3D57-4401-4603-BF1C-E0A3AFE0F7D9"},"1966":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:17:01 GMT+0100 (CET)"},"1967":{"date":{"__isSmartRef__":true,"id":1968},"author":"conradcalmez","message":"","id":"23A81326-F016-4435-816C-29711652684D"},"1968":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:15:15 GMT+0100 (CET)"},"1969":{"date":{"__isSmartRef__":true,"id":1970},"author":"conradcalmez","message":"oops a typo has come by","id":"2166ACE7-96B9-4683-AFFD-B0E40E807338"},"1970":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:43:05 GMT+0100 (CET)"},"1971":{"date":{"__isSmartRef__":true,"id":1972},"author":"conradcalmez","message":"pinning adds menu to the targetMorph of the menu","id":"FA29B13A-7FFE-4CC7-A396-41ABFB626978"},"1972":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:41:52 GMT+0100 (CET)"},"1973":{"date":{"__isSmartRef__":true,"id":1974},"author":"conradcalmez","message":"","id":"86C17D0B-3877-4E29-A7A6-C2CB33FD0802"},"1974":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:37:07 GMT+0100 (CET)"},"1975":{"date":{"__isSmartRef__":true,"id":1976},"author":"conradcalmez","message":"","id":"98C592AA-919B-4626-A3ED-7B621D777CDA"},"1976":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:36:23 GMT+0100 (CET)"},"1977":{"date":{"__isSmartRef__":true,"id":1978},"author":"conradcalmez","message":"","id":"9606D610-A410-4809-B8C3-45CB9BCA3361"},"1978":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:34:49 GMT+0100 (CET)"},"1979":{"date":{"__isSmartRef__":true,"id":1980},"author":"conradcalmez","message":"","id":"DA4BEF18-58E7-49F9-8032-C219A9FA256C"},"1980":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:31:32 GMT+0100 (CET)"},"1981":{"date":{"__isSmartRef__":true,"id":1982},"author":"conradcalmez","message":"","id":"1E584269-7648-47BF-AF7F-EECE051ED4A6"},"1982":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:27:55 GMT+0100 (CET)"},"1983":{"date":{"__isSmartRef__":true,"id":1984},"author":"conradcalmez","message":"added pinning functionality","id":"D174C7F1-158B-4744-867F-FC5171FAE408"},"1984":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:25:54 GMT+0100 (CET)"},"1985":{"date":{"__isSmartRef__":true,"id":1986},"author":"conradcalmez","message":"added pin button","id":"1F22A05C-0179-4933-A878-30FEBC5B8DC0"},"1986":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:04:01 GMT+0100 (CET)"},"1987":{"date":{"__isSmartRef__":true,"id":1988},"author":"conradcalmez","message":"","id":"9B53FD05-7C71-4D2C-9969-7B7E07A3D4E1"},"1988":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:11:25 GMT+0100 (CET)"},"1989":{"date":{"__isSmartRef__":true,"id":1990},"author":"conradcalmez","message":"","id":"89D74A5D-CB75-45DF-971D-90BA8E16B1D6"},"1990":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:10:12 GMT+0100 (CET)"},"1991":{"date":{"__isSmartRef__":true,"id":1992},"author":"conradcalmez","message":"","id":"8B096776-8212-447B-8D9B-92118B2D8D98"},"1992":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:08:41 GMT+0100 (CET)"},"1993":{"date":{"__isSmartRef__":true,"id":1994},"author":"conradcalmez","message":"","id":"34A17848-E7F1-43BF-8F94-5E6B7055CA99"},"1994":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:06:26 GMT+0100 (CET)"},"1995":{"date":{"__isSmartRef__":true,"id":1996},"author":"conradcalmez","message":"","id":"85F46876-CA7B-4FB0-A820-E2F3ED26A0DC"},"1996":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:05:29 GMT+0100 (CET)"},"1997":{"date":{"__isSmartRef__":true,"id":1998},"author":"conradcalmez","message":"","id":"08455017-118A-49AE-9FB3-4789675CD01B"},"1998":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:01:48 GMT+0100 (CET)"},"1999":{"date":{"__isSmartRef__":true,"id":2000},"author":"conradcalmez","message":"","id":"80B706EB-023D-4E85-8A0D-62960873BE1C"},"2000":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:58:19 GMT+0100 (CET)"},"2001":{"date":{"__isSmartRef__":true,"id":2002},"author":"conradcalmez","message":"","id":"15ACB335-1010-4578-A360-7A15F86EC3FC"},"2002":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:57:47 GMT+0100 (CET)"},"2003":{"date":{"__isSmartRef__":true,"id":2004},"author":"conradcalmez","message":"","id":"C1750757-32C4-4D61-8C65-73C33A6762B7"},"2004":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:55:34 GMT+0100 (CET)"},"2005":{"date":{"__isSmartRef__":true,"id":2006},"author":"conradcalmez","message":"","id":"E808BDF4-71FB-4BF2-AC02-06203D7A49B5"},"2006":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:53:56 GMT+0100 (CET)"},"2007":{"date":{"__isSmartRef__":true,"id":2008},"author":"conradcalmez","message":"","id":"67FB598B-9428-44C9-B475-ADD465C33C41"},"2008":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:52:51 GMT+0100 (CET)"},"2009":{"date":{"__isSmartRef__":true,"id":2010},"author":"conradcalmez","message":"","id":"A3701A65-D12A-49F3-A5AE-B28DA1045DEE"},"2010":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:50:41 GMT+0100 (CET)"},"2011":{"date":{"__isSmartRef__":true,"id":2012},"author":"conradcalmez","message":"","id":"2EDCD7A8-A735-432A-96B9-1579C1F75D18"},"2012":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:47:57 GMT+0100 (CET)"},"2013":{"date":{"__isSmartRef__":true,"id":2014},"author":"conradcalmez","message":"","id":"A3F60259-5222-4B3F-948F-1B583C83C425"},"2014":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:30:56 GMT+0100 (CET)"},"2015":{"date":{"__isSmartRef__":true,"id":2016},"author":"conradcalmez","message":"","id":"3B42230F-8572-4353-8C69-8B895730ED28"},"2016":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:25:56 GMT+0100 (CET)"},"2017":{"date":{"__isSmartRef__":true,"id":2018},"author":"conradcalmez","message":"","id":"A3C4A892-0A0D-4325-A43B-0860E602221B"},"2018":{"isSerializedDate":true,"string":"Tue Feb 21 2012 14:49:00 GMT+0100 (CET)"},"2019":{"date":{"__isSmartRef__":true,"id":2020},"author":"conradcalmez","message":"","id":"CF048586-404E-4DAE-A8BF-08B45C200E2C"},"2020":{"isSerializedDate":true,"string":"Tue Feb 21 2012 14:26:31 GMT+0100 (CET)"},"2021":{"date":{"__isSmartRef__":true,"id":2022},"author":"conradcalmez","message":"","id":"6F9BA15B-53E6-4CFE-BEFF-DF3B28DEAE84"},"2022":{"isSerializedDate":true,"string":"Mon Feb 20 2012 14:35:48 GMT+0100 (CET)"},"2023":{"date":{"__isSmartRef__":true,"id":2024},"author":"conradcalmez","message":"apply function to morph if a morph is in selection instead of targetMorph","id":"46C194CF-5E98-478C-B7BC-31962C47EC05"},"2024":{"isSerializedDate":true,"string":"Mon Feb 20 2012 14:33:39 GMT+0100 (CET)"},"2025":{"date":{"__isSmartRef__":true,"id":2026},"author":"conradcalmez","message":"maaaahhhh","id":"5D242D12-C104-4C53-BBA7-E1122A35766D"},"2026":{"isSerializedDate":true,"string":"Thu Feb 16 2012 15:09:11 GMT+0100 (CET)"},"2027":{"date":{"__isSmartRef__":true,"id":2028},"author":"conradcalmez","message":"disabled dropping","id":"F84C2DCC-AA8F-4426-8E3A-EF818DCC7A9C"},"2028":{"isSerializedDate":true,"string":"Mon Feb 13 2012 12:31:33 GMT+0100 (CET)"},"2029":{"date":{"__isSmartRef__":true,"id":2030},"author":"athomschke","message":"","id":"EEC630B7-8288-4E1C-A3B0-9CC18BACC8C6"},"2030":{"isSerializedDate":true,"string":"Thu Feb 02 2012 09:59:13 GMT+0100 (CET)"},"2031":{"date":{"__isSmartRef__":true,"id":2032},"author":"conradcalmez","message":"just exchange between worlds","id":"E9721E6D-E28B-4EEF-B190-F3B428EFA7AF"},"2032":{"isSerializedDate":true,"string":"Tue Jan 31 2012 20:57:01 GMT+0100 (CET)"},"2033":{"date":{"__isSmartRef__":true,"id":2034},"author":"conradcalmez","message":"refactored so that the menu uses actual world menu entries","id":"51FECE38-542D-4FCE-8227-90896E50DA74"},"2034":{"isSerializedDate":true,"string":"Fri Feb 03 2012 13:29:59 GMT+0100 (CET)"},"2035":{"date":{"__isSmartRef__":true,"id":2036},"author":"conradcalmez","message":"removed debug output in TouchList","id":"74DEA054-9267-4622-AC05-D2F63B0F7327"},"2036":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:11:17 GMT+0100 (CET)"},"2037":{"date":{"__isSmartRef__":true,"id":2038},"author":"conradcalmez","message":"added cleanup methods and refactored setup so that it takes a list for initializing the menu list","id":"3B1317E7-8CF6-4726-9841-B073C6223F94"},"2038":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:28:30 GMT+0100 (CET)"},"2039":{"date":{"__isSmartRef__":true,"id":2040},"author":"conradcalmez","message":"fixed test cases ... ;)","id":"0BE6E5BE-28F1-47B7-9B8A-D4CCEDE700EF"},"2040":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:56:19 GMT+0100 (CET)"},"2041":{"date":{"__isSmartRef__":true,"id":2042},"author":"conradcalmez","message":"lets try it w/o registering events","id":"0A3D2905-3B19-4207-9310-74A4EFBBE0C9"},"2042":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:30:33 GMT+0100 (CET)"},"2043":{"date":{"__isSmartRef__":true,"id":2044},"author":"conradcalmez","message":"added setup method to menu morph","id":"3CF652E7-5357-4D3B-8FE6-B153DBF67435"},"2044":{"isSerializedDate":true,"string":"Tue Feb 07 2012 15:46:00 GMT+0100 (CET)"},"2045":{"date":{"__isSmartRef__":true,"id":2046},"author":"conradcalmez","message":"set origin to pop over \"nose\"","id":"329961F3-2C7F-4C44-A4A7-81035EA1E614"},"2046":{"isSerializedDate":true,"string":"Tue Feb 07 2012 16:01:37 GMT+0100 (CET)"},"2047":{"date":{"__isSmartRef__":true,"id":2048},"author":"conradcalmez","message":"changed method invocation from call to apply (needs this.targetMorph to be set)","id":"8DCF73CB-CF10-44C0-BFA8-7717AA176483"},"2048":{"isSerializedDate":true,"string":"Mon Feb 20 2012 13:01:06 GMT+0100 (CET)"},"2049":{"date":{"__isSmartRef__":true,"id":2050},"author":"conradcalmez","message":"","id":"A6E16772-7FBD-49E6-9964-7B8450F1106E"},"2050":{"isSerializedDate":true,"string":"Tue Feb 21 2012 12:22:57 GMT+0100 (CET)"},"2051":{"date":{"__isSmartRef__":true,"id":2052},"author":"sstamm","message":"","id":"B456D301-D6FC-4E4E-A846-485724A62BEB"},"2052":{"isSerializedDate":true,"string":"Wed Feb 22 2012 17:20:54 GMT+0100 (CET)"},"2053":{"date":{"__isSmartRef__":true,"id":2054},"author":"sstamm","message":"","id":"36E4E28E-802C-46BE-97CB-12173F99E76D"},"2054":{"isSerializedDate":true,"string":"Thu Feb 23 2012 16:25:23 GMT+0100 (CET)"},"2055":{"date":{"__isSmartRef__":true,"id":2056},"author":"sstamm","message":"","id":"4F7CC030-24B2-4F51-9BCB-B251C6FF1AA2"},"2056":{"isSerializedDate":true,"string":"Thu Feb 23 2012 16:29:18 GMT+0100 (CET)"},"2057":{"date":{"__isSmartRef__":true,"id":2058},"author":"bsiegmund","message":"using faster list now","id":"F7D13107-E8FC-4D4A-A091-79751F2268B3"},"2058":{"isSerializedDate":true,"string":"Thu Mar 01 2012 14:31:14 GMT+0100 (CET)"},"2059":{"date":{"__isSmartRef__":true,"id":2060},"author":"bsiegmund","message":"whoopsie","id":"D258ACA7-6A86-4856-ABF2-179327225DCF"},"2060":{"isSerializedDate":true,"string":"Thu Mar 01 2012 14:50:42 GMT+0100 (CET)"},"2061":{"date":{"__isSmartRef__":true,"id":2062},"author":"sstamm","message":"uses CSS transitions to animate sub menu access","id":"60C8E911-E01E-43EF-A345-80E2012BD832"},"2062":{"isSerializedDate":true,"string":"Mon Mar 05 2012 10:44:26 GMT+0100 (CET)"},"2063":{"date":{"__isSmartRef__":true,"id":2064},"author":"sstamm","message":"bugfix","id":"D540A228-44D5-419E-A014-652B882C4EEE"},"2064":{"isSerializedDate":true,"string":"Mon Mar 05 2012 16:43:55 GMT+0100 (CET)"},"2065":{"date":{"__isSmartRef__":true,"id":2066},"author":"conradcalmez","message":"setFixed","id":"E9C375E4-2234-4FCC-873D-6F1CC5F84B11"},"2066":{"isSerializedDate":true,"string":"Wed Mar 21 2012 16:37:02 GMT+0100 (CET)"},"2067":{"date":{"__isSmartRef__":true,"id":2068},"author":"huberthesse","message":"isPinned false to default","id":"3B974DCD-EE74-4165-B6AB-A9116274938B"},"2068":{"isSerializedDate":true,"string":"Fri Mar 23 2012 13:40:41 GMT+0100 (CET)"},"2069":{"date":{"__isSmartRef__":true,"id":2070},"author":"huberthesse","message":"removed debug output. remove menu after exec a function should work now.","id":"B9A60C47-17F4-4A6C-8659-A87C12530E91"},"2070":{"isSerializedDate":true,"string":"Fri Mar 23 2012 13:43:12 GMT+0100 (CET)"},"2071":{"date":{"__isSmartRef__":true,"id":2072},"author":"huberthesse","message":"added removedFixed for fixed Menus","id":"48E4570C-75FC-4937-80EA-6B0A1B94FDF0"},"2072":{"isSerializedDate":true,"string":"Wed Mar 28 2012 11:43:53 GMT+0200 (CEST)"},"2073":{"date":{"__isSmartRef__":true,"id":2074},"author":"huberthesse","message":"","id":"FAE14DC2-D75C-40AB-B3FB-59717EFE47F8"},"2074":{"isSerializedDate":true,"string":"Wed Mar 28 2012 11:46:44 GMT+0200 (CEST)"},"2075":{"date":{"__isSmartRef__":true,"id":2076},"author":"huberthesse","message":"","id":"76BB2DAE-6051-4955-99DB-EEEEA0D353D7"},"2076":{"isSerializedDate":true,"string":"Wed Mar 28 2012 11:54:24 GMT+0200 (CEST)"},"2077":{"date":{"__isSmartRef__":true,"id":2078},"author":"huberthesse","message":"","id":"433C617E-BDBC-48E1-A181-2E4B7E81C5A9"},"2078":{"isSerializedDate":true,"string":"Wed Mar 28 2012 12:20:32 GMT+0200 (CEST)"},"2079":{"date":{"__isSmartRef__":true,"id":2080},"author":"huberthesse","message":"","id":"CE4A7A6A-B920-43E5-8795-666855E10180"},"2080":{"isSerializedDate":true,"string":"Wed Mar 28 2012 12:24:19 GMT+0200 (CEST)"},"2081":{"date":{"__isSmartRef__":true,"id":2082},"author":"sstamm","message":"removed connections","id":"E5C66E63-0B3E-4978-8E7E-590E6FE23DB3"},"2082":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:49:38 GMT+0200 (CEST)"},"2083":{"date":{"__isSmartRef__":true,"id":2084},"author":"sstamm","message":"removed lists attribute","id":"D1CD2B11-970D-4E94-9D72-8162732C9A33"},"2084":{"isSerializedDate":true,"string":"Thu Mar 29 2012 15:30:28 GMT+0200 (CEST)"},"2085":{"date":{"__isSmartRef__":true,"id":2086},"author":"huberthesse","message":"","id":"F20A8933-04FB-4DBD-B321-F860262A6043"},"2086":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:00:32 GMT+0200 (CEST)"},"2087":{"date":{"__isSmartRef__":true,"id":2088},"author":"huberthesse","message":"","id":"C26D249D-090C-4A05-9622-5AC0C43620C0"},"2088":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:03:27 GMT+0200 (CEST)"},"2089":{"date":{"__isSmartRef__":true,"id":2090},"author":"huberthesse","message":"","id":"3276159B-6BCD-4C51-AEFB-1D02F880A687"},"2090":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:06:16 GMT+0200 (CEST)"},"2091":{"date":{"__isSmartRef__":true,"id":2092},"author":"huberthesse","message":"restore asynchron version","id":"76CBAE36-5CCF-4237-803C-80ED8ED84BC4"},"2092":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:09:53 GMT+0200 (CEST)"},"2093":{"date":{"__isSmartRef__":true,"id":2094},"author":"huberthesse","message":"","id":"81EF2DF4-9054-4C31-B9C4-62018202CDBB"},"2094":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:12:32 GMT+0200 (CEST)"},"2095":{"date":{"__isSmartRef__":true,"id":2096},"author":"huberthesse","message":"","id":"F75D0ED0-5618-42BA-8F8B-74E901A1A69F"},"2096":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:14:06 GMT+0200 (CEST)"},"2097":{"date":{"__isSmartRef__":true,"id":2098},"author":"huberthesse","message":"","id":"33047AD5-EB2B-4DEB-9977-05B4EAC833BF"},"2098":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:14:41 GMT+0200 (CEST)"},"2099":{"date":{"__isSmartRef__":true,"id":2100},"author":"huberthesse","message":"","id":"5C360183-2C53-49ED-A379-8067CA9EB592"},"2100":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:17:23 GMT+0200 (CEST)"},"2101":{"date":{"__isSmartRef__":true,"id":2102},"author":"huberthesse","message":"","id":"07B81E40-757F-41B7-8E4B-0A937C28F564"},"2102":{"isSerializedDate":true,"string":"Thu Mar 29 2012 16:18:51 GMT+0200 (CEST)"},"2103":{"date":{"__isSmartRef__":true,"id":2104},"author":"sstamm","message":"","id":"34ABFE97-23D6-4496-B2C5-594475CB441D"},"2104":{"isSerializedDate":true,"string":"Wed Apr 18 2012 16:07:29 GMT+0200 (CEST)"},"2105":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2106":{"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2107":{"x":361,"y":318,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2108":{"isSerializedDate":true,"string":"Wed Jan 25 2012 12:10:02 GMT+0100 (CET)"},"2109":{"adjustForNewBounds":true},"2110":{"x":242.5,"y":-60,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2111":{"reset":{"__isSmartRef__":true,"id":2112},"setup":{"__isSmartRef__":true,"id":2116},"isPinned":{"__isSmartRef__":true,"id":2120},"pin":{"__isSmartRef__":true,"id":2124}},"2112":{"varMapping":{"__isSmartRef__":true,"id":2113},"source":"function reset() {\n this.get(\"BackButton\").setVisible(false);\n this.get(\"MenuPosition\").textString = \"\";\n this.disableDropping();\n this.submorphs.invoke('reset');\n this.setName(\"TouchMenu\");\n this.targetMorph = undefined;\n this.pinned = false;\n this.get('PinButton').inactiveBackground();\n this.setFixed(true);\n this.fixedScale = 1;\n}","funcProperties":{"__isSmartRef__":true,"id":2114},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2113":{"this":{"__isSmartRef__":true,"id":1}},"2114":{"timestamp":{"__isSmartRef__":true,"id":2115},"user":"conradcalmez","tags":[]},"2115":{"isSerializedDate":true,"string":"Wed Mar 21 2012 16:34:48 GMT+0100 (CET)"},"2116":{"varMapping":{"__isSmartRef__":true,"id":2117},"source":"function setup(itemList) {\n\n this.setScale(1/$world.getZoomLevel());\n \n this.get(\"TouchList\").setup(itemList);\n this.get(\"BackButton\").setVisible(false);\n this.get(\"MenuPosition\").textString = \"\";\n}","funcProperties":{"__isSmartRef__":true,"id":2118},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2117":{"this":{"__isSmartRef__":true,"id":1}},"2118":{"timestamp":{"__isSmartRef__":true,"id":2119},"user":"markoroeder","tags":[]},"2119":{"isSerializedDate":true,"string":"Wed Mar 07 2012 11:22:09 GMT+0100 (CET)"},"2120":{"varMapping":{"__isSmartRef__":true,"id":2121},"source":"function isPinned() {\n return this.pinned\n}","funcProperties":{"__isSmartRef__":true,"id":2122},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2121":{"this":{"__isSmartRef__":true,"id":1}},"2122":{"timestamp":{"__isSmartRef__":true,"id":2123},"user":"conradcalmez","tags":[]},"2123":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:22:44 GMT+0100 (CET)"},"2124":{"varMapping":{"__isSmartRef__":true,"id":2125},"source":"function pin() {\n console.log(\"owner before: \" + this.owner);\n if (!this.isPinned()) {\n this.pinned = true;\n if (this === $world.touchMenuPrototype) {\n $world.touchMenuPrototype = this.copy();\n $world.touchMenuPrototype.reset();\n }\n var blocker = this.owner;\n this.targetMorph.addMorph(this);\n blocker.remove();\n } else {\n this.pinned = false;\n var blocker = Morph.makeRectangle($world.bounds());\n blocker.applyStyle({\n fill: null,\n opacity: 1,\n });\n $world.addMorph(blocker);\n blocker.addMorph(this);\n connect(blocker, \"onTap\", blocker, \"remove\");\n connect(blocker, \"onTap\", this, \"remove\");\n }\n console.log(\"owner after: \" + this.owner);\n}","funcProperties":{"__isSmartRef__":true,"id":2126},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2125":{"this":{"__isSmartRef__":true,"id":1}},"2126":{"timestamp":{"__isSmartRef__":true,"id":2127},"user":"conradcalmez","tags":[]},"2127":{"isSerializedDate":true,"string":"Wed Feb 22 2012 16:10:45 GMT+0100 (CET)"},"2128":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2129},"id":2,"renderContextTable":{"__isSmartRef__":true,"id":2135},"eventHandler":{"__isSmartRef__":true,"id":2136},"droppingEnabled":false,"halosEnabled":false,"_world":{"__isSmartRef__":true,"id":0},"eventsAreIgnored":true,"_HandStyle":"default","_PointerEvents":"none","priorExtent":{"__isSmartRef__":true,"id":2137},"__SourceModuleName__":"Global.lively.morphic.Events","internalClickedOnMorph":{"__isSmartRef__":true,"id":2138},"carriesGrabbedMorphs":false,"lastScrollTime":1334914847160,"scrollFocusMorph":{"__isSmartRef__":true,"id":2149},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Position":{"__isSmartRef__":true,"id":2270},"_Scale":1,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"2129":{"_Position":{"__isSmartRef__":true,"id":2130},"renderContextTable":{"__isSmartRef__":true,"id":2131},"_Extent":{"__isSmartRef__":true,"id":2132},"_Fill":{"__isSmartRef__":true,"id":2133},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2134},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2130":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2131":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2132":{"x":2,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2133":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2134":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2135":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2136":{"morph":{"__isSmartRef__":true,"id":2128},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2137":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2138":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2139},"derivationIds":[null],"id":"30D331FA-7A51-4993-9F23-A848759FC877","renderContextTable":{"__isSmartRef__":true,"id":2145},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2146}],"eventHandler":{"__isSmartRef__":true,"id":2148},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2149},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":2144},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2139":{"_Position":{"__isSmartRef__":true,"id":2140},"renderContextTable":{"__isSmartRef__":true,"id":2141},"_Extent":{"__isSmartRef__":true,"id":2142},"_Padding":{"__isSmartRef__":true,"id":2143},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2144},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2140":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2141":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2142":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2143":{"x":0,"y":6,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2144":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2145":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2146":{"style":{"__isSmartRef__":true,"id":2147},"chunkOwner":{"__isSmartRef__":true,"id":2138},"storedString":"OK","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2147":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2148":{"morph":{"__isSmartRef__":true,"id":2138},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2149":{"submorphs":[{"__isSmartRef__":true,"id":2138}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2150},"derivationIds":[null],"id":"18839971-D5C2-4FD3-A59C-A30B1EBB5467","renderContextTable":{"__isSmartRef__":true,"id":2166},"eventHandler":{"__isSmartRef__":true,"id":2167},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2168},"priorExtent":{"__isSmartRef__":true,"id":2169},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2170},"lighterFill":{"__isSmartRef__":true,"id":2156},"label":{"__isSmartRef__":true,"id":2138},"layout":{"__isSmartRef__":true,"id":2179},"owner":{"__isSmartRef__":true,"id":2180},"attributeConnections":[{"__isSmartRef__":true,"id":2268},{"__isSmartRef__":true,"id":2269}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2150":{"_Position":{"__isSmartRef__":true,"id":2151},"renderContextTable":{"__isSmartRef__":true,"id":2152},"_Extent":{"__isSmartRef__":true,"id":2153},"_Padding":{"__isSmartRef__":true,"id":2154},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2155},"_Fill":{"__isSmartRef__":true,"id":2156},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2151":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2152":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2153":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2154":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2155":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2156":{"stops":[{"__isSmartRef__":true,"id":2157},{"__isSmartRef__":true,"id":2159},{"__isSmartRef__":true,"id":2161},{"__isSmartRef__":true,"id":2163}],"vector":{"__isSmartRef__":true,"id":2165},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2157":{"offset":0,"color":{"__isSmartRef__":true,"id":2158}},"2158":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2159":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2160}},"2160":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2161":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2162}},"2162":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2163":{"offset":1,"color":{"__isSmartRef__":true,"id":2164}},"2164":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2165":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2166":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2167":{"morph":{"__isSmartRef__":true,"id":2149},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2168":{"x":172,"y":56,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2169":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2170":{"stops":[{"__isSmartRef__":true,"id":2171},{"__isSmartRef__":true,"id":2173},{"__isSmartRef__":true,"id":2175},{"__isSmartRef__":true,"id":2177}],"vector":{"__isSmartRef__":true,"id":2165},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2171":{"offset":0,"color":{"__isSmartRef__":true,"id":2172}},"2172":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2173":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2174}},"2174":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2175":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2176}},"2176":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2177":{"offset":1,"color":{"__isSmartRef__":true,"id":2178}},"2178":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2179":{"moveVertical":true,"moveHorizontal":true},"2180":{"submorphs":[{"__isSmartRef__":true,"id":2181},{"__isSmartRef__":true,"id":2193},{"__isSmartRef__":true,"id":2149},{"__isSmartRef__":true,"id":2226}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2244},"derivationIds":[null],"id":"53EF4D4B-078D-4F01-A201-EDC9366EF81F","renderContextTable":{"__isSmartRef__":true,"id":2251},"eventHandler":{"__isSmartRef__":true,"id":2252},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2253},"isLockOwner":true,"layout":{"__isSmartRef__":true,"id":2254},"draggingEnabled":false,"grabbingEnabled":false,"attributeConnections":[{"__isSmartRef__":true,"id":2255},{"__isSmartRef__":true,"id":2257},{"__isSmartRef__":true,"id":2259}],"ownerApp":{"__isSmartRef__":true,"id":2224},"owner":null,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2260},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"2181":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2182},"derivationIds":[null],"id":"1E61409E-032B-46E2-B510-811F91776EFF","renderContextTable":{"__isSmartRef__":true,"id":2188},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":2189}],"eventHandler":{"__isSmartRef__":true,"id":2191},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2180},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"draggingEnabled":false,"priorExtent":{"__isSmartRef__":true,"id":2192},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2182":{"_Position":{"__isSmartRef__":true,"id":2183},"renderContextTable":{"__isSmartRef__":true,"id":2184},"_Extent":{"__isSmartRef__":true,"id":2185},"_Padding":{"__isSmartRef__":true,"id":2186},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2144},"_Fill":{"__isSmartRef__":true,"id":2187},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2183":{"x":4,"y":4,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2184":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2185":{"x":227,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2186":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2187":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2188":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2189":{"style":{"__isSmartRef__":true,"id":2190},"chunkOwner":{"__isSmartRef__":true,"id":2181},"storedString":"Please enter a relative or absolute path","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2190":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2191":{"morph":{"__isSmartRef__":true,"id":2181},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2192":{"x":292,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2193":{"submorphs":[{"__isSmartRef__":true,"id":2194}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2204},"derivationIds":[null],"id":"B162BE3F-438C-42B7-B0A0-C4E2DAB48009","renderContextTable":{"__isSmartRef__":true,"id":2209},"eventHandler":{"__isSmartRef__":true,"id":2210},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2211},"priorExtent":{"__isSmartRef__":true,"id":2212},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2170},"lighterFill":{"__isSmartRef__":true,"id":2213},"label":{"__isSmartRef__":true,"id":2194},"layout":{"__isSmartRef__":true,"id":2222},"owner":{"__isSmartRef__":true,"id":2180},"attributeConnections":[{"__isSmartRef__":true,"id":2223},{"__isSmartRef__":true,"id":2242}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2194":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2195},"derivationIds":[null],"id":"AD492730-A0DC-4108-A3A5-2208B1317AC5","renderContextTable":{"__isSmartRef__":true,"id":2200},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2201}],"eventHandler":{"__isSmartRef__":true,"id":2203},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2193},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":2144},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2195":{"_Position":{"__isSmartRef__":true,"id":2196},"renderContextTable":{"__isSmartRef__":true,"id":2197},"_Extent":{"__isSmartRef__":true,"id":2198},"_Padding":{"__isSmartRef__":true,"id":2199},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2144},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2196":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2197":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2198":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2199":{"x":0,"y":6,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2200":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2201":{"style":{"__isSmartRef__":true,"id":2202},"chunkOwner":{"__isSmartRef__":true,"id":2194},"storedString":"Cancel","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2202":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2203":{"morph":{"__isSmartRef__":true,"id":2194},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2204":{"_Position":{"__isSmartRef__":true,"id":2205},"renderContextTable":{"__isSmartRef__":true,"id":2206},"_Extent":{"__isSmartRef__":true,"id":2207},"_Padding":{"__isSmartRef__":true,"id":2208},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2155},"_Fill":{"__isSmartRef__":true,"id":2170},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2205":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2206":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2207":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2208":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2209":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2210":{"morph":{"__isSmartRef__":true,"id":2193},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2211":{"x":236,"y":56,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2212":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2213":{"stops":[{"__isSmartRef__":true,"id":2214},{"__isSmartRef__":true,"id":2216},{"__isSmartRef__":true,"id":2218},{"__isSmartRef__":true,"id":2220}],"vector":{"__isSmartRef__":true,"id":2165},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2214":{"offset":0,"color":{"__isSmartRef__":true,"id":2215}},"2215":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2216":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2217}},"2217":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2218":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2219}},"2219":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2220":{"offset":1,"color":{"__isSmartRef__":true,"id":2221}},"2221":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2222":{"moveVertical":true,"moveHorizontal":true},"2223":{"sourceObj":{"__isSmartRef__":true,"id":2193},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2224},"targetMethodName":"removeTopLevel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2224":{"result":"Fixes/TouchMenuCloseOnAction.xhtml","message":"Please enter a relative or absolute path","attributeConnections":[{"__isSmartRef__":true,"id":2225}],"doNotSerialize":["$$result"],"doNotCopyProperties":["$$result"],"defaultInput":"blank.xhtml","panel":{"__isSmartRef__":true,"id":2180},"label":{"__isSmartRef__":true,"id":2181},"cancelButton":{"__isSmartRef__":true,"id":2193},"okButton":{"__isSmartRef__":true,"id":2149},"inputText":{"__isSmartRef__":true,"id":2226},"view":{"__isSmartRef__":true,"id":2180},"__LivelyClassName__":"lively.morphic.PromptDialog","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2225":{"sourceObj":{"__isSmartRef__":true,"id":2224},"sourceAttrName":"result","targetObj":{"__isSmartRef__":true,"id":2224},"targetMethodName":"triggerCallback","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2226":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2227},"derivationIds":[null],"id":"5B600EF8-FABC-43A2-8E31-E121D89CA0E1","renderContextTable":{"__isSmartRef__":true,"id":2233},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2234}],"eventHandler":{"__isSmartRef__":true,"id":2236},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_Position":{"__isSmartRef__":true,"id":2237},"isInputLine":true,"draggingEnabled":false,"attributeConnections":[{"__isSmartRef__":true,"id":2238},{"__isSmartRef__":true,"id":2239}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Fixes/TouchMenuCloseOnAction.xhtml","owner":{"__isSmartRef__":true,"id":2180},"priorSelectionRange":[21,21],"previousSelection":[0,11],"priorExtent":{"__isSmartRef__":true,"id":2241},"_MaxTextWidth":282,"_MinTextWidth":282,"_MaxTextHeight":null,"_MinTextHeight":null,"charsReplaced":"blank","lastFindLoc":11,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2227":{"_Position":{"__isSmartRef__":true,"id":2228},"renderContextTable":{"__isSmartRef__":true,"id":2229},"_Extent":{"__isSmartRef__":true,"id":2230},"_Padding":{"__isSmartRef__":true,"id":2231},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2144},"_Fill":{"__isSmartRef__":true,"id":2232},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2228":{"x":4,"y":4,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2229":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2230":{"x":292,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2231":{"x":4,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2232":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2233":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2234":{"style":{"__isSmartRef__":true,"id":2235},"chunkOwner":{"__isSmartRef__":true,"id":2226},"storedString":"Fixes/TouchMenuCloseOnAction.xhtml","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2235":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2236":{"morph":{"__isSmartRef__":true,"id":2226},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2237":{"x":4,"y":27,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2238":{"sourceObj":{"__isSmartRef__":true,"id":2226},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2224},"targetMethodName":"result","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2239":{"sourceObj":{"__isSmartRef__":true,"id":2226},"sourceAttrName":"onEscPressed","targetObj":{"__isSmartRef__":true,"id":2224},"targetMethodName":"result","converter":null,"converterString":"function () { return null }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2240},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2240":{"source":{"__isSmartRef__":true,"id":2226},"target":{"__isSmartRef__":true,"id":2224}},"2241":{"x":292,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2242":{"sourceObj":{"__isSmartRef__":true,"id":2193},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2224},"targetMethodName":"result","converter":null,"converterString":"function () { return null }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2243},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2243":{"source":{"__isSmartRef__":true,"id":2193},"target":{"__isSmartRef__":true,"id":2224}},"2244":{"_Position":{"__isSmartRef__":true,"id":2245},"renderContextTable":{"__isSmartRef__":true,"id":2246},"_Extent":{"__isSmartRef__":true,"id":2247},"_Padding":{"__isSmartRef__":true,"id":2248},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2249},"_Fill":{"__isSmartRef__":true,"id":2250},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2245":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2246":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2247":{"x":300,"y":90,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2248":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2249":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2250":{"r":0.8235294117647058,"g":0.8235294117647058,"b":0.8235294117647058,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2251":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2252":{"morph":{"__isSmartRef__":true,"id":2180},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2253":{"x":375,"y":327.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2254":{"adjustForNewBounds":true},"2255":{"sourceObj":{"__isSmartRef__":true,"id":2180},"sourceAttrName":"onEscPressed","targetObj":{"__isSmartRef__":true,"id":2224},"targetMethodName":"result","converter":null,"converterString":"function () { return null}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2256},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2256":{"source":{"__isSmartRef__":true,"id":2180},"target":{"__isSmartRef__":true,"id":2224}},"2257":{"sourceObj":{"__isSmartRef__":true,"id":2180},"sourceAttrName":"onEnterPressed","targetObj":{"__isSmartRef__":true,"id":2226},"targetMethodName":"doSave","converter":null,"converterString":"function (arg) { return arg }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2258},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2258":{"source":{"__isSmartRef__":true,"id":2180},"target":{"__isSmartRef__":true,"id":2226}},"2259":{"sourceObj":{"__isSmartRef__":true,"id":2180},"sourceAttrName":"remove","targetMethodName":"remove","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2260":{"$$onEnterPressed":{"__isSmartRef__":true,"id":2261}},"2261":{"varMapping":{"__isSmartRef__":true,"id":2262},"source":"function onEnterPressed(evt) {\n evt.stop();\n }","funcProperties":{"__isSmartRef__":true,"id":2267},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2262":{"this":{"__isSmartRef__":true,"id":2180},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2263}},"2263":{"$super":{"__isSmartRef__":true,"id":2264}},"2264":{"varMapping":{"__isSmartRef__":true,"id":2265},"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":2266},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2265":{"obj":{"__isSmartRef__":true,"id":2180},"name":"onEnterPressed"},"2266":{},"2267":{},"2268":{"sourceObj":{"__isSmartRef__":true,"id":2149},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2224},"targetMethodName":"removeTopLevel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2269":{"sourceObj":{"__isSmartRef__":true,"id":2149},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2226},"targetMethodName":"doSave","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2270":{"x":567,"y":400,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2271":{"_Position":{"__isSmartRef__":true,"id":2272},"renderContextTable":{"__isSmartRef__":true,"id":2273},"_Extent":{"__isSmartRef__":true,"id":2274},"_Fill":{"__isSmartRef__":true,"id":2275},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2276},"_Opacity":1,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2272":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2273":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2274":{"x":3000,"y":4000,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2275":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2276":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2277":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setScroll":"setScrollHTML"},"2278":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2279":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2280":{"x":1440,"y":6000,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2281":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"2282":{"x":565,"y":398,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2283":{"submorphs":[{"__isSmartRef__":true,"id":2284}],"scripts":[],"id":"F5B8B01A-D68A-4D9B-A73A-BC79B96762CC","shape":{"__isSmartRef__":true,"id":2313},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2320},"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":2321},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2418},"eventHandler":{"__isSmartRef__":true,"id":2419},"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":2420},"layout":{"__isSmartRef__":true,"id":2421},"distanceToDragEvent":{"__isSmartRef__":true,"id":2422},"prevScroll":[0,0],"moved":true,"_Rotation":0,"_Scale":1,"headRevision":146469,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2423},"__LivelyClassName__":"lively.morphic.Box"},"2284":{"submorphs":[{"__isSmartRef__":true,"id":2285}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2301},"id":"E9C415D2-CFAE-44BF-9BE5-0DD9600A29ED","renderContextTable":{"__isSmartRef__":true,"id":2306},"eventHandler":{"__isSmartRef__":true,"id":2307},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2308},"name":"ProgressIndicator","priorExtent":{"__isSmartRef__":true,"id":2309},"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":2310},"partsBinMetaInfo":{"__isSmartRef__":true,"id":2311},"__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":2283},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":2312},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Image"},"2285":{"submorphs":[],"scripts":[],"id":"6F5B86FE-6867-4CA5-B7AA-737425F1BD06","shape":{"__isSmartRef__":true,"id":2286},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2292},"_MaxTextWidth":257,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2289},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"loadedMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":2293},"textChunks":[{"__isSmartRef__":true,"id":2294}],"charsReplaced":"MorphName","lastFindLoc":18,"priorSelectionRange":[9,0],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2296},"renderContextTable":{"__isSmartRef__":true,"id":2297},"eventHandler":{"__isSmartRef__":true,"id":2298},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2299},"_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":2284},"_MinTextWidth":257,"_MinTextHeight":null,"previousSelection":[6,6],"_Align":"center","distanceToDragEvent":{"__isSmartRef__":true,"id":2300},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2286":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2287},"_Extent":{"__isSmartRef__":true,"id":2288},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2289},"renderContextTable":{"__isSmartRef__":true,"id":2290},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2291},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2287":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2288":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2289":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2290":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2291":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2292":{"x":-109,"y":38,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2293":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2294":{"style":{"__isSmartRef__":true,"id":2295},"chunkOwner":{"__isSmartRef__":true,"id":2285},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"loading part","__LivelyClassName__":"lively.morphic.TextChunk"},"2295":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2296":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2297":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2298":{"morph":{"__isSmartRef__":true,"id":2285},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2299":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2300":{"x":179,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2301":{"_Position":{"__isSmartRef__":true,"id":2302},"renderContextTable":{"__isSmartRef__":true,"id":2303},"_Extent":{"__isSmartRef__":true,"id":2304},"_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":2305},"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Image"},"2302":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2303":{"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"},"2304":{"x":31,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2305":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2306":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2307":{"morph":{"__isSmartRef__":true,"id":2284},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2308":{"x":113.5,"y":81,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2309":{"x":30,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2310":{"x":39,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2311":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2312":{"centeredHorizontal":true,"centeredVertical":true},"2313":{"position":{"__isSmartRef__":true,"id":2314},"_Extent":{"__isSmartRef__":true,"id":2315},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2316},"_Fill":{"__isSmartRef__":true,"id":2317},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2318},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2319},"_BorderRadius":8.515,"_Opacity":0.8146,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2314":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2315":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2316":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2317":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2318":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2319":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2320":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2321":{"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":2322},{"__isSmartRef__":true,"id":2324},{"__isSmartRef__":true,"id":2326},{"__isSmartRef__":true,"id":2328},{"__isSmartRef__":true,"id":2330},{"__isSmartRef__":true,"id":2332},{"__isSmartRef__":true,"id":2334},{"__isSmartRef__":true,"id":2336},{"__isSmartRef__":true,"id":2338},{"__isSmartRef__":true,"id":2340},{"__isSmartRef__":true,"id":2342},{"__isSmartRef__":true,"id":2344},{"__isSmartRef__":true,"id":2346},{"__isSmartRef__":true,"id":2348},{"__isSmartRef__":true,"id":2350},{"__isSmartRef__":true,"id":2352},{"__isSmartRef__":true,"id":2354},{"__isSmartRef__":true,"id":2356},{"__isSmartRef__":true,"id":2358},{"__isSmartRef__":true,"id":2360},{"__isSmartRef__":true,"id":2362},{"__isSmartRef__":true,"id":2364},{"__isSmartRef__":true,"id":2366},{"__isSmartRef__":true,"id":2368},{"__isSmartRef__":true,"id":2370},{"__isSmartRef__":true,"id":2372},{"__isSmartRef__":true,"id":2374},{"__isSmartRef__":true,"id":2376},{"__isSmartRef__":true,"id":2378},{"__isSmartRef__":true,"id":2380},{"__isSmartRef__":true,"id":2382},{"__isSmartRef__":true,"id":2384},{"__isSmartRef__":true,"id":2386},{"__isSmartRef__":true,"id":2388},{"__isSmartRef__":true,"id":2390},{"__isSmartRef__":true,"id":2392},{"__isSmartRef__":true,"id":2394},{"__isSmartRef__":true,"id":2396},{"__isSmartRef__":true,"id":2398},{"__isSmartRef__":true,"id":2400},{"__isSmartRef__":true,"id":2402},{"__isSmartRef__":true,"id":2404},{"__isSmartRef__":true,"id":2406},{"__isSmartRef__":true,"id":2408},{"__isSmartRef__":true,"id":2410},{"__isSmartRef__":true,"id":2412},{"__isSmartRef__":true,"id":2414},{"__isSmartRef__":true,"id":2416}],"revisionOnLoad":151069,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2322":{"date":{"__isSmartRef__":true,"id":2323},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"2323":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:02:04 GMT+0100 (CET)"},"2324":{"date":{"__isSmartRef__":true,"id":2325},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"2325":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:43:10 GMT+0100 (CET)"},"2326":{"date":{"__isSmartRef__":true,"id":2327},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"2327":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:36:14 GMT+0100 (CET)"},"2328":{"date":{"__isSmartRef__":true,"id":2329},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"2329":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:23:04 GMT+0100 (CET)"},"2330":{"date":{"__isSmartRef__":true,"id":2331},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"2331":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:45 GMT+0100 (CET)"},"2332":{"date":{"__isSmartRef__":true,"id":2333},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"2333":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:10 GMT+0100 (CET)"},"2334":{"date":{"__isSmartRef__":true,"id":2335},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"2335":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:56:54 GMT+0100 (CET)"},"2336":{"date":{"__isSmartRef__":true,"id":2337},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"2337":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:51:05 GMT+0100 (CET)"},"2338":{"date":{"__isSmartRef__":true,"id":2339},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"2339":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:47:19 GMT+0100 (CET)"},"2340":{"date":{"__isSmartRef__":true,"id":2341},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"2341":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:46:25 GMT+0100 (CET)"},"2342":{"date":{"__isSmartRef__":true,"id":2343},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"2343":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:45:05 GMT+0100 (CET)"},"2344":{"date":{"__isSmartRef__":true,"id":2345},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"2345":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:37:15 GMT+0100 (CET)"},"2346":{"date":{"__isSmartRef__":true,"id":2347},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"2347":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:35:29 GMT+0100 (CET)"},"2348":{"date":{"__isSmartRef__":true,"id":2349},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"2349":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:31:52 GMT+0100 (CET)"},"2350":{"date":{"__isSmartRef__":true,"id":2351},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"2351":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:14:10 GMT+0100 (CET)"},"2352":{"date":{"__isSmartRef__":true,"id":2353},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"2353":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:02:56 GMT+0100 (CET)"},"2354":{"date":{"__isSmartRef__":true,"id":2355},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"2355":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:01:50 GMT+0100 (CET)"},"2356":{"date":{"__isSmartRef__":true,"id":2357},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"2357":{"isSerializedDate":true,"string":"Wed Feb 22 2012 10:55:44 GMT+0100 (CET)"},"2358":{"date":{"__isSmartRef__":true,"id":2359},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"2359":{"isSerializedDate":true,"string":"Fri Feb 10 2012 09:45:55 GMT+0100 (CET)"},"2360":{"date":{"__isSmartRef__":true,"id":2361},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"2361":{"isSerializedDate":true,"string":"Wed Feb 08 2012 11:41:50 GMT+0100 (CET)"},"2362":{"date":{"__isSmartRef__":true,"id":2363},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"2363":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:13:49 GMT+0100 (CET)"},"2364":{"date":{"__isSmartRef__":true,"id":2365},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"2365":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:22:07 GMT+0100 (CET)"},"2366":{"date":{"__isSmartRef__":true,"id":2367},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"2367":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:55:14 GMT+0100 (CET)"},"2368":{"date":{"__isSmartRef__":true,"id":2369},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"2369":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:54:35 GMT+0100 (CET)"},"2370":{"date":{"__isSmartRef__":true,"id":2371},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"2371":{"isSerializedDate":true,"string":"Thu Feb 02 2012 13:26:01 GMT+0100 (CET)"},"2372":{"date":{"__isSmartRef__":true,"id":2373},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"2373":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:04:01 GMT+0100 (CET)"},"2374":{"date":{"__isSmartRef__":true,"id":2375},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"2375":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:28:30 GMT+0100 (CET)"},"2376":{"date":{"__isSmartRef__":true,"id":2377},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"2377":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:32:58 GMT+0100 (CET)"},"2378":{"date":{"__isSmartRef__":true,"id":2379},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"2379":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:41:00 GMT+0100 (CET)"},"2380":{"date":{"__isSmartRef__":true,"id":2381},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"2381":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:24:30 GMT+0100 (CET)"},"2382":{"date":{"__isSmartRef__":true,"id":2383},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"2383":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:26:23 GMT+0100 (CET)"},"2384":{"date":{"__isSmartRef__":true,"id":2385},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"2385":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:48:04 GMT+0100 (CET)"},"2386":{"date":{"__isSmartRef__":true,"id":2387},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"2387":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:53:49 GMT+0100 (CET)"},"2388":{"date":{"__isSmartRef__":true,"id":2389},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"2389":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:49:48 GMT+0100 (CET)"},"2390":{"date":{"__isSmartRef__":true,"id":2391},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"2391":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:58:43 GMT+0100 (CET)"},"2392":{"date":{"__isSmartRef__":true,"id":2393},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"2393":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:04:28 GMT+0100 (CET)"},"2394":{"date":{"__isSmartRef__":true,"id":2395},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"2395":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:10:27 GMT+0100 (CET)"},"2396":{"date":{"__isSmartRef__":true,"id":2397},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"2397":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:31:50 GMT+0100 (CET)"},"2398":{"date":{"__isSmartRef__":true,"id":2399},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"2399":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:38:26 GMT+0100 (CET)"},"2400":{"date":{"__isSmartRef__":true,"id":2401},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"2401":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:44:11 GMT+0100 (CET)"},"2402":{"date":{"__isSmartRef__":true,"id":2403},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"2403":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:48:14 GMT+0100 (CET)"},"2404":{"date":{"__isSmartRef__":true,"id":2405},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"2405":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:49:47 GMT+0100 (CET)"},"2406":{"date":{"__isSmartRef__":true,"id":2407},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"2407":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:59:48 GMT+0100 (CET)"},"2408":{"date":{"__isSmartRef__":true,"id":2409},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"2409":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:02:33 GMT+0100 (CET)"},"2410":{"date":{"__isSmartRef__":true,"id":2411},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"2411":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:03:42 GMT+0100 (CET)"},"2412":{"date":{"__isSmartRef__":true,"id":2413},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"2413":{"isSerializedDate":true,"string":"Thu Feb 09 2012 20:20:11 GMT+0100 (CET)"},"2414":{"date":{"__isSmartRef__":true,"id":2415},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"2415":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:37:34 GMT+0100 (CET)"},"2416":{"date":{"__isSmartRef__":true,"id":2417},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"2417":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:29 GMT+0100 (CET)"},"2418":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2419":{"morph":{"__isSmartRef__":true,"id":2283},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2420":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2421":{"adjustForNewBounds":true},"2422":{"x":171,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2423":{"loadPart":{"__isSmartRef__":true,"id":2424},"loadFinished":{"__isSmartRef__":true,"id":2428},"loadPartByName":{"__isSmartRef__":true,"id":2432}},"2424":{"varMapping":{"__isSmartRef__":true,"id":2425},"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":2426},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2425":{"this":{"__isSmartRef__":true,"id":2283}},"2426":{"timestamp":{"__isSmartRef__":true,"id":2427},"user":"sstamm","tags":[]},"2427":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:18 GMT+0100 (CET)"},"2428":{"varMapping":{"__isSmartRef__":true,"id":2429},"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":2430},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2429":{"this":{"__isSmartRef__":true,"id":2283}},"2430":{"timestamp":{"__isSmartRef__":true,"id":2431},"user":"sstamm","tags":[]},"2431":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:01:53 GMT+0100 (CET)"},"2432":{"varMapping":{"__isSmartRef__":true,"id":2433},"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":2434},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2433":{"this":{"__isSmartRef__":true,"id":2283}},"2434":{"timestamp":{"__isSmartRef__":true,"id":2435},"user":"sstamm","tags":[]},"2435":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:03:18 GMT+0100 (CET)"},"2436":{"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":2437},"__SourceModuleName__":"Global.lively.bindings","updater":null,"__LivelyClassName__":"AttributeConnection"},"2437":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"isSimplifiedRegistry":true}}]]>