{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":14},{"__isSmartRef__":true,"id":42},{"__isSmartRef__":true,"id":67},{"__isSmartRef__":true,"id":72}],"scripts":[],"id":"51336764-DB30-4669-A051-FC7EF0149FA5","shape":{"__isSmartRef__":true,"id":85},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"DBmorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":16},"eventHandler":{"__isSmartRef__":true,"id":86},"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"],"partTests":{"__isSmartRef__":true,"id":87},"_ClipMode":"visible","moved":true,"__serializedExpressions__":["_Position"],"DB":{"__isSmartRef__":true,"id":92},"views":{"__isSmartRef__":true,"id":98},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":239},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"1":{"submorphs":[],"scripts":[],"id":"46DC0F82-4414-4F84-A277-FE3F003637E4","shape":{"__isSmartRef__":true,"id":2},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":3},"textChunks":[{"__isSmartRef__":true,"id":11}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":13},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(31.0,31.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(64.0,-11.0)"},"2":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(88.7,70.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"3":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__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}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Tue Jul 23 2013 23:21:08 GMT-0700 (PDT)\")"},"4":{"__serializedExpressions__":["date"],"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62","date":"new Date(\"Tue Mar 12 2013 09:31:56 GMT-0700 (PDT)\")"},"5":{"__serializedExpressions__":["date"],"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194","date":"new Date(\"Tue May 08 2012 05:18:18 GMT-0700 (PDT)\")"},"6":{"__serializedExpressions__":["date"],"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9","date":"new Date(\"Fri Apr 20 2012 22:32:09 GMT-0700 (PDT)\")"},"7":{"__serializedExpressions__":["date"],"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF","date":"new Date(\"Fri Apr 20 2012 22:31:43 GMT-0700 (PDT)\")"},"8":{"__serializedExpressions__":["date"],"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","date":"new Date(\"Sun Feb 26 2012 21:20:38 GMT-0800 (PST)\")"},"9":{"__serializedExpressions__":["date"],"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0","date":"new Date(\"Sat Apr 21 2012 07:30:30 GMT-0700 (PDT)\")"},"10":{"__serializedExpressions__":["date"],"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598","date":"new Date(\"Tue Mar 12 2013 10:36:22 GMT-0700 (PDT)\")"},"11":{"style":{"__isSmartRef__":true,"id":12},"morph":{"__isSmartRef__":true,"id":1},"chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"DB","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12":{"fontSize":38,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14":{"submorphs":[],"scripts":[],"id":"21B296D2-343D-4D2B-A92D-4E1398E77845","shape":{"__isSmartRef__":true,"id":15},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle2","partsBinMetaInfo":{"__isSmartRef__":true,"id":16},"eventHandler":{"__isSmartRef__":true,"id":36},"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"],"partTests":{"__isSmartRef__":true,"id":37},"_ClipMode":"visible","moved":true,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(122.0,36.0)","distanceToDragEvent":"lively.pt(103.0,-10.0)"},"15":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":8.035,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"_AppearanceStylingMode":false,"_BorderStylingMode":false,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(164.0,66.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(149,221,161)","_Padding":"lively.rect(0,0,0,0)"},"16":{"partsSpaceName":"PartsBin/Dan","comment":"A primitive database for storing PDA items and views.  The view includes search panes that do not work yet","migrationLevel":8,"partName":"DBmorph","changes":[{"__isSmartRef__":true,"id":17},{"__isSmartRef__":true,"id":18},{"__isSmartRef__":true,"id":19},{"__isSmartRef__":true,"id":20},{"__isSmartRef__":true,"id":21},{"__isSmartRef__":true,"id":22},{"__isSmartRef__":true,"id":23},{"__isSmartRef__":true,"id":24},{"__isSmartRef__":true,"id":25},{"__isSmartRef__":true,"id":26},{"__isSmartRef__":true,"id":27},{"__isSmartRef__":true,"id":28},{"__isSmartRef__":true,"id":29},{"__isSmartRef__":true,"id":30},{"__isSmartRef__":true,"id":31},{"__isSmartRef__":true,"id":32},{"__isSmartRef__":true,"id":33},{"__isSmartRef__":true,"id":34},{"__isSmartRef__":true,"id":35}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Oct 16 2013 23:26:07 GMT-0700 (PDT)\")"},"17":{"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)\")"},"18":{"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)\")"},"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":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"21":{"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)\")"},"22":{"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)\")"},"23":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"24":{"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)\")"},"25":{"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)\")"},"26":{"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)\")"},"27":{"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)\")"},"28":{"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)\")"},"29":{"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)\")"},"30":{"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)\")"},"31":{"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)\")"},"32":{"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)\")"},"33":{"__serializedExpressions__":["date"],"author":"Dan","message":"no comment","id":"3A517DF5-9019-4FD9-8362-8A226AEF5F04","date":"new Date(\"Wed Oct 16 2013 00:38:19 GMT-0700 (PDT)\")"},"34":{"__serializedExpressions__":["date"],"author":"Dan","message":"added ability to retrieve all notes","id":"FA7E1123-0173-4778-B7E1-4A96D20D06C0","date":"new Date(\"Wed Oct 16 2013 23:26:07 GMT-0700 (PDT)\")"},"35":{"__serializedExpressions__":["date"],"author":"Dan","message":"sundry changes.  Now syncs multiple views","id":"C71CF380-026A-49CC-A6FC-297553429ACF","date":"new Date(\"Fri Oct 18 2013 00:54:55 GMT-0700 (PDT)\")"},"36":{"morph":{"__isSmartRef__":true,"id":14},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"37":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":38}},"38":{"test01IsMorph":{"__isSmartRef__":true,"id":39}},"39":{"varMapping":{"__isSmartRef__":true,"id":40},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":41},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"40":{"this":{"__isSmartRef__":true,"id":37}},"41":{},"42":{"submorphs":[],"scripts":[],"id":"F9E9DC97-BD84-4F7F-BB16-650E6880B4FA","shape":{"__isSmartRef__":true,"id":43},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle3","partsBinMetaInfo":{"__isSmartRef__":true,"id":44},"eventHandler":{"__isSmartRef__":true,"id":61},"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","21B296D2-343D-4D2B-A92D-4E1398E77845"],"partTests":{"__isSmartRef__":true,"id":62},"_ClipMode":"visible","moved":true,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(34.0,132.0)","distanceToDragEvent":"lively.pt(104.0,-12.0)"},"43":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":8.035,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__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(254.0,68.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(149,221,161)","_Padding":"lively.rect(0,0,0,0)"},"44":{"partsSpaceName":"PartsBin/Basic","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":45},{"__isSmartRef__":true,"id":46},{"__isSmartRef__":true,"id":47},{"__isSmartRef__":true,"id":48},{"__isSmartRef__":true,"id":49},{"__isSmartRef__":true,"id":50},{"__isSmartRef__":true,"id":51},{"__isSmartRef__":true,"id":52},{"__isSmartRef__":true,"id":53},{"__isSmartRef__":true,"id":54},{"__isSmartRef__":true,"id":55},{"__isSmartRef__":true,"id":56},{"__isSmartRef__":true,"id":57},{"__isSmartRef__":true,"id":58},{"__isSmartRef__":true,"id":59},{"__isSmartRef__":true,"id":60}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Mon Jul 29 2013 23:20:47 GMT-0700 (PDT)\")"},"45":{"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)\")"},"46":{"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)\")"},"47":{"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)\")"},"48":{"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)\")"},"49":{"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)\")"},"50":{"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)\")"},"51":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"52":{"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)\")"},"53":{"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)\")"},"54":{"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)\")"},"55":{"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)\")"},"56":{"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)\")"},"57":{"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)\")"},"58":{"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)\")"},"59":{"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)\")"},"60":{"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)\")"},"61":{"morph":{"__isSmartRef__":true,"id":42},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"62":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":63}},"63":{"test01IsMorph":{"__isSmartRef__":true,"id":64}},"64":{"varMapping":{"__isSmartRef__":true,"id":65},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":66},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"65":{"this":{"__isSmartRef__":true,"id":62}},"66":{},"67":{"submorphs":[],"scripts":[],"id":"EE8AEB3D-A5AE-4875-B8FA-D66DA70F1BC0","shape":{"__isSmartRef__":true,"id":68},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":3},"textChunks":[{"__isSmartRef__":true,"id":69}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":71},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(129.0,9.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(41.0,-11.0)"},"68":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__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(55.7,26.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"69":{"style":{"__isSmartRef__":true,"id":70},"morph":{"__isSmartRef__":true,"id":67},"chunkOwner":{"__isSmartRef__":true,"id":67},"storedString":"Filters","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"70":{"fontSize":11,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"71":{"morph":{"__isSmartRef__":true,"id":67},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"72":{"submorphs":[],"scripts":[],"id":"7446EB1A-3040-4EAD-AC6E-D5DE90CF9D7A","shape":{"__isSmartRef__":true,"id":73},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":74},"textChunks":[{"__isSmartRef__":true,"id":82}],"charsReplaced":"Filters","lastFindLoc":7,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":84},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","EE8AEB3D-A5AE-4875-B8FA-D66DA70F1BC0"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"previousSelection":[4,4],"isBeingDragged":false,"moved":true,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(41.0,106.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(39.0,-14.0)"},"73":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__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(65.7,21.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"74":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__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}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Tue Jul 23 2013 23:21:08 GMT-0700 (PDT)\")"},"75":{"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)\")"},"76":{"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)\")"},"77":{"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)\")"},"78":{"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)\")"},"79":{"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)\")"},"80":{"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)\")"},"81":{"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)\")"},"82":{"style":{"__isSmartRef__":true,"id":83},"morph":{"__isSmartRef__":true,"id":72},"chunkOwner":{"__isSmartRef__":true,"id":72},"storedString":"Results","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"83":{"fontSize":11,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"84":{"morph":{"__isSmartRef__":true,"id":72},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"85":{"_BorderWidth":6.4159999999999995,"_ClipMode":"visible","_BorderRadius":43.245,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"_AppearanceStylingMode":false,"_BorderStylingMode":false,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(322.0,233.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(27,109,39)","_Padding":"lively.rect(0,0,0,0)"},"86":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"87":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":88}},"88":{"test01IsMorph":{"__isSmartRef__":true,"id":89}},"89":{"varMapping":{"__isSmartRef__":true,"id":90},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":91},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"90":{"this":{"__isSmartRef__":true,"id":87}},"91":{},"92":{"Wed Oct 09 2013 16:38:32 GMT-0700 (PDT)":{"__isSmartRef__":true,"id":93},"Fri Oct 18 2013 00:23:51 GMT-0700 (PDT)":{"__isSmartRef__":true,"id":94},"Fri Oct 18 2013 00:24:07 GMT-0700 (PDT)":{"__isSmartRef__":true,"id":95},"Fri Oct 18 2013 00:26:35 GMT-0700 (PDT)":{"__isSmartRef__":true,"id":96},"Fri Oct 18 2013 00:26:42 GMT-0700 (PDT)":{"__isSmartRef__":true,"id":97}},"93":{"itemName":"note","__serializedExpressions__":["timeStamp","timeChanged"],"seqNo":1,"authorID":314159265,"content":"Here is a thought...","timeStamp":"new Date(\"Wed Oct 09 2013 16:38:32 GMT-0700 (PDT)\")","timeChanged":"new Date(\"Fri Oct 18 2013 00:23:41 GMT-0700 (PDT)\")"},"94":{"itemName":"note","__serializedExpressions__":["timeStamp","timeChanged"],"seqNo":76,"authorID":314159265,"content":"Here is your thought...","timeStamp":"new Date(\"Fri Oct 18 2013 00:23:51 GMT-0700 (PDT)\")","timeChanged":"new Date(\"Fri Oct 18 2013 00:29:18 GMT-0700 (PDT)\")"},"95":{"itemName":"note","__serializedExpressions__":["timeStamp","timeChanged"],"seqNo":77,"authorID":314159265,"content":"Here is a thought...","timeStamp":"new Date(\"Fri Oct 18 2013 00:24:07 GMT-0700 (PDT)\")","timeChanged":"new Date(\"Fri Oct 18 2013 00:24:07 GMT-0700 (PDT)\")"},"96":{"itemName":"note","__serializedExpressions__":["timeStamp","timeChanged"],"seqNo":78,"authorID":314159265,"content":"Here is one thought...","timeStamp":"new Date(\"Fri Oct 18 2013 00:26:35 GMT-0700 (PDT)\")","timeChanged":"new Date(\"Fri Oct 18 2013 00:26:51 GMT-0700 (PDT)\")"},"97":{"itemName":"note","__serializedExpressions__":["timeStamp","timeChanged"],"seqNo":79,"authorID":314159265,"content":"Here is two thought...","timeStamp":"new Date(\"Fri Oct 18 2013 00:26:42 GMT-0700 (PDT)\")","timeChanged":"new Date(\"Fri Oct 18 2013 00:26:55 GMT-0700 (PDT)\")"},"98":{"note":{"__isSmartRef__":true,"id":99}},"99":{"submorphs":[{"__isSmartRef__":true,"id":100},{"__isSmartRef__":true,"id":121},{"__isSmartRef__":true,"id":131},{"__isSmartRef__":true,"id":141}],"scripts":[{"__isSmartRef__":true,"id":155}],"id":"AE2DC0AA-F8FC-4E4C-81BC-660BE0F9128D","shape":{"__isSmartRef__":true,"id":156},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"note","partsBinMetaInfo":{"__isSmartRef__":true,"id":157},"eventHandler":{"__isSmartRef__":true,"id":177},"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"],"partTests":{"__isSmartRef__":true,"id":178},"_ClipMode":"visible","moved":true,"layout":{"__isSmartRef__":true,"id":183},"reframeHandle":{"__isSmartRef__":true,"id":184},"isBeingDragged":false,"rightReframeHandle":{"__isSmartRef__":true,"id":188},"bottomReframeHandle":{"__isSmartRef__":true,"id":192},"__serializedExpressions__":["_Position","timeStamp","distanceToDragEvent","timeChanged"],"isCopyMorphRef":true,"morphRefId":1,"authorID":314159265,"itemName":"note","_Rotation":0,"_Scale":1,"seqNo":1,"latestModel":{"__isSmartRef__":true,"id":93},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":196},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(1087.0,52.0)","timeStamp":"new Date(\"Wed Oct 09 2013 16:38:32 GMT-0700 (PDT)\")","distanceToDragEvent":"lively.pt(183.0,-15.0)","timeChanged":"new Date(\"Fri Oct 18 2013 00:23:41 GMT-0700 (PDT)\")"},"100":{"submorphs":[],"scripts":[],"id":"B1DE3951-CECA-45A9-AC0B-7C7650D577C1","shape":{"__isSmartRef__":true,"id":101},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"content","partsBinMetaInfo":{"__isSmartRef__":true,"id":102},"textChunks":[{"__isSmartRef__":true,"id":110}],"charsReplaced":"a","lastFindLoc":10,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":112},"_ClipMode":"auto","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":99},"layout":{"__isSmartRef__":true,"id":113},"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"previousSelection":[11,11],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":114},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(9.0,30.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(210.0,-15.0)"},"101":{"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(252.0,205.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"102":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":103},{"__isSmartRef__":true,"id":104},{"__isSmartRef__":true,"id":105},{"__isSmartRef__":true,"id":106},{"__isSmartRef__":true,"id":107},{"__isSmartRef__":true,"id":108},{"__isSmartRef__":true,"id":109}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Tue Jul 23 2013 23:21:08 GMT-0700 (PDT)\")"},"103":{"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)\")"},"104":{"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)\")"},"105":{"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)\")"},"106":{"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)\")"},"107":{"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)\")"},"108":{"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)\")"},"109":{"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)\")"},"110":{"style":{"__isSmartRef__":true,"id":111},"morph":{"__isSmartRef__":true,"id":100},"chunkOwner":{"__isSmartRef__":true,"id":100},"storedString":"Here is a thought...","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"111":{"fontSize":13,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"112":{"morph":{"__isSmartRef__":true,"id":100},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"113":{"resizeWidth":true,"resizeHeight":true},"114":{"getModelData":{"__isSmartRef__":true,"id":115},"setModelData":{"__isSmartRef__":true,"id":118}},"115":{"varMapping":{"__isSmartRef__":true,"id":116},"source":"function getModelData() {\n    return this.getTextString()\n}","funcProperties":{"__isSmartRef__":true,"id":117},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"116":{"this":{"__isSmartRef__":true,"id":100}},"117":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":[],"timestamp":"new Date(\"Tue Oct 15 2013 16:15:46 GMT-0700 (PDT)\")"},"118":{"varMapping":{"__isSmartRef__":true,"id":119},"source":"function setModelData(str) {\n    this.setTextString(str);\n}","funcProperties":{"__isSmartRef__":true,"id":120},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"119":{"this":{"__isSmartRef__":true,"id":100}},"120":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":[],"timestamp":"new Date(\"Wed Oct 16 2013 22:19:34 GMT-0700 (PDT)\")"},"121":{"submorphs":[{"__isSmartRef__":true,"id":122}],"scripts":[],"shape":{"__isSmartRef__":true,"id":127},"_ClipMode":"visible","derivationIds":["F5349740-F1B1-42CC-8127-57AC06C62AAB"],"id":"4F9E3470-7876-40D2-98BA-7513FDD1B4A9","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":122},"_PreviousBorderWidth":0,"_StyleClassNames":["Morph","Button","WindowControl","close"],"eventHandler":{"__isSmartRef__":true,"id":128},"isPressed":false,"showsHalos":false,"name":"WindowControl","owner":{"__isSmartRef__":true,"id":99},"attributeConnections":[{"__isSmartRef__":true,"id":129}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__serializedExpressions__":["_Position"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(245.1,7.1)"},"122":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":123},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":124}],"_ClipMode":"hidden","derivationIds":["DB8F286E-6A6F-45B9-8131-5671931597F1"],"id":"D26AA0B8-1F02-4240-B2E3-09488FC90C62","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":121},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":126},"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,-1.0)"},"123":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(16.0,19.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"124":{"style":{"__isSmartRef__":true,"id":125},"chunkOwner":{"__isSmartRef__":true,"id":122},"_id":"_5705","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"125":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"126":{"morph":{"__isSmartRef__":true,"id":122},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"127":{"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"128":{"morph":{"__isSmartRef__":true,"id":121},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"129":{"sourceObj":{"__isSmartRef__":true,"id":121},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":99},"targetMethodName":"remove","varMapping":{"__isSmartRef__":true,"id":130},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"130":{"source":{"__isSmartRef__":true,"id":121},"target":{"__isSmartRef__":true,"id":99}},"131":{"submorphs":[{"__isSmartRef__":true,"id":132}],"scripts":[],"shape":{"__isSmartRef__":true,"id":137},"_ClipMode":"visible","derivationIds":["F5349740-F1B1-42CC-8127-57AC06C62AAB","4F9E3470-7876-40D2-98BA-7513FDD1B4A9"],"id":"767B0BD1-B999-437F-A345-99E4428A42BD","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":132},"_PreviousBorderWidth":0,"_StyleClassNames":["Morph","Button","WindowControl"],"eventHandler":{"__isSmartRef__":true,"id":138},"isPressed":false,"showsHalos":false,"name":"WindowControl1","owner":{"__isSmartRef__":true,"id":99},"__serializedExpressions__":["_Position","distanceToDragEvent"],"attributeConnections":[{"__isSmartRef__":true,"id":139}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(188.1,8.1)","distanceToDragEvent":"lively.pt(35.9,-15.1)"},"132":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":133},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":134}],"_ClipMode":"hidden","derivationIds":["DB8F286E-6A6F-45B9-8131-5671931597F1","D26AA0B8-1F02-4240-B2E3-09488FC90C62"],"id":"7820B032-87CB-445A-AAF5-301D5319683B","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":131},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":136},"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,-1.0)"},"133":{"_BorderWidth":0,"__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"Color.rgb(0,204,0)","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"134":{"style":{"__isSmartRef__":true,"id":135},"chunkOwner":{"__isSmartRef__":true,"id":132},"_id":"_7217","storedString":"C","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"135":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"136":{"morph":{"__isSmartRef__":true,"id":132},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"137":{"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"138":{"morph":{"__isSmartRef__":true,"id":131},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"139":{"sourceObj":{"__isSmartRef__":true,"id":131},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":99},"targetMethodName":"copyToHand","varMapping":{"__isSmartRef__":true,"id":140},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"140":{"source":{"__isSmartRef__":true,"id":131},"target":{"__isSmartRef__":true,"id":99}},"141":{"submorphs":[{"__isSmartRef__":true,"id":142}],"scripts":[],"shape":{"__isSmartRef__":true,"id":147},"_ClipMode":"visible","derivationIds":["F5349740-F1B1-42CC-8127-57AC06C62AAB","4F9E3470-7876-40D2-98BA-7513FDD1B4A9","767B0BD1-B999-437F-A345-99E4428A42BD"],"id":"78760DFC-1C40-42B5-90D5-4CC41D9ACF77","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":142},"_PreviousBorderWidth":0,"_StyleClassNames":["Morph","Button","WindowControl"],"eventHandler":{"__isSmartRef__":true,"id":148},"isPressed":false,"showsHalos":false,"name":"WindowControl2","attributeConnections":[{"__isSmartRef__":true,"id":149}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":99},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":151},"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(218.1,7.1)","distanceToDragEvent":"lively.pt(36.9,-12.1)"},"142":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":143},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":144}],"_ClipMode":"hidden","derivationIds":["DB8F286E-6A6F-45B9-8131-5671931597F1","D26AA0B8-1F02-4240-B2E3-09488FC90C62","7820B032-87CB-445A-AAF5-301D5319683B"],"id":"D8B37155-3924-478F-89CB-1885CFBF6CAB","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":141},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":146},"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,-1.0)"},"143":{"_BorderWidth":0,"__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"Color.rgb(204,204,0)","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"144":{"style":{"__isSmartRef__":true,"id":145},"chunkOwner":{"__isSmartRef__":true,"id":142},"_id":"_796","storedString":"-","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"145":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"146":{"morph":{"__isSmartRef__":true,"id":142},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"147":{"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"148":{"morph":{"__isSmartRef__":true,"id":141},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"149":{"sourceObj":{"__isSmartRef__":true,"id":141},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":99},"targetMethodName":"copyToHand","varMapping":{"__isSmartRef__":true,"id":150},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"150":{"source":{"__isSmartRef__":true,"id":141},"target":{"__isSmartRef__":true,"id":99}},"151":{"copyToHand":{"__isSmartRef__":true,"id":152}},"152":{"varMapping":{"__isSmartRef__":true,"id":153},"source":"function copyToHand() {\n    var newMorph = this.copy();\n        // FIXME copied from CopyHalo -- should be in Morph\n        this.world().addMorph(newMorph);\n        newMorph.align(\n            newMorph.worldPoint(pt(0,0)),\n            this.worldPoint(pt(0,0)));\n    this.world().firstHand().grabMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":154},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"153":{"this":{"__isSmartRef__":true,"id":141}},"154":{"user":"Dan","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Oct 15 2013 14:49:52 GMT-0700 (PDT)\")"},"155":{"target":{"__isSmartRef__":true,"id":99},"selector":"checkForChanges","args":[],"stopped":false,"tickTime":1000,"suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"156":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":9.86,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__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(269.0,242.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(235,222,87)","_Padding":"lively.rect(0,0,0,0)"},"157":{"partsSpaceName":"PartsBin/Dan","comment":"A simple sticky note morph for testing the BYO database","migrationLevel":8,"partName":"note","changes":[{"__isSmartRef__":true,"id":158},{"__isSmartRef__":true,"id":159},{"__isSmartRef__":true,"id":160},{"__isSmartRef__":true,"id":161},{"__isSmartRef__":true,"id":162},{"__isSmartRef__":true,"id":163},{"__isSmartRef__":true,"id":164},{"__isSmartRef__":true,"id":165},{"__isSmartRef__":true,"id":166},{"__isSmartRef__":true,"id":167},{"__isSmartRef__":true,"id":168},{"__isSmartRef__":true,"id":169},{"__isSmartRef__":true,"id":170},{"__isSmartRef__":true,"id":171},{"__isSmartRef__":true,"id":172},{"__isSmartRef__":true,"id":173},{"__isSmartRef__":true,"id":174},{"__isSmartRef__":true,"id":175},{"__isSmartRef__":true,"id":176}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Oct 16 2013 23:27:13 GMT-0700 (PDT)\")"},"158":{"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)\")"},"159":{"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)\")"},"160":{"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)\")"},"161":{"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)\")"},"162":{"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)\")"},"163":{"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)\")"},"164":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"165":{"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)\")"},"166":{"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)\")"},"167":{"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)\")"},"168":{"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)\")"},"169":{"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)\")"},"170":{"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)\")"},"171":{"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)\")"},"172":{"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)\")"},"173":{"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)\")"},"174":{"__serializedExpressions__":["date"],"author":"Dan","message":"no comment","id":"F820E454-2828-441F-A75C-BC7766E77BAF","date":"new Date(\"Wed Oct 16 2013 00:39:33 GMT-0700 (PDT)\")"},"175":{"__serializedExpressions__":["date"],"author":"Dan","message":"disabled grabbing of text field","id":"0C9BABCC-1CEC-4CB5-9ACC-8A0A0D552592","date":"new Date(\"Wed Oct 16 2013 10:25:39 GMT-0700 (PDT)\")"},"176":{"__serializedExpressions__":["date"],"author":"Dan","message":"changed checkForChanges and modelObject methods","id":"3D69449D-AF17-4246-8DF4-AB96B5A4FE8A","date":"new Date(\"Wed Oct 16 2013 23:27:13 GMT-0700 (PDT)\")"},"177":{"morph":{"__isSmartRef__":true,"id":99},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"178":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":179}},"179":{"test01IsMorph":{"__isSmartRef__":true,"id":180}},"180":{"varMapping":{"__isSmartRef__":true,"id":181},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"181":{"this":{"__isSmartRef__":true,"id":178}},"182":{},"183":{"adjustForNewBounds":true},"184":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":185},"_ClipMode":"visible","derivationIds":[],"id":"F30C3729-F664-4A8A-8261-FECF0F6C7A35","droppingEnabled":true,"halosEnabled":true,"type":"corner","_StyleClassNames":["Morph","Box","ReframeHandle","reframe-handle corner"],"layout":{"__isSmartRef__":true,"id":186},"owner":null,"eventHandler":{"__isSmartRef__":true,"id":187},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.ReframeHandle","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(27.0,15.0)"},"185":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(14.0,14.0)","_Padding":"lively.rect(0,0,0,0)"},"186":{"moveVertical":true,"moveHorizontal":true},"187":{"morph":{"__isSmartRef__":true,"id":184},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"188":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":189},"_ClipMode":"visible","derivationIds":[],"id":"A9143849-48AD-49EE-AED4-49D68BE22B25","droppingEnabled":true,"halosEnabled":true,"type":"right","_StyleClassNames":["Morph","Box","ReframeHandle","reframe-handle right"],"layout":{"__isSmartRef__":true,"id":190},"owner":null,"eventHandler":{"__isSmartRef__":true,"id":191},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.ReframeHandle","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(27.0,0.0)"},"189":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(0.0,250.0)","_Padding":"lively.rect(0,0,0,0)"},"190":{"moveHorizontal":true},"191":{"morph":{"__isSmartRef__":true,"id":188},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"192":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":193},"_ClipMode":"visible","derivationIds":[],"id":"A1832657-7F3D-430C-B2F9-F4854119AE18","droppingEnabled":true,"halosEnabled":true,"type":"bottom","_StyleClassNames":["Morph","Box","ReframeHandle","reframe-handle bottom"],"layout":{"__isSmartRef__":true,"id":194},"owner":null,"eventHandler":{"__isSmartRef__":true,"id":195},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.ReframeHandle","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,15.0)"},"193":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(297.0,0.0)","_Padding":"lively.rect(0,0,0,0)"},"194":{"moveVertical":true},"195":{"morph":{"__isSmartRef__":true,"id":192},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"196":{"init":{"__isSmartRef__":true,"id":197},"copyToHand":{"__isSmartRef__":true,"id":200},"beFullView":{"__isSmartRef__":true,"id":203},"beIconView":{"__isSmartRef__":true,"id":206},"beLineView":{"__isSmartRef__":true,"id":209},"checkForChanges":{"__isSmartRef__":true,"id":212},"equalObjects":{"__isSmartRef__":true,"id":215},"dbStoreModel":{"__isSmartRef__":true,"id":218},"dbRetrieveModel":{"__isSmartRef__":true,"id":221},"dbGetDB":{"__isSmartRef__":true,"id":224},"dbSaveView":{"__isSmartRef__":true,"id":227},"asModel":{"__isSmartRef__":true,"id":230},"asReadFromModel":{"__isSmartRef__":true,"id":233},"dbRegister":{"__isSmartRef__":true,"id":236}},"197":{"varMapping":{"__isSmartRef__":true,"id":198},"source":"function init() {  // this.init()\n    // import the window reframe trait\n    // doesn't work yet :-(\n    //this.addScript(lively.morphic.Window.prototype.makeReframeHandles, 'makeReframeHandles');\n    //this.addScript(lively.morphic.Window.prototype.alignAllHandles, 'alignAllHandles');\n    //this.addScript(lively.morphic.Window.prototype.alignWithWindow, 'alignWithWindow');\n    //this.makeReframeHandles()\n    this.timeStamp = new Date();  // creation date\n    this.startStepping(1000, \"checkForChanges\");\n}","funcProperties":{"__isSmartRef__":true,"id":199},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"198":{"this":{"__isSmartRef__":true,"id":99}},"199":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":[],"timestamp":"new Date(\"Tue Oct 15 2013 23:45:47 GMT-0700 (PDT)\")"},"200":{"varMapping":{"__isSmartRef__":true,"id":201},"source":"function copyToHand() {\n    var newMorph = this.copy();\n    newMorph.dbRegister();\n        // FIXME copied from CopyHalo\n        this.world().addMorph(newMorph);\n        newMorph.align(\n            newMorph.worldPoint(pt(0,0)),\n            this.worldPoint(pt(0,0)));\n    this.world().firstHand().grabMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":202},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"201":{"this":{"__isSmartRef__":true,"id":99}},"202":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["view"],"timestamp":"new Date(\"Thu Oct 17 2013 23:44:27 GMT-0700 (PDT)\")"},"203":{"varMapping":{"__isSmartRef__":true,"id":204},"source":"function beFullView() {  // this.beFullView()\n    // coming soon...\n}","funcProperties":{"__isSmartRef__":true,"id":205},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"204":{"this":{"__isSmartRef__":true,"id":99}},"205":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["view"],"timestamp":"new Date(\"Thu Oct 17 2013 20:51:18 GMT-0700 (PDT)\")"},"206":{"varMapping":{"__isSmartRef__":true,"id":207},"source":"function beIconView() {  // this.beIconView()\n    // For draggin in and out of serach panes\n    // coming soon...\n}","funcProperties":{"__isSmartRef__":true,"id":208},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"207":{"this":{"__isSmartRef__":true,"id":99}},"208":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["view"],"timestamp":"new Date(\"Thu Oct 17 2013 20:52:53 GMT-0700 (PDT)\")"},"209":{"varMapping":{"__isSmartRef__":true,"id":210},"source":"function beLineView() {  // this.beLineView()\n    // For puttin in a list, eg\n    // coming soon\n}","funcProperties":{"__isSmartRef__":true,"id":211},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"210":{"this":{"__isSmartRef__":true,"id":99}},"211":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["view"],"timestamp":"new Date(\"Thu Oct 17 2013 20:52:28 GMT-0700 (PDT)\")"},"212":{"varMapping":{"__isSmartRef__":true,"id":213},"source":"function checkForChanges() {\n    // this ticking script keeps views sync'd with the DB\n    var obj = this.asModel();\n    var dbObj = this.dbRetrieveModel();\n\n    if (this.equalObjects(obj, this.latestModel)) {\n        // nothing has changed in the view (morph)\n        // so check for a change in the database\n        if (this.equalObjects(dbObj, this.latestModel)) return;\n        // The database model has changed, so update this view\n        this.asReadFromModel(dbObj);\n        return\n    }\n    // Something has changed because of an edit in this view\n    // so first check if the database has changed under us\n    if (!this.equalObjects(dbObj, this.latestModel)) {\n        // Later we'll do something more intelligent here...\n        console.log(this.itemName + this.seqNo + \" **conflict**\");\n        console.log(\"   overwriting: \" + dbObj.content);\n    }\n    console.log(this.itemName + this.seqNo + \" changed: \" + obj.content);\n    this.dbStoreModel();\n}","funcProperties":{"__isSmartRef__":true,"id":214},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"213":{"this":{"__isSmartRef__":true,"id":99}},"214":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["model"],"timestamp":"new Date(\"Fri Oct 18 2013 00:51:47 GMT-0700 (PDT)\")"},"215":{"varMapping":{"__isSmartRef__":true,"id":216},"source":"function equalObjects(a, b) {\n    // Return true if a and b are 'equal' JS objects\n    // [BTW: is there already a way to do this in JS?]\n    for (var p in a) if (a[p] != b[p]) return false\n    return true;\n}","funcProperties":{"__isSmartRef__":true,"id":217},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"216":{"this":{"__isSmartRef__":true,"id":99}},"217":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["model"],"timestamp":"new Date(\"Thu Oct 17 2013 20:56:25 GMT-0700 (PDT)\")"},"218":{"varMapping":{"__isSmartRef__":true,"id":219},"source":"function dbStoreModel() {  // this.dbStoreModel()\n    // Store the model for this view in the database\n    var db = this.dbGetDB();\n    this.timeChanged = new Date(); \n    var updatedModel = this.asModel();\n    db[this.timeStamp] = updatedModel;\n    this.latestModel = updatedModel;\n    return;\n}","funcProperties":{"__isSmartRef__":true,"id":220},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"219":{"this":{"__isSmartRef__":true,"id":99}},"220":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["database"],"timestamp":"new Date(\"Thu Oct 17 2013 23:08:35 GMT-0700 (PDT)\")"},"221":{"varMapping":{"__isSmartRef__":true,"id":222},"source":"function dbRetrieveModel() {  // this.dbRetrieveModel()\n    // Return the database model for this view\n    return this.dbGetDB()[this.timeStamp];\n}","funcProperties":{"__isSmartRef__":true,"id":223},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"222":{"this":{"__isSmartRef__":true,"id":99}},"223":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["database"],"timestamp":"new Date(\"Thu Oct 17 2013 21:07:15 GMT-0700 (PDT)\")"},"224":{"varMapping":{"__isSmartRef__":true,"id":225},"source":"function dbGetDB() {  // this.dbGetDB()\n    // Currently returns a trivially simple local DB\n    return $world.get('DBmorph').DB;\n}","funcProperties":{"__isSmartRef__":true,"id":226},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"225":{"this":{"__isSmartRef__":true,"id":99}},"226":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["database"],"timestamp":"new Date(\"Thu Oct 17 2013 15:01:59 GMT-0700 (PDT)\")"},"227":{"varMapping":{"__isSmartRef__":true,"id":228},"source":"function dbSaveView() {  // this.dbSaveView()\n    // Store this as the default view for this item in the database\n    // Note: this will not update other views open at the time\n    var db = this.dbGetDB();\n    db.views[this.itemName] = this;\n}","funcProperties":{"__isSmartRef__":true,"id":229},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"228":{"this":{"__isSmartRef__":true,"id":99}},"229":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["view"],"timestamp":"new Date(\"Thu Oct 17 2013 21:37:39 GMT-0700 (PDT)\")"},"230":{"varMapping":{"__isSmartRef__":true,"id":231},"source":"function asModel() {  \n    // JSON.stringify(this.asModel())\n    \n    // Returns a JS object with field data as properties\n    // in adition to a few fixed properties, this scans the morph\n    // for fields, which are basically widgets that know \"getModelData\"\n    var obj = {itemName: this.itemName,\n        timeStamp: this.timeStamp,\n        seqNo: this.seqNo,\n        authorID: this.authorID,\n        timeChanged: this.timeChanged};\n    this.submorphs.forEach(function(morph) {\n        if (morph.getModelData) obj[morph.name] = morph.getModelData()\n    });\n    return obj\n}","funcProperties":{"__isSmartRef__":true,"id":232},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"231":{"this":{"__isSmartRef__":true,"id":99}},"232":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["model"],"timestamp":"new Date(\"Thu Oct 17 2013 23:06:28 GMT-0700 (PDT)\")"},"233":{"varMapping":{"__isSmartRef__":true,"id":234},"source":"function asReadFromModel(obj) {\n    this.itemName = obj.itemName;\n    this.timeStamp = obj.timeStamp;\n    this.seqNo = obj.seqNo;\n    this.authorID = obj.authorID;\n    this.timeChanged = obj.timeChanged;\n    this.latestModel = obj;\n    this.submorphs.forEach(function(morph) {\n        if (morph.setModelData) morph.setModelData(obj[morph.name]);\n    });\n    return this\n}","funcProperties":{"__isSmartRef__":true,"id":235},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"234":{"this":{"__isSmartRef__":true,"id":99}},"235":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["model"],"timestamp":"new Date(\"Fri Oct 18 2013 00:21:44 GMT-0700 (PDT)\")"},"236":{"varMapping":{"__isSmartRef__":true,"id":237},"source":"function dbRegister() {\n    this.timeStamp = new Date();\n    this.seqNo = ($world.byoSeqNo || 0) + 1;\n    $world.byoSeqNo = this.seqNo;\n    this.authorID = this.authorID;  // **should come from local state\n    this.dbStoreModel();\n    console.log(this.itemName + this.seqNo + \" created.\");\n}","funcProperties":{"__isSmartRef__":true,"id":238},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"237":{"this":{"__isSmartRef__":true,"id":99}},"238":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["database"],"timestamp":"new Date(\"Thu Oct 17 2013 23:46:40 GMT-0700 (PDT)\")"},"239":{"resetDB":{"__isSmartRef__":true,"id":240},"openAll":{"__isSmartRef__":true,"id":243},"openObject":{"__isSmartRef__":true,"id":246},"openView":{"__isSmartRef__":true,"id":249},"testTwoViews":{"__isSmartRef__":true,"id":252}},"240":{"varMapping":{"__isSmartRef__":true,"id":241},"source":"function resetDB() {  // this.resetDB()\n    console.log(\"Resetting the DB\");\n    var m = $morph('note');\n    if (!m) return;\n    this.DB = {};\n    m.dbStoreModel();\n    this.views = {note: m};\n}","funcProperties":{"__isSmartRef__":true,"id":242},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"241":{"this":{"__isSmartRef__":true,"id":0}},"242":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["setup"],"timestamp":"new Date(\"Thu Oct 17 2013 23:49:45 GMT-0700 (PDT)\")"},"243":{"varMapping":{"__isSmartRef__":true,"id":244},"source":"function openAll() {  // this.openAll()\n    for (var p in this.DB) this.openObject(this.DB[p]);\n}","funcProperties":{"__isSmartRef__":true,"id":245},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"244":{"this":{"__isSmartRef__":true,"id":0}},"245":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["views"],"timestamp":"new Date(\"Thu Oct 17 2013 09:53:34 GMT-0700 (PDT)\")"},"246":{"varMapping":{"__isSmartRef__":true,"id":247},"source":"function openObject(obj) {\n    var view = this.views[obj.itemName];\n    \n    // Do not open the master view (use openView for this)\n    if (obj.timeStamp == view.timeStamp) return null;\n    \n    var m = view.copy();\n    m.asReadFromModel(obj);\n    m.setFill(Color.blue.lighter().lighter())\n    m.openInWorld();\n    return m;\n}","funcProperties":{"__isSmartRef__":true,"id":248},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"247":{"this":{"__isSmartRef__":true,"id":0}},"248":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["views"],"timestamp":"new Date(\"Thu Oct 17 2013 23:11:17 GMT-0700 (PDT)\")"},"249":{"varMapping":{"__isSmartRef__":true,"id":250},"source":"function openView(itemName) {\n    var view = this.views[itemName];\n    if (view) view.openInWorld();\n    return view;\n}","funcProperties":{"__isSmartRef__":true,"id":251},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"250":{"this":{"__isSmartRef__":true,"id":0}},"251":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["views"],"timestamp":"new Date(\"Thu Oct 17 2013 21:21:47 GMT-0700 (PDT)\")"},"252":{"varMapping":{"__isSmartRef__":true,"id":253},"source":"function testTwoViews() {  // this.testTwoViews()\n    // Open two views on the same data object for testing\n    for (var p in this.DB) {\n        var m = this.openObject(this.DB[p]);\n        if (m) {\n            // if success in opening, open a second and return\n            this.openObject(this.DB[p])\n            return\n        }\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":254},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"253":{"this":{"__isSmartRef__":true,"id":0}},"254":{"__serializedExpressions__":["timestamp"],"user":"Dan","tags":["views"],"timestamp":"new Date(\"Thu Oct 17 2013 21:22:38 GMT-0700 (PDT)\")"},"isSimplifiedRegistry":true}}