AceMetrix/jquery-deparam

$.deparam(null) throws a regex error

Closed this issue · 2 comments

Although null is not a valid output of $.param(), shouldn't deparam handle it anyway, to be safe, perhaps by returning null?

good idea! I agree

Went with just returning the empty object instead, which more cleanly maps onto what this function normally returns.