From 838608af86202954a8e14f0eb0400292d5dc8463 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Sun, 11 Dec 2016 12:42:39 -0500 Subject: [PATCH] Update sprite.js --- src/sprites/sprite.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/sprites/sprite.js b/src/sprites/sprite.js index bdfbd20a2..c59d94c32 100644 --- a/src/sprites/sprite.js +++ b/src/sprites/sprite.js @@ -61,9 +61,17 @@ Sprite.prototype.export = function () { for (x in this) { if (typeof this[x] === 'function') { continue; + if (this.runtime.targets.testing == true) { + console.log('Ignoring ' + x); + } } if (notSaved.indexOf(x) === -1) { result[x] = this[x]; + if (this.runtime.targets.testing == true) { + console.log('Exporting ' + x); + } + } else if (this.runtime.targets.testing == true) { + console.log('Ignoring ' + x); } } return result;