Commit Graph

253 Commits

Author SHA1 Message Date
Oleg
1043fa8971 Move all helpers to the end of the module 2012-12-24 03:04:08 +04:00
Oleg
a10dd521df Remove fixDefaultChecked helper 2012-12-24 03:03:28 +04:00
Oleg
61d01c8d35 Simplify getAll helper 2012-12-24 03:03:28 +04:00
Oleg
7a5000a39e Simplify fixCloneNodeIssues helper 2012-12-24 03:03:28 +04:00
Oleg
329d5e1d03 Remove memory fix 2012-12-24 03:03:28 +04:00
Oleg
e9ea6679b2 Change "isFunc" variable to "isFunction" 2012-12-24 03:03:28 +04:00
Oleg
76bde01be8 Code style changes 2012-12-24 03:03:28 +04:00
Oleg
8c4b9f082b Simplify jQuery#wrap 2012-12-24 03:03:28 +04:00
Oleg
2378438a97 Code style changes 2012-12-24 03:03:27 +04:00
Oleg
28f6fcb763 Remove unused variables 2012-12-24 03:03:19 +04:00
Oleg
eac4e8e251 Remove removal of container children through removeChild method 2012-12-24 03:03:19 +04:00
Oleg
7a2a82ba62 Remove tbody check 2012-12-24 03:03:19 +04:00
Oleg
c1c97b474e Remove leading white space check 2012-12-24 03:03:19 +04:00
Oleg
fd2af63bca Remove createSafeFragment helper 2012-12-24 03:03:19 +04: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