Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Moved jQuery global leak to end of file so accidental gEBCN overrides in ↵ | Alex Sexton | 2011-01-23 | 2 | -1/+2 |
| | | | | prototype don't get caught up in confusion. Fixed tests to reference jQuery variable instead of $ (best practice). Fixes #8033 | ||||
* | Revised internal implementation of ajaxPrefilter() and ajaxTransport(). ↵ | jaubourg | 2011-01-23 | 1 | -103/+80 |
| | | | | Everything is shorter and more efficient now. Also fixes a couple spacing issues that remained. | ||||
* | More code style fixes. | jaubourg | 2011-01-23 | 3 | -11/+10 |
| | |||||
* | Apply JQuery Core Style Guidelines to ajax.js and ajax/*.js, | jaubourg | 2011-01-23 | 4 | -199/+182 |
| | |||||
* | Fixes some coding style issues in core.js. In jQuery.fn.ready(), simplifies ↵ | jaubourg | 2011-01-23 | 1 | -46/+26 |
| | | | | the whole code (for better backward compatibility) and removes redefinition of the function itself (in order not to clash with proxying). Also, in jQuery.when(), removes unnecessary closure and early rejection test and makes use of then instead of done/fail (better interoperability). | ||||
* | Re-organizes ajax.js: prefilters and transports are no longer stored in ↵ | jaubourg | 2011-01-22 | 1 | -314/+261 |
| | | | | ajaxSettings (their structure is not handled correctly by extend() and was causing some overhead when constructing the final options map in ajax()); base function for ajaxPrefilter and ajaxTransport has been renamed and split in two (one for inspection, one for addition); response/dataType determination and data conversion logics have been externalized from the ajax() internal callback; data conversion no longer sets responseXXX fields; some minor re-formatting and simplifications. | ||||
* | Merge branch '8017lint' of https://github.com/rwldrn/jquery into 8017lint | rwldrn | 2011-01-22 | 1 | -3/+4 |
| | |||||
* | Merge branch 'fix-7398-frameset-docs' of https://github.com/dmethvin/jquery ↵ | jeresig | 2011-01-21 | 1 | -4/+10 |
|\ | | | | | | | into dmethvin-fix-7398-frameset-docs | ||||
| * | Don't do body-related feature tests on frameset docs that have no body. ↵ | Dave Methvin | 2011-01-21 | 1 | -4/+10 |
| | | | | | | | | Fixes #7398. | ||||
* | | Merge branch '8013p' of https://github.com/rwldrn/jquery into rwldrn-8013p | jeresig | 2011-01-21 | 2 | -64/+74 |
|\ \ | |/ |/| | |||||
| * | Cleaned up; fixes per review | rwldrn | 2011-01-20 | 2 | -10/+12 |
| | | |||||
| * | cloneCopyEvent; jQuery.clone() review | rwldrn | 2011-01-20 | 1 | -63/+71 |
| | | |||||
* | | Revert "Make sure that focusin/focusout bubbles in non-IE browsers." This ↵ | jeresig | 2011-01-21 | 1 | -10/+5 |
| | | | | | | | | | | | | | | | | | | | | | | was causing problems with the focusin event, see: #7340. This reverts commit 88068f82c199847d3679b130664dd91cc2e89f00. Conflicts: src/event.js test/unit/event.js | ||||
* | | Replaces "text in-between" technique with a full-fledged one-level ↵ | jaubourg | 2011-01-21 | 1 | -40/+65 |
| | | | | | | | | 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. | ||||
* | | Merge branch 'fix-7853-add-context' of https://github.com/dmethvin/jquery ↵ | John Resig | 2011-01-20 | 1 | -1/+1 |
|\ \ | | | | | | | | | | into dmethvin-fix-7853-add-context | ||||
| * | | By default, use document root rather than current selection's context when ↵ | Dave Methvin | 2010-12-28 | 1 | -1/+1 |
| | | | | | | | | | | | | add()ing elements. Fixes #7853. | ||||
* | | | Merge branch 'master' of https://github.com/scottjehl/jquery into ↵ | John Resig | 2011-01-20 | 1 | -2/+4 |
|\ \ \ | | | | | | | | | | | | | scottjehl-master | ||||
| * | | | Revised the Nokia support fallback. It turns out that Nokia supports the ↵ | scottjehl | 2011-01-19 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | 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. | ||||
| * | | | Merge remote branch 'upstream/master' | scottjehl | 2011-01-19 | 14 | -290/+477 |
| |\ \ \ | |||||
| * | | | | set name to lowercase, since it's passed as initial caps | scottjehl | 2011-01-13 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Merge branch 'master' of https://github.com/jquery/jquery | scottjehl | 2011-01-13 | 18 | -1392/+1220 |
| |\ \ \ \ | |||||
| * | | | | | Getting window dimensions currently fails in Nokia browsers, causing JS ↵ | scottjehl | 2010-12-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | error (and consequently making jQuery Mobile fail to render the page). Based on a tip from Ben Nolan, this fix returns window.screen[width|height] if the other attempts at getting window dimensions fail. On mobile at least, it seems to make sense, and on desktop (assuming this issue would ever show up on desktop), this might be better than returning false or undefined. | ||||
* | | | | | | Moves determineResponse logic into main ajax callback. Puts responseXXX ↵ | jaubourg | 2011-01-20 | 2 | -84/+79 |
| | | | | | | | | | | | | | | | | | | | | | | | | fields definitions into ajaxSettings. | ||||
* | | | | | | Removes misleading comment. | jaubourg | 2011-01-20 | 1 | -1/+0 |
| | | | | | | |||||
* | | | | | | Merge branch 'master' of github.com:jquery/jquery | jeresig | 2011-01-20 | 3 | -48/+47 |
|\ \ \ \ \ \ | |||||
| * \ \ \ \ \ | Merge branch 'master' of github.com:jquery/jquery | jaubourg | 2011-01-20 | 1 | -62/+16 |
| |\ \ \ \ \ \ | |||||
| * | | | | | | | Renames Deferred's fire and fireReject methods as resolveWith and rejectWith ↵ | jaubourg | 2011-01-20 | 2 | -10/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | respectively. | ||||
| * | | | | | | | Renames determineDataType as determineResponse. Makes it more generic as a ↵ | jaubourg | 2011-01-20 | 2 | -27/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | first step into integrating the logic into the main ajax done callback. Also fixes some comments in ajax/xhr.js. | ||||
| * | | | | | | | Revises the way arguments are handled in ajax. | jaubourg | 2011-01-20 | 1 | -7/+6 |
| | | | | | | | | |||||
| * | | | | | | | Makes sure statusCode callbacks are ordered in the same way success and ↵ | jaubourg | 2011-01-20 | 1 | -4/+4 |
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | error callbacks are. Unit tests added. | ||||
* | | | | | | | Bring jQuery('#id') and jQuery('body') logic back into core (while leaving ↵ | jeresig | 2011-01-20 | 1 | -18/+57 |
| |/ / / / / |/| | | | | | | | | | | | | | | | | | it in Sizzle at the same time). Was causing too much of a performance hit to leave it all to Sizzle. | ||||
* | | | | | | Fix typo in regex tweak from previous commit. | jeresig | 2011-01-20 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Move jQuery(...) selector speed-up logic into Sizzle(...) qSA handling. ↵ | jeresig | 2011-01-20 | 1 | -62/+16 |
|/ / / / / | | | | | | | | | | | | | | | | Additionally add in a new catch for Sizzle('.class') (avoid using qSA and use getElementsByClassName instead, where applicable). | ||||
* | | | | | Cleans up and simplifies code shared by ajaxPrefilter and ajaxTransport. ↵ | jaubourg | 2011-01-20 | 3 | -113/+97 |
| | | | | | | | | | | | | | | | | | | | | Removes chainability of ajaxSetup, ajaxPrefilter and ajaxTransport. Also makes sure context is handled properly by ajaxSetup (unit test added). | ||||
* | | | | | Moves things around to make jsLint happier. | jaubourg | 2011-01-19 | 1 | -2/+2 |
| | | | | | |||||
* | | | | | Fixes crossDomain test so that it assumes port to be 80 for http and 443 for ↵ | jaubourg | 2011-01-19 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | https when it is not provided. | ||||
* | | | | | Moves determineDataType into ajaxSettings so that it is accessible to ↵ | jaubourg | 2011-01-19 | 2 | -51/+52 |
| | | | | | | | | | | | | | | | | | | | | 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 ↵ | jaubourg | 2011-01-19 | 1 | -15/+16 |
| | | | | | | | | | | | | | | | | | | | | handling. | ||||
* | | | | | Use undefined instead of 0 to deference transport for clarity. | jaubourg | 2011-01-19 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Removes unnecessary test and ensures getResponseHeader returns null if the ↵ | jaubourg | 2011-01-19 | 1 | -12/+7 |
| | | | | | | | | | | | | | | | | | | | | header does not exist. | ||||
* | | | | | Revised how context is determined and removed unnecessary "parameter as ↵ | jaubourg | 2011-01-19 | 1 | -12/+10 |
| | | | | | | | | | | | | | | | | | | | | variable" trick. | ||||
* | | | | | Moved ajaxSettings.xhr definition together with support.ajax and ↵ | jaubourg | 2011-01-19 | 2 | -161/+173 |
| |_|/ / |/| | | | | | | | | | | | support.cors determination into ajax/xhr.js. | ||||
* | | | | Remove an unused regex and optimize character escape regex usage. | Anton M | 2011-01-19 | 1 | -7/+2 |
| | | | | |||||
* | | | | Merge branch 'chrome-slice-comment' of https://github.com/ajpiano/jquery ↵ | John Resig | 2011-01-18 | 1 | -1/+5 |
|\ \ \ \ | | | | | | | | | | | | | | | | into ajpiano-chrome-slice-comment | ||||
| * | | | | Fix tabs vs spaces in initial workaround commit | adam j. sontag | 2011-01-17 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | shorten the SHA | adam j. sontag | 2011-01-17 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Add link to chrome issue ticket | adam j. sontag | 2011-01-17 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | Add a comment to explain (and enforce the temporary-ness of) an extra line ↵ | adam j. sontag | 2011-01-17 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | of code added to workaround a Chrome 10 bug | ||||
* | | | | | Add another tweak for handling CSP - we need to make sure that we don't ↵ | John Resig | 2011-01-18 | 1 | -1/+10 |
| | | | | | | | | | | | | | | | | | | | | trigger any eval on load (not sure if it's the best tweak, definitely not ideal). Add a test page as well so that it's easier to catch problem. | ||||
* | | | | | Merge branch 'master' of https://github.com/russtacular/jquery into ↵ | John Resig | 2011-01-18 | 1 | -1/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | russtacular-master |