Groups examples and some boolean checks corrected

This commit is contained in:
Webeled
2013-09-27 13:27:15 +01:00
parent 18c695e9dd
commit 903b11b730
12 changed files with 563 additions and 5 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ Phaser.Game = function (width, height, renderer, parent, state, transparent, ant
renderer = renderer || Phaser.AUTO;
parent = parent || '';
state = state || null;
transparent = transparent || false;
if (typeof transparent == 'undefined') { transparent = false; }
antialias = typeof antialias === 'undefined' ? true : antialias;
/**
+1 -1
View File
@@ -75,7 +75,7 @@ Phaser.InputHandler.prototype = {
start: function (priority, useHandCursor) {
priority = priority || 0;
useHandCursor = useHandCursor || false;
if (typeof useHandCursor == 'undefined') { useHandCursor = false; }
// Turning on
if (this.enabled == false)