totally pointless mini-optimization
This commit is contained in:
parent
f58fcdd492
commit
4690b3c2c3
1 changed files with 1 additions and 2 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue