aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix #10478. Replace jQuery.isNaN with jQuery.isNumeric.Dave Methvin2011-10-111-2/+2
| | | | Thanks to Christian C. Salvadó for the unit tests!
* Landing pull request 331. Add support for registering jQuery as an AMD ↵jrburke2011-09-191-0/+14
|\ | | | | | | | | | | | | | | module. Fixes #7102. More Details: - https://github.com/jquery/jquery/pull/331 - http://bugs.jquery.com/ticket/7102
| * Add support for registering jQuery as an AMD module. Only does so if the AMD ↵jrburke2011-04-161-0/+14
| | | | | | | | loader indicates it has special allowances for multiple versions of jQuery being loaded in a page.
* | Add sparse array performance improvement for inArray. Thanks rwaldron, ↵timmywil2011-09-191-1/+2
| | | | | | | | rkatic, and jdalton
* | Fix inArray for positive start indicestimmywil2011-09-191-1/+1
| |
* | Allow second argument to be passed to array.indexOf. Fixes #9453.timmywil2011-09-191-10/+13
| |
* | $.Callbacks, $.Topic and notify/progress on $.Deferred.jaubourg2011-09-191-3/+3
| |
* | Revert "Begrudgingly adds chrome detection to jQuery.browser (1.7). Fixes #9385"timmywil2011-08-261-3/+1
| | | | | | | | This reverts commit dd93d0eb32dc638ff3319792a885acd6d3c25c30.
* | Merge pull request #445 from rwldrn/9897Dave Methvin2011-08-251-4/+9
|\ \ | | | | | | Fixes #9897. Wrap obj.constructor test in try/catch to avoid problems with host objects. Thanks to bkrausz.
| * | Wrap obj.constructor test in try/catch. Thanks to bkrausz. Fixes #9897Rick Waldron2011-07-251-4/+9
| | |
* | | Merge pull request #465 from anton-ryzhov/masterDave Methvin2011-08-251-0/+3
|\ \ \ | | | | | | | | Fixes #10076. $.inArray crashes IE6 and Chrome if second argument is `null` or `undefined` (Thanks anton-ryzhov!)
| * | | Unit test for this caseAnton Ryzhov2011-08-171-2/+1
| | | | | | | | | | | | | | | | Codestyle fixes
| * | | $.inArray doesn't crush IE6 and Chrome if second argument is `null` or ↵Anton Ryzhov2011-08-171-0/+4
| | | | | | | | | | | | | | | | `undefined`
* | | | Prioritize #id over <tag> to avoid XSS via location.hash (#9521)Dave Methvin2011-08-231-2/+2
| | | |
* | | | Landing pull request 463. Fixes #9572. Don't camelize the `-ms-` prefix ↵dmethvin2011-08-171-3/+4
|/ / / | | | | | | | | | | | | | | | | | | | | | because Microsoft didn't. A Fixes #9572. More Details: - https://github.com/jquery/jquery/pull/463 - http://bugs.jquery.com/ticket/9572
* | | Improves support for arbitrary numbers in data keys. Fixes #9318Rick Waldron2011-08-051-2/+2
| | |
* | | Merge pull request #417 from rwldrn/9385Dave Methvin2011-08-041-1/+3
|\ \ \ | |/ / |/| | Begrudgingly adds chrome detection to jQuery.browser (1.7). Fixes #9385
| * | Begrudgingly adds chrome detection to jQuery.browser (1.7). Fixes #9385rwldrn2011-06-201-1/+3
| | |
* | | Fixes #9255: xml parsing error in $.parseXML is now properly detected for ↵jaubourg2011-07-231-15/+14
|/ / | | | | | | all browsers. Unit test added.
* | Landing pull request 378. Comment typo in core.js.Schalk Neethling2011-06-141-1/+1
| | | | | | | | | | More Details: - https://github.com/jquery/jquery/pull/378
* | Landing pull request 410. Moves jQuery attachment comment to outro.Greg Hazel2011-06-141-1/+0
| | | | | | | | | | More Details: - https://github.com/jquery/jquery/pull/410
* | Landing pull request 383. Relocating jQuery.camelCase to core; Fixes #9368.rwldrn2011-05-251-0/+14
| | | | | | | | | | | | More Details: - https://github.com/jquery/jquery/pull/383 - http://bugs.jquery.com/ticket/9368
* | Check for #8984 wasn't strong enough, enhanced.John Resig2011-05-021-1/+1
| |
* | Make sure that empty nodelists continue to map properly. Fixes #8993.John Resig2011-05-021-1/+1
| |
* | Change check for skipping the initial quickExpr RegExp check. Fixes #8984.John Resig2011-05-021-2/+3
| |
* | Landing pull request 332. Appending disconnected radio or checkbox inputs ↵timmywil2011-04-211-1/+1
| | | | | | | | | | | | | | | | | | and keeping checked setting Fixes #8060, #8500. More Details: - https://github.com/jquery/jquery/pull/332 - http://bugs.jquery.com/ticket/8060 - http://bugs.jquery.com/ticket/8500
* | Remove unnecessary usage of Function.prototype.bind (#7783) but maintain ↵John Resig2011-04-171-31/+9
|/ | | | API. Also fix bug with proxy failing when a name is provided. Fixes #8893.
* Merge branch 'master' of https://github.com/jclain/jquery into jclain-masterJohn Resig2011-04-121-2/+4
|\
| * fix to follow current source styleJephte CLAIN2010-11-221-1/+3
| |
| * Return control of $ and jQuery only if it is really necessary. This makeJephte CLAIN2010-10-191-2/+2
| | | | | | | | jQuery.noConflict() callable anytime.
* | Merge branch 'Sub_Naming' of https://github.com/timmywil/jquery into ↵John Resig2011-04-121-18/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | timmywil-Sub_Naming Conflicts: src/core.js src/css.js src/event.js
| * | Changed $.sub internals to match sub naming, added some more spacing in some ↵Timmy Willison2011-02-061-18/+18
| | | | | | | | | | | | areas for readability
* | | Merge branch 'bug_4366' of https://github.com/jboesch/jquery into ↵jeresig2011-04-121-2/+5
|\ \ \ | | | | | | | | | | | | jboesch-bug_4366
| * | | Bug 4366; removing extra spaceJordan Boesch2011-03-301-1/+1
| | | |
| * | | Bug 4366; fixing $.each(document.styleSheets) from throwing errors in IEJordan Boesch2011-03-301-2/+5
| | | |
* | | | Merge branch 'proxy-native-bind' of https://github.com/gf3/jquery into ↵jeresig2011-04-101-19/+40
|\ \ \ \ | | | | | | | | | | | | | | | gf3-proxy-native-bind
| * | | | added: Backcompatibility with old proxy syntax.Gianni Chiappetta2011-01-211-0/+6
| | | | |
| * | | | Merge branch 'master' into proxy-native-bindGianni Chiappetta2011-01-211-79/+266
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (194 commits) Revert "Make sure that focusin/focusout bubbles in non-IE browsers." This was causing problems with the focusin event, see: #7340. Replaces "text in-between" technique with a full-fledged one-level transitive search for converters (unit tests added). Also cleans up auto dataType determination and adds converter checks in order to guess the best dataType possible. Moves determineResponse logic into main ajax callback. Puts responseXXX fields definitions into ajaxSettings. Removes misleading comment. Bring jQuery('#id') and jQuery('body') logic back into core (while leaving it in Sizzle at the same time). Was causing too much of a performance hit to leave it all to Sizzle. Renames Deferred's fire and fireReject methods as resolveWith and rejectWith respectively. Fix typo in regex tweak from previous commit. Renames determineDataType as determineResponse. Makes it more generic as a first step into integrating the logic into the main ajax done callback. Also fixes some comments in ajax/xhr.js. Move jQuery(...) selector speed-up logic into Sizzle(...) qSA handling. Additionally add in a new catch for Sizzle('.class') (avoid using qSA and use getElementsByClassName instead, where applicable). Revises the way arguments are handled in ajax. Makes sure statusCode callbacks are ordered in the same way success and error callbacks are. Unit tests added. Cleans up and simplifies code shared by ajaxPrefilter and ajaxTransport. Removes chainability of ajaxSetup, ajaxPrefilter and ajaxTransport. Also makes sure context is handled properly by ajaxSetup (unit test added). Rework unit tests to check actual result elements. Moves active counter test after all other ajax tests where it should be. Revised the Nokia support fallback. It turns out that Nokia supports the documentElement property but does not define document.compatMode. Adding this third fallback allows Nokia to run jQuery error-free and return proper values for window width and height. Moves things around to make jsLint happier. Fixes crossDomain test so that it assumes port to be 80 for http and 443 for https when it is not provided. Moves determineDataType into ajaxSettings so that it is accessible to transports without the need for a second argument and so that we can now pass the original options to the transport instead. Also ensures the original options are actually propagated to prefilters (they were not). Re-adds hastily removed variable and simplifies statusCode based callbacks handling. Use undefined instead of 0 to deference transport for clarity. ... Conflicts: src/event.js
| * | | | | Perf. improvement based on fearphage's suggestion (direct vs call vs apply).Gianni Chiappetta2010-12-181-1/+5
| | | | | |
| * | | | | Add a quick test to $.support for native bind.Gianni Chiappetta2010-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | As per the suggestion by ajpiano: https://github.com/gf3/jquery/commit/9f8cd6c499844451468257140e71f611abb3a040#commitcomment-218658
| * | | | | Fixing $.proxy to work like (and use) Function.prototype.bind (ticket #7783)Gianni Chiappetta2010-12-141-19/+30
| | | | | | | | | | | | | | | | | | | | | | | | http://bugs.jquery.com/ticket/7783
* | | | | | Merge branch 'map-object.1.6' of https://github.com/danheberden/jquery into ↵jeresig2011-04-101-6/+21
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | danheberden-map-object.1.6
| * | | | | | Add missing var declaration forDan Heberden2011-04-051-1/+1
| | | | | | |
| * | | | | | Improve speed of $.map with object support (-5% previous speed) and improve ↵Dan Heberden2011-04-041-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | .length detection
| * | | | | | Clean up tab spacingDan Heberden2011-03-211-4/+4
| | | | | | |
| * | | | | | jQuery.map to iterate over objects with a .length propertyDan Heberden2011-03-211-20/+20
| | | | | | |
| * | | | | | jQuery.map to conform with style guidelines - improved size/DRY codeDan Heberden2011-03-211-15/+17
| | | | | | |
| * | | | | | Merge branch 'bug_2616' of https://github.com/jboesch/jquery into map-object.1.6Dan Heberden2011-03-211-8/+22
| |\ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | * 'bug_2616' of https://github.com/jboesch/jquery: Bug 2616; Adding object support to jQuery.map
| | * | | | | Bug 2616; Adding object support to jQuery.mapJordan Boesch2011-02-271-8/+22
| | | | | | |
* | | | | | | Merge branch '2773_find_closest' of https://github.com/timmywil/jquery into ↵jeresig2011-04-101-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | timmywil-2773_find_closest Conflicts: test/unit/traversing.js