{"id":0,"registry":{"0":{"submorphs":[],"scripts":[],"id":"A09209A5-134A-4EBD-9509-8135BDE83DFB","shape":{"__isSmartRef__":true,"id":1},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"WormHolePublisherList","partsBinMetaInfo":{"__isSmartRef__":true,"id":2},"eventHandler":{"__isSmartRef__":true,"id":23},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","5754CB89-6E9F-4F8D-AB8D-BD0184B9DE30"],"partTests":{"__isSmartRef__":true,"id":24},"_ClipMode":"auto","moved":true,"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":29},"isInLayoutCycle":false,"doNotSerialize":["listItems"],"prevScroll":[0,0],"checkElementPrototype":{"__isSmartRef__":true,"id":31},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":117},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"1":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":3.335,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(393.7,237.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"2":{"partsSpaceName":"PartsBin/Felix/","comment":"Lists streams that are published in the worm hole","migrationLevel":9,"partName":"WormHolePublisherList","changes":[{"__isSmartRef__":true,"id":3},{"__isSmartRef__":true,"id":4},{"__isSmartRef__":true,"id":5},{"__isSmartRef__":true,"id":6},{"__isSmartRef__":true,"id":7},{"__isSmartRef__":true,"id":8},{"__isSmartRef__":true,"id":9},{"__isSmartRef__":true,"id":10},{"__isSmartRef__":true,"id":11},{"__isSmartRef__":true,"id":12},{"__isSmartRef__":true,"id":13},{"__isSmartRef__":true,"id":14},{"__isSmartRef__":true,"id":15},{"__isSmartRef__":true,"id":16},{"__isSmartRef__":true,"id":17},{"__isSmartRef__":true,"id":18},{"__isSmartRef__":true,"id":19},{"__isSmartRef__":true,"id":20},{"__isSmartRef__":true,"id":21},{"__isSmartRef__":true,"id":22}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Dec 10 2014 09:44:28 GMT-0800 (PST)\")"},"3":{"author":"felix","message":"no comment","id":"21439D46-9A7A-43EB-81AE-2EBC6E0CDBEB","__serializedExpressions__":["date"],"date":"new Date(\"Wed Dec 10 2014 09:44:27 GMT-0800 (PST)\")"},"4":{"author":"felix","message":"new streaming interface","id":"B5BCF77C-45CA-4270-A08E-B738E0F308C9","__serializedExpressions__":["date"],"date":"new Date(\"Mon Dec 08 2014 17:07:04 GMT-0800 (PST)\")"},"5":{"author":"felix","message":"no comment","id":"63CCEF24-55C4-4F3F-B3B5-BE7FEB6B2A0C","__serializedExpressions__":["date"],"date":"new Date(\"Fri Nov 21 2014 14:27:10 GMT-0800 (PST)\")"},"6":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"7":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"8":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"9":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"10":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"11":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"12":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"13":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"14":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"15":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"16":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"17":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"18":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"19":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"20":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"21":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"22":{"__serializedExpressions__":["date"],"author":"felix","message":"no comment","id":"DA0B2C6B-BC90-4F49-B367-64750E713E53","date":"new Date(\"Mon Dec 15 2014 12:52:16 GMT-0800 (PST)\")"},"23":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"24":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25}},"25":{"test01IsMorph":{"__isSmartRef__":true,"id":26}},"26":{"varMapping":{"__isSmartRef__":true,"id":27},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":28},"__LivelyClassName__":"lively.Closure"},"27":{"this":{"__isSmartRef__":true,"id":24}},"28":{},"29":{"layouter":{"__isSmartRef__":true,"id":30},"__serializedExpressions__":["extentWithoutPlaceholder"],"extentWithoutPlaceholder":"lively.pt(393.7,237.0)"},"30":{"borderSize":2.91,"defaultBorderSize":10,"spacing":2.91,"defaultSpacing":15,"container":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.Layout.VerticalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"31":{"submorphs":[{"__isSmartRef__":true,"id":32},{"__isSmartRef__":true,"id":38}],"scripts":[],"id":"C7EFF8B9-EFAD-4805-BB53-3EEB211FBCDF","shape":{"__isSmartRef__":true,"id":53},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"LabeledCheckBox","partsBinMetaInfo":{"__isSmartRef__":true,"id":54},"eventHandler":{"__isSmartRef__":true,"id":83},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975","C6BB6BE6-2401-4F78-99EE-E7A96CA7DA2A","2EA235B0-76DC-4AD9-90EC-C4F101813B79","350DCA8B-F064-47C8-853B-C8AFA179D4FE","3A5975A8-3B38-4052-AEBD-AA1070D79B72"],"partTests":{"__isSmartRef__":true,"id":84},"_ClipMode":"visible","moved":true,"layout":{"__isSmartRef__":true,"id":89},"isInLayoutCycle":false,"grabbingEnabled":false,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":91},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","distanceToDragEvent":"lively.pt(80.0,-21.0)"},"32":{"submorphs":[],"scripts":[],"id":"335BB8F5-43D2-4109-A2FF-588E21F74C28","shape":{"__isSmartRef__":true,"id":33},"__layered_droppingEnabled__":true,"halosEnabled":true,"checked":true,"showsHalos":false,"name":"CheckBox","partsBinMetaInfo":{"__isSmartRef__":true,"id":34},"eventHandler":{"__isSmartRef__":true,"id":35},"derivationIds":[6345,"A1F0ABBE-A5BC-4577-9ADC-76F29FF63E92","414B3246-0012-4B65-ACAF-4CE945860FBE","1CC3EE4A-E868-4340-BBEF-DC4093B0C579","42E98ECC-AD27-4C5C-84DE-AF5A002C1B05"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":31},"attributeConnections":[{"__isSmartRef__":true,"id":36}],"doNotSerialize":["$$checked"],"doNotCopyProperties":["$$checked"],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.CheckBox","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.3,0.3)"},"33":{"stringifiedShapeNode":"<input xmlns=\"http://www.w3.org/1999/xhtml\" type=\"checkbox\" style=\"width: 12px; height: 18px; overflow: visible; padding: 0px;\" class=\"Morph CheckBox\" id=\"null\" data-lively-morphid=\"335BB8F5-43D2-4109-A2FF-588E21F74C28\" />","__serializedExpressions__":["extent","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes","extent":"lively.pt(0.0,0.0)","_Extent":"lively.pt(12.0,18.0)","_Padding":"lively.rect(0,0,0,0)"},"34":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Inputs/","partName":"CheckBox","__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Sep 05 2012 16:01:35 GMT-0700 (PDT)\")"},"35":{"morph":{"__isSmartRef__":true,"id":32},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"36":{"sourceObj":{"__isSmartRef__":true,"id":32},"sourceAttrName":"checked","targetObj":{"__isSmartRef__":true,"id":31},"targetMethodName":"signalChecked","varMapping":{"__isSmartRef__":true,"id":37},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"37":{"source":{"__isSmartRef__":true,"id":32},"target":{"__isSmartRef__":true,"id":31}},"38":{"submorphs":[],"scripts":[],"id":"313B3464-5B11-429B-8B12-9725C6A7DD8F","shape":{"__isSmartRef__":true,"id":39},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"Label","partsBinMetaInfo":{"__isSmartRef__":true,"id":40},"textChunks":[{"__isSmartRef__":true,"id":49}],"charsReplaced":"Show missing documentation","lastFindLoc":26,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":51},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","59440FC5-E676-4B9B-A828-C150A05765C0","566D5CCF-67D2-4F4A-AC1C-16D0B3355CF0","D8EB8052-EC5C-4FFB-AA53-89ED2D3E252C","6429479B-F361-4F0B-969C-50AF62CC27C6","3CC73C7C-C3D5-4B93-B2C9-C666E3353D6F"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"previousSelection":[7,7],"isBeingDragged":false,"moved":true,"layout":{"__isSmartRef__":true,"id":52},"owner":{"__isSmartRef__":true,"id":31},"_InputAllowed":true,"_HandStyle":null,"allowInput":true,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(17.0,0.3)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(85.0,-9.0)"},"39":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(152.4,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"40":{"partsSpaceName":"PartsBin/Basic","migrationLevel":8,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":41},{"__isSmartRef__":true,"id":42},{"__isSmartRef__":true,"id":43},{"__isSmartRef__":true,"id":44},{"__isSmartRef__":true,"id":45},{"__isSmartRef__":true,"id":46},{"__isSmartRef__":true,"id":47},{"__isSmartRef__":true,"id":48}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Sat Apr 05 2014 01:51:52 GMT-0700 (PDT)\")"},"41":{"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62","__serializedExpressions__":["date"],"date":"new Date(\"Tue Mar 12 2013 09:31:56 GMT-0700 (PDT)\")"},"42":{"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194","__serializedExpressions__":["date"],"date":"new Date(\"Tue May 08 2012 05:18:18 GMT-0700 (PDT)\")"},"43":{"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 20 2012 22:32:09 GMT-0700 (PDT)\")"},"44":{"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 20 2012 22:31:43 GMT-0700 (PDT)\")"},"45":{"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)).  This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F","__serializedExpressions__":["date"],"date":"new Date(\"Sun Feb 26 2012 21:20:38 GMT-0800 (PST)\")"},"46":{"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0","__serializedExpressions__":["date"],"date":"new Date(\"Sat Apr 21 2012 07:30:30 GMT-0700 (PDT)\")"},"47":{"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598","__serializedExpressions__":["date"],"date":"new Date(\"Tue Mar 12 2013 10:36:22 GMT-0700 (PDT)\")"},"48":{"author":"robertkrahn","message":"resizeWidth = true","id":"E402462A-7AB2-487B-82BD-A3369C1C1F75","__serializedExpressions__":["date"],"date":"new Date(\"Sat Apr 05 2014 01:58:52 GMT-0700 (PDT)\")"},"49":{"style":{"__isSmartRef__":true,"id":50},"chunkOwner":{"__isSmartRef__":true,"id":38},"_id":"_3212","storedString":"some labeling here","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"50":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"51":{"morph":{"__isSmartRef__":true,"id":38},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"52":{"resizeWidth":true},"53":{"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(169.7,18.5)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"54":{"partsSpaceName":"PartsBin/Inputs","comment":"A checkbox with a label. Make the label not \"inputAllowed\" to have a real label.","migrationLevel":8,"partName":"LabeledCheckBox","changes":[{"__isSmartRef__":true,"id":55},{"__isSmartRef__":true,"id":56},{"__isSmartRef__":true,"id":57},{"__isSmartRef__":true,"id":58},{"__isSmartRef__":true,"id":59},{"__isSmartRef__":true,"id":60},{"__isSmartRef__":true,"id":61},{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":64},{"__isSmartRef__":true,"id":65},{"__isSmartRef__":true,"id":66},{"__isSmartRef__":true,"id":67},{"__isSmartRef__":true,"id":68},{"__isSmartRef__":true,"id":69},{"__isSmartRef__":true,"id":70},{"__isSmartRef__":true,"id":71},{"__isSmartRef__":true,"id":72},{"__isSmartRef__":true,"id":73},{"__isSmartRef__":true,"id":74},{"__isSmartRef__":true,"id":75},{"__isSmartRef__":true,"id":76},{"__isSmartRef__":true,"id":77},{"__isSmartRef__":true,"id":78},{"__isSmartRef__":true,"id":79},{"__isSmartRef__":true,"id":80},{"__isSmartRef__":true,"id":81},{"__isSmartRef__":true,"id":82}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Fri Nov 21 2014 14:02:08 GMT-0800 (PST)\")"},"55":{"author":"robertkrahn","message":"no comment","id":"B2987548-B625-46F5-8666-7AFD51797E31","__serializedExpressions__":["date"],"date":"new Date(\"Sat Oct 11 2014 00:42:52 GMT-0700 (PDT)\")"},"56":{"author":"robertkrahn","message":"no comment","id":"DE990CC8-6EBB-4937-B498-B8C56B511631","__serializedExpressions__":["date"],"date":"new Date(\"Sat Oct 11 2014 00:37:04 GMT-0700 (PDT)\")"},"57":{"author":"robertkrahn","message":"no comment","id":"C989B0A8-A275-405C-8392-8CDDB4B8879F","__serializedExpressions__":["date"],"date":"new Date(\"Sat Oct 11 2014 00:32:01 GMT-0700 (PDT)\")"},"58":{"author":"robertkrahn","message":"no comment","id":"AE369A0A-A9CF-4BE2-BE6B-FF4450B4DA23","__serializedExpressions__":["date"],"date":"new Date(\"Sat Oct 11 2014 00:29:20 GMT-0700 (PDT)\")"},"59":{"author":"robertkrahn","message":"no comment","id":"6661CD49-DCF1-422C-95B7-2938DCBB4EFE","__serializedExpressions__":["date"],"date":"new Date(\"Sat Oct 11 2014 00:27:56 GMT-0700 (PDT)\")"},"60":{"author":"robertkrahn","message":"no comment","id":"C93B9BF2-FC8B-48E9-9D44-77C4F4B7230F","__serializedExpressions__":["date"],"date":"new Date(\"Sat Oct 11 2014 00:25:32 GMT-0700 (PDT)\")"},"61":{"author":"robertkrahn","message":"no comment","id":"86FF879C-9F8C-446B-AD52-26E46C06322A","__serializedExpressions__":["date"],"date":"new Date(\"Sat Oct 11 2014 00:25:00 GMT-0700 (PDT)\")"},"62":{"author":"robertkrahn","message":"no comment","id":"BA5B9445-E96D-49C9-8CD2-2DD61FF4402B","__serializedExpressions__":["date"],"date":"new Date(\"Sat Oct 11 2014 00:22:48 GMT-0700 (PDT)\")"},"63":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"64":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"65":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"66":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"67":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"68":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"69":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"70":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"71":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"72":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"73":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"74":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"75":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"76":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"77":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"78":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"79":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"80":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"81":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"82":{"author":"felix","message":"added setLabel","id":"A2BAC9B1-68D2-420D-A17D-77AB1ECCC97F","__serializedExpressions__":["date"],"date":"new Date(\"Fri Nov 21 2014 14:02:04 GMT-0800 (PST)\")"},"83":{"morph":{"__isSmartRef__":true,"id":31},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"84":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":85}},"85":{"test01IsMorph":{"__isSmartRef__":true,"id":86}},"86":{"varMapping":{"__isSmartRef__":true,"id":87},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":88},"__LivelyClassName__":"lively.Closure"},"87":{"this":{"__isSmartRef__":true,"id":84}},"88":{},"89":{"layouter":{"__isSmartRef__":true,"id":90},"resizeWidth":false,"adjustForNewBounds":true,"__serializedExpressions__":["extentWithoutPlaceholder"],"extentWithoutPlaceholder":"lively.pt(100.0,18.0)"},"90":{"borderSize":0.265,"defaultBorderSize":10,"spacing":4.760000000000001,"defaultSpacing":15,"container":{"__isSmartRef__":true,"id":31},"__LivelyClassName__":"lively.morphic.Layout.TightHorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"91":{"isChecked":{"__isSmartRef__":true,"id":92},"reset":{"__isSmartRef__":true,"id":95},"setChecked":{"__isSmartRef__":true,"id":98},"signalChecked":{"__isSmartRef__":true,"id":101},"ondMouseDown":{"__isSmartRef__":true,"id":104},"onMouseDown":{"__isSmartRef__":true,"id":107},"setLabel":{"__isSmartRef__":true,"id":114}},"92":{"varMapping":{"__isSmartRef__":true,"id":93},"source":"function isChecked() {\n  return this.get(\"CheckBox\").isChecked();\n}","funcProperties":{"__isSmartRef__":true,"id":94},"__LivelyClassName__":"lively.Closure"},"93":{"this":{"__isSmartRef__":true,"id":31}},"94":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Oct 11 2014 00:26:50 GMT-0700 (PDT)\")"},"95":{"varMapping":{"__isSmartRef__":true,"id":96},"source":"function reset() {\n  this.connections = {checked: {}};\n  lively.bindings.connect(this.get(\"CheckBox\"), 'checked', this, 'signalChecked');\n}","funcProperties":{"__isSmartRef__":true,"id":97},"__LivelyClassName__":"lively.Closure"},"96":{"this":{"__isSmartRef__":true,"id":31}},"97":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Oct 11 2014 00:27:26 GMT-0700 (PDT)\")"},"98":{"varMapping":{"__isSmartRef__":true,"id":99},"source":"function setChecked(bool) {\n  return this.get(\"CheckBox\").setChecked(bool);\n}","funcProperties":{"__isSmartRef__":true,"id":100},"__LivelyClassName__":"lively.Closure"},"99":{"this":{"__isSmartRef__":true,"id":31}},"100":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Oct 11 2014 00:27:00 GMT-0700 (PDT)\")"},"101":{"varMapping":{"__isSmartRef__":true,"id":102},"source":"function signalChecked(val) {\n  lively.bindings.signal(this, 'checked', val);\n}","funcProperties":{"__isSmartRef__":true,"id":103},"__LivelyClassName__":"lively.Closure"},"102":{"this":{"__isSmartRef__":true,"id":31}},"103":{"user":"robertkrahn","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Oct 11 2014 00:27:45 GMT-0700 (PDT)\")"},"104":{"varMapping":{"__isSmartRef__":true,"id":105},"source":"function ondMouseDown(evt) {\n  if (evt.getTargetMorph() !== this.get(\"CheckBox\")) {\n    this.setChecked(!this.isChecked());\n    evt.stop(); return true;\n  }\n  return false;\n}","funcProperties":{"__isSmartRef__":true,"id":106},"__LivelyClassName__":"lively.Closure"},"105":{"this":{"__isSmartRef__":true,"id":31}},"106":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Oct 11 2014 00:35:34 GMT-0700 (PDT)\")"},"107":{"varMapping":{"__isSmartRef__":true,"id":108},"source":"function onMouseDown(evt) {\n  if (evt.getTargetMorph() == this.get(\"CheckBox\")) return false;\n  if (evt.getTargetMorph() == this.get(\"Label\") && this.get(\"Label\").inputAllowed()) return false;\n\n  this.setChecked(!this.isChecked());\n  evt.stop(); return true;\n}","funcProperties":{"__isSmartRef__":true,"id":113},"__LivelyClassName__":"lively.Closure"},"108":{"this":{"__isSmartRef__":true,"id":31},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":109}},"109":{"$super":{"__isSmartRef__":true,"id":110}},"110":{"varMapping":{"__isSmartRef__":true,"id":111},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":112},"__LivelyClassName__":"lively.Closure"},"111":{"obj":{"__isSmartRef__":true,"id":31},"name":"onMouseDown"},"112":{},"113":{"user":"robertkrahn","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sat Oct 11 2014 00:36:45 GMT-0700 (PDT)\")"},"114":{"varMapping":{"__isSmartRef__":true,"id":115},"source":"function setLabel(string) {\n    this.get('Label').setTextString(string);\n}","funcProperties":{"__isSmartRef__":true,"id":116},"__LivelyClassName__":"lively.Closure"},"115":{"this":{"__isSmartRef__":true,"id":31}},"116":{"user":"felix","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Nov 21 2014 14:00:14 GMT-0800 (PST)\")"},"117":{"updateList":{"__isSmartRef__":true,"id":118},"initVars":{"__isSmartRef__":true,"id":121},"onLoad":{"__isSmartRef__":true,"id":124}},"118":{"varMapping":{"__isSmartRef__":true,"id":119},"source":"function updateList(streams) {\n    var _this = this;\n    \n    // substract streams from known items to detect removed streams\n    var removedStreams = this.listItems.slice();\n    streams.forEach(function(stream) {\n        var idx = -1; \n        removedStreams.find(function(item, i) {\n            idx = i;\n            return item.id === stream.id;\n        })\n        removedStreams.splice(idx, 1);\n    });\n    \n    // remove check elements of removed streams\n    removedStreams.forEach(function(stream) {\n        var idx = -1;\n        _this.listItems.find(function(item, i) {\n            idx = i;\n            return item.id === stream.id;\n        });\n        _this.listItems.splice(idx, 1);\n        \n        var checkElement = _this.submorphs.find(function(checkElement) {\n            return checkElement.streamId === stream.id;\n        });\n        checkElement.remove();\n    });\n    \n    // substract the known items from the newStreams array to detect new streams\n    var newStreams = streams.slice();\n    this.listItems.forEach(function(item) {\n        var idx = -1;\n        newStreams.find(function(stream, i) {\n            idx = i;\n            return stream.id === item.id;\n        });\n        newStreams.splice(idx, 1);\n    });\n    \n    // create new check elements for new streams\n    newStreams.forEach(function(stream) {\n        _this.listItems.push(stream);\n        var checkElement = _this.checkElementPrototype.copy();\n        checkElement.setLabel(stream.publisherName + ' - ' + stream.type + ' - ' + stream.id);\n        checkElement.streamId = stream.id;\n        checkElement.setChecked(false);\n        checkElement.previousValue = false;\n        checkElement.onChange = function() {\n            var val = this.isChecked();\n            // The onChange function is triggered twice,\n            // once before the value changes, once after the change.\n            // We are just interested in the after-change call.\n            if (val === this.previousValue) return;\n            \n            this.previousValue = val;\n            $morph('WormHole').toggleSubscription(stream.id, val);\n        }\n        Global.connect(checkElement.get('CheckBox'), 'checked', checkElement, 'onChange', {});\n        \n        _this.addMorph(checkElement);\n    });\n    \n    return removedStreams;\n}","funcProperties":{"__isSmartRef__":true,"id":120},"__LivelyClassName__":"lively.Closure"},"119":{"this":{"__isSmartRef__":true,"id":0}},"120":{"user":"felix","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Mon Dec 08 2014 16:48:58 GMT-0800 (PST)\")"},"121":{"varMapping":{"__isSmartRef__":true,"id":122},"source":"function initVars() {\n    // remove all list morphs\n    this.removeAllMorphs();\n    \n    this.checkElementPrototype = this.checkElementPrototype || $world.loadPartItem('LabeledCheckBox', 'PartsBin/Inputs');\n    \n    // initialize instance variables\n    this.listItems = [];\n}","funcProperties":{"__isSmartRef__":true,"id":123},"__LivelyClassName__":"lively.Closure"},"122":{"this":{"__isSmartRef__":true,"id":0}},"123":{"user":"felix","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Mon Dec 08 2014 16:48:05 GMT-0800 (PST)\")"},"124":{"varMapping":{"__isSmartRef__":true,"id":125},"source":"function onLoad() {\n    this.doNotSerialize = ['listItems'];\n    this.initVars();\n}","funcProperties":{"__isSmartRef__":true,"id":126},"__LivelyClassName__":"lively.Closure"},"125":{"this":{"__isSmartRef__":true,"id":0}},"126":{"user":"felix","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Nov 21 2014 14:26:11 GMT-0800 (PST)\")"},"isSimplifiedRegistry":true}}