summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViraj Mahesh <virajmahesh@gmail.com>2014-05-30 09:38:54 +0400
committerViraj Mahesh <virajmahesh@gmail.com>2014-05-30 09:38:54 +0400
commitc8bb7ce225091c078819fec308fc550324505733 (patch)
tree8162d7afd5e8cced7e78cbd6b7743e3ef8677166
parenta8baea7df983388791085c5fa2147c6d488a7d3c (diff)
downloadsnap-c8bb7ce225091c078819fec308fc550324505733.tar.gz
snap-c8bb7ce225091c078819fec308fc550324505733.zip
Fixed indentation issue
-rw-r--r--objects.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/objects.js b/objects.js
index 9f42f76..36ee1ae 100644
--- a/objects.js
+++ b/objects.js
@@ -3707,13 +3707,13 @@ SpriteMorph.prototype.reactToDropOf = function (morph, hand) {
};
SpriteMorph.prototype.newCostumeNameCached = function (data) {
- if (this.screenshotNames.hasOwnProperty(data)) { // Screenshot naming
- this.screenshotNames[data] += 1;
- data += '(' + this.screenshotNames[data] + ')';
- } else {
- this.screenshotNames[data] = 0;
- }
- return data;
+ if (this.screenshotNames.hasOwnProperty(data)) { // Screenshot naming
+ this.screenshotNames[data] += 1;
+ data += '(' + this.screenshotNames[data] + ')';
+ } else {
+ this.screenshotNames[data] = 0;
+ }
+ return data;
};
var re = /\((\d+)\)$/;