mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Update rendered-target.js
This commit is contained in:
parent
f4959305ab
commit
1980fbc98d
1 changed files with 4 additions and 3 deletions
|
@ -66,12 +66,13 @@ RenderedTarget.prototype.initDrawable = function () {
|
|||
|
||||
RenderedTarget.prototype.export = function () {
|
||||
var result = new Object();
|
||||
var notSaved = ["renderer","effects","sprite","drawableID","runtime"];
|
||||
var notSaved = ['renderer', 'effects', 'sprite', 'drawableID', 'runtime'];
|
||||
var x = null;
|
||||
for (x in this) {
|
||||
if (typeof(this[x]) === "function") {
|
||||
if (typeof this[x] === 'function') {
|
||||
continue;
|
||||
}
|
||||
if (notSaved.indexOf(x) == -1) {
|
||||
if (notSaved.indexOf(x) === -1) {
|
||||
result[x] = this[x];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue