HubSpot/vex — pull request #35 by puneetkay (2013-11-25 16:04:41+00:00)
Title: Object returned when blank input on prompt

Another example of evil == operator. When blank input is given on prompt, "" is taken as false.

Therefore, (formData.vex) condition returns false and formData object is returned by function. while it should return just "" (blank string).

I have added === comparison for "" so it should not be taken as false by type conversion.

Cheers!