Commit graph

  • b0306cc3a6 Updated the jQuery suite to use the new 'qunit-' prefix on specific elements. John Resig 2009-09-29 21:34:12 +00:00
  • dfeb8140fa Fixed the q() method to use same instead of isSet. John Resig 2009-09-29 21:22:35 +00:00
  • 4bda398e6a Switched from using QUnit's isObj/isSet to the more robust same method. John Resig 2009-09-29 19:49:43 +00:00
  • f8b7d391e6 Moved some jQuery-specific test methods into the core module. John Resig 2009-09-29 18:11:10 +00:00
  • 8df82d2b04 Moved the init test script off into a separate file. John Resig 2009-09-29 18:06:16 +00:00
  • 69e6e53555 Adding in .unwrap() support, thanks to Ben Alman! Fixes #5191. John Resig 2009-09-25 21:41:21 +00:00
  • 70b9aed422 Removed the trailing endline from the version. John Resig 2009-09-25 21:36:40 +00:00
  • 79ba722e6e Full steam ahead! We're going for 1.4. John Resig 2009-09-25 18:21:02 +00:00
  • 67d445a703 A follow-up to [6578] (which stopped adding expandos to elements that didn't have data). That broke jQuery.unique() (so we're now using the unique from Sizzle). Using Sizzle's unique (which also sorts in document order) changed how add, andSelf, parents, nextAll, prevAll, and siblings work. after and before were changed to not use .add() (in order to guarantee their position in the jQuery set). Also, jQuery.data(elem) was updated to return that element's data object (instead of its ID). John Resig 2009-09-25 17:55:20 +00:00
  • 67089eedf6 Getting $.param working well; Patch by ben_alman Yehuda Katz 2009-09-17 22:37:19 +00:00
  • 45dfa3b0fc Probably not the optimal solution, but tests pass. Yehuda Katz 2009-09-16 08:33:00 +00:00
  • 9ebb2fc654 jquery event: closes #5250. bind(), unbind() and one() support Object Literals (needs some refactor though) Ariel Flesler 2009-09-16 02:19:18 +00:00
  • 97e134fe80 data should not add expando unless actually adding data Brandon Aaron 2009-09-15 21:14:08 +00:00
  • 24ffc395a7 Missing a var on a for loop, caused a variable to be leaked. John Resig 2009-09-15 21:09:46 +00:00
  • e907b8769f Missing a var on a for loop, caused a variable to be leaked. John Resig 2009-09-15 21:01:00 +00:00
  • daffb954e3 offset is now a setter Brandon Aaron 2009-09-15 19:15:04 +00:00
  • f55fb36e54 remove globals in tests for compability with ?noglobals, to be enabled by default Jörn Zaefferer 2009-09-15 17:51:38 +00:00
  • 0b36b26259 fixed global variables introduced in for loop with missing var-keyword (detected via QUnit's no ?noglobals) Jörn Zaefferer 2009-09-15 17:39:21 +00:00
  • 5550356a12 jquery attributes: closes #5234. attr() supports jQuery.fn methods. Ariel Flesler 2009-09-15 17:23:26 +00:00
  • 8356871a55 testrunner: focus & blur events could fail if the window isn't focused Ariel Flesler 2009-09-15 17:11:15 +00:00
  • fc4c691534 Adding some fixes for commit [6537]. If there's leading whitespace, or if an exception is thrown by innerHTML, we need to use the old style method. John Resig 2009-09-15 16:46:15 +00:00
  • cf8c1249d1 jquery ajax: addition for #2452. Wasn't working correctly in some cases. Ariel Flesler 2009-09-15 16:45:37 +00:00
  • 7638fc5835 Fix for SVN rev [6537]. Events weren't being unbound correctly in Internet Explorer (cleanData wasn't handling malformed NodeList results correctly). John Resig 2009-09-15 15:56:18 +00:00
  • 5b9214e7d8 jquery ajax: closes #2452. get() and post() weren't shifting all arguments correctly. Ariel Flesler 2009-09-15 15:28:28 +00:00
  • 183f37e4b4 jquery ajax: closes #4994. Adding 'context' setting to $.ajax Ariel Flesler 2009-09-15 15:19:58 +00:00
  • c4f144eeff avoid creating a new data cache if we don't need one. Also, short-circuit the case where $.data is used to get the cache id Yehuda Katz 2009-09-15 07:59:53 +00:00
  • 19cd84cf32 jquery data: adding missing semicolons Ariel Flesler 2009-09-15 01:02:18 +00:00
  • 9b20eb4c85 Make jQuery.winnow a local function Yehuda Katz 2009-09-15 00:35:35 +00:00
  • 321267dcec jquery fx: closes #2542. show/hide(0, fn) wasn't calling the callback. Ariel Flesler 2009-09-15 00:32:13 +00:00
  • 5e0da8c036 testrunner: resetting the scroll position after focusing a field Ariel Flesler 2009-09-14 23:28:21 +00:00
  • 3eb56b09b8 Another fix for [6537] - make sure that .innerHTML isn't used on non-HTML documents and that we only attempt to use .innerHTML on DOM Elements. John Resig 2009-09-14 23:20:23 +00:00
  • 766635e862 Fixed a bug introduced in SVN rev [6537] that caused XML-based fragment creation to fail, in IE. John Resig 2009-09-14 23:12:06 +00:00
  • 681f4fd3cd jquery event: misc removal Ariel Flesler 2009-09-14 22:58:20 +00:00
  • a273120291 jquery data: closes #5224. Exposing the expando. Ariel Flesler 2009-09-14 22:34:04 +00:00
  • 173c1477ae Added support for .before(), .after(), and .replaceWith() on disconnected DOM nodes. Fixes bug #3940. John Resig 2009-09-14 22:09:42 +00:00
  • bca8225413 jquery event: fixes #4989. blur and focus events now bubble and can be handled using live(). Ariel Flesler 2009-09-14 22:04:22 +00:00
  • f3474c00cd fix for #5198, event memory leak limited to IE only via conditional compilation Brandon Aaron 2009-09-14 21:14:15 +00:00
  • 4a3c4c86c9 fix for #5017 Brandon Aaron 2009-09-14 20:55:40 +00:00
  • b539b6e1d9 remove and detach unit tests were not cleaning up, causing selector tests to fail Brandon Aaron 2009-09-14 20:45:58 +00:00
  • 36ebb4f75e jquery ajax: Misc rename Ariel Flesler 2009-09-14 19:57:49 +00:00
  • 0790989eb6 jquery core: Fixed #5202. Fixing selector generation when a manipulation function receives a jQuery object. Ariel Flesler 2009-09-14 18:03:18 +00:00
  • 66c58e9db6 jquery core: removing the body optimization, as it is then handled by $("TAG"). Ariel Flesler 2009-09-14 17:33:15 +00:00
  • 9e1a955aab jquery core: commenting the new access function. Ariel Flesler 2009-09-11 17:47:40 +00:00
  • d1285504fb jquery core: Closes #5189. Added a generic function to handle getting/setting key-value/setting a hash. Ariel Flesler 2009-09-09 21:14:28 +00:00
  • aadc268abf jquery core: fixes 5187. getElementsByTagName optimization was breaking $('div').live() Ariel Flesler 2009-09-09 16:50:58 +00:00
  • bf230ffb6a jquery core: closes #5186. getElementsByTagName optimization was breaking the selector attribute. Ariel Flesler 2009-09-09 16:33:16 +00:00
  • 9de120e6d7 Added support for .eq(-N), .first(), and .last(). Fixes #2164 and #4188. John Resig 2009-09-09 00:21:21 +00:00
  • 4ea4fad090 Optimize jQuery() for the case $("TAG"). John Resig 2009-09-08 04:26:47 +00:00
  • 1e750a00e9 Use the native Array indexOf method if it exists, for jQuery.inArray. John Resig 2009-09-08 01:45:11 +00:00
  • 96dd06ea50 Removed jQuery.className.(has|remove|add) in favor of .addClass/removeClass/hasClass. Also rewrote the functions for additional performance. John Resig 2009-09-08 01:07:50 +00:00
  • 520f1a2684 Broke the logic for .clean() wrap out into a separate, static, data structure. Also improved the performance of .html() looking for the case where .innerHTML can be used without problems. Also tweaked some cases where cleanData() was used, no need to use jQuery selectors in these cases. John Resig 2009-09-07 20:55:36 +00:00
  • 9d8d74569c Split out the fragment-building code from domManip. Switched core.js to using that instead. Also moved the standalone tag detection to $(...) for performance. John Resig 2009-09-07 18:58:01 +00:00
  • b7d4e0e46c Added an optimization for the case where $("body") is used. John Resig 2009-09-07 17:20:38 +00:00
  • 50d78e7658 Adds nested param serialization; Closes #4201 (by merbjedi) Yehuda Katz 2009-09-02 05:16:21 +00:00
  • 569c8b45c0 Fixed a bug with the isXMLDoc test - also made sure that isXMLDoc was handling the case where documentElement is undefined (which only occurs on HTML documents in IE). John Resig 2009-08-27 20:07:45 +00:00
  • 957cd6fb2a Tweaked the isXMLDoc iframe test case to test the document, not the body element (which doesn't exist in IE). Also made the isXMLDoc code handle cases where elem is null, undefined, etc. John Resig 2009-08-27 19:22:48 +00:00
  • f52c4a3d5f If the XHR object no longer exists assume that the request was aborted. John Resig 2009-08-26 17:39:52 +00:00
  • a64ad8b4e9 Temporarily disabled some tests for Opera 10 - a variety of problems with input elements and selectors exist. John Resig 2009-08-26 16:29:46 +00:00
  • bddd1837bb Moved exposing window.jQuery and window.$ to the end of the jQuery file (helps some compatibility cases with older version of Prototype). Fixes ticket #4834. John Resig 2009-08-10 21:22:31 +00:00
  • d6991fa273 Added support for .closest(filter, DOMElement). Fixes #4072. John Resig 2009-07-28 12:28:59 +00:00
  • 61b18c866c Backing out commit #6507 - causes too many problems. John Resig 2009-07-28 12:22:10 +00:00
  • b7a3b220a8 Fix some missing braces in core.js. John Resig 2009-07-27 20:48:42 +00:00
  • 18a6fbbb6a Added an improvement to quickExpr and some more tests for jQuery('html'). Fixes #4979. John Resig 2009-07-27 20:47:32 +00:00
  • 8c18dcdeb0 Make sure payload is sent for PUT requests. (Thanks alx). Fixes #4971. John Resig 2009-07-27 19:02:40 +00:00
  • 255a293cda Shortened the isXMLDoc code, based upon recommendation from Andrea. John Resig 2009-07-27 13:21:19 +00:00
  • 2cd9ee3510 Added an extra documentElement check to isXMLDoc for IE - and added a number of unit tests for isXMLDoc. Fixes #4833. John Resig 2009-07-27 13:02:41 +00:00
  • cae93c39eb Implemented support for .context limited .closest() calls. Fixes #4072. John Resig 2009-07-25 21:31:59 +00:00
  • 343b0936a4 Fix for animating hyphenated CSS properties. Fixes #4156. John Resig 2009-07-25 20:56:15 +00:00
  • fd0bf5d6ed Fix for #4972. Dreamweaver CS4 crashes on offset module. Thanks mike.helgeson Brandon Aaron 2009-07-25 16:08:18 +00:00
  • 3d8ceaf2f2 revision 6494 accidentally reverted some changes to offset module Brandon Aaron 2009-07-25 16:04:30 +00:00
  • cafd392af0 add scrollTop/Left tests and fix for IE Brandon Aaron 2009-07-24 22:32:53 +00:00
  • cf7a0cfdc1 speed: adding a benchmark() function Ariel Flesler 2009-07-24 01:50:41 +00:00
  • 0d389c066a speed: misc changes to the top comment Ariel Flesler 2009-07-24 00:58:24 +00:00
  • 6a85898d13 speed: committing a failing experiment of concat vs slice Ariel Flesler 2009-07-24 00:57:27 +00:00
  • 26eda09892 Changed .get(-Number) to use .slice() instead of .toArray() (which doesn't take any arguments). Follow-up from commit [6484]. John Resig 2009-07-23 22:38:29 +00:00
  • 9c9dd7cede Fix for incorrect options being selected (noticed same problem with radio/checkbox and fixed it there, as well). Fixes #4962. John Resig 2009-07-23 22:16:29 +00:00
  • 0a6c5205d2 Make sure that at least one argument is provided to .slice(), in accordance with the spec. Fixes jQuery bug #4942. John Resig 2009-07-23 13:22:55 +00:00
  • b964e56946 Optimizing isXMLDoc. John Resig 2009-07-22 17:30:17 +00:00
  • 6fc57be843 Support dynamically loaded copies of jQuery using document ready. Fixes #4889. John Resig 2009-07-22 15:03:23 +00:00
  • fe80b5af45 Make sure that the script is removed only if it's actually in the page still. Fixes #4934. John Resig 2009-07-22 14:38:21 +00:00
  • 4e8f0c935e Completely disable the flaky fx queue test. John Resig 2009-07-21 20:48:29 +00:00
  • 6649ae2903 Exaggerate the times for the localtimeout ajax test. John Resig 2009-07-21 20:24:12 +00:00
  • 66c98419aa Retool the fx test again, making it more apparent which order the queue tests will complete in. John Resig 2009-07-21 20:16:44 +00:00
  • db82262296 Made a tweak to the fx queue test (was randomly failing in its current incarnation). John Resig 2009-07-21 20:06:05 +00:00
  • 7e06b9b70f Tweaked the detach addition in commit [6474]. John Resig 2009-07-21 15:57:51 +00:00
  • 7a67f8897d Adds detach() Yehuda Katz 2009-07-21 09:17:33 +00:00
  • 29ff710c9b Made some syntax tweaks to core.js. John Resig 2009-07-19 19:55:21 +00:00
  • b953c1d50a Saved some references to native methods, instead of re-referencing them on every call. John Resig 2009-07-19 19:50:45 +00:00
  • 03de2cb5e7 Moved some RegExp in core.js, goes toward #4111. John Resig 2009-07-19 19:47:30 +00:00
  • eaca153aea Moved the RegExp in ajax.js out from inline, goes towards ticket #4111. John Resig 2009-07-19 19:44:15 +00:00
  • 5272ed28bc Made a number of syntax tweaks to ajax.js. John Resig 2009-07-19 19:37:11 +00:00
  • fa2d663639 Did some cleaning up of ajax.js and fixed a bug from commit [6457]. John Resig 2009-07-19 19:03:18 +00:00
  • 81985c7878 Fixed a typo with commit [6457]. John Resig 2009-07-19 17:02:01 +00:00
  • 7175b2ffab Removing extraneous closing ). Fix for [6463]. John Resig 2009-07-19 16:21:08 +00:00
  • 627a32cea2 Broke out some of the inline RegExp from css.js. Goes towards fixing #4111. John Resig 2009-07-19 16:13:45 +00:00
  • 4d1f15c351 Fixed various formatting issues in css.js. John Resig 2009-07-19 16:08:17 +00:00
  • f57d93bf18 Move cases of .replace(re, Function) out from inline (to avoid being redeclared on every use). Fixes #4114. John Resig 2009-07-19 15:57:43 +00:00
  • 0ac9898d6b Fixed typo in commit #6461. John Resig 2009-07-19 15:51:00 +00:00
  • 6d23f2fd81 Made more formatting changes to manipulation.js. Also moved all inline RegExp into a top declaration. John Resig 2009-07-19 15:48:30 +00:00
  • ec7fdf3723 Tweaked formatting of src/manipulation.js. John Resig 2009-07-19 15:29:03 +00:00