summaryrefslogtreecommitdiff
path: root/objects.js
diff options
context:
space:
mode:
authorViraj Mahesh <virajmahesh@gmail.com>2014-03-07 15:07:41 -0800
committerViraj Mahesh <virajmahesh@gmail.com>2014-03-07 15:07:41 -0800
commit6715784dec1ee24b06f63551020ac8aabbcc6b6d (patch)
treec42308048d319756760122c790ff123acf44e989 /objects.js
parent4888ecb9ec74b52c606e6dc7dbaf54119b553f85 (diff)
downloadsnap-6715784dec1ee24b06f63551020ac8aabbcc6b6d.tar.gz
snap-6715784dec1ee24b06f63551020ac8aabbcc6b6d.zip
Removed extra variables
Diffstat (limited to 'objects.js')
-rw-r--r--objects.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/objects.js b/objects.js
index 07b40cc..25e94fc 100644
--- a/objects.js
+++ b/objects.js
@@ -3714,9 +3714,7 @@ SpriteMorph.prototype.doScreenshot = function (data) {
}
var stage = this.parentThatIsA(StageMorph),
canvas = stage.fullImageClassic(),
- ide = this.parentThatIsA(IDE_Morph),
- screenshotName = data,
- costume = new Costume(canvas, screenshotName);
+ costume = new Costume(canvas, data);
this.addCostume(costume);
};