Commit graph

123 commits

Author SHA1 Message Date
Brandon Aaron 5c21e44fce new offset method, faster and no more browser detection 2008-11-10 02:39:03 +00:00
Jörn Zaefferer 12bb969411 core: tests cleanup for compability with qunit updates: stop() now actually accepts an argument (ajax.js); selectors should be confined to fixture(event.js) 2008-10-24 14:40:58 +00:00
Ariel Flesler b860c30b82 test runner: Commented 2 tests that jam the suite. 2008-10-21 01:48:23 +00:00
Ariel Flesler 96e8f355da testrunner: fixing tests that were broken due to recent updates to qunit. 2008-10-18 21:59:09 +00:00
John Resig 0865b073f8 A test was using the old / child selector syntax - updating to the new style. 2008-08-21 17:08:50 +00:00
Ariel Flesler 1023cf1d72 jquery core: closes #3248, #3079, #3026, #3176, #3202, #3129. jQuery.makeArray doesn't support functions anymore. Voiding the conflict with Scriptaculous 1.7.x. 2008-08-12 19:34:30 +00:00
Ariel Flesler a27b5d0468 jquery core: closes #2652. val() supports option elements, also simplified the code. 2008-07-23 17:00:32 +00:00
Ariel Flesler 69212c501f jquery core: closes #2968. Simplified isFunction, dropping support for DOM methods and functions like alert() on IE. 2008-07-23 16:18:05 +00:00
Ariel Flesler 28937ded0e test runner: optimizing a test for speed. 2008-07-01 02:08:45 +00:00
Ariel Flesler a23e4361fc test runner: recloses #3102. Adding one test for $().eq("1") 2008-07-01 02:05:46 +00:00
Ariel Flesler 21d669135d test runner: 2 tests for [5728]. 2008-06-17 19:59:16 +00:00
Ariel Flesler 1e9593646f test runner: adding 2 tests for .val( Number ).
Removed a silly test.
2008-05-29 00:03:45 +00:00
Ariel Flesler 9e48649729 test runner: the changes are:
- Replaced all the $ for jQuery in the tests and suite.
- Added a noConflict to testrunner.js.
- Modified the test for noConflict() so that it still work.
- Added jQuery 1.2.1 and 1.2.3 to otherlibs.
2008-05-28 23:18:25 +00:00
Ariel Flesler c6e88b16e9 test runner: a test for load() with a hash of data, and another for load() with a string of data (#1516).
It includes a php that dumps all the GET and POST vars to html elements, where the key makes the id, and the value the text.
2008-05-27 22:46:28 +00:00
Ariel Flesler 3c5c3dffaa test runner: A test was failing on Opera 9.50. Not a bug, just made the test less specific and it passed. 2008-05-24 21:27:12 +00:00
Ariel Flesler 0e63c789e3 test runner: adding more tests for attr(). Related to [5574] and [5683]. 2008-05-24 18:11:55 +00:00
Brandon Aaron de6520b50e Added some unit tests for position method. Fixed issue with position in IE. 2008-05-15 19:38:00 +00:00
Ariel Flesler 1382ea8d98 test runner: improved the shown message of 4 isFunction tests. 2008-05-14 21:18:46 +00:00
Brandon Aaron bf802496c6 Updating outerWidth unit test to use absolute position 2008-05-13 18:56:56 +00:00
Ariel Flesler 37394598cb test runner: improved a test and added a missing semicolon 2008-05-12 22:59:58 +00:00
Ariel Flesler 0a794ed5fc test runner: added 2 tests for [5500] 2008-05-08 17:16:49 +00:00
Ariel Flesler 6a9b73c7b9 test runner: extra tests for $.fn.add enabled by [5503] and a small fix for an html() test. 2008-05-08 17:11:03 +00:00
Ariel Flesler 407c5eb430 test runner: extra test case, [5501] 2008-05-08 16:25:12 +00:00
Ariel Flesler 9f0c0cfec5 test runner: making 2 tests more flexible because they yield a slightly different result on Safari 3, but still acceptable. 2008-05-08 16:04:01 +00:00
Scott González 5311565223 ajax test: Removed test for extending with null. 2008-05-07 01:16:54 +00:00
Ariel Flesler 96ca83d150 test runner: extra test for makeArray, related to [5481] 2008-05-07 00:46:14 +00:00
Jörn Zaefferer 46931d3146 jquery ajax: support for dynamic data arguments, see #2806; added test/data/echoQuery.php for easier testing of sent query strings 2008-05-06 22:21:43 +00:00
Ariel Flesler ba48be3ada test runner: translated all the ok() with '==' to equals(), as it gives more information on failures. 2008-05-06 18:56:02 +00:00
Ariel Flesler 6fc2c67581 test runner: adding some tests that were missing for the $ constructor. 2008-05-06 00:42:59 +00:00
Scott González f8698395ac core: Fixed #2605: .data() now accepts null as a value. 2008-05-03 01:51:55 +00:00
Scott González ad3c49d1b6 core: Fixed #2605: .data() now accepts null as a value. 2008-05-03 01:39:27 +00:00
Scott González 35c68b4578 core: Fixed #2600: jQuery.extend no longer skips over null properties. 2008-05-02 19:49:41 +00:00
Ariel Flesler d822c0c214 test runner: adding a test case for $.fn._toggle with more than 2 functions. 2008-04-29 22:20:02 +00:00
Ariel Flesler f54d277df4 test runner: voided the failing tests for jQuery.map, that belong to an unapproved proposal(#2616). 2008-04-29 20:54:30 +00:00
Ariel Flesler 5ca908d3b6 test runner: added another test for makeArray. 2008-04-29 20:52:48 +00:00
Brandon Aaron aea452f162 Merged dimensions with core 2008-04-29 03:26:06 +00:00
Jörn Zaefferer ab756ceab0 jquery core: tests for #2616 2008-04-28 14:00:27 +00:00
Ariel Flesler 508b1e2432 jquery core: fixed makeArray to recognize the window (has length)
test runner: updated the tests for makeArray
2008-04-25 03:48:07 +00:00
Jörn Zaefferer f8e5fd6fef jquery core: Patch from #2619 applied, making makeArray more flexible and faster; removed hint to ticket from (previously failing) test 2008-04-24 21:23:36 +00:00
Ariel Flesler 291f071eff - adding the tests for the changes to $.makeArray, proposed at #2619 2008-04-22 23:07:35 +00:00
Jörn Zaefferer e454e8305d jquery.ajax: improvement for #2688, added test 2008-04-22 22:07:17 +00:00
Jörn Zaefferer 32b1cb3a5c jquery.event: Patch for #2708 2008-04-22 21:59:40 +00:00
Brandon Aaron 5d033dba02 Trigger onclick handlers of links 2008-04-21 20:39:17 +00:00
John Resig b0c7df65d0 You can now overwrite values returned from .data() with .bind("getData") - returning a value will override any bound value on that element. 2008-02-03 18:43:04 +00:00
John Resig 4a11e6d70b Tweaked the .data() event triggering - it now triggers a single 'setData' event, passing in a key value pair of what was changed. 2008-02-03 17:56:21 +00:00
John Resig 703e89ba30 Added support for .unbind(".test") to unbind all namespaced events on an element. 2008-02-03 04:33:11 +00:00
John Resig 77da94552e Added $().data(), $().removeData(), and .bind("click!"). .data() and .removeData() handle namespaced data, .data() triggers a "set-KEY" event on all modified elements, and .bind("click!") only triggers a click (and no namespaced events). 2008-02-03 04:05:24 +00:00
David Serduke 1faed11e3c Fix #2184 by using the jQuery.clean() function instead of a direct innerHTML assignment in the clone() function for IE. 2008-01-23 03:54:23 +00:00
David Serduke 0635df4391 Fixed #2174 by removing the s.dataType == "json" check for possible cross domain since it causes absolute urls to use a <script> tag ajax retrieval even though absolute urls work fine for retrieving local data. Cross-domain jsonp will still work since the $.ajax() function actually changes the s.dataType to "script" before it reaches this check in cases where it is s.dataType == "jsonp" or s.dataType == "json" and a parameter has =? in it. 2008-01-17 21:38:58 +00:00
John Resig d0fae71464 Discontinued the test for $(form.elements). 2008-01-14 20:40:05 +00:00