Visvalor
May 12th, 2011, 17:09
I was digging in my old ruleset, and I've realized that only some of my )'s have ; ending it. Don't all of them need it? I can't recall
Shouldn't
<script>
function update()
DBaseCheck = source.getValue()
setValue(DBaseCheck)
end
function onInit()
setVisible(false);
source = window.getDatabaseNode().getChild("stats.understanding")
source.onUpdate = update
update()
end
</script>
Be
<script>
function update();
DBaseCheck = source.getValue();
setValue(DBaseCheck);
end
function onInit();
setVisible(false);
source = window.getDatabaseNode().getChild("stats.understanding");
source.onUpdate = update
update();
end
</script>
Shouldn't
<script>
function update()
DBaseCheck = source.getValue()
setValue(DBaseCheck)
end
function onInit()
setVisible(false);
source = window.getDatabaseNode().getChild("stats.understanding")
source.onUpdate = update
update()
end
</script>
Be
<script>
function update();
DBaseCheck = source.getValue();
setValue(DBaseCheck);
end
function onInit();
setVisible(false);
source = window.getDatabaseNode().getChild("stats.understanding");
source.onUpdate = update
update();
end
</script>