Update rendered-target.js
This commit is contained in:
1 parent
f4959305ab
commit
1980fbc98d
1 file changed
+4
-3
@@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user