aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
Commit message (Collapse)AuthorAgeFilesLines
* jquery core: SHOULD fix #2802. Caching document.defaultView, instead of ↵Ariel Flesler2008-05-151-8/+7
| | | | defaultView.getComputedStyle as it fails on Safari 2.
* jquery dimensions & offset: moving the local function 'num' to core, so it ↵Ariel Flesler2008-05-151-0/+5
| | | | can be safely used by both modules.
* jquery core: closes #1480, isFunction is even tougher.Ariel Flesler2008-05-141-1/+1
|
* jquery core: fixed deep extend of objects. Closes #1562 & #2820.Ariel Flesler2008-05-141-2/+5
|
* Closes #2510Ariel Flesler2008-05-131-6/+6
|
* jquery: removing unnecessary trailing and leading spaces & tabs.Ariel Flesler2008-05-131-84/+84
|
* jquery core: don't let .attr() set style for xml.Ariel Flesler2008-05-131-1/+1
|
* jquery core: #2548, #2170, #2188, #2099, #1170, #2558, #2521, #2119, #1271, ↵Ariel Flesler2008-05-131-61/+63
| | | | | | | | | | | | | | | #2453, #2537. mass refactoring of $.attr (#2548) * Changes - undefined was returned for falsy values. - expando attributes are used when possible. - one $.isXmlDoc instead of 2. - $.attr( style, ... ) goes thru less useless checks. - reduced code size of recurrent accessed variables/checks. - $.props doesn't need redundant sets of key value anymore. - added cellSpacing to $.props (#2521)
* jquery core: Applied #1318 to jQuery.grepAriel Flesler2008-05-121-1/+1
|
* jquery core: declared undefined locally, to speed up references, and allow ↵Ariel Flesler2008-05-111-1/+4
| | | | munging all their names.
* jquery core: closes #2811, $.fn.add now calls $.unique internally, also it ↵Ariel Flesler2008-05-081-5/+5
| | | | was failing for array-like f.e: window.
* jquery core: closes #2771Ariel Flesler2008-05-081-7/+6
| | | | | | $.inArray now makes a === check because of IE. $.inArray is used in $.fn.index, this is shorter, and breaks the loop when possible. $.fn.index can receive a jquery object, and the first element is used
* jquery core: Reverting the changes added at [5480]Ariel Flesler2008-05-071-2/+2
|
* jquery core: makeArray was parsing forms into array of elements.Ariel Flesler2008-05-061-5/+5
|
* jquery core: removing needless 'else' and 'new' in $.fn.init.Ariel Flesler2008-05-061-13/+8
|
* jquery core: enhancements to jquery.map, closes #2803Ariel Flesler2008-05-061-7/+3
|
* jquery core: small code reduction.Ariel Flesler2008-05-061-3/+3
|
* jquery core: code reduction at $.each and $.curCSS.Ariel Flesler2008-05-061-19/+21
|
* core: Fixed #2605: .data() now accepts null as a value.Scott González2008-05-031-3/+3
|
* core: Fixed #2605: .data() now accepts null as a value.Scott González2008-05-031-1/+1
|
* core: Fixed #2600: jQuery.extend no longer skips over null properties.Scott González2008-05-021-1/+1
|
* jquery core: extend() now supports deep + extending jquery itselfAriel Flesler2008-04-301-7/+9
| | | | cached some vars and it proved to be faster.
* mainly made the code shorter:Ariel Flesler2008-04-291-25/+21
| | | | | | | | | | | - removed some needless if's - replace multiple "var x" for one, comma separated declaration. - added a local fn called now() for the (new Date)s - fixed the indentation of a block, and a typo in a comment. - used fn instead of prototype where possible - jquery fx: exposed the speeds hash as jQuery.fx.speeds. Also fixed (again) line endings
* jquery core: in $.makeArray, improved array-like detection, Safari reports ↵Ariel Flesler2008-04-291-1/+1
| | | | nodelists as 'function', so I got back to attribute sniffing.
* jquery core: fixed makeArray to recognize the window (has length)Ariel Flesler2008-04-251-4/+6
| | | | test runner: updated the tests for makeArray
* jquery core: simplified the code using the new jQuery.makeArray from [5314] ↵Ariel Flesler2008-04-241-11/+2
| | | | where possible.
* jquery core: Patch from #2619 applied, making makeArray more flexible and ↵Jörn Zaefferer2008-04-241-6/+7
| | | | faster; removed hint to ticket from (previously failing) test
* Small optimization to jQuery.curCSS (thanks Ariel Flesler)Brandon Aaron2008-04-211-7/+10
|
* $.extend deep now copies children's children, ect...Sean Catchpole2008-04-081-1/+1
|
* Fixed issue with typeof check - "array" isn't a valid type.John Resig2008-02-171-1/+1
|
* Landed a fix for bug #2037.John Resig2008-02-061-3/+3
|
* You can now overwrite values returned from .data() with .bind("getData") - ↵John Resig2008-02-031-7/+10
| | | | returning a value will override any bound value on that element.
* Tweaked the .data() event triggering - it now triggers a single 'setData' ↵John Resig2008-02-031-2/+4
| | | | event, passing in a key value pair of what was changed.
* Added $().data(), $().removeData(), and .bind("click!"). .data() and ↵John Resig2008-02-031-0/+20
| | | | .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).
* Updated the years on the licensing.John Resig2008-02-011-1/+1
|
* De-eval'd selectors and the various DOM methods (will marginally help our ↵John Resig2008-01-261-16/+9
| | | | speed and make us more compatible with projects like Caja and Adobe AIR). Left a selector eval in for backwards compatibility support of selector plugins.
* Fix #2184 by using the jQuery.clean() function instead of a direct innerHTML ↵David Serduke2008-01-231-4/+2
| | | | assignment in the clone() function for IE.
* Changing end of line from CRLF to just LF like the rest of the source files.David Serduke2008-01-141-1350/+1350
|
* Added support for breaking in an object loop (Bug #2111).John Resig2008-01-141-6/+8
|
* Added a check to make sure that .style exists before trying to access it ↵John Resig2008-01-141-1/+1
| | | | (Bug #2105).
* reverted change for #2114Jörn Zaefferer2008-01-141-2/+2
|
* fix for #2114; refactored tests for bind() to highlight failing ↵Jörn Zaefferer2008-01-141-1348/+1348
| | | | select-change-test
* Tweaked comment for isFunction.John Resig2008-01-121-2/+1
|
* Fixed #2084 by added embed to the list of elements where it is ok to have ↵David Serduke2007-12-211-1/+1
| | | | self closing xhtml.
* Fixed a couple problems found in the test suite. First, IE doesn't like it ↵David Serduke2007-12-201-0/+2
| | | | when text nodes were trying to duplicate their events in clone, so don't do text nodes (that shouldn't have events anyway). Also the fx module was freezing from a recent update that wasn't quite finished.
* Fixed #2027 - make sure that cloned elements (within appendTo, etc.) have ↵John Resig2007-12-201-1/+1
| | | | their events cloned by default.
* Insure width/height do not return a negative number.Brandon Aaron2007-12-191-1/+1
|
* Fixed #2076 where .val() could return an array instead of undefined when the ↵David Serduke2007-12-181-0/+1
| | | | jquery object was empty. The bug was created during the .val() refactoring for the javascript strict FF ticket.
* width and height methods are now working properlyBrandon Aaron2007-12-181-7/+13
|
* Fixed #2070 by adding a test for !nodeType to isArrayLike so DOM elements ↵David Serduke2007-12-171-4/+2
| | | | like SELECT are not considered array-like (even though they really are).