0) {\n\t\tsource += \"// ** \" + targetObj.name\t+ \"'s Scripts **\\n\"\n\t\tsource += scriptNames.collect(function(ea) {\n\t\t\treturn this.generateSourceForScript(baseObject, targetObj, ea)\n\t\t}, this).join('\\n\\n');\n\t}\n\n\tif (targetObj.attributeConnections) {\n\t\tsource += \"\\n\\n// ** \" + targetObj.name\t+ \"'s Connections **\\n\"\n\t\tsource += targetObj.attributeConnections.collect(function(ea) {\n\t\t\treturn this.generateSourceForConnection(baseObject, targetObj, ea)\n\t\t}, this).join('\\n');\n\t}\n\n\tif (targetObj.scriptSource && Object.isString(targetObj.scriptSource)) {\n\t\tsource += \"\\n\\n\";\n\t\tsource += this.generateSourceForProperty(\n\t\t\tbaseObject, targetObj, \"scriptSource\");\n\t}\n\n\treturn source\n}","funcProperties":{"__isSmartRef__":true,"id":280},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"279":{"this":{"__isSmartRef__":true,"id":215}},"280":{},"281":{"varMapping":{"__isSmartRef__":true,"id":282},"source":"function generateSourceForProperty(baseObject, targetObject, propertyName) {\n\tvar value = targetObject[propertyName];\n\treturn Strings.format('%s.'+ propertyName +'=%s;', \n\t\tthis.generateTargetCode(baseObject, targetObject),\t\n\t\tthis.generateSourceForValue(value))\n}","funcProperties":{"__isSmartRef__":true,"id":283},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"282":{"this":{"__isSmartRef__":true,"id":215}},"283":{},"284":{"varMapping":{"__isSmartRef__":true,"id":285},"source":"function generateSourceForScript(baseObject, targetObject, scriptName) {\n\tvar script =targetObject[scriptName].getOriginal();\n\treturn Strings.format('%s.addScript(%s);', \n\t\tthis.generateTargetCode(baseObject, targetObject) ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":286},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"285":{"this":{"__isSmartRef__":true,"id":215}},"286":{},"287":{"varMapping":{"__isSmartRef__":true,"id":288},"source":"function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n}","funcProperties":{"__isSmartRef__":true,"id":289},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"288":{"this":{"__isSmartRef__":true,"id":215}},"289":{},"290":{"varMapping":{"__isSmartRef__":true,"id":291},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\"\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\"\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")'\n\telse if (targetObject instanceof Morph) \n\t\treturn'$morph(\"' + name + '\")'\n\telse \n\t\treturn \"????\"\n}","funcProperties":{"__isSmartRef__":true,"id":292},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"291":{"this":{"__isSmartRef__":true,"id":215}},"292":{},"293":{"varMapping":{"__isSmartRef__":true,"id":294},"source":"function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n}","funcProperties":{"__isSmartRef__":true,"id":295},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"294":{"this":{"__isSmartRef__":true,"id":215}},"295":{},"296":{"varMapping":{"__isSmartRef__":true,"id":297},"source":"function listItemsForObj(obj, optPrefix) {\n\n\tvar listItems = [];\n\tvar prefix = optPrefix || \"\";\t\n\n\n\tif (obj.name) listItems.push({\n\t\tisListItem: true,\n\t\tstring: \"Object: \" + obj.name || \"unnamed\",\n\t\tvalue: {obj: obj, targetObj: obj}\t\n\t});\n\n\tif (obj.scriptSource && Object.isString(obj.scriptSource)) {\n\t\tlistItems.push({\n\t\t\tisListItem: true,\n\t\t\tstring: \" scriptSource\",\n\t\t\tvalue: {obj: obj, propertyName: 'scriptSource'}\t\n\t\t});\n\t}\n\n\tlistItems = listItems.concat(this.sortedScriptNamesOfObj(obj)\n\t\t.collect(function(name) { \n\t\t\treturn {isListItem: true, string: \" \" + name, value: {obj: obj, scriptName: name}}}))\n\n\t// BUG don't bind connections here...\n\tif (obj.attributeConnections)\n\t\t\tlistItems = listItems.concat(obj.attributeConnections.collect(function(ea) {\n\t\t\t\treturn {\n\t\t\t\t\tisListItem: true, \n\t\t\t\t\tstring: \" [\" + ea.getSourceAttrName() + \" -> \" + \n\t\t\t\t\t\tea.getTargetObj() + \".\" + ea.getTargetMethodName() + \"]\", \n\t\t\t\t\tvalue: {obj: obj, connection: ea }}\n\t\t\t}));\n\n\treturn listItems\n}","funcProperties":{"__isSmartRef__":true,"id":298},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"297":{"this":{"__isSmartRef__":true,"id":215}},"298":{},"299":{"varMapping":{"__isSmartRef__":true,"id":300},"source":"function removeTargetScript() {\n\tvar target = this.scriptList.selection.obj;\n\tif (!target) return;\n\n\n\tvar scriptName = this.scriptList.selection.scriptName; \n\tif (scriptName) {\n\t\tdelete target[scriptName];\n\t}\n\n\tvar connection = this.scriptList.selection.connection; \n\tif (connection)\n\t\tconnection.disconnect()\n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":301},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"300":{"this":{"__isSmartRef__":true,"id":215}},"301":{},"302":{"varMapping":{"__isSmartRef__":true,"id":303},"source":"function reset() {\n\t// this.reset()\n\tthis.bindMorphNames(\"targetName searchText scriptList scriptSource targetFound removeButton addButton closeButton\".split(\" \"))\n\tthis.target = null;\n\tthis.targetName.setTextString(\"nobody\");\n\tthis.scriptList.updateList([]);\n\tthis.scriptSource.setTextString(\"\");\n\tthis.searchText.setTextString(\"search for something\");\n}","funcProperties":{"__isSmartRef__":true,"id":304},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"303":{"this":{"__isSmartRef__":true,"id":215}},"304":{},"305":{"varMapping":{"__isSmartRef__":true,"id":306},"source":"function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n\n\tpane.highlightJavaScriptSyntax()\n}","funcProperties":{"__isSmartRef__":true,"id":307},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"306":{"this":{"__isSmartRef__":true,"id":215}},"307":{},"308":{"varMapping":{"__isSmartRef__":true,"id":309},"source":"function setTarget(obj) {\n\t// if (obj) alertOK(\"set target \" + obj.name)\n\tthis.target = obj\n\t// this.updateScriptList()\n\tif (!this.target) \n\t\tsource = 'no source';\n\telse \n\t\tsource = this.generateSourceForObject(this.target, this.target);\n\tthis.get('scriptSource').setTextString(source)\n\tthis.get('scriptSource').doitContext = this.target\n}","funcProperties":{"__isSmartRef__":true,"id":310},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"309":{"this":{"__isSmartRef__":true,"id":215}},"310":{},"311":{"varMapping":{"__isSmartRef__":true,"id":312},"source":"function setupConnections() {\n\t// this.setupConnections();\n\tconnect(this.targetName, 'textString', \n\t\tthis, 'target', \n\t\t{converter: function(n) { return $morph(n) }})\n\n\tconnect(this, 'target', \n\t\tthis.targetFound, 'setFill', \n\t\t{converter: function(obj) { return obj ? Color.green : Color.red}})\n\n\tconnect(this, 'target', this, 'setTarget')\n\n\tconnect(this.searchText, 'savedTextString', this, 'doSearch')\n}","funcProperties":{"__isSmartRef__":true,"id":313},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"312":{"this":{"__isSmartRef__":true,"id":215}},"313":{},"314":{"varMapping":{"__isSmartRef__":true,"id":315},"source":"function showTopLevelItems() {\n\tvar topLevelMorphs = this.world().submorphs.reject(function(morph){\n\t\treturn !morph.name;\n\t})\n\tvar morphNames = topLevelMorphs.pluck('name'),\n\t\titems = morphNames.collect(function(name) {\n\t\t\treturn [name, function() { $morph('targetName').setTextString(name) }]\n\t\t});\n\tMenuMorph.openAtHand(items, 'Select morph to edit')\n}","funcProperties":{"__isSmartRef__":true,"id":316},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"315":{"this":{"__isSmartRef__":true,"id":215}},"316":{},"317":{"varMapping":{"__isSmartRef__":true,"id":318},"source":"function sortedScriptNamesOfObj(obj) {\n\treturn Functions.own(obj)\n\t\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t\t.sortBy(function(name) { return name.toLowerCase() });\n}","funcProperties":{"__isSmartRef__":true,"id":319},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"318":{"this":{"__isSmartRef__":true,"id":215}},"319":{},"320":{"varMapping":{"__isSmartRef__":true,"id":321},"source":"function updateScriptList() {\n\tthis.scriptList.updateList(this.allScriptListItems());\n\t// this.scriptList.selectLineAt(this.scriptList.selectedLineNo);\n\t// this.scriptSource.owner.owner.scrollToTop(); // demeter :-D\n}","funcProperties":{"__isSmartRef__":true,"id":322},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"321":{"this":{"__isSmartRef__":true,"id":215}},"322":{},"323":{"varMapping":{"__isSmartRef__":true,"id":324},"source":"function updateSourcePane(selection) { \n\tvar textMorph = this.scriptSource;\n\n\tif (!selection || !selection.obj) {\n\t\ttextMorph.setTextString(\"\");\n\t\treturn;\n\t}\n\n\tif (selection.targetObj) {\n\t\tthis.setSourceInPane(this.generateSourceForObject(\n\t\t\ttextMorph.getDoitContext(), selection.targetObj), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.connection) {\n\t\tthis.setSourceInPane(this.generateSourceForConnection(\n\t\t\ttextMorph.getDoitContext(),selection.obj,selection.connection), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.propertyName) {\n\t\tthis.setSourceInPane(this.generateSourceForProperty(\n\t\t\ttextMorph.getDoitContext(), selection.obj, selection.propertyName), textMorph);\n\t\treturn;\n\t}\n\n\tthis.setSourceInPane(\n\t\tthis.generateSourceForScript(textMorph.getDoitContext(),selection.obj, selection.scriptName), \n\t\ttextMorph)\n}","funcProperties":{"__isSmartRef__":true,"id":325},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"324":{"this":{"__isSmartRef__":true,"id":215}},"325":{},"326":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":327},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":328},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":329},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"327":{"x":762,"y":387,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"328":{"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"},"329":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"330":{"adjustForNewBounds":true},"331":{"morph":{"__isSmartRef__":true,"id":68},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"332":{"x":46,"y":287,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"333":{"x":762,"y":387,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"334":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"335":{"x":589,"y":296,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"336":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"337":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"338":{"setTitle":{"__isSmartRef__":true,"id":339},"setTarget":{"__isSmartRef__":true,"id":346}},"339":{"varMapping":{"__isSmartRef__":true,"id":340},"source":"function setTitle(s) {\n\tthis.titleBar.label.setTextString(s)\n}","funcProperties":{"__isSmartRef__":true,"id":345},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"340":{"this":{"__isSmartRef__":true,"id":68},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":341}},"341":{"$super":{"__isSmartRef__":true,"id":342}},"342":{"varMapping":{"__isSmartRef__":true,"id":343},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":344},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"343":{"obj":{"__isSmartRef__":true,"id":68},"name":"setTitle"},"344":{},"345":{},"346":{"varMapping":{"__isSmartRef__":true,"id":347},"source":"function setTarget(obj) {\n\tthis.submorphs.last().setTarget(obj)\n}","funcProperties":{"__isSmartRef__":true,"id":348},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"347":{"this":{"__isSmartRef__":true,"id":68}},"348":{},"349":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":350},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"eventHandler":{"__isSmartRef__":true,"id":356},"_world":{"__isSmartRef__":true,"id":0},"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"renderContextTable":{"__isSmartRef__":true,"id":357},"_Rotation":0,"_Scale":1,"clickedOnMorph":{"__isSmartRef__":true,"id":0},"attributeConnections":[{"__isSmartRef__":true,"id":358}],"doNotSerialize":["$$_Position"],"doNotCopyProperties":["$$_Position"],"_Position":{"__isSmartRef__":true,"id":363},"__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"350":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":351},"_Extent":{"__isSmartRef__":true,"id":352},"_Fill":{"__isSmartRef__":true,"id":353},"renderContextTable":{"__isSmartRef__":true,"id":354},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":355},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"351":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"352":{"x":2,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"353":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"354":{"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"},"355":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"356":{"morph":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"357":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"358":{"sourceObj":{"__isSmartRef__":true,"id":349},"sourceAttrName":"_Position","targetMethodName":"setPosition","converterString":"function (p) { \n return p.addPt(pt(0,10))\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":359},"isWeakConnection":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":360},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"359":{"source":{"__isSmartRef__":true,"id":349}},"360":{"converter":{"__isSmartRef__":true,"id":361}},"361":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":359},"source":"function (p) { \n return p.addPt(pt(0,10))\n }","funcProperties":{"__isSmartRef__":true,"id":362},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"362":{},"363":{"x":380,"y":190,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"364":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":365},"_Extent":{"__isSmartRef__":true,"id":366},"_Fill":{"__isSmartRef__":true,"id":367},"renderContextTable":{"__isSmartRef__":true,"id":368},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":369},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"365":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"366":{"x":2800,"y":2900,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"367":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"368":{"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"},"369":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"370":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"371":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"372":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"373":{"submorphs":[],"scripts":[],"id":232,"shape":{"__isSmartRef__":true,"id":374},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"eventHandler":{"__isSmartRef__":true,"id":379},"_Position":{"__isSmartRef__":true,"id":380},"name":"Selection","showsHalos":false,"_Rotation":0,"partsBinMetaInfo":{"__isSmartRef__":true,"id":381},"__SourceModuleName__":"Global.lively.morphic.Core","owner":null,"selectedMorphs":[],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":382},"__LivelyClassName__":"lively.morphic.Box"},"374":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":375},"_Extent":{"__isSmartRef__":true,"id":376},"_Fill":{"__isSmartRef__":true,"id":377},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":378},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"375":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"376":{"x":1,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"377":{"r":0.0031372549019607846,"g":0.0031372549019607846,"b":0.0031372549019607846,"a":0.2,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"378":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"379":{"morph":{"__isSmartRef__":true,"id":373},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"380":{"x":197,"y":213,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"381":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"382":{"setExtent":{"__isSmartRef__":true,"id":383}},"383":{"varMapping":{"__isSmartRef__":true,"id":384},"source":"function setExtent(r) {\n\t$super(r);\n\n\n\tvar selection = [];\n\tthis.owner.submorphs.forEach(function(m) {\n\tif (m !== this && this.bounds().containsRect(m.bounds())) selection.push(m);\n\t\t}, this);\n\t\n\tvar newSelection = selection.reject(function(ea) {\n\t\tthis.selectedMorphs.include(ea)\n\t}, this);\n\n\tif (newSelection.length > 0) {\n\t\t// alertOK('selected ' + newSelection)\n\t}\n\n\tthis.selectedMorphs = selection.reverse();\n}","funcProperties":{"__isSmartRef__":true,"id":389},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"384":{"this":{"__isSmartRef__":true,"id":373},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":385}},"385":{"$super":{"__isSmartRef__":true,"id":386}},"386":{"varMapping":{"__isSmartRef__":true,"id":387},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":388},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"387":{"obj":{"__isSmartRef__":true,"id":373},"name":"setExtent"},"388":{},"389":{},"390":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"391":{"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":392},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":393},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"392":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"393":{"updater":{"__isSmartRef__":true,"id":394}},"394":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":392},"source":"function ($upd, v) { \n if (v && v.toString() !== URL.source.toString()) {\n $upd(v) \n }\n }","funcProperties":{"__isSmartRef__":true,"id":395},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"395":{},"396":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/issues/110407_NoScriptEditorInNewWorld.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"isSimplifiedRegistry":true}}]]>