]> source.dussan.org Git - jquery.git/commit
Serialize: Fix object detection
authorMichał Gołębiowski <m.goleb@gmail.com>
Mon, 7 Sep 2015 21:22:56 +0000 (23:22 +0200)
committerMichał Gołębiowski <m.goleb@gmail.com>
Mon, 7 Sep 2015 21:22:56 +0000 (23:22 +0200)
commit14c0fe44328f22debb5b531d2b671923658542b3
treee49a18a76ec5a377990f4da2a7ec2b05919a702c
parent3d7ce0a65f0707ff01a851822e57ba80adcff075
Serialize: Fix object detection

jQuery.type doesn't just return "null" for null but also e.g. "array"
for arrays instead of object so it's not really a typeof analogue.

My suggestion was stupid. Sorry.

Refs 3d7ce0a65f0707ff01a851822e57ba80adcff075
src/serialize.js