Content deleted Content added
try to make it possible to use classes as well as objects |
oops, naming conflict (you'd think a var li in an inner function would declare a new variable, but it apparently still refers to the variable in the outer function) |
||
Line 34:
try
{
var i, l = Gerbrant.gui.toolbox.load,
for(i in l)
if((n = (
loadModule(
else
loadModule(n, function(c)
{
var o = {};
c.apply(o,
this.addObject(o);
});
|