Commit Graph

20 Commits

Author SHA1 Message Date
Alexander K
4f270427d2 Serialize: .param - don't use ajaxSettings.traditional
Ref gh-3023
Closes gh-3030
2016-04-27 09:05:30 -04:00
Michał Gołębiowski
305f193aa5 Build: Put all AMD modules in "src/" in strict mode
Fixes gh-3073
2016-04-25 20:25:08 +02:00
Richard Gibson
91850ecbbe Serialize: Reduce size
Ref 9fdbdd393a
2016-04-05 10:54:37 -04:00
Joe Trumbull
9fdbdd393a Serialize: Treat literal and function-returned null/undefined the same
Fixes gh-3005

Closes gh-3007
2016-04-05 10:38:56 -04:00
Dave Methvin
70605c8e56 Ajax: Only form-encode requests with a body
Fixes #2658
Closes #2671
2015-11-02 13:14:46 -05:00
Michał Gołębiowski
14c0fe4432 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 3d7ce0a65f
2015-09-07 23:22:56 +02:00
Daniel Nill
3d7ce0a65f Serialize: Handle arrays with null values
Closes gh-2436
2015-09-07 22:45:23 +02:00
Oleg Gaidarenko
10fdad742a Build: Update jscs and lint files
Fixes gh-2056
2015-09-07 20:03:50 +03:00
Timmy Willison
c869a1ef8a Build: update grunt-jscs-checker and pass with the new rules 2014-07-17 10:25:59 -07:00
Oleg
80538b04fd Correct code style in comment line 2013-09-13 19:29:48 +04:00
Oleg
cb37994d76 No ticket: fix code style inconsistencies. Closes gh-1361 2013-09-13 01:04:29 +04:00
Timmy Willison
825ac37736 Separate jQuery.fn.init into its own module (for lighter core dependencies across all modules) 2013-09-09 19:13:01 -05:00
Timmy Willison
99191a510e Apply consistent ordering in all modules. -38 bytes. Order modules like functions > jQuery.extend > jQuery.fn.extend. 2013-09-09 13:54:46 -05:00
Timmy Willison
b534ee2ccf Always return jQuery in modules that can be included separately 2013-09-08 21:25:27 -04:00
Timmy Willison
6318ae6ab9 AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163. 2013-08-15 14:15:49 -04:00
Timmy Willison
caac041fcc Ignore file inputs when serializing forms. File input serialization is handled by plugins. Fixes #13306. 2013-01-23 12:23:46 -05:00
Richard Gibson
0877d424e0 Fix #12959: Optimize library-wide patterns 2012-11-27 01:59:22 +01:00
Dave Methvin
ae215fdcf8 Fix #12134. Make .serialize() HTML5-compliant; provide a propHook for shimming. 2012-11-25 14:54:07 -05:00
Mike Sherov
16d996ba0c no ticket: remove and enforce unused vars in jshint 2012-10-17 12:52:12 -04:00
jaubourg
ced5e9037a Extracts the serialization code from the ajax module so that alternative ajax implementations can use it without the need for the whole ajax module to be included in the build. 2012-07-13 09:47:43 +02:00