User:Gerbrant/gui/toolbox.js: Difference between revisions

Content deleted Content added
Gerbrant (talk | contribs)
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)
Gerbrant (talk | contribs)
because of course this refers to the inner function
Line 43:
var o = {};
c.apply(o, x.slice(1));
thisself.addObject(o);
});
}