1
0
Fork 0

totally pointless mini-optimization

This commit is contained in:
mfranz 2007-01-13 21:46:07 +00:00
parent f58fcdd492
commit 4690b3c2c3

View file

@ -116,8 +116,7 @@ initialize = func {
initialized = 1;
}
initDoubleProp = func {
node = arg[0]; prop = arg[1]; val = arg[2];
initDoubleProp = func(node, prop, val) {
if(node.getNode(prop) != nil and node.getType() != "NONE") {
val = num(node.getNode(prop).getValue());
}