diff --git a/src/gameobjects/Sprite.js b/src/gameobjects/Sprite.js index b294d3ea1..4ace494cb 100644 --- a/src/gameobjects/Sprite.js +++ b/src/gameobjects/Sprite.js @@ -178,10 +178,7 @@ Phaser.Sprite = function (game, x, y, key, frame) { * @property {Array} _cache * @private */ - this._cache = [ 0, 0, 0, 0, 1, - 0, 1, 0, 0, 0, - 0, 0, 0, 0, 0, - 0, 0, 0, 0 ]; + this._cache = [ 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]; /** * @property {Phaser.Rectangle} _bounds - Internal cache var. diff --git a/src/utils/Utils.js b/src/utils/Utils.js index a9558b41e..4c5c4b374 100644 --- a/src/utils/Utils.js +++ b/src/utils/Utils.js @@ -308,13 +308,19 @@ Phaser.Utils = { */ mixin: function (from, to) { - if (!from || typeof (from) !== "object") return to; + if (!from || typeof (from) !== "object") + { + return to; + } for (var key in from) { var o = from[key]; - if (o.childNodes || o.cloneNode) continue; + if (o.childNodes || o.cloneNode) + { + continue; + } var type = typeof (from[key]);