jquery.git
15 years agoRemoved all uses of @ in the benchmarker and added a couple :not() tests.
John Resig [Tue, 6 Jan 2009 20:23:44 +0000 (20:23 +0000)]
Removed all uses of @ in the benchmarker and added a couple :not() tests.

15 years agoCleaned up the benchmarking utility (using a newer version of jQuery and fixing the...
John Resig [Tue, 6 Jan 2009 16:19:55 +0000 (16:19 +0000)]
Cleaned up the benchmarking utility (using a newer version of jQuery and fixing the runner).

15 years agoMade the .unqiue() within .find() optional (speeds up calls).
John Resig [Tue, 6 Jan 2009 16:17:50 +0000 (16:17 +0000)]
Made the .unqiue() within .find() optional (speeds up calls).

15 years agoTagging the 1.3b2 release.
John Resig [Mon, 5 Jan 2009 23:33:56 +0000 (23:33 +0000)]
Tagging the 1.3b2 release.

15 years agojquery selector: Replacing {0,1} for ? in a regex.
Ariel Flesler [Mon, 5 Jan 2009 23:19:58 +0000 (23:19 +0000)]
jquery selector: Replacing {0,1} for ? in a regex.

15 years agoDisabled an extra event binding.
John Resig [Mon, 5 Jan 2009 23:06:57 +0000 (23:06 +0000)]
Disabled an extra event binding.

15 years agoSwitched back to the old style of running embedded scripts (users who have duplicate...
John Resig [Mon, 5 Jan 2009 22:58:02 +0000 (22:58 +0000)]
Switched back to the old style of running embedded scripts (users who have duplicate runs will
have to deal with it another way).

15 years agoTimeout test appears to be flaky - disabling, for now.
John Resig [Mon, 5 Jan 2009 22:14:26 +0000 (22:14 +0000)]
Timeout test appears to be flaky - disabling, for now.

15 years agoThe timeout test was waiting for 10 seconds - unnecessary, lowered it to 1 second.
John Resig [Mon, 5 Jan 2009 22:05:59 +0000 (22:05 +0000)]
The timeout test was waiting for 10 seconds - unnecessary, lowered it to 1 second.

15 years agoOops, order of operations.
John Resig [Mon, 5 Jan 2009 22:02:20 +0000 (22:02 +0000)]
Oops, order of operations.

15 years agoBrought in a fix from Sizzle - IE doesn't have .contains on XML elements.
John Resig [Mon, 5 Jan 2009 21:59:07 +0000 (21:59 +0000)]
Brought in a fix from Sizzle - IE doesn't have .contains on XML elements.

15 years agoSimplified the XML clone test.
John Resig [Mon, 5 Jan 2009 21:56:35 +0000 (21:56 +0000)]
Simplified the XML clone test.

15 years agoSimplified the XML selector test (save the result).
John Resig [Mon, 5 Jan 2009 21:04:15 +0000 (21:04 +0000)]
Simplified the XML selector test (save the result).

15 years agoFixed an issue with how broken selector tests were handled in IE (the exception was...
John Resig [Mon, 5 Jan 2009 20:43:58 +0000 (20:43 +0000)]
Fixed an issue with how broken selector tests were handled in IE (the exception was misdirected).

15 years agoThe triggered flag was being set too early, which was preventing bubbling form workin...
John Resig [Mon, 5 Jan 2009 20:43:24 +0000 (20:43 +0000)]
The triggered flag was being set too early, which was preventing bubbling form working when a
native event existed.

15 years agoMake sure that if no ownerDocument is available that we fall back to the node itself...
John Resig [Mon, 5 Jan 2009 19:22:25 +0000 (19:22 +0000)]
Make sure that if no ownerDocument is available that we fall back to the node itself (likely the document).

15 years agoLanded cross-browser support for tabIndex, by Scott, closes ticket #3649.
John Resig [Mon, 5 Jan 2009 17:34:42 +0000 (17:34 +0000)]
Landed cross-browser support for tabIndex, by Scott, closes ticket #3649.

15 years agojquery event: Removed a needless if (old code)
Ariel Flesler [Mon, 5 Jan 2009 13:31:21 +0000 (13:31 +0000)]
jquery event: Removed a needless if (old code)

15 years agojquery intro: looks nicer when built
Ariel Flesler [Mon, 5 Jan 2009 12:09:04 +0000 (12:09 +0000)]
jquery intro: looks nicer when built

15 years agojquery fx: Shortening the code additions on [6037].
Ariel Flesler [Mon, 5 Jan 2009 12:05:38 +0000 (12:05 +0000)]
jquery fx: Shortening the code additions on [6037].

15 years agoMerging from Sizzle (fixed a bug when querySelectorAll is used.
John Resig [Mon, 5 Jan 2009 02:45:20 +0000 (02:45 +0000)]
Merging from Sizzle (fixed a bug when querySelectorAll is used.

15 years agoForgot to merge in some of the new tests from Sizzle.
John Resig [Mon, 5 Jan 2009 01:24:14 +0000 (01:24 +0000)]
Forgot to merge in some of the new tests from Sizzle.

15 years agoMade hide, show, toggle, slideUp, slideDown, and slideToggle animate margins and...
John Resig [Mon, 5 Jan 2009 01:14:36 +0000 (01:14 +0000)]
Made hide, show, toggle, slideUp, slideDown, and slideToggle animate margins and paddings in addition to height, width, and opacity (results in a much-smoother animation).

15 years agoAccidentally left in an extra echo statement in the Makefile.
John Resig [Mon, 5 Jan 2009 00:34:40 +0000 (00:34 +0000)]
Accidentally left in an extra echo statement in the Makefile.

15 years agoSynced with the Sizzle repository.
John Resig [Mon, 5 Jan 2009 00:21:13 +0000 (00:21 +0000)]
Synced with the Sizzle repository.

15 years ago.live("div div") was failing due to the extra space in the selector (which conflicted...
John Resig [Sun, 4 Jan 2009 23:58:43 +0000 (23:58 +0000)]
.live("div div") was failing due to the extra space in the selector (which conflicted with multiple event binding in .bind).

15 years agoMoved the copyright to the intro file, added a ! so that it passes through YUIMin...
John Resig [Sun, 4 Jan 2009 23:34:18 +0000 (23:34 +0000)]
Moved the copyright to the intro file, added a ! so that it passes through YUIMin untouched, and changed the Date and Revision so that they're now generated automatically based upon all of jQuery rather than just the core file.

15 years agojquery event: event.stopImmediatePropagation() stops live handlers as well.
Ariel Flesler [Sun, 4 Jan 2009 22:32:18 +0000 (22:32 +0000)]
jquery event: event.stopImmediatePropagation() stops live handlers as well.

15 years agojquery core: Misc file size optimizations.
Ariel Flesler [Sun, 4 Jan 2009 22:25:46 +0000 (22:25 +0000)]
jquery core: Misc file size optimizations.

15 years agojquery ajax: File size optimization for compressed code.
Ariel Flesler [Sun, 4 Jan 2009 21:15:02 +0000 (21:15 +0000)]
jquery ajax: File size optimization for compressed code.

15 years agojquery core: Allowing whitespaces within the [6026] addition.
Ariel Flesler [Sun, 4 Jan 2009 21:09:03 +0000 (21:09 +0000)]
jquery core: Allowing whitespaces within the [6026] addition.

15 years agoChanged build.xml to use YUICompressor, fixes #3779.
John Resig [Sun, 4 Jan 2009 17:21:00 +0000 (17:21 +0000)]
Changed build.xml to use YUICompressor, fixes #3779.

15 years agoMoved from the old JSMin to using YUIMin for compressing the jQuery source. Additiona...
John Resig [Sun, 4 Jan 2009 15:29:27 +0000 (15:29 +0000)]
Moved from the old JSMin to using YUIMin for compressing the jQuery source. Additionally landed some improvements from #3770 which dramatically reduce the filesize. The final minifed + gzipped size of jQuery went from 19817 bytes to 18063 bytes.

15 years agoLanded a proper fix for #3255 - which involves doing createElement instead of going...
John Resig [Sat, 3 Jan 2009 00:51:07 +0000 (00:51 +0000)]
Landed a proper fix for #3255 - which involves doing createElement instead of going through the normal clean method.

15 years agoHid an issue where Safari through an exception when a colgroup was created in jQuery...
John Resig [Sat, 3 Jan 2009 00:19:02 +0000 (00:19 +0000)]
Hid an issue where Safari through an exception when a colgroup was created in jQuery.clean. Not completely sure what the cause is, yet.

15 years agojquery event: Misc, removed a commented line from last commit.
Ariel Flesler [Fri, 2 Jan 2009 23:44:06 +0000 (23:44 +0000)]
jquery event: Misc, removed a commented line from last commit.

15 years agoFixed an issue that was introduced by [5743] (which didn't have a test case, either...
John Resig [Fri, 2 Jan 2009 23:32:10 +0000 (23:32 +0000)]
Fixed an issue that was introduced by [5743] (which didn't have a test case, either - that has been resolved). This fixed #3739.

15 years agojquery event: Now using an internal argument to detect if bubbling on $.event.trigger...
Ariel Flesler [Fri, 2 Jan 2009 23:07:16 +0000 (23:07 +0000)]
jquery event: Now using an internal argument to detect if bubbling on $.event.trigger. The other would fail when it receives an event object with target. Also, the target isn't nulled anymore.
In addition, there was a lot of code running O(n) during bubbling while not needed.

15 years agojquery event: closes #3772. The extra function on $.event.trigger isn't supported...
Ariel Flesler [Fri, 2 Jan 2009 22:23:52 +0000 (22:23 +0000)]
jquery event: closes #3772. The extra function on $.event.trigger isn't supported anymore.

15 years agoDisabled testing of em-defined borders, need to look back into this issue.
John Resig [Fri, 2 Jan 2009 19:25:54 +0000 (19:25 +0000)]
Disabled testing of em-defined borders, need to look back into this issue.

15 years agoThe exact escaping of the text() test isn't important - as long as < is escaped.
John Resig [Fri, 2 Jan 2009 19:23:12 +0000 (19:23 +0000)]
The exact escaping of the text() test isn't important - as long as < is escaped.

15 years agoFixed an issue with .not("#foo, bar") not working correctly, closes #3757.
John Resig [Wed, 31 Dec 2008 19:21:24 +0000 (19:21 +0000)]
Fixed an issue with .not("#foo, bar") not working correctly, closes #3757.

15 years agojquery event: event.timeStamp wasn't being created when passing just the type to...
Ariel Flesler [Wed, 31 Dec 2008 03:36:51 +0000 (03:36 +0000)]
jquery event: event.timeStamp wasn't being created when passing just the type to the constructor.
Misc: Simplified the readyList execution code.

15 years agojquery event:
Ariel Flesler [Wed, 31 Dec 2008 02:58:13 +0000 (02:58 +0000)]
jquery event:
* event objects have isDefaultPrevented, isPropagationStopped and isImmediatePropagationStopped methods.
* Removed donative and dohandlers from $.trigger
* event.result carries the last returned data from a handler(not undefined).
* $.trigger doesn't keep bubbling if stopPropagation() is called.
* Same event object is used all along for global trigger
* Fixed the bug where target doesn't change when triggering on many elements.
* The data array on $.trigger was accumulating objects as it bubbles.
testrunner: adding more tests

15 years agojquery event: removed the argument dohandlers from $.trigger. Uses another approach.
Ariel Flesler [Tue, 30 Dec 2008 23:29:14 +0000 (23:29 +0000)]
jquery event: removed the argument dohandlers from $.trigger. Uses another approach.

15 years agobuild: Closes #3760. Adding the data module to the build file. Thanks Cloudream.
Ariel Flesler [Tue, 30 Dec 2008 22:05:45 +0000 (22:05 +0000)]
build: Closes #3760. Adding the data module to the build file. Thanks Cloudream.

15 years agoMade sure that return false works in .live() along with the event object being passed...
John Resig [Tue, 30 Dec 2008 20:45:33 +0000 (20:45 +0000)]
Made sure that return false works in .live() along with the event object being passed in as the first argument.

15 years agojquery data: Fixed a weird patch merging issue from [6011]
Ariel Flesler [Tue, 30 Dec 2008 02:43:14 +0000 (02:43 +0000)]
jquery data: Fixed a weird patch merging issue from [6011]

15 years agojquery data: Oops.. forgot to commit the new data module. This is part of [6010].
Ariel Flesler [Tue, 30 Dec 2008 02:40:04 +0000 (02:40 +0000)]
jquery data: Oops.. forgot to commit the new data module. This is part of [6010].

15 years agojquery data: Closes #3539. Exposed jQuery.queue. Moved all the data and queue functio...
Ariel Flesler [Tue, 30 Dec 2008 02:31:26 +0000 (02:31 +0000)]
jquery data: Closes #3539. Exposed jQuery.queue. Moved all the data and queue functions to their own module. Made the dequeue function more generic(designed to be used on functions). Closes #3748. Reverted a previous modification.

15 years agojquery support: Closes #3758, fixes a memory leak on IE. Thanks Choan Galvez.
Ariel Flesler [Mon, 29 Dec 2008 22:05:02 +0000 (22:05 +0000)]
jquery support: Closes #3758, fixes a memory leak on IE. Thanks Choan Galvez.

15 years agojquery event: jQuery.Event can be instantiated without the 'new' keyword.
Ariel Flesler [Mon, 29 Dec 2008 21:57:29 +0000 (21:57 +0000)]
jquery event: jQuery.Event can be instantiated without the 'new' keyword.

15 years agojquery core: Removed an orphaned line. Thanks mose.
Ariel Flesler [Sat, 27 Dec 2008 18:21:54 +0000 (18:21 +0000)]
jquery core: Removed an orphaned line. Thanks mose.

15 years agojquery core: Fixed a global var leak introduced by me on a recent commit.
Ariel Flesler [Fri, 26 Dec 2008 15:48:04 +0000 (15:48 +0000)]
jquery core: Fixed a global var leak introduced by me on a recent commit.

15 years agojquery event: Closes #3662. Adds a jQuery.Event class. Makes trigger and fix simpler...
Ariel Flesler [Thu, 25 Dec 2008 21:44:54 +0000 (21:44 +0000)]
jquery event: Closes #3662. Adds a jQuery.Event class. Makes trigger and fix simpler. Adds currentTarget attribute to event objects. Event object isn't passed as part of data.

15 years agojquery core: Closes #3737. Fixed a possible null dereference.
Ariel Flesler [Thu, 25 Dec 2008 21:20:41 +0000 (21:20 +0000)]
jquery core: Closes #3737. Fixed a possible null dereference.

15 years agojquery selector: Removed a needless line (related to [5992]).
Ariel Flesler [Thu, 25 Dec 2008 21:09:08 +0000 (21:09 +0000)]
jquery selector: Removed a needless line (related to [5992]).

15 years agojquery fx: Fixed redundant code
Ariel Flesler [Thu, 25 Dec 2008 21:00:08 +0000 (21:00 +0000)]
jquery fx: Fixed redundant code

15 years agojquery fx: Closes #3219. jQuery.fn.toggle can accept a boolean argument indicating...
Ariel Flesler [Thu, 25 Dec 2008 20:13:42 +0000 (20:13 +0000)]
jquery fx: Closes #3219. jQuery.fn.toggle can accept a boolean argument indicating show/hide.

15 years agojquery core: Closes #1681. jQuery.fn.toggleClass can accept a boolean argument indica...
Ariel Flesler [Thu, 25 Dec 2008 20:12:18 +0000 (20:12 +0000)]
jquery core: Closes #1681. jQuery.fn.toggleClass can accept a boolean argument indicating add/remove.

15 years agojquery core: Closes #3255. The div used in jQuery.clean is emptied in the end. Cleani...
Ariel Flesler [Thu, 25 Dec 2008 19:47:56 +0000 (19:47 +0000)]
jquery core: Closes #3255. The div used in jQuery.clean is emptied in the end. Cleaning the parentNode's properties of the elements.

15 years agojquery core: Closes #3641. jQuery.merge stopped looping once a 0 was found.
Ariel Flesler [Thu, 25 Dec 2008 19:25:30 +0000 (19:25 +0000)]
jquery core: Closes #3641. jQuery.merge stopped looping once a 0 was found.

15 years agojquery core: Closes #3666. Removed old code.
Ariel Flesler [Thu, 25 Dec 2008 17:37:58 +0000 (17:37 +0000)]
jquery core: Closes #3666. Removed old code.

15 years agoBumped the version number to 1.3b2pre.
John Resig [Mon, 22 Dec 2008 17:34:34 +0000 (17:34 +0000)]
Bumped the version number to 1.3b2pre.

15 years agoTagging the 1.3b1 release.
John Resig [Mon, 22 Dec 2008 17:31:22 +0000 (17:31 +0000)]
Tagging the 1.3b1 release.

15 years agoSynced with Sizzle codebase (which removed the use of the caching code).
John Resig [Mon, 22 Dec 2008 16:41:14 +0000 (16:41 +0000)]
Synced with Sizzle codebase (which removed the use of the caching code).

15 years agoDisabled native event triggering (and, thus, bubbling) for global events.
John Resig [Mon, 22 Dec 2008 14:47:34 +0000 (14:47 +0000)]
Disabled native event triggering (and, thus, bubbling) for global events.

15 years agoAdded a new liveQuery/event delegation hybrid method: .live and .die. Easily adapts...
John Resig [Mon, 22 Dec 2008 04:59:34 +0000 (04:59 +0000)]
Added a new liveQuery/event delegation hybrid method: .live and .die. Easily adapts event delegation to the jQuery style. $("div").live("click", fn); $("div > #foo").live("submit", fn); $("div").die("click");

15 years agoMade sure that the correct event.taget is being used in event bubbling.
John Resig [Mon, 22 Dec 2008 02:02:05 +0000 (02:02 +0000)]
Made sure that the correct event.taget is being used in event bubbling.

15 years agoAdded support for bubbling triggered events.
John Resig [Mon, 22 Dec 2008 01:57:06 +0000 (01:57 +0000)]
Added support for bubbling triggered events.

15 years agoAdded support for the new .closest() method (very useful for event delegation).
John Resig [Mon, 22 Dec 2008 00:52:53 +0000 (00:52 +0000)]
Added support for the new .closest() method (very useful for event delegation).

15 years agoOops, forgot to commit support.js.
John Resig [Sun, 21 Dec 2008 23:06:42 +0000 (23:06 +0000)]
Oops, forgot to commit support.js.

15 years agoAdded the new jQuery.support object and removed all uses of jQuery.browser from withi...
John Resig [Sun, 21 Dec 2008 21:22:44 +0000 (21:22 +0000)]
Added the new jQuery.support object and removed all uses of jQuery.browser from within jQuery itself (while simultaneously deprecating the use of jQuery.browser).

15 years agoFixed an issue with domManip where the incorrect document was being used to create...
John Resig [Sun, 21 Dec 2008 21:18:40 +0000 (21:18 +0000)]
Fixed an issue with domManip where the incorrect document was being used to create the document fragment.

15 years agoSyncing Sizzle codebase.
John Resig [Sat, 20 Dec 2008 22:45:11 +0000 (22:45 +0000)]
Syncing Sizzle codebase.

15 years agoAdded a missing semicolon.
John Resig [Sat, 20 Dec 2008 14:39:36 +0000 (14:39 +0000)]
Added a missing semicolon.

15 years agoLanding the new Sizzle selector engine. There'll need to be some later tweaks (to...
John Resig [Sat, 20 Dec 2008 01:19:17 +0000 (01:19 +0000)]
Landing the new Sizzle selector engine. There'll need to be some later tweaks (to make the tests a little more pragmatic - especially for document order elements). But it appears to be passing well and that's enough. Closes #3563.

15 years agoRewrote the hide and show methods to fix the issue with Safari not hiding distached...
John Resig [Fri, 19 Dec 2008 18:21:12 +0000 (18:21 +0000)]
Rewrote the hide and show methods to fix the issue with Safari not hiding distached elements. Fixed #1239, #2233, #3038, #3343, #3395. They're also faster now, as well.

15 years agoFixed an issue with domManip where the incorrect clone fragments were being used...
John Resig [Fri, 19 Dec 2008 06:58:18 +0000 (06:58 +0000)]
Fixed an issue with domManip where the incorrect clone fragments were being used for elements.

15 years agoFixed a problem with multi-namespaced events not targetting the correct functions...
John Resig [Fri, 19 Dec 2008 06:49:44 +0000 (06:49 +0000)]
Fixed a problem with multi-namespaced events not targetting the correct functions for execution.

15 years agoFixed an issue with how .data() was expecting output (trigger now returns exact outpu...
John Resig [Fri, 19 Dec 2008 06:49:03 +0000 (06:49 +0000)]
Fixed an issue with how .data() was expecting output (trigger now returns exact output - or null if none is provided, which was tripping it up).

15 years agoFixed line-ending issue.
John Resig [Fri, 19 Dec 2008 05:43:37 +0000 (05:43 +0000)]
Fixed line-ending issue.

15 years agoTweaked mis-numbered makeArray test.
John Resig [Fri, 19 Dec 2008 05:42:15 +0000 (05:42 +0000)]
Tweaked mis-numbered makeArray test.

15 years agoSwitched to using DOM Fragments in domManip.
John Resig [Fri, 19 Dec 2008 04:37:54 +0000 (04:37 +0000)]
Switched to using DOM Fragments in domManip.

15 years agoAdded selector path logging (creates a trail that plugins can use).
John Resig [Fri, 19 Dec 2008 04:37:10 +0000 (04:37 +0000)]
Added selector path logging (creates a trail that plugins can use).

15 years agoRemoving remaining strict-mode warnings.
John Resig [Fri, 19 Dec 2008 04:36:28 +0000 (04:36 +0000)]
Removing remaining strict-mode warnings.

15 years agoAdded support for multiple-namespaced events (in bind, trigger, and unbind).
John Resig [Fri, 19 Dec 2008 04:34:12 +0000 (04:34 +0000)]
Added support for multiple-namespaced events (in bind, trigger, and unbind).

15 years agoSimplifying the DOM ready code, no longer attempting to handle stylesheet loading...
John Resig [Fri, 19 Dec 2008 04:29:48 +0000 (04:29 +0000)]
Simplifying the DOM ready code, no longer attempting to handle stylesheet loading. Closes #2614.

15 years agocore: cleanup of build - build.js isn't used anywhere
Jörn Zaefferer [Thu, 18 Dec 2008 16:43:39 +0000 (16:43 +0000)]
core: cleanup of build - build.js isn't used anywhere

15 years agotestrunner: re adding the test for a function within isFunction.
Ariel Flesler [Tue, 16 Dec 2008 00:05:04 +0000 (00:05 +0000)]
testrunner: re adding the test for a function within isFunction.

15 years agotestrunner: adding tests for $.fn.hasClass.
Ariel Flesler [Tue, 16 Dec 2008 00:02:17 +0000 (00:02 +0000)]
testrunner: adding tests for $.fn.hasClass.

15 years agoIE doesn't care for boolean checks of .createElement - reverted back to using typeof...
John Resig [Sat, 29 Nov 2008 01:14:02 +0000 (01:14 +0000)]
IE doesn't care for boolean checks of .createElement - reverted back to using typeof instead.

15 years agoMade a mistake in the patch for #3618, landing fix.
John Resig [Tue, 18 Nov 2008 06:00:34 +0000 (06:00 +0000)]
Made a mistake in the patch for #3618, landing fix.

15 years agoThe code for handling Ajax timeouts was broken (the abort was being called too early...
John Resig [Tue, 18 Nov 2008 04:53:34 +0000 (04:53 +0000)]
The code for handling Ajax timeouts was broken (the abort was being called too early). Fixing this allows the test suite to work again.

15 years agoStandardized the type checks across core. isFunction and isArray now use Object.proto...
John Resig [Mon, 17 Nov 2008 16:32:05 +0000 (16:32 +0000)]
Standardized the type checks across core. isFunction and isArray now use Object.prototype.toString to verify the type, .constructor use was removed in favor of typeof, typeof checks now use ===, undefined checks use === undefined. All of this is outlined in the new style guidelines: docs.jquery.com/JQuery_Core_Style_Guidelines#Type_Checks. Fixes bug #3618.

15 years agoLanding fixes for tickets #2935 and #2688 (Aborting ajax doesn't stop the setInterval...
John Resig [Fri, 14 Nov 2008 04:16:00 +0000 (04:16 +0000)]
Landing fixes for tickets #2935 and #2688 (Aborting ajax doesn't stop the setInterval, ajaxStop event isn't getting triggered).

15 years agofix the long standing 2px offset issue in QuirksMode in IE
Brandon Aaron [Thu, 13 Nov 2008 02:35:02 +0000 (02:35 +0000)]
fix the long standing 2px offset issue in QuirksMode in IE

15 years agoLanded the patch, by Diego, that 1) Removes browser sniffing from the ready code...
John Resig [Wed, 12 Nov 2008 13:18:47 +0000 (13:18 +0000)]
Landed the patch, by Diego, that 1) Removes browser sniffing from the ready code and 2) Provides some form of fallback DOM Ready for Iframes in IE. Closes #2614.

15 years agonew offset method, faster and no more browser detection
Brandon Aaron [Mon, 10 Nov 2008 02:39:03 +0000 (02:39 +0000)]
new offset method, faster and no more browser detection

16 years agocore: height() method wasn't working reliably in Opera - rather than returning the...
Paul Bakaus [Fri, 7 Nov 2008 15:44:33 +0000 (15:44 +0000)]
core: height() method wasn't working reliably in Opera - rather than returning the actual client height when called on window, it returned the document's height through document.body.clientHeight. The right value to work with is html.clientHeight