jquery.git
17 years agoChanged border stuff to borderTopWidth (Ticket #9)
John Resig [Sun, 18 Jun 2006 01:23:08 +0000 (01:23 +0000)]
Changed border stuff to borderTopWidth (Ticket #9)

17 years ago$.getCSS (see bug #11)
Gilles van den Hoven [Sat, 17 Jun 2006 09:10:45 +0000 (09:10 +0000)]
$.getCSS (see bug #11)

17 years agoTest commit.
Stefan Petre [Fri, 16 Jun 2006 14:23:33 +0000 (14:23 +0000)]
Test commit.

17 years agoDOMContentLoaded works in Opera 9b2+, so I have it firing for that now too - the...
John Resig [Fri, 16 Jun 2006 04:23:30 +0000 (04:23 +0000)]
DOMContentLoaded works in Opera 9b2+, so I have it firing for that now too - the means that there is a DOM Ready solution for every major browser! (Older version of Opera simply fallback to window.onload)

17 years agoAdded onSuccess and onError callbacks for the $.xml() function.
John Resig [Fri, 16 Jun 2006 02:43:04 +0000 (02:43 +0000)]
Added onSuccess and onError callbacks for the $.xml() function.

17 years agoFixed not being able to set the disabled value of an element using .attr(). Ticket #8
John Resig [Fri, 16 Jun 2006 02:25:10 +0000 (02:25 +0000)]
Fixed not being able to set the disabled value of an element using .attr(). Ticket #8

17 years agoFixed issues with @* and @foo selectors. Ticket #2
John Resig [Fri, 16 Jun 2006 02:18:04 +0000 (02:18 +0000)]
Fixed issues with @* and @foo selectors. Ticket #2

17 years agoIE is now forced layout if it doesn't have it (such that opacity now works as expecte...
John Resig [Fri, 16 Jun 2006 02:01:39 +0000 (02:01 +0000)]
IE is now forced layout if it doesn't have it (such that opacity now works as expected). (Ticket #4).

17 years agoAdded Klaus' fix for accidental DOM node catches (Ticket #3).
John Resig [Fri, 16 Jun 2006 01:51:15 +0000 (01:51 +0000)]
Added Klaus' fix for accidental DOM node catches (Ticket #3).

17 years agoYou can now append and prepend into a table that doesn't have a tbody.
John Resig [Fri, 16 Jun 2006 00:45:02 +0000 (00:45 +0000)]
You can now append and prepend into a table that doesn't have a tbody.

17 years agoIt's now possible to add <td>s and <th>s to a table, using only HTML.
John Resig [Fri, 16 Jun 2006 00:33:55 +0000 (00:33 +0000)]
It's now possible to add <td>s and <th>s to a table, using only HTML.

17 years agoRemoved recent cssText addition, doesn't work as expected.
John Resig [Fri, 16 Jun 2006 00:22:00 +0000 (00:22 +0000)]
Removed recent cssText addition, doesn't work as expected.

17 years agoAdded some of the fixes discussed over at Dean's blog, concerning DOM Ready.
John Resig [Fri, 16 Jun 2006 00:19:47 +0000 (00:19 +0000)]
Added some of the fixes discussed over at Dean's blog, concerning DOM Ready.

17 years agoChanged the window.location hack to be more specific (and documented).
John Resig [Fri, 16 Jun 2006 00:18:15 +0000 (00:18 +0000)]
Changed the window.location hack to be more specific (and documented).

17 years ago$.css() now accounts for borders in addition to padding when calculating the height...
John Resig [Fri, 16 Jun 2006 00:09:51 +0000 (00:09 +0000)]
$.css() now accounts for borders in addition to padding when calculating the height/width of an element.

17 years agoAdded checks for the box model.
John Resig [Fri, 16 Jun 2006 00:05:56 +0000 (00:05 +0000)]
Added checks for the box model.

17 years agoFake trigger events now get passed through $.event.fix() first, to give them an extra...
John Resig [Fri, 16 Jun 2006 00:02:54 +0000 (00:02 +0000)]
Fake trigger events now get passed through $.event.fix() first, to give them an extra layer of authenticity.

17 years agochanged ID selector code
Gilles van den Hoven [Thu, 15 Jun 2006 10:02:37 +0000 (10:02 +0000)]
changed ID selector code

17 years agoFX Queueing added. Effects no longer mess up causing weird results.
John Resig [Thu, 15 Jun 2006 04:48:52 +0000 (04:48 +0000)]
FX Queueing added. Effects no longer mess up causing weird results.

17 years agoCleaned up the fx() function and fixed the height/width 'auto' bug.
John Resig [Thu, 15 Jun 2006 03:11:35 +0000 (03:11 +0000)]
Cleaned up the fx() function and fixed the height/width 'auto' bug.

17 years agoFixed height/width issues that happend due to the box model, in $.css().
John Resig [Thu, 15 Jun 2006 02:27:18 +0000 (02:27 +0000)]
Fixed height/width issues that happend due to the box model, in $.css().

17 years agoAdding in the brand new, working, IE DOM Ready code. Plus I made it such that if...
John Resig [Wed, 14 Jun 2006 20:05:06 +0000 (20:05 +0000)]
Adding in the brand new, working, IE DOM Ready code. Plus I made it such that if you bind a ready() function after the DOM has loaded, it will fire the function instantly.

17 years agoReverted back a $.tag change.
John Resig [Wed, 14 Jun 2006 17:31:09 +0000 (17:31 +0000)]
Reverted back a $.tag change.

17 years agoAdded in some revised DOM Ready code, I've removed all the kludgey stuff. I'd prefer...
John Resig [Tue, 13 Jun 2006 04:12:06 +0000 (04:12 +0000)]
Added in some revised DOM Ready code, I've removed all the kludgey stuff. I'd prefer to have predictable, slow, code that unpredictable fast code.

17 years agoAdded Mike Alsup's style/cssText fix and made a quick typeof change.
John Resig [Tue, 13 Jun 2006 04:09:56 +0000 (04:09 +0000)]
Added Mike Alsup's style/cssText fix and made a quick typeof change.

17 years agoFixed appending rows to a table.
John Resig [Tue, 13 Jun 2006 02:20:15 +0000 (02:20 +0000)]
Fixed appending rows to a table.

17 years agoAdded UNIX build script.
John Resig [Sun, 11 Jun 2006 21:24:14 +0000 (21:24 +0000)]
Added UNIX build script.

17 years agoI've completely resolved the known issues with document ready. I use the known DOM...
John Resig [Sun, 11 Jun 2006 18:59:45 +0000 (18:59 +0000)]
I've completely resolved the known issues with document ready. I use the known DOM ready functions that Mozilla and IE provides. For Opera and Safari I fall back to the original hack, but ignore it, and fall back to window.onload, if there are scripts embedded in the DOM.

17 years agoFixed another bug with retreiving elements by ID.
John Resig [Sun, 11 Jun 2006 18:27:31 +0000 (18:27 +0000)]
Fixed another bug with retreiving elements by ID.

17 years agoFixed an issue with #id expression parsing, an issue with formatting, and removed...
John Resig [Sun, 11 Jun 2006 18:12:46 +0000 (18:12 +0000)]
Fixed an issue with #id expression parsing, an issue with formatting, and removed the try{} block from around event firings.

17 years agoFound the bug that was killing slideUp/slideDown.
John Resig [Sun, 11 Jun 2006 01:16:36 +0000 (01:16 +0000)]
Found the bug that was killing slideUp/slideDown.

17 years agoRemoving test file from previous commit
Michael Geary [Sat, 10 Jun 2006 19:05:14 +0000 (19:05 +0000)]
Removing test file from previous commit

17 years agoTest commit to see if it works from geary.jquery.com
Michael Geary [Sat, 10 Jun 2006 19:04:08 +0000 (19:04 +0000)]
Test commit to see if it works from geary.jquery.com

17 years agochanged $.execute back to eval()
Gilles van den Hoven [Fri, 9 Jun 2006 15:36:06 +0000 (15:36 +0000)]
changed $.execute back to eval()

17 years agoBAT file to build the jquery SVN into 1 file, for easy debugging.
Gilles van den Hoven [Fri, 9 Jun 2006 15:31:09 +0000 (15:31 +0000)]
BAT file to build the jquery SVN into 1 file, for easy debugging.

17 years agoremoved $.fn.changer by Marc's request and changed back the responseText in $.xml
Gilles van den Hoven [Fri, 9 Jun 2006 14:49:09 +0000 (14:49 +0000)]
removed $.fn.changer by Marc's request and changed back the responseText in $.xml

17 years agoBugs fixxed:
Gilles van den Hoven [Thu, 8 Jun 2006 17:31:57 +0000 (17:31 +0000)]
Bugs fixxed:
- I've renamed $.eval to $.execute (since $.$$exec is allready there?)
- Commited sam's form function
- Removed $.fn.formValues()
- Removed $.fn.update()
- Removed $.fn.serialize()

17 years agoname == id bug, second attempt
Gilles van den Hoven [Tue, 6 Jun 2006 12:51:44 +0000 (12:51 +0000)]
name == id bug, second attempt

17 years agoRemoved unnecessary instances of === or !==.
John Resig [Mon, 5 Jun 2006 16:19:03 +0000 (16:19 +0000)]
Removed unnecessary instances of === or !==.

17 years ago$.eval bug ==> added ==> || ""
Gilles van den Hoven [Sat, 3 Jun 2006 13:49:25 +0000 (13:49 +0000)]
$.eval bug ==> added ==> || ""

17 years agolittle bug in $.fx.fadeTo
Gilles van den Hoven [Sat, 3 Jun 2006 12:48:19 +0000 (12:48 +0000)]
little bug in $.fx.fadeTo

17 years agoSome errors in the formvalues() function
Gilles van den Hoven [Fri, 2 Jun 2006 14:27:25 +0000 (14:27 +0000)]
Some errors in the formvalues() function

17 years ago(no commit message)
Gilles van den Hoven [Thu, 1 Jun 2006 16:40:37 +0000 (16:40 +0000)]

17 years agosee mailinglist
Gilles van den Hoven [Wed, 31 May 2006 16:29:43 +0000 (16:29 +0000)]
see mailinglist

17 years ago$.fn.formValues;
Gilles van den Hoven [Wed, 31 May 2006 11:14:21 +0000 (11:14 +0000)]
$.fn.formValues;
Gets form values and creates a key=>value array of the found values.

What's new?
- Only does this for ENABLED elements.
- Keeps the same order of the form.
- Optionally adds the button which is clicked (marks that name with an 'x' in the list)

example: $('#frmLogin').formValues('oButton');

$.fn.update (PREVIOUSLY: $.update, so beware!!!!)
Calls sURL with sAction (method) and sends the aValues. Puts the results from that call in the jQuery object and calls fCallback if provided.

What's new?
- Renamed $.update to $.fn.update, since it is more obvious to call $('someJQueryObject').update(...) then $.update($('someJQueryObject'), ...). It's also more jQuery-ish
- Added the method you want to use, since i used post before, now you can select between either GET or POST.

example: $('someJQueryObject').update('sURL', 'sAction', 'aValues', 'fCallback');

$.fn.serialize
Calls the form's action with the correct method and the serialized values. Optionally adds the button which is clicked if you provide it. When there are results, the fCallback function is called.

What's new?
- The entire function

example: $('someForm').serialize('sButton', 'fCallback');

17 years ago-----
Gilles van den Hoven [Sat, 27 May 2006 10:18:18 +0000 (10:18 +0000)]
-----
fx.js
-----
added: $.fn.fadeTo
Also changed ' fx.Opacity ' function so $.fn.fadeTo works. For this i changed one line, and one parameter in $.fx.Opactity:
"o.io = o.now = 1;"
became:
"o.io = o.now = (sv || o.cur());"

e.g. if there is a start value use it. Else, the current value is used. All calls to "$.fx.Opactiy" which where present in the code have now "1" as third parameter so the code doesn't break.

---------
jquery.js
---------
Changed line 401 to fix ' name="id" ' bug:
'#': "a.id == m[2]"
to:
'#': "a.getAttribute('id') == m[2]"

17 years agoRewrote $.xml a bit, cause the loading message got stuck (didn't hide) after fast...
Gilles van den Hoven [Sat, 20 May 2006 09:46:41 +0000 (09:46 +0000)]
Rewrote $.xml a bit, cause the loading message got stuck (didn't hide) after fast ajax calls

17 years agoMade sure that $.event.handle() always has some form of an event object.
John Resig [Wed, 17 May 2006 18:48:23 +0000 (18:48 +0000)]
Made sure that $.event.handle() always has some form of an event object.

17 years agoFixed bug with $.attr(), it was attempting to set attribute even if you're attempting...
John Resig [Wed, 17 May 2006 18:46:51 +0000 (18:46 +0000)]
Fixed bug with $.attr(), it was attempting to set attribute even if you're attempting to access a value. This was due to the !== null fix.

17 years agoFixed some bugs in the serialization code, it seems to work now.
John Resig [Wed, 17 May 2006 18:04:46 +0000 (18:04 +0000)]
Fixed some bugs in the serialization code, it seems to work now.

17 years agoFixxed the form serialize function as seen on the mailing list.
Gilles van den Hoven [Wed, 17 May 2006 16:01:19 +0000 (16:01 +0000)]
Fixxed the form serialize function as seen on the mailing list.

17 years agoAdded some final global variable tweaks - no more namespace leaking!
John Resig [Wed, 17 May 2006 03:55:50 +0000 (03:55 +0000)]
Added some final global variable tweaks - no more namespace leaking!

17 years agoNot only does it pass the default JSLint settings, it also no longer leaks *any*...
John Resig [Wed, 17 May 2006 02:42:03 +0000 (02:42 +0000)]
Not only does it pass the default JSLint settings, it also no longer leaks *any* global variables!

17 years agoFixed two quick bugs from the JSLint overhaul.
John Resig [Tue, 16 May 2006 22:32:15 +0000 (22:32 +0000)]
Fixed two quick bugs from the JSLint overhaul.

17 years agojQuery is now JSLint (jslint.com) compatible, save for the eval stuff. Can't there b
John Resig [Tue, 16 May 2006 22:15:05 +0000 (22:15 +0000)]
jQuery is now JSLint (jslint.com) compatible, save for the eval stuff. Can't there b
e legitamite uses for eval?

17 years agoforgot to remove the old serialize function
Gilles van den Hoven [Tue, 16 May 2006 16:21:20 +0000 (16:21 +0000)]
forgot to remove the old serialize function

17 years agoAdded my bugfixes and removed the triggerAjax and handleAjax functions since they...
Gilles van den Hoven [Tue, 16 May 2006 16:18:52 +0000 (16:18 +0000)]
Added my bugfixes and removed the triggerAjax and handleAjax functions since they are no longer needed afaik :)

18 years agoSafari has problems with throw? Commented out for now...
John Resig [Fri, 12 May 2006 16:52:18 +0000 (16:52 +0000)]
Safari has problems with throw? Commented out for now...

18 years agoQuick test.
Gilles van den Hoven [Thu, 11 May 2006 05:50:06 +0000 (05:50 +0000)]
Quick test.

18 years agoAieeeeee!! removeClass bug fixed. I'm so dumb.
John Resig [Tue, 2 May 2006 19:03:07 +0000 (19:03 +0000)]
Aieeeeee!! removeClass bug fixed. I'm so dumb.

18 years agoUpdated licensing info.
John Resig [Sat, 22 Apr 2006 06:24:10 +0000 (06:24 +0000)]
Updated licensing info.

18 years agoExtra spaces weren't being removed with removeClass - but I haven't found a good...
John Resig [Mon, 10 Apr 2006 06:09:16 +0000 (06:09 +0000)]
Extra spaces weren't being removed with removeClass - but I haven't found a good workaround yet.

18 years agoMade it so that the height/width auto is only called when 'show' is executed.
John Resig [Mon, 10 Apr 2006 06:03:28 +0000 (06:03 +0000)]
Made it so that the height/width auto is only called when 'show' is executed.

18 years agoStarted work on new attr plugin - will provide a ton of accessors for common styles...
John Resig [Sun, 9 Apr 2006 04:04:52 +0000 (04:04 +0000)]
Started work on new attr plugin - will provide a ton of accessors for common styles and attributes.

18 years ago$().css("foo") now returns the value of $.css("foo") instead of setting to null.
John Resig [Sun, 9 Apr 2006 04:03:36 +0000 (04:03 +0000)]
$().css("foo") now returns the value of $.css("foo") instead of setting to null.

18 years agoAdded fix to stop height/width of auto from occurring when only opacity was being...
John Resig [Sat, 8 Apr 2006 06:34:04 +0000 (06:34 +0000)]
Added fix to stop height/width of auto from occurring when only opacity was being modified.

18 years agoAdded in handling for DOMContentLoaded for Mozilla and window.onload, just in case.
John Resig [Sat, 8 Apr 2006 06:28:40 +0000 (06:28 +0000)]
Added in handling for DOMContentLoaded for Mozilla and window.onload, just in case.

18 years agoUpdated core code to mirror what's in the web version of latest.
John Resig [Thu, 6 Apr 2006 05:37:08 +0000 (05:37 +0000)]
Updated core code to mirror what's in the web version of latest.

18 years agoAdded Ian Eure's (atomized.org) Drag and Drop code to the repository, for further...
John Resig [Mon, 27 Mar 2006 07:19:25 +0000 (07:19 +0000)]
Added Ian Eure's (atomized.org) Drag and Drop code to the repository, for further testing.

18 years agoAdded Ian Eure's (atomized.org) Drag and Drop code to the repository, for further...
John Resig [Mon, 27 Mar 2006 07:19:23 +0000 (07:19 +0000)]
Added Ian Eure's (atomized.org) Drag and Drop code to the repository, for further testing.

18 years agoAdded checks to triggerEvent for optional data and element verification. Uses $.apply...
John Resig [Mon, 27 Mar 2006 07:09:28 +0000 (07:09 +0000)]
Added checks to triggerEvent for optional data and element verification. Uses $.apply() now, too.

18 years agoAdded support for global AJAX callbacks and Form Serialization.
John Resig [Mon, 27 Mar 2006 07:08:32 +0000 (07:08 +0000)]
Added support for global AJAX callbacks and Form Serialization.

18 years agoFixed a bug with append and Prototype 1.5 (via Audun).
John Resig [Thu, 23 Mar 2006 22:29:02 +0000 (22:29 +0000)]
Fixed a bug with append and Prototype 1.5 (via Audun).

18 years agoFixed more formatting/tab problems.
John Resig [Thu, 23 Mar 2006 21:13:20 +0000 (21:13 +0000)]
Fixed more formatting/tab problems.

18 years agoI've begun the long process of fixing the messed up tab/spaces.
John Resig [Thu, 23 Mar 2006 20:55:47 +0000 (20:55 +0000)]
I've begun the long process of fixing the messed up tab/spaces.

18 years agoAdded new parents, parent and siblings functions.
John Resig [Wed, 22 Mar 2006 21:01:00 +0000 (21:01 +0000)]
Added new parents, parent and siblings functions.
Siblings function still needs some work.
It would be nice to have an optional -or-self argument too.

18 years agoAdded svn:keywords to jQuery core.
John Resig [Wed, 22 Mar 2006 19:52:26 +0000 (19:52 +0000)]
Added svn:keywords to jQuery core.

18 years agoAdded versioning info into the jQuery core.
John Resig [Wed, 22 Mar 2006 19:49:50 +0000 (19:49 +0000)]
Added versioning info into the jQuery core.

18 years agoAnd again for the core JS file.
John Resig [Wed, 22 Mar 2006 16:16:06 +0000 (16:16 +0000)]
And again for the core JS file.

18 years agoRenamed the jQuery Core to simply jquery.
John Resig [Wed, 22 Mar 2006 16:15:42 +0000 (16:15 +0000)]
Renamed the jQuery Core to simply jquery.

18 years agoNuked the browse directory - has been moved to web.
John Resig [Wed, 22 Mar 2006 16:08:59 +0000 (16:08 +0000)]
Nuked the browse directory - has been moved to web.

18 years agoAdded brief comment.
John Resig [Wed, 22 Mar 2006 03:36:03 +0000 (03:36 +0000)]
Added brief comment.

18 years agoInital Import.
John Resig [Wed, 22 Mar 2006 03:33:07 +0000 (03:33 +0000)]
Inital Import.