Commit Graph

252 Commits

Author SHA1 Message Date
Dave Methvin
f7a378e6b7 Fix #13721. Filter before .remove() loop so positionals work. Close gh-1221.
(Cherry picked from 1b61026650)
2013-04-06 16:47:03 -04:00
Mark Raddatz
03ab9b9f90 Fix #13401: replaceWith(""). Close gh-1163.
(cherry picked from commit 6a0ee2d9ed)
2013-02-08 09:54:07 -05:00
Oleg
d79bf3517e Fix #13355. Tweak Uglify options and var order for gzip. Close gh-1151.
Change uglify-js options for compressor
Change variables initialization sequence for some declarations
2013-01-31 10:22:12 -05:00
Oleg
e392e5579b Change variables initialization sequence for some declarations 2013-01-31 10:01:18 -05:00
Richard Gibson
ec9b38a34f Fix #13315: compare typeof node.method to var instead of literal "undefined" for safer uglification 2013-01-24 00:13:16 -05:00
Richard Gibson
6b1b0a26b4 Fix #13233: re-allow .replaceWith of text nodes. Close gh-1137. 2013-01-16 13:54:01 -05:00
Oleg
09589c48f1 Add a comment 2013-01-13 23:46:50 +04:00
Oleg
bf4fce7040 Fixes #13200 - innerHTML in buildFragment need end tags 2013-01-13 22:10:24 +04:00
Oleg
8b82af9ef2 Ref 0ed497b. Close gh-1125. 2013-01-11 13:00:37 -05:00
Oleg
46bbda8d06 Ref gh-1117: Don't stop on a falsy value in buildFragment.
(cherry picked from commit 8e6c1ba92f)
2013-01-09 11:22:44 -05:00
Dave Methvin
0ed497b045 Resurrect buildFragment and sacrifice jQuery.clean. See gh-1117. 2013-01-08 03:27:10 +00:00
Dave Methvin
4e0bc169df Fix #12863. Prevent oldIE from calling .removeAttribute 2013-01-06 21:47:02 -05:00
Dave Methvin
bbdf957e98 Fix #12336. Ensure oldIE really does .empty() selects. 2013-01-06 14:20:35 -05:00
Oleg
5afc93c436 Fix #13094. Pass index to .before(fn) fn as documented. Close gh-1093. 2012-12-20 20:55:30 -05:00
Richard Gibson
452e32769d compress -16 min+gzip 2012-12-13 12:41:25 -05:00
Oleg
643ecf9d63 Ref #8908, gh-886. Avoid clone identity crisis in IE9/10. Close gh-1036. 2012-12-13 10:42:43 -05:00
Dave Methvin
0018f7700b Fix #11230. .appendTo and pals should always stack. 2012-12-13 09:19:41 -05:00
Paul Ramos
f12611feb4 Fix #4087. insertAfter, insertBefore, etc do not work if origin and destination are same element. Close gh-1068. 2012-12-11 23:35:22 -05:00
Richard Gibson
1d1c80d377 copy defaultSelected in cloneFixAttributes 2012-12-11 23:05:18 -05:00
Oleg
93e18922c5 Fix #12956. Improve cloneFixAttributes for IE9/10 case. Close gh-1034.
Remove clear(merge)Attributes hack
2012-12-11 22:06:26 -05:00
Dave Methvin
2eda329be6 Ref #13019 and gh-1062. Use parentNode check instead of isDisconnected(). 2012-12-09 14:46:06 -05:00
Dave Methvin
f8f52cfcf4 Fix #13019. Disconnected nodes with .replaceWith are a noop. Close gh-1062. 2012-12-09 14:10:38 -05:00
Dave Methvin
282c044d64 Fix #13013. Move jQuery.buildFragment() to compat plugin. 2012-12-06 21:17:27 -05:00
Rod Vagg
551c2c9f4a Fixes #12449. make replaceWith() clone elements where required. Closes gh-920 2012-12-04 21:50:22 -05:00
Paul Ramos
13449a99b2 Fix #11989. Remove fragment cache, moving to jquery-compat. Close gh-1052. 2012-12-04 21:30:37 -05:00
Oleg
9ae6b1a019 Fix #12957. Simplify wrapMap, it doesn't need end tags. Close gh-1044. 2012-11-27 21:32:59 -05:00
Richard Gibson
0877d424e0 Fix #12959: Optimize library-wide patterns 2012-11-27 01:59:22 +01:00
dcooper
78c1560065 Fix #9960, allow manipulation for parent document nodes. Close gh-924. 2012-11-24 16:53:27 -05:00
Richard Gibson
bb570fc373 Fix #12920: remove addMandatoryAttributes. Close gh-1037. 2012-11-20 22:57:41 -05:00
Richard Gibson
22f58bd688 fix Safari test failures 2012-11-19 17:17:48 -05:00
Richard Gibson
e889134058 Fix #11795, #10470: keep scripts in DOM; execute only on first insertion. Close gh-864. 2012-11-19 09:50:19 -05:00
Elijah Manor
5904468b9c Fix #8908. Don't let change to originals affect clones in IE9/10. Close gh-886. 2012-11-18 14:49:36 -05:00
Dave Methvin
02c726f71c Fix #12777. Add applet to non-cacheable fragment types.
I don't want to add a unit test that creates a dependency on an applet.
2012-11-13 10:30:25 -05:00
Oleg
18e7a53d15 Elements created from html strings have a parentnode. Fixes #12392 2012-10-25 20:41:47 -04:00
Dave Methvin
69e2f068fe Fix #9469. Remove semi-functional .selector property. Close gh-1006.
Saved 65 bytes.
2012-10-24 22:36:20 -04:00
Rick Waldron
8076a33bd8 Don't expose jQuery.deletedIds. Close gh-889. 2012-10-20 21:02:21 -04:00
Mike Sherov
16d996ba0c no ticket: remove and enforce unused vars in jshint 2012-10-17 12:52:12 -04:00
Sai Wong
0c1cea3761 Refactored before/after/replaceWith to not pushStack. Fixes #12664, closes gh-987 2012-10-16 16:50:40 -04:00
Dave Methvin
947acfc32e Merge branch 'master' of github.com:jquery/jquery 2012-10-16 15:15:00 -04:00
Daniel Galvez
ef7bce7e5c Fix #11280. IE6-8 need name attribute to parse param. Close gh-914. 2012-10-16 15:07:44 -04:00
Rick Waldron
aeb036893d Fixes busted indents. Sorry folks 2012-10-16 15:07:18 -04:00
Rick Waldron
1fdc0b7f78 Replace unknown, mysterious html arg to replaceWith(fn...), with just the current node. 2012-10-16 15:01:59 -04:00
Dave Methvin
b6a7d022ee Fix #12347 and #12384. Use a fresh div in jQuery.clean each time.
Regression was introduced in 22ad8723ce most likely because the clown who fixed http://bugs.jquery.com/ticket/4011 didn't add a unit test.
2012-08-28 17:02:01 -04:00
Dave Methvin
a5be986206 Revert "Fix #12120. Always stack .before/.after, and fix disconnected nodes."
This reverts commit e2eac3f4d2.

There is a 1.7 regression with isDisconnected() that we should fix before tackling this.
2012-08-24 11:57:48 -04:00
Dave Methvin
e2eac3f4d2 Fix #12120. Always stack .before/.after, and fix disconnected nodes. 2012-08-23 23:25:57 -04:00
Elijah Manor
10901f7d9f Fix #12266. IE9/10 says document[0] is document.frames[0]? Close gh-903. 2012-08-22 21:48:02 -04:00
Elijah Manor
f296335360 Add support check, added assertion to check if cleared, add edge case for backgroundPosition 2012-08-13 07:46:55 -05:00
Elijah Manor
f952b97997 Updated the comment above the fix 2012-08-08 15:36:20 -05:00
Elijah Manor
d5d8622329 Fix weird clone bug and add a unit test to verify 2012-08-08 15:31:59 -05:00
Timmy Willison
beeab4d126 Quote reserved keyword 'throws' to satisfy yui compressor. Fixes #12158. 2012-07-30 10:44:47 -04:00