stevenmhunt/tmpl.loader — pull request #2 by jeroenransijn (2013-01-07 17:43:26+00:00)
Title: Style update (corrections)

Probably the original author comes from a background different than JS.
I changed a couple of 'new Array()' constructors to array literals '[]'.
Cleaned up some if and else statements which featured odd spacing, or lacked brackets,
although brackets are not needed, it's best practice (except returning on the same line is fine as well)
Furthermore, I changed some double bars to triples, '==' -> '===', not sure if type coercion was implicit in the places were I changed it.

Note, in JS you can simply define your vars and they are undefined, no need to assign a true/false value to them, they already are truthy/falsy.

PS. sorry for the f***** nitpicking, was a little bored.