diff options
| author | Viraj Mahesh <virajmahesh@gmail.com> | 2014-05-30 09:38:54 +0400 |
|---|---|---|
| committer | Viraj Mahesh <virajmahesh@gmail.com> | 2014-05-30 09:38:54 +0400 |
| commit | c8bb7ce225091c078819fec308fc550324505733 (patch) | |
| tree | 8162d7afd5e8cced7e78cbd6b7743e3ef8677166 | |
| parent | a8baea7df983388791085c5fa2147c6d488a7d3c (diff) | |
| download | snap-byow-c8bb7ce225091c078819fec308fc550324505733.tar.gz snap-byow-c8bb7ce225091c078819fec308fc550324505733.zip | |
Fixed indentation issue
| -rw-r--r-- | objects.js | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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+)\)$/; |
