Lively Kernel canvas
// this script is evaluated on world load
//Config.loadTests.push('MorphTest')
/*
var requirements = Config.loadTests.collect(function(ea) { return 'Tests/' + ea + '.js'});
if (requirements.length === 0) requirements.push('TestFramework.js');
require(requirements).toRun(function(currentModule) {
TestRunner.openIn();
console.log('Tests loaded: ............................. ' + TestCase.allSubclasses().length);
});
*/Config.modulesOnWorldLoad.push('lively.ide')webfileModel = {
getFile: function() { return 'http://lively-kernel.org/repository/lively-wiki/' },
setDirectoryList: function(dlist) { console.log('setting dlist..........'); this._directoryList = dlist },
}
10001.0352973954090259Wikicontroltrue
10000.48799475474241666Wikicontroltrue
10001.4320617267597229Wikicontroltrue
nullfalsetruenullfalse
webfilemodelfalsenullfalse
false
false
falsenullfalse
initializerfalsetruefalse0false
requireidefalsetruefalse0false
webfilemodelfalsetruefalse0false3102nullnulltruefalsenullnulltruetrue
1true
null
null
null
nulltruetrue
-----falsetruefalse0false310-1nullnulltruetruetrue
1true
null
null
null
nulltruetrue
1true
webfileModel={getFile:function(){return'http://lively-kernel.org/repository/lively-wiki/'},setDirectoryList:function(dlist){console.log('settingdlist..........');this._directoryList=dlist},}2truetrue2000000truetruetruetrue
Browseworld...falsenull
Pushchangesbackfalsenull
Refreshfalsenull
Evalonfalsenull
Sortfalsenull
truetruenullfalsenullnullnullnullfalse
model={};webfilePlug={model:webfileModel,getFile:"getFile",setDirectoryList:'setDirectoryList'}webfile=newlively.storage.WebFile(webfilePlug);webfile.startFetchingFile()webfile.updateViewwebfile.getModelValue('getDirectoryList')
nulltruetruetruefalse4truetruefalse
false1truefalsetruetruefalse
nullfalsetruenullfalse
falsenullfalse
false
false
falsenullfalsefalsenullnullnullnullfalsenull35