Jim Schubert, Software Developer


After playing jigsy over at cityposh for a couple of weeks, I decided to try writing my own version of the game.

I’ve added QUnit tests and found two accidental globals introduced by a missing comma, e.g.:

var someVariable = 0,
    someOther = 2
    aThird = 4;

In the code above, the second line has an implicit line ending because semicolons are optional in JavaScript. This makes aThird become global. Thanks to QUnit, this was fairly easy to track down.

Take a look at the examples on the github pages page: http://jimschubert.github.com/jquery.empuzzle/. If/when you fork the project, be sure to hit master or tag v1.1.

114 words
Aug 14,
Fork me on GitHub