diff options
| author | jmoenig <jens@moenig.org> | 2013-11-26 18:44:07 +0100 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-11-26 18:44:07 +0100 |
| commit | 3b596cf6fb6258665f4f31077552c678a23d06e1 (patch) | |
| tree | 9b2fa04f0b288d4553cf6f36b5561e2b991ddcd4 | |
| parent | e29787cdc70af2f36eeb213c6af766776275eb4d (diff) | |
| download | snap-yow-3b596cf6fb6258665f4f31077552c678a23d06e1.tar.gz snap-yow-3b596cf6fb6258665f4f31077552c678a23d06e1.zip | |
comment on relabelling issue
save old code for future reference in case we introduced a bug here
| -rw-r--r-- | blocks.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |
