Commit Graph

309 Commits

Author SHA1 Message Date
Corey Frang
55e319aa52 Fixes #13815: Ensure each element has its own private data object - Tests by @rwldrn 2013-04-24 17:09:30 -04:00
Oleg
3a6194076b Fix #13818: Add wrapMap entry for col element 2013-04-24 22:15:41 +04:00
Richard Gibson
d8f7e83712 Fix #13810: .replaceWith(nextSibling) 2013-04-22 21:08:38 -04:00
Timmy Willison
3ef7a9683b Remove unnecessary usage of getAttributeNode(). Fixes #12072. 2013-04-18 13:51:12 -04:00
Richard Gibson
03db1ada2c Fix #12838: hook point for non-jQuery.ajax synchronous script fetch/execute in domManip. Close gh-1051. 2013-04-17 11:27:57 -04:00
Rick Waldron
2c7b1b8502 Loop cleanup
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-04-16 22:37:48 -04:00
Rick Waldron
77d7f26452 Fixes #13779. Remove nodes in document order (uses for loop matching empty()). 2013-04-16 22:18:44 -04:00
Richard Gibson
db0326b1fd Fix #13596; #13722: .replaceWith consistency. Close gh-1216. 2013-04-16 17:47:21 -04:00
Oleg Gaidarenko
e8731410a4 No ticket. Use data_priv methods instead of jQuery._removeData and jQuery._data; Remove needless, internal second argument of jQuery.cleanData. Closes gh-1234 2013-04-08 15:35:16 -04:00
Michał Gołębiowski
dca7681284 Improve CSS and Support: comments. Close gh-1220.
1) corrected box-sizing rules order - the unprefixed value should always be the last one
2) removed last semi-colons in CSS rules
3) updated support comments

code review changes + more consistent comment spacing
2013-04-06 17:09:52 -04:00
Dave Methvin
1b61026650 Fix #13721. Filter before .remove() loop so positionals work. Close gh-1221. 2013-04-06 16:37:32 -04:00
Dave Methvin
5031c9db4b Fix #13741. Make wrap/unwrap methods optional. Close gh-1222. 2013-04-06 16:00:58 -04:00
Mark Raddatz
6a0ee2d9ed Fix #13401: replaceWith(""). Close gh-1163. 2013-02-08 09:49:14 -05:00
Rick Waldron
7f94a5cc3a 2.0: Rewrite data.js (Incl. event, manipulation, tests) 2013-02-03 15:27:55 -05:00
Richard Gibson
64b55f0b79 Fix #13315 for IE9: compare typeof xmlNode.method to var instead of literal "undefined" for safer uglification
(cherry picked from commit ec9b38a34f)
2013-01-27 10:04:09 -05:00
Richard Gibson
fb0f295292 Fix #13282: QtWebKit (e.g., phantomjs) can only apply Arrays 2013-01-24 23:45:44 -05:00
Oleg
19def21df4 Fix #13232, fix jQuery.buildFragment for tables, close gh-1138. 2013-01-20 18:30:56 -05:00
Richard Gibson
a96aa9e270 Fix #13233: re-allow .replaceWith of text nodes. Close gh-1137.
(cherry picked from commit 6b1b0a26b4)
2013-01-16 13:57:00 -05:00
Oleg
eff59f97ac Add a comment 2013-01-13 22:05:41 -05:00
Oleg
38ad408f82 Fixes #13200 - innerHTML in buildFragment need end tags 2013-01-13 22:05:37 -05:00
Richard Gibson
ca49ef98d5 Ref gh-1117: Use native push for size and performance 2013-01-09 10:11:33 -05:00
Oleg
8e6c1ba92f Ref gh-1117: Don't stop on a falsy value in buildFragment. Close gh-1124. 2013-01-09 09:52:01 -05:00
Oleg
57d9dcd4a0 Use while loop instead of for 2013-01-08 02:41:25 +00:00
Oleg
58b4994f56 Always use core_push in jQuery.buildFragment 2013-01-08 02:41:21 +00:00
Oleg
c9bf5c5e90 Bring back jQuery.buildFragment and remove jQuery.clean 2013-01-08 02:41:15 +00:00
Oleg
9434060722 Simplify .wrapAll() and fix style. Close gh-1116. 2013-01-08 01:35:55 +00:00
Dave Methvin
445dbd9d95 Revert data.js rewrite.
Reverts the following commits:

commit f717226b3a
Author: Rick Waldron <waldron.rick@gmail.com>
Date:   Mon Dec 31 18:06:38 2012 -0500

Only splice from internal arrays when item actually exists.

commit b9cdc4136b
Author: Rick Waldron <waldron.rick@gmail.com>
Date:   Mon Dec 31 16:20:35 2012 -0500

Updates to data.js re-write to pass events and manipulation

commit d1de3000c6
Author: Rick Waldron <waldron.rick@gmail.com>
Date:   Mon Dec 31 15:09:45 2012 -0500

2.0: Rewrite data.js
2013-01-03 20:43:01 -05:00
Rick Waldron
b9cdc4136b Updates to data.js re-write to pass events and manipulation (full pass in local test runs)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-31 16:23:20 -05:00
Oleg
39e6792b5c Rename fixCloneNodeIssues helper to fixInput
Move support comment
2012-12-28 23:41:31 +04:00
Oleg
1490afe693 Add empty line 2012-12-28 20:16:49 +04:00
Oleg
ecd106280a wrapMap.col = wrapMap.tr 2012-12-28 19:59:55 +04:00
Oleg
9dbfbe5b9a wrapMap.thead = wrapMap.tr
Add support comments
2012-12-28 19:50:22 +04:00
Oleg
6215840995 Remove fix for #11280 2012-12-28 19:16:22 +04:00
Oleg
378ab82865 Remove fieldset from wrapMap 2012-12-28 19:09:50 +04:00
Oleg
d3d8ed443c Add comments for optgroup and option elements in wrapMap
Add tests for optgroup element
2012-12-28 18:56:29 +04:00
Oleg
f193acf3a1 Remove fix for #4484, add more tests 2012-12-28 18:54:47 +04:00
Oleg
25712d77c3 Simplify getAll helper 2012-12-24 04:29:41 +04:00
Oleg
fa3dad300f Simplify check for non-Elements 2012-12-24 04:28:52 +04:00
Oleg
33be48acfd Remove fix for object element 2012-12-24 04:16:17 +04:00
Oleg
5e64281a11 Save 43 bytes 2012-12-24 03:04:38 +04:00
Oleg
5f8e99b368 Use common loop iteration idiom 2012-12-24 03:04:37 +04:00
Oleg
f66c33d751 Remove fix for #9587 2012-12-24 03:04:30 +04:00
Oleg
87a7690afa Use correct comments 2012-12-24 03:04:30 +04:00
Oleg
9256ba5380 Simplify check for empty set in jQuery#domManip 2012-12-24 03:04:30 +04:00
Oleg
9e703a2a19 Code style changes
Save one byte
2012-12-24 03:04:19 +04:00
Oleg
d41ac85ca3 Save one byte 2012-12-24 03:04:19 +04:00
Oleg
3c1b42805d Take care of comments 2012-12-24 03:04:19 +04:00
Oleg
ec75705f88 Remove needless expression 2012-12-24 03:04:19 +04:00
Oleg
3eb1f64966 Use GET method in jQuery#domManip 2012-12-24 03:04:18 +04:00
Oleg
a8b38b0e6b Remove couple of spaces 2012-12-24 03:04:18 +04:00