comment on relabelling issue

save old code for future reference in case we introduced a bug here
pull/3/merge
jmoenig 2013-11-26 18:44:07 +01:00
rodzic e29787cdc7
commit 3b596cf6fb
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -2256,6 +2256,9 @@ BlockMorph.prototype.restoreInputs = function (oldInputs) {
if (old instanceof ReporterBlockMorph) {
myself.silentReplaceInput(inp, old.fullCopy());
} else if (old && inp instanceof InputSlotMorph) {
// original - turns empty numberslots to 0:
// inp.setContents(old.evaluate());
// "fix" may be wrong b/c constants
inp.setContents(old.contents().text);
}
i += 1;