Skip to content

Commit 13a2cc2

Browse files
committed
Updating all files to adhere to the JSHint settings and fixing lots of documentation errors on the way.
1 parent 373b976 commit 13a2cc2

68 files changed

Lines changed: 4949 additions & 4955 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.jshintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"eqnull" : true, // Tolerate use of `== null`.
3636
"evil" : false, // Tolerate use of `eval`.
3737
"expr" : false, // Tolerate `ExpressionStatement` as Programs.
38-
"forin" : true, // Tolerate `for in` loops without `hasOwnPrototype`.
38+
"forin" : false, // Tolerate `for in` loops without `hasOwnPrototype`.
3939
"freeze" : true, // Prohibits overwriting prototypes of native objects such as Array and Date.
4040
"funcscope" : true, // This option suppresses warnings about declaring variables inside of control structures while accessing them later from the outside.
4141
"immed" : false, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );`
@@ -69,7 +69,7 @@
6969
"noempty" : true, // Prohibit use of empty blocks.
7070
"nonew" : true, // Prohibit use of constructors for side-effects.
7171
"plusplus" : false, // Prohibit use of `++` & `--`.
72-
"quotmark" : true, // This option enforces the consistency of quotation marks used throughout your code.
72+
"quotmark" : false, // This option enforces the consistency of quotation marks used throughout your code.
7373
"sub" : true, // Tolerate all forms of subscript notation besides dot notation e.g. `dict['key']` instead of `dict.key`.
7474
"trailing" : true // Prohibit trailing whitespaces.
7575
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Version 1.1.3 - in build
8888
* Updated: If you specify 'null' as a Group parent it will now revert to using the World as the parent (before only 'undefined' worked)
8989
* Updated: Skip preupdate/update for PIXI hierarchies in which an ancestor doesn't exist (thanks cocoademon)
9090
* Updated: Loader.audio can now accept either an array of URL strings or a single URL string (thanks crazysam + kevinthompson)
91-
91+
* Updated: MSPointer updated to support IE11 by dropping the prefix from the event listeners.
9292

9393

9494
You can view the complete Change Log for all previous versions at https://github.com/photonstorm/phaser/changelog.md

src/PixiPatch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ PIXI.CanvasRenderer.prototype.renderDisplayObject = function(displayObject)
5353
continue;
5454
}
5555

56-
if (!displayObject.renderable || displayObject.alpha == 0)
56+
if (!displayObject.renderable || displayObject.alpha === 0)
5757
{
5858
displayObject = displayObject._iNext;
5959
continue;

0 commit comments

Comments
 (0)