Lively Kernel canvas
0.1
60
137.6086910214951
1.3763212066275947
null
null
ProjectcreationwithLivelyWiki
30
4
1
false
null
33
null
null
UseraccountThefollowingfewpagesdemonstratehowyoucancreateownprojectsandhowyoucanaddbehaviortothem.Ifyouhavenolivelykernel.sunlabs.comaccountitisrecommendtocreateonehere.Withanuseraccountyouwillbeabletocreateandeditxhtmlprojectpages(worlds).AuthenticationCreatinganewworldcanbedonefromeverywhere.However,youmustbeloggedintodoso.Openaworldmenu(alt+clickinthebluebackground)andchoose'authenticateforwriteaccess'.Aloginwindowwillappearinwhichyoucanenteryourusernameandpassword.CreateanewworldWhenyouareloggedin,createanewworldbyopeningtheworldmenuandchoose'publishworldas...'.Youwillbeabletoenteranewnamefortheworld.Noticethatthereareafewnameswhichyoucannotuse.Everythingbeginningwith'lively'or'non-'aswellas'index.xhtml'and'example.xhtml'areinvalidnames.
463
false
null
582
null
14
null
false
null
AsyouplayaroundwiththeLivelyWikiyoumightnoticeseveralbugs.Ifyouencounteronepleasereportthebug!Thankyou!OneproblemwhichoccursoftenisthatsavingworldswithspecificMorphsliketheSystemBrowsercanleadtoerrorswhenloadingthatworldagain.Alsootherchangesmaydestroyaworldwhenitissaved.WhentheerrorpreventyoufromrevertingthechangeswiththeWikiNavigator(thethinginthetopleftcorner)youcanevaluatethefollowingscriptafterlogginginfromanyotherLivelyWikiworld(justchangethevalueoffile).file='myBrokenWorld.xhtml';//enteryourfilenamehereurl=URL.source.getDirectory();dir=newFileDirectory(url);res=newSVNResource(url.toString(),Record.newPlainInstance({URL:url+file,Metadata:null,HeadRevision:null}));res.fetchMetadata(true,null);timestamps=res.getMetadata();revs=timestamps.collect(function(ea){returnea.toString().match(/.*Revision(.*)/)[1]});secondNewestRev=revs[1];oldContent=dir.fileContent(file,secondNewestRev);dir.writeFileNamed(file,oldContent);
true
true
false
0
false
null
533
null
21
true
false
false
1
true
false
true
false
null
false
null
false
null
false
Inthecaseofanemergency...
null
false
null
false
false
false
null
false
false
null
null
null
null
false
null
Next
22
2
false
null
1
null
null
Serialization.js(notloaded)
true
false
0
false
null
WebPIM.js(notloaded)
true
false
0
false
null
Text.js(notloaded)
true
false
0
false
null
Tools.js(notloaded)
true
false
0
false
null
rhino-compat.js(notloaded)
true
false
0
false
null
Ometa.js(notloaded)
true
false
0
false
null
phone.js(notloaded)
true
false
0
false
null
TestFramework.js(notloaded)
true
false
0
false
null
Data.js(notloaded)
true
false
0
false
null
obsolete.js(notloaded)
true
false
0
false
null
LKWiki.js(notloaded)
true
false
0
false
null
Fabrik.js(notloaded)
true
false
0
false
null
Pen.lkml
true
false
0
false
null
Main.js(notloaded)
true
false
0
false
null
ide.js(notloaded)
true
false
0
false
null
Widgets.js(notloaded)
true
false
0
false
null
defaultconfig.js(notloaded)
true
false
0
false
null
Storage.js(notloaded)
true
false
0
false
null
fx.js(notloaded)
true
false
0
false
null
TileScripting.js(notloaded)
true
false
0
false
null
localconfig.js(notloaded)
true
false
0
false
null
LKFileParser.js(notloaded)
true
false
0
false
null
Network.js(notloaded)
true
false
0
false
null
scene.js(notloaded)
true
false
0
false
null
Base.js(notloaded)
true
false
0
false
null
Examples.js(notloaded)
true
false
0
false
null
Helper.js(notloaded)
true
false
0
false
null
demofx.js(notloaded)
true
false
0
false
null
miniprototype.js(notloaded)
true
false
0
false
null
GridLayout.js(notloaded)
true
false
0
false
null
Core.js(notloaded)
true
false
0
false
null
Contributions.js(notloaded)
true
false
0
false
null
Tests/ClassTest.js(notloaded)
true
false
0
false
null
Tests/MorphTest.js
true
false
0
false
null
Tests/OmetaTest.js(notloaded)
true
false
0
false
null
Tests/CoreTest.js(notloaded)
true
false
0
false
null
Tests/LKWikiTest.js(notloaded)
true
false
0
false
null
Tests/ModuleSystemTests.js(notloaded)
true
false
0
false
null
Tests/FabrikTest.js(notloaded)
true
false
0
false
null
Tests/RecordTest.js
true
false
0
false
null
Tests/SerializationTests.js(notloaded)
true
false
0
false
null
Tests/TestFrameworkTests.js(notloaded)
true
false
0
false
null
Tests/TileScriptingTests.js
true
false
0
false
null
Tests/ToolsTests.js
true
false
0
false
null
LKFileParser.txt
true
false
0
false
null
test.js
true
false
0
false
null
ChangeSetforWorld
true
false
0
false
186
46
null
null
true
false
false
null
true
false
false
1
true
false
null
false
null
false
null
false
null
false
false
true
false
null
ClockMorph
true
false
0
false
null
preamble
true
false
0
false
217
null
0
null
null
true
false
false
null
true
false
false
1
true
false
null
false
null
false
null
false
null
false
false
true
false
null
makeNewFace
true
false
0
false
217
0
null
null
true
false
false
null
true
false
null
false
null
1
true
false
null
false
null
false
null
false
null
false
false
true
false
null
false
function(useRoman){this.removeAllMorphs();varbnds=this.innerBounds();varradius=bnds.width/2;varfontSize=this.nHours==12?useRoman?8:9:6;for(vari=0;i<this.nHours;++i){varlabelPosition=bnds.center().addXY(0,-1).addPt(Point.polar(radius*0.85,this.angleForHour(i)));varlabelNo=i==0&&(this.nHours==12||useRoman)?this.nHours:i;varlabel=useRoman&&this.nHours==12?["XII","I","II","III","IV","V","VI","VII","VIII","IX","X","XI"][i]:labelNo.toString();this.addMorph(TextMorph.makeLabel(label,{"fontSize":fontSize}).centerAt(labelPosition));}this.hours=this.addMorph(Morph.makePolygon([pt(-2.5,0),pt(0,-radius*0.5),pt(2.5,0)],0,null,Color.blue));this.minutes=this.addMorph(Morph.makePolygon([pt(-2,0),pt(0,-radius*0.7),pt(2,0)],0,null,Color.green));this.seconds=this.addMorph(Morph.makePolygon([pt(-1.5,radius*0.25),pt(0,-radius*0.85),pt(1.5,radius*0.25)],0,null,Color.red));this.dot=this.addMorph(Morph.makeCircle(pt(0,0),3,0,null,Color.red));this.setHands();this.changed();}
23
true
true
2000000
false
null
60
false
null
true
false
false
1
true
false
true
false
null
false
Loadall
null
false
false
null
false
LineNo
null
false
false
null
false
Refresh
null
false
false
null
false
Evaloff
null
false
false
null
false
Tofiles
null
false
false
null
false
Sort
null
false
false
true
false
null
false
null
false
null
false
ChangeSetforWorld:ClockMorph
null
false
null
false
false
false
null
false
false
null
null
null
null
false
null
1236724052264
94668
1
18
null
1236724052
null