[General] Instructions for Lively Server Setup?

Philip Weaver philmaker at gmail.com
Thu Mar 12 18:54:58 CET 2009


I tweaked Main.js so the wiki navigator is enabled even if the world has no
serialized contents:

if (documentHasSerializedMorphs(document)) {
 ... snip ...
} else {
world = new WorldMorph(canvas);
 // Create an empty world
world.displayOnCanvas(canvas);
if (Config.showWikiNavigator) {
 require('LKWiki.js').toRun(function() {
console.log('starting WikiNavigator');
 WikiNavigator.enableWikiNavigator();
});
}
 }

But console.log('starting WikiNavigator') is never called and I see the
following in the console:

http://127.0.0.1/trunk/source/kernel/anonymous_module_0 has unloaded
requirements: http://127.0.0.1/trunk/source/kernel/LKWiki.js
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://livelykernel.sunlabs.com/pipermail/general/attachments/20090312/88cb2f62/attachment.html 




More information about the lively-kernel mailing list