]> source.dussan.org Git - jquery.git/log
jquery.git
11 years agoFix #13013. Move jQuery.buildFragment() to compat plugin.
Dave Methvin [Fri, 7 Dec 2012 02:17:27 +0000 (21:17 -0500)]
Fix #13013. Move jQuery.buildFragment() to compat plugin.

11 years agoDon't test what ain't there no more
Richard Gibson [Thu, 6 Dec 2012 22:01:36 +0000 (17:01 -0500)]
Don't test what ain't there no more

11 years agoMake compatible with jshint, lint test/data. Close gh-1043.
Timo Tijhof [Sun, 25 Nov 2012 19:30:16 +0000 (20:30 +0100)]
Make compatible with jshint, lint test/data. Close gh-1043.

11 years agoonce more with feeling
Richard Gibson [Thu, 6 Dec 2012 04:47:33 +0000 (23:47 -0500)]
once more with feeling

11 years agodon't test SVG on IE6
Richard Gibson [Thu, 6 Dec 2012 04:30:53 +0000 (23:30 -0500)]
don't test SVG on IE6

11 years agoFix #10832 (this time with tests): jQuery.contains in SVG
Richard Gibson [Thu, 6 Dec 2012 03:09:43 +0000 (22:09 -0500)]
Fix #10832 (this time with tests): jQuery.contains in SVG

11 years agoRevert "Organizes the php scripts used for testing better, so that the whole logic...
jaubourg [Wed, 5 Dec 2012 13:54:14 +0000 (14:54 +0100)]
Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore."

This reverts commit 228ab3ddae527f72cc3122a1c6115d7718bcfd57.

11 years agoRevert "Fixes spacing"
jaubourg [Wed, 5 Dec 2012 13:54:10 +0000 (14:54 +0100)]
Revert "Fixes spacing"

This reverts commit 2a419a7e8f339b24121e12be891b908dff2be76f.

11 years agoRevert "228ab3d followup 1: fix test failures. Close gh-1056."
jaubourg [Wed, 5 Dec 2012 13:54:00 +0000 (14:54 +0100)]
Revert "228ab3d followup 1: fix test failures. Close gh-1056."

This reverts commit 20608b3579d70d3bac7fd74b4e11e4c08cd9d9b5.

11 years ago228ab3d followup 1: fix test failures. Close gh-1056.
Richard Gibson [Wed, 5 Dec 2012 06:43:16 +0000 (01:43 -0500)]
228ab3d followup 1: fix test failures. Close gh-1056.

11 years agoRadical idea: Calculate `expect()` value before fn call. :purple_heart:
Dave Methvin [Wed, 5 Dec 2012 03:14:08 +0000 (22:14 -0500)]
Radical idea: Calculate `expect()` value before fn call. :purple_heart:

11 years agoFixes #12449. make replaceWith() clone elements where required. Closes gh-920
Rod Vagg [Wed, 5 Dec 2012 02:50:22 +0000 (21:50 -0500)]
Fixes #12449. make replaceWith() clone elements where required. Closes gh-920

11 years agoFix #11989. Remove fragment cache, moving to jquery-compat. Close gh-1052.
Paul Ramos [Wed, 5 Dec 2012 02:30:37 +0000 (21:30 -0500)]
Fix #11989. Remove fragment cache, moving to jquery-compat. Close gh-1052.

11 years agoFix #12756. Restyle manipulation unit tests. Close gh-1053.
Paul Ramos [Tue, 4 Dec 2012 18:21:47 +0000 (13:21 -0500)]
Fix #12756. Restyle manipulation unit tests. Close gh-1053.

https://github.com/jquery/2012-dev-summit/issues/56

11 years agoFixes spacing
jaubourg [Tue, 4 Dec 2012 06:45:30 +0000 (07:45 +0100)]
Fixes spacing

11 years agoOrganizes the php scripts used for testing better, so that the whole logic of a unit...
jaubourg [Tue, 4 Dec 2012 06:39:27 +0000 (07:39 +0100)]
Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore.

11 years agoFix #12856: keep PSEUDO regex non-greedy
Richard Gibson [Tue, 4 Dec 2012 04:43:34 +0000 (23:43 -0500)]
Fix #12856: keep PSEUDO regex non-greedy

11 years agoMore improvements per @jaubourg
Richard Gibson [Mon, 3 Dec 2012 16:32:19 +0000 (11:32 -0500)]
More improvements per @jaubourg

11 years agoImprovements per @jaubourg
Richard Gibson [Mon, 3 Dec 2012 05:49:40 +0000 (00:49 -0500)]
Improvements per @jaubourg

11 years agoNo ticket: improve global variable/ajax request tracking
Richard Gibson [Mon, 3 Dec 2012 04:32:16 +0000 (23:32 -0500)]
No ticket: improve global variable/ajax request tracking

11 years agoDon't really want to expect any global events here.
Dave Methvin [Sun, 2 Dec 2012 15:53:34 +0000 (10:53 -0500)]
Don't really want to expect any global events here.

11 years agoFollowup to #12989 fix, improve unit test resiliency.
Dave Methvin [Sun, 2 Dec 2012 15:48:26 +0000 (10:48 -0500)]
Followup to #12989 fix, improve unit test resiliency.

11 years agoFix #12989. Remove ajax "global" event behavior.
Dave Methvin [Sat, 1 Dec 2012 20:25:52 +0000 (15:25 -0500)]
Fix #12989. Remove ajax "global" event behavior.

11 years agokeep manipulation.js assertions consistent
Richard Gibson [Fri, 30 Nov 2012 21:11:51 +0000 (16:11 -0500)]
keep manipulation.js assertions consistent

11 years agoFixes awkward spacing
jaubourg [Thu, 29 Nov 2012 16:28:16 +0000 (17:28 +0100)]
Fixes awkward spacing

11 years agoSimplifies how url is kept devoid of anti-cache parameter for ifModified requests...
jaubourg [Thu, 29 Nov 2012 16:16:42 +0000 (17:16 +0100)]
Simplifies how url is kept devoid of anti-cache parameter for ifModified requests. Also, renames ifModifiedKey to cacheURL so that it now conveys the variable's nature rather than its purpose. -5 min/gzipped.

11 years agoUnit test for #12004
jaubourg [Wed, 28 Nov 2012 23:15:17 +0000 (00:15 +0100)]
Unit test for #12004

11 years agoAlias options.method to options.type. Fixes #12004.
Matt Farmer [Wed, 28 Nov 2012 22:59:37 +0000 (23:59 +0100)]
Alias options.method to options.type. Fixes #12004.

11 years agoFix #12957. Simplify wrapMap, it doesn't need end tags. Close gh-1044.
Oleg [Wed, 28 Nov 2012 02:32:59 +0000 (21:32 -0500)]
Fix #12957. Simplify wrapMap, it doesn't need end tags. Close gh-1044.

11 years agosave a byte
Richard Gibson [Tue, 27 Nov 2012 14:53:30 +0000 (09:53 -0500)]
save a byte

11 years agoDon't let removeClass create attributes
Richard Gibson [Tue, 27 Nov 2012 14:46:06 +0000 (09:46 -0500)]
Don't let removeClass create attributes

11 years agosandboxes start for real this time (fixes test failures in IE)
jaubourg [Tue, 27 Nov 2012 01:39:08 +0000 (02:39 +0100)]
sandboxes start for real this time (fixes test failures in IE)

11 years agoUse strictEqual rather than equal
jaubourg [Tue, 27 Nov 2012 01:38:20 +0000 (02:38 +0100)]
Use strictEqual rather than equal

11 years agoMerge branch 'master' of github.com:jquery/jquery
jaubourg [Tue, 27 Nov 2012 01:01:03 +0000 (02:01 +0100)]
Merge branch 'master' of github.com:jquery/jquery

11 years agoFix #12959: Optimize library-wide patterns
Richard Gibson [Mon, 26 Nov 2012 08:20:43 +0000 (03:20 -0500)]
Fix #12959: Optimize library-wide patterns

11 years agoRemoves unnecessary closure and apply 1045/head
jaubourg [Mon, 26 Nov 2012 11:09:42 +0000 (12:09 +0100)]
Removes unnecessary closure and apply

11 years agoGreatly simplifies ajaxTest
jaubourg [Mon, 26 Nov 2012 10:49:20 +0000 (11:49 +0100)]
Greatly simplifies ajaxTest

11 years agoFix #12959: Optimize library-wide patterns 1046/head
Richard Gibson [Mon, 26 Nov 2012 08:20:43 +0000 (03:20 -0500)]
Fix #12959: Optimize library-wide patterns

11 years agoTotal revamping of the ajax unit tests
jaubourg [Mon, 26 Nov 2012 02:31:19 +0000 (03:31 +0100)]
Total revamping of the ajax unit tests

11 years agoGrunt: Rename TestSwarm job name pattern for PR. Close gh-1042.
Timo Tijhof [Sun, 25 Nov 2012 18:50:49 +0000 (19:50 +0100)]
Grunt: Rename TestSwarm job name pattern for PR. Close gh-1042.

More consistent with the other one:
 Project Name <id_type> #id.

11 years agoFix #12803. Add jQuery.fx.start as a hook point. Close gh-1024.
Corey Frang [Thu, 8 Nov 2012 06:02:14 +0000 (00:02 -0600)]
Fix #12803. Add jQuery.fx.start as a hook point. Close gh-1024.

11 years agoFix #12869. Zoom the body after support tests; avoids layout changes in IE8/9/10...
Scott González [Thu, 8 Nov 2012 16:52:27 +0000 (11:52 -0500)]
Fix #12869. Zoom the body after support tests; avoids layout changes in IE8/9/10 in IE7 mode. Close gh-1025.

11 years agoFix #12134. Make .serialize() HTML5-compliant; provide a propHook for shimming.
Dave Methvin [Sun, 25 Nov 2012 19:54:07 +0000 (14:54 -0500)]
Fix #12134. Make .serialize() HTML5-compliant; provide a propHook for shimming.

11 years agoNo ticket: compress ajax. Close gh-1041.
Richard Gibson [Fri, 23 Nov 2012 15:29:08 +0000 (10:29 -0500)]
No ticket: compress ajax. Close gh-1041.

11 years agoUsing the right matched param
Corey Frang [Sun, 25 Nov 2012 00:04:34 +0000 (18:04 -0600)]
Using the right matched param

11 years agoAdding job name for pull request jobs coming from mergeatron
Corey Frang [Sat, 24 Nov 2012 23:59:56 +0000 (17:59 -0600)]
Adding job name for pull request jobs coming from mergeatron

11 years agoFix #12191. jQuery.type should return "error" for Error objects.
Dave Methvin [Sat, 24 Nov 2012 22:22:14 +0000 (17:22 -0500)]
Fix #12191. jQuery.type should return "error" for Error objects.

11 years agoFix #9960, allow manipulation for parent document nodes. Close gh-924.
dcooper [Fri, 7 Sep 2012 18:12:24 +0000 (14:12 -0400)]
Fix #9960, allow manipulation for parent document nodes. Close gh-924.

11 years agoFix #12733. Ignore excess spaciness in event strings.
Dave Methvin [Sat, 24 Nov 2012 21:03:57 +0000 (16:03 -0500)]
Fix #12733. Ignore   excess   spaciness   in event strings.

Thanks @bentruyman!

11 years agoClose #10882. Test case for "hover" event in 1.9
Dave Methvin [Sat, 24 Nov 2012 20:25:54 +0000 (15:25 -0500)]
Close #10882. Test case for "hover" event in 1.9

11 years agoFix #12868. Use native focus/blur to get event order right.
Dave Methvin [Fri, 23 Nov 2012 20:03:55 +0000 (15:03 -0500)]
Fix #12868. Use native focus/blur to get event order right.

11 years agoFix #3827. Get the correct checkbox status for a click handler.
Dave Methvin [Wed, 21 Nov 2012 03:31:33 +0000 (22:31 -0500)]
Fix #3827. Get the correct checkbox status for a click handler.

11 years agoSet async to true instead of async (prop vs. attr). Closes gh-1039
Timo Tijhof [Thu, 22 Nov 2012 02:47:59 +0000 (21:47 -0500)]
Set async to true instead of async (prop vs. attr). Closes gh-1039

11 years agoFix #12920: remove addMandatoryAttributes. Close gh-1037.
Richard Gibson [Wed, 21 Nov 2012 03:57:41 +0000 (22:57 -0500)]
Fix #12920: remove addMandatoryAttributes. Close gh-1037.

11 years agofix Safari test failures
Richard Gibson [Mon, 19 Nov 2012 22:17:48 +0000 (17:17 -0500)]
fix Safari test failures

11 years agoFix #11795, #10470: keep scripts in DOM; execute only on first insertion. Close gh...
Richard Gibson [Mon, 19 Nov 2012 14:50:19 +0000 (09:50 -0500)]
Fix #11795, #10470: keep scripts in DOM; execute only on first insertion. Close gh-864.

11 years agoGrunt: Set testswarm/browserSets from JSON file.
Timo Tijhof [Sat, 17 Nov 2012 20:20:09 +0000 (21:20 +0100)]
Grunt: Set testswarm/browserSets from JSON file.

File on jq03.jquery.com is already updated.

11 years agoFix #12915, add propHook for scrip src property on oldIE. Close gh-1035.
aFarkas [Mon, 19 Nov 2012 01:48:49 +0000 (20:48 -0500)]
Fix #12915, add propHook for scrip src property on oldIE. Close gh-1035.

11 years agoMerge branch 'x8908'
Dave Methvin [Sun, 18 Nov 2012 19:56:46 +0000 (14:56 -0500)]
Merge branch 'x8908'

11 years agoFix #8908. Don't let change to originals affect clones in IE9/10. Close gh-886.
Elijah Manor [Fri, 16 Nov 2012 03:20:07 +0000 (22:20 -0500)]
Fix #8908. Don't let change to originals affect clones in IE9/10. Close gh-886.

11 years agoupdate Sizzle
Richard Gibson [Fri, 16 Nov 2012 20:57:43 +0000 (15:57 -0500)]
update Sizzle

11 years agoUpdating the version to 1.9.0pre.
Dave Methvin [Fri, 16 Nov 2012 17:16:47 +0000 (12:16 -0500)]
Updating the version to 1.9.0pre.

11 years agoRevert "Fixes #12569. Improve Feature Detect For oldIE bubbling. closes gh-967"
Dave Methvin [Thu, 15 Nov 2012 02:09:12 +0000 (21:09 -0500)]
Revert "Fixes #12569. Improve Feature Detect For oldIE bubbling. closes gh-967"

This reverts commit 063ea024e945adbeefbf88578f8ba424ca8a0939.

I've beaten on this for a while and can't find a suitable feature detect that catches Chrome's support for focusin.

11 years agoFix #12777. Add applet to non-cacheable fragment types.
Dave Methvin [Mon, 12 Nov 2012 03:49:17 +0000 (22:49 -0500)]
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.

11 years agoNo ticket: speedup effects tests
Richard Gibson [Tue, 13 Nov 2012 02:06:16 +0000 (21:06 -0500)]
No ticket: speedup effects tests

11 years agoFix #12858: don't expose jQuery/Sizzle expandos
Richard Gibson [Sat, 10 Nov 2012 04:43:46 +0000 (23:43 -0500)]
Fix #12858: don't expose jQuery/Sizzle expandos

11 years agoNo ticket: speedup test suite. Close gh-1020.
Richard Gibson [Thu, 8 Nov 2012 15:05:10 +0000 (10:05 -0500)]
No ticket: speedup test suite. Close gh-1020.

11 years agoUnroll the ( || ) in the math - Fixes #12497 - Thanks @lukemella @curiousdannii ...
Corey Frang [Thu, 8 Nov 2012 03:29:55 +0000 (21:29 -0600)]
Unroll the ( || ) in the math - Fixes #12497 - Thanks @lukemella @curiousdannii - Closes gh-1019

11 years agoRewriting unit test to be less sticky based on time issues
Corey Frang [Thu, 8 Nov 2012 03:11:16 +0000 (21:11 -0600)]
Rewriting unit test to be less sticky based on time issues

11 years agoFixing units
Corey Frang [Thu, 8 Nov 2012 02:45:03 +0000 (20:45 -0600)]
Fixing units

11 years agoKeep track of a hiding state for toggle based animations - Fixes #8685
Corey Frang [Thu, 8 Nov 2012 01:23:24 +0000 (19:23 -0600)]
Keep track of a hiding state for toggle based animations - Fixes #8685

Closes gh-1018

11 years agoEnsure each tick gets it's own fxNow - Fixes #12837 - Thanks @chadparry
Corey Frang [Thu, 8 Nov 2012 01:22:14 +0000 (19:22 -0600)]
Ensure each tick gets it's own fxNow - Fixes #12837 - Thanks @chadparry

Closes gh-1022
Closes gh-1021

11 years agoRemove APIs now in jquery-compat
Dave Methvin [Thu, 8 Nov 2012 00:42:10 +0000 (19:42 -0500)]
Remove APIs now in jquery-compat

11 years agoRestore jQuery.access parameter mistakenly removed in 80d45a69
Richard Gibson [Tue, 6 Nov 2012 14:53:00 +0000 (09:53 -0500)]
Restore jQuery.access parameter mistakenly removed in 80d45a69

11 years agoNo ticket: update test suite to pass QUnit globals check in most environments. Close...
Richard Gibson [Sat, 3 Nov 2012 04:06:50 +0000 (00:06 -0400)]
No ticket: update test suite to pass QUnit globals check in most environments. Close gh-1016.

11 years agoFix #12840: remove undocumented parameter "pass" from .attr. Close gh-1017.
Richard Gibson [Mon, 5 Nov 2012 22:21:24 +0000 (17:21 -0500)]
Fix #12840: remove undocumented parameter "pass" from .attr. Close gh-1017.

11 years agoRemove gratuitous punctuation
Richard Gibson [Fri, 2 Nov 2012 02:22:39 +0000 (22:22 -0400)]
Remove gratuitous punctuation

11 years agoMust attach the .selector to the new jQuery object.
Dave Methvin [Fri, 2 Nov 2012 01:40:01 +0000 (21:40 -0400)]
Must attach the .selector to the new jQuery object.

11 years agoFollow-up for .selector property removal
Oleg [Fri, 2 Nov 2012 00:36:48 +0000 (04:36 +0400)]
Follow-up for .selector property removal

11 years agoFix #10299. Add a propHook for oldIE link href.
Dave Methvin [Fri, 2 Nov 2012 00:50:45 +0000 (20:50 -0400)]
Fix #10299. Add a propHook for oldIE link href.

11 years agoRemove unneeded parameter hockey in event shortcuts.
Dave Methvin [Thu, 1 Nov 2012 23:48:21 +0000 (19:48 -0400)]
Remove unneeded parameter hockey in event shortcuts.

11 years agoRemove trailing comma to fix test lint.
Dave Methvin [Thu, 1 Nov 2012 23:47:59 +0000 (19:47 -0400)]
Remove trailing comma to fix test lint.

11 years agoFix #12828. Remove non-standard event properties.
Dave Methvin [Thu, 1 Nov 2012 21:51:34 +0000 (17:51 -0400)]
Fix #12828. Remove non-standard event properties.

11 years agoNo ticket: remove test suite external dependencies
Richard Gibson [Thu, 1 Nov 2012 21:32:08 +0000 (17:32 -0400)]
No ticket: remove test suite external dependencies

11 years agoFix #12827. Remove exclusive event semantics from .trigger().
Dave Methvin [Thu, 1 Nov 2012 20:53:39 +0000 (16:53 -0400)]
Fix #12827. Remove exclusive event semantics from .trigger().

No unit tests were removed in the undoing of this feature. :sob:

11 years agoFollowup to gh-997, decode entities in test names. Close gh-1013.
Timo Tijhof [Thu, 1 Nov 2012 04:30:39 +0000 (05:30 +0100)]
Followup to gh-997, decode entities in test names. Close gh-1013.

11 years agoFix testing of no-ajax custom builds
Richard Gibson [Thu, 1 Nov 2012 04:40:27 +0000 (00:40 -0400)]
Fix testing of no-ajax custom builds

11 years agoFix builds with partial ajax support (e.g., custom:ajax/xhr)
Richard Gibson [Thu, 1 Nov 2012 04:29:58 +0000 (00:29 -0400)]
Fix builds with partial ajax support (e.g., custom:ajax/xhr)

11 years agoTest case for #12816
Dave Methvin [Thu, 1 Nov 2012 03:36:43 +0000 (23:36 -0400)]
Test case for #12816

11 years agoFix #12816. Ensure .find() result are DOM ordered.
Dave Methvin [Thu, 1 Nov 2012 02:43:04 +0000 (22:43 -0400)]
Fix #12816. Ensure .find() result are DOM ordered.

11 years agoFix #10544. Remove deprecated .data() event namespaced triggering.
Dave Methvin [Wed, 31 Oct 2012 17:55:51 +0000 (13:55 -0400)]
Fix #10544. Remove deprecated .data() event namespaced triggering.

Data events were horribly slow, never documented, and caused strange interpretation of data items with dots in them.

11 years agoNo ticket: fix effects test failure in IE6. Close gh-1012.
Timo Tijhof [Wed, 31 Oct 2012 17:26:43 +0000 (18:26 +0100)]
No ticket: fix effects test failure in IE6. Close gh-1012.

11 years agoFix #12009. $().find( DOMElement ) should pushStack properly. Close gh-927.
Mike Sherov [Tue, 30 Oct 2012 17:32:53 +0000 (13:32 -0400)]
Fix #12009. $().find( DOMElement ) should pushStack properly. Close gh-927.

11 years agoFix #12685. Handle inconsistent opacity for ie < 9. Close gh-1005.
yiminghe [Mon, 22 Oct 2012 03:40:37 +0000 (11:40 +0800)]
Fix #12685. Handle inconsistent opacity for ie < 9. Close gh-1005.

11 years agoFix #10416. Don't trust computed styles on detached elements. Close gh-941.
Oleg [Fri, 28 Sep 2012 20:56:49 +0000 (00:56 +0400)]
Fix #10416. Don't trust computed styles on detached elements. Close gh-941.

11 years agoUpdate authors.
Dave Methvin [Mon, 29 Oct 2012 02:53:32 +0000 (22:53 -0400)]
Update authors.

11 years agoImplement expectation test instead of using _removeData. Close gh-997.
Timo Tijhof [Wed, 17 Oct 2012 08:33:47 +0000 (04:33 -0400)]
Implement expectation test instead of using _removeData. Close gh-997.

* Removed inline usage of QUnit.reset() because it is messing with the
  expectation model as reset does .empty() which does a recursive cleanData
  on everything in #qunit-fixture, so any expectJqData above .reset() would
  fail negatively.

  Instead of calling reset inline, either updated the following assertions to
  take previous assertions' state into account, or broke the test() up into
  2 tests at the point where it would call QUnit.reset.

* After introducing the new memory leak discovery a whole bunch of tests were
  failing as they didn't clean up everything. However I didn't (yet) add
  QUnit.expectJqData calls all over the place because in most if not all of
  these cases it is valid data storage. For example in test "data()", there
  will be an internal data key for "parsedAttrs". This particular test isn't
  intending to test for memory leaks, so therefor I made the new discovery
  system only push failures when the test contains at least 1 call to
  QUnit.expectJqData.

  When not, we'll assume that whatever data is being stored is acceptable
  because the relevant elements still exist in the DOM anyway (QUnit.reset
  will remove the elements and clean up the data automatically).

  I did add a "Always check jQuery.data" mode in the test suite that will
  trigger it everywhere. Maybe one day we'll include a call to everywhere,
  but for now I'm keeping the status quo: Only consider data left in storage
  to be a problem if the test says so ("opt-in").

* Had to move #fx-tests inside the fixture because ".remove()" test would
  otherwise remove stuff permanently and cause random other tests to fail
  as "#hide div" would yield an empty collection.
  (Why wasn't this in the fixture in the first place?)

  As a result moving fx-tests into the fixture a whole bunch of tests failed
  that relied on arbitrary stuff about the document-wide or fixture-wide
  state (e.g. number of divs etc.). So I had to adjust various tests to
  limit their sample data to not be so variable and unlimited...

* Moved out tests for expando cleanup into a separate test.

* Fixed implied global variable 'pass' in effects.js that was causing
  "TypeError: boolean is not a function" in *UNRELATED* dimensions.js that
  uses a global variable "pass = function () {};" ...

* Removed spurious calls to _removeData. The new test exposed various failures
  e.g. where div[0] isn't being assigned any data anyway.
  (queue.js and attributes.js toggleClass).

* Removed spurious clean up at the bottom of test() functions that are
  already covered by the teardown (calling QUnit.reset or removeClass to
  supposedly undo any changes).

* Documented the parentheses-less magic line in toggleClass. It appeared that
  it would always keep the current class name if there was any (since the
  assignment started with "this.className || ...".

  Adding parentheses + spacing is 8 bytes (though only 1 in gzip apparently).
  Only added the comment for now, though I prefer clarity with logical
  operators, I'd rather not face the yayMinPD[1] in this test-related commit.

* Updated QUnit urlConfig to the new format (raw string is deprecated).

* Clean up odd htmlentities in test titles, QUnit escapes this.
  (^\s+test\(.*)(&gt\;) → $1>
  (^\s+test\(.*)(&lt\;) → $1<

[1] jQuery MinJsGz Release Police Department (do the same, download less)

11 years agoFixes #12139, make sure absolutely positioned elements have HTML as offsetParent...
David Fox [Fri, 26 Oct 2012 16:38:05 +0000 (12:38 -0400)]
Fixes #12139, make sure absolutely positioned elements have HTML as offsetParent, closes gh-1010

11 years agoElements created from html strings have a parentnode. Fixes #12392
Oleg [Fri, 26 Oct 2012 00:41:47 +0000 (20:41 -0400)]
Elements created from html strings have a parentnode. Fixes #12392

11 years agoSimplify tests for #12786, reduce to only those required to support the fix
Rick Waldron [Thu, 25 Oct 2012 14:50:57 +0000 (10:50 -0400)]
Simplify tests for #12786, reduce to only those required to support the fix