Updated docs for 1.1.2 release.

This commit is contained in:
photonstorm
2013-11-01 18:16:52 +00:00
parent eb95ce231b
commit 3e9777e6f4
150 changed files with 6188 additions and 2252 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
*
* Phaser - http://www.phaser.io
*
* v1.1.1 - Released October 26th 2013.
* v1.1.2 - Released November 1st 2013.
*
* By Richard Davey http://www.photonstorm.com @photonstorm
*
+7 -4
View File
@@ -763,7 +763,7 @@ Phaser.Group.prototype = {
*/
callAll: function (method, context) {
if (typeof method == 'undefined')
if (typeof method === 'undefined')
{
return;
}
@@ -773,15 +773,18 @@ Phaser.Group.prototype = {
var methodLength = method.length;
if (typeof context == 'undefined')
if (typeof context === 'undefined')
{
context = null;
}
else
{
// Extract the context into an array
context = context.split('.');
var contextLength = context.length;
if (typeof context === 'string')
{
context = context.split('.');
var contextLength = context.length;
}
}
var args = Array.prototype.splice.call(arguments, 2);