Skip to content

Commit

Permalink
Updating all files to adhere to the JSHint settings and fixing lots o…
Browse files Browse the repository at this point in the history
…f documentation errors on the way.
  • Loading branch information
photonstorm committed Nov 25, 2013
1 parent 373b976 commit 13a2cc2
Show file tree
Hide file tree
Showing 68 changed files with 4,949 additions and 4,955 deletions.
4 changes: 2 additions & 2 deletions .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"eqnull" : true, // Tolerate use of `== null`.
"evil" : false, // Tolerate use of `eval`.
"expr" : false, // Tolerate `ExpressionStatement` as Programs.
"forin" : true, // Tolerate `for in` loops without `hasOwnPrototype`.
"forin" : false, // Tolerate `for in` loops without `hasOwnPrototype`.
"freeze" : true, // Prohibits overwriting prototypes of native objects such as Array and Date.
"funcscope" : true, // This option suppresses warnings about declaring variables inside of control structures while accessing them later from the outside.
"immed" : false, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );`
Expand Down Expand Up @@ -69,7 +69,7 @@
"noempty" : true, // Prohibit use of empty blocks.
"nonew" : true, // Prohibit use of constructors for side-effects.
"plusplus" : false, // Prohibit use of `++` & `--`.
"quotmark" : true, // This option enforces the consistency of quotation marks used throughout your code.
"quotmark" : false, // This option enforces the consistency of quotation marks used throughout your code.
"sub" : true, // Tolerate all forms of subscript notation besides dot notation e.g. `dict['key']` instead of `dict.key`.
"trailing" : true // Prohibit trailing whitespaces.
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Version 1.1.3 - in build
* Updated: If you specify 'null' as a Group parent it will now revert to using the World as the parent (before only 'undefined' worked)
* Updated: Skip preupdate/update for PIXI hierarchies in which an ancestor doesn't exist (thanks cocoademon)
* Updated: Loader.audio can now accept either an array of URL strings or a single URL string (thanks crazysam + kevinthompson)

* Updated: MSPointer updated to support IE11 by dropping the prefix from the event listeners.


You can view the complete Change Log for all previous versions at https://github.com/photonstorm/phaser/changelog.md
Expand Down
2 changes: 1 addition & 1 deletion src/PixiPatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ PIXI.CanvasRenderer.prototype.renderDisplayObject = function(displayObject)
continue;
}

if (!displayObject.renderable || displayObject.alpha == 0)
if (!displayObject.renderable || displayObject.alpha === 0)
{
displayObject = displayObject._iNext;
continue;
Expand Down
Loading

0 comments on commit 13a2cc2

Please sign in to comment.