rickharrison/validate.js — pull request #25 by ikr (2012-06-01 09:24:29+00:00)
Title: Make the code strict mode-compliant: declare variables before using them in "if" condition

I'm using validate.js as an AMD module (RequireJS), and wrap the code into a "use strict" function. Then, this:

if (foo = bar()) {
...
}

without explicitly declaring `var foo`, results in an error.

Also, some trailing whitespaces removed by my editor.