jupiterjs / jquerymx

jQuery MVC Extensions. jQuery extensions that makes all the annoying stuff easier.
http://javascriptmvc.com
553 stars 374 forks source link

Some optimizations of form_params #52

Closed daffl closed 13 years ago

daffl commented 13 years ago

As discussed here:

http://forum.javascriptmvc.com/#Topic/32525000000607009

Fixes the boolean conversion issue mentioned (test included) and also sets empty string values to undefined if the convert parameter is set.

Needs tests if it would break any existing apps I think.

daffl commented 13 years ago

I will merge this one if there are no objections. All existing tests pass, but I am still not sure if it would break existing apps.

justinbmeyer commented 13 years ago

next, time, don't wait for me ... go ahead and pull this kinda thing.