aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Switch to using String.prototype.trim from String.trim as it's more-widely ↵jeresig2010-03-111-2/+3
| | | | available.
* Landing a faster trim method. Based upon the work by Travis Hardiman and ↵jeresig2010-03-091-4/+23
| | | | DBJDBJ. More details here: http://forum.jquery.com/topic/faster-jquery-trim Fixes #2279, #4452, and #4835.
* More changes to get jQuery in line with JSLint.jeresig2010-03-011-4/+6
|
* Land some additional tweaks related to running through JSLint.jeresig2010-03-011-6/+6
|
* Made some code tweaks related to running jQuery through JSLint (thanks to ↵jeresig2010-03-011-1/+1
| | | | Lorin Larson for the JSLint run).
* If .attr() is run on no elements undefined should be returned (as should be ↵jeresig2010-02-131-1/+1
| | | | the case when no attribute is found). Fixes #6012.
* Make sure leading whitespace is trimmed for parseJSON. Fixes #6031.jeresig2010-02-131-0/+3
|
* Remove the need for the internal setArray method, it was only really used by ↵jeresig2010-02-131-13/+8
| | | | pushStack anyway. Fixes #6003.
* The context for 'body' should still be document, in this case.jeresig2010-01-291-1/+2
|
* Landing some minor perf optimization to jQuery().jeresig2010-01-281-4/+12
|
* Optimize for the case where a fragment-bound element is being injected into ↵jeresig2010-01-281-0/+2
| | | | one other element.
* Make empty strings (and other non-string values) simply return null from ↵jeresig2010-01-231-10/+9
| | | | parseJSON. Also added some parseJSON tests. Fixes #5859.
* Expose the JSON parsing logic. Fixes #5914.jeresig2010-01-231-0/+22
|
* Centralize the logic for throwing exceptions. Fixes #5913.jeresig2010-01-231-0/+4
|
* Simplification of uaMatch, based upon the patch by Ben Alman.Ben Alman2010-01-231-17/+6
|
* The inArray declaration was accidentally duplicated.John Resig2010-01-151-6/+0
|
* Fixed typo in logic, also disabled function setters in this case to allow ↵jeresig2010-01-121-1/+1
| | | | the functions to passthrough and bind.
* browser version detection revised for opera >= 10, which was reporting ↵Paul Irish2010-01-121-2/+2
| | | | itself as 9.8 due to their new policy
* fixed typo in commentsNeeraj Singh2010-01-121-1/+1
|
* A first pass at making sure that all the setter function arguments receive ↵jeresig2010-01-061-1/+1
| | | | the index of the element and a relevant value to work with. Fixes #5763.
* Make sure to do a deep copy on arrays. #5750Filipe Fortes2010-01-071-4/+4
|
* Merging in jQuery.proxy() branch.jeresig2010-01-051-0/+31
|\
| * Added in jQuery.proxy(obj, name), like the method described in Secrets of ↵jeresig2009-12-311-7/+18
| | | | | | | | the JavaScript Ninja and in Dojo's Hitch, and added in some unit tests.
| * Moved jQuery.proxy() into core.jeresig2009-12-311-0/+20
| |
* | Rewrite of jQuery.browser to become engine-centric, rather than ↵jeresig2010-01-051-10/+38
| | | | | | | | browser-centric. Also attempt to determine the engine version in a smarter fashion, less prone to error. Finally, enhanced the test suite with 255 useragent strings from http://user-agent-string.info/download for testing. jQuery.browser.safari is now deprecated, use jQuery.browser.webkit instead.
* | Rather than declaring empty anonymous functions all around, introduce and ↵jeresig2009-12-311-0/+2
|/ | | | use a single empty function. Thanks to Matt Kruse for the suggestion.
* Standardize on using double-quotes for string literals.jeresig2009-12-211-1/+1
|
* Made a number of spacing changes to bring the code more-inline with the ↵jeresig2009-12-211-4/+7
| | | | jQuery Core Style Guideline.
* The constructor check for isPlainObject was redundant, everything still ↵jeresig2009-12-181-1/+1
| | | | passes without it.
* Added additional checks for DOM nodes and window to isPlainObject, IE 8 was ↵jeresig2009-12-181-1/+2
| | | | still letting those pass through. Fixes #5669.
* Disabled the passthrough .attr(method_name) functionality. You can now use ↵jeresig2009-12-181-4/+10
| | | | it if you do: .attr({method_name: value}, true) OR as an easy initialization method: jQuery('<div/>', {html: '...', id: 'test'}).
* Made isPlainObject() supporting null, undefined, and window values on IE ↵Robert Katic2009-12-191-4/+6
| | | | too. Also added some related tests. Fixes #5669.
* Revert the changes from 65ebf57c1e5d7fa96536b66d4fcacbafad8dc1e5, they were ↵jeresig2009-12-171-7/+2
| | | | ineffectual against IE's insanity: http://ejohn.org/files/bugs/fragment/ Used a different tactic instead (just don't return a fragment from .parent()). Fixes #5638.
* Moved readyList check.jeresig2009-12-161-2/+2
|
* Retooled the arguments.callee-related changes in ↵jeresig2009-12-161-29/+48
| | | | 98ce35d52b17a033822f31d8a36232222d0d365e to avoid re-declarations where possible.
* Make sure that dynamically-created elements don't have a parent. Fixes #5638.John Resig2009-12-101-2/+7
|
* Moved some methods around inbetween core.js and traversing.js. Core methods ↵John Resig2009-12-101-19/+29
| | | | shouldn't rely upon other modules (e.g. the selector engine) wherever possible.
* Made some minor formatting changes to the access function.John Resig2009-12-101-10/+9
|
* Rewrote .merge() (faster and less obtuse now). Fixed #5610.John Resig2009-12-091-14/+11
|
* Fix up whitespace and a couple of glitches.Yehuda Katz2009-12-091-3/+3
|
* Switched jQuery() to represent jQuery([]) instead of jQuery(document).John Resig2009-12-091-3/+1
|
* Clarified the use of jQuery.browser and enforced jQuery.browser.firefox ↵John Resig2009-12-091-4/+3
| | | | matching Firefox, after the discussion in 17791c9a3e8a88e129a6956e7053b964d7b34778.
* Make sure that document ready events, inside a document ready, are added to ↵John Resig2009-12-091-1/+1
| | | | the queue rather than executing immediately. Fixes #5261.
* Added in jQuery.browser.firefox, deprecated jQuery.browser.mozilla.John Resig2009-12-081-2/+5
|
* Get browser version rather than rendering engine version.Dave Methvin2009-12-091-2/+2
| | | | | | Don't recognize Chrome as Safari. See results of different userAgent strings here: http://spreadsheets.google.com/ccc?key=0Aj5JJFjq9rZDdHdxXzRLVnY0SzFpRTBOUDc4VmhzRVE
* Removed uses of arguments.callee from jQuery.John Resig2009-12-071-7/+9
|
* Moved .ready() to core.js from event.js.John Resig2009-12-071-0/+123
|
* Added an extra function check to prevent crashes in Safari 2. Fixes #3039.John Resig2009-12-061-1/+3
|
* Use the isXML function from Sizzle.John Resig2009-12-061-8/+0
|
* Merge branch 'master' of git@github.com:jquery/jqueryJohn Resig2009-12-061-1/+1
|\