Commit Graph

562 Commits

Author SHA1 Message Date
Richard Gibson
9338a69e30 No ticket: Reduce size in anticipation of Sizzle-free builds
(cherry picked from commit dbf3056b25)
2013-02-22 16:36:39 -05:00
Pascal Borreli
85ee87b444 Fixes typos in core.js and css.js. Closes gh-1175 2013-02-21 12:00:51 -05:00
Dave Methvin
451d0c37d9 Fix comment about Safari shortfalls. 2013-01-29 16:56:32 -05:00
Dave Methvin
aa3c92979a Revert "Fix #13291, no longer need the functionish-regex guard."
Turns out this is still needed by Safari 5.1, which we're still supporting.

This reverts commit c4b1da4007.
2013-01-29 14:40:30 -05:00
Richard Gibson
64b55f0b79 Fix #13315 for IE9: compare typeof xmlNode.method to var instead of literal "undefined" for safer uglification
(cherry picked from commit ec9b38a34f)
2013-01-27 10:04:09 -05:00
Dave Methvin
c4b1da4007 Fix #13291, no longer need the functionish-regex guard. 2013-01-26 20:31:37 -05:00
Oleg
dbf4926e31 Consistently clean up after .ready() handler, close gh-1135. 2013-01-20 18:20:53 -05:00
Oleg
c9bf5c5e90 Bring back jQuery.buildFragment and remove jQuery.clean 2013-01-08 02:41:15 +00:00
Rick Waldron
3746bf8feb Explanations for each step of isPlainObject
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-26 13:34:38 -05:00
Rick Waldron
7e3f96cf3f obj === Object(obj) comparison is an unnecessary artifact from refactoring
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-26 13:34:38 -05:00
Rick Waldron
dcf94a58c7 Ensure that null/undefined args don't choke on native indexOf
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-26 13:34:38 -05:00
Rick Waldron
1d0322f0b1 Further reduction, thanks @dcherman
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-26 13:34:38 -05:00
Rick Waldron
d99f1243b6 Straightforward support note
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-26 13:34:38 -05:00
Rick Waldron
5dbfddc116 Straightforward support note
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-26 13:34:38 -05:00
Rick Waldron
8000c6cf20 Remove setTimeout for body existance
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-26 13:34:37 -05:00
Rick Waldron
f300c5c2f3 2.0: Reduce globalEval
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-26 13:34:37 -05:00
Rick Waldron
155dbad029 2.0: Reduced parseXML
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-26 13:34:37 -05:00
Rick Waldron
338eaf6181 2.0: Reduce isPlainObject
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-26 13:34:37 -05:00
Rick Waldron
716963937d 2.0: Remove isArray shim
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-26 13:34:37 -05:00
Rick Waldron
334d610381 2.0: Remove now shim
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-26 13:34:37 -05:00
Rick Waldron
af06c3c771 2.0: Remove inArray shim
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-26 13:34:37 -05:00
Rick Waldron
bd9498c5ee 2.0: Remove JSON.parse shim
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-26 13:34:36 -05:00
Rick Waldron
25d933909b 2.0: Remove trim shim
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-26 13:34:36 -05:00
Rick Waldron
eb5df5e162 2.0: Removes attachEvent paths for jQuery.ready()
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-26 13:34:36 -05:00
Dave Methvin
861a45b8ff Followup to gh-1089. Avoid duplicate typeof check. 2012-12-23 15:57:01 -05:00
Sebi Burkhard
5eec75e582 Fix #13075. Optimize $.type by preferring typeof. Close gh-1089.
Also fixes browsers where `typeof RegExp === "function"`.
2012-12-23 15:41:56 -05:00
Sebi Burkhard
d829804631 Fix #13076. Speed up $() with strings, part of gh-1089. 2012-12-23 15:09:10 -05:00
timmywil
05531fc408 Adjust jQuery('html') detection to only match when html starts with '<' (not counting space characters). Fixes #11290. 2012-12-13 15:31:02 -05:00
Mike Sherov
ef6d8779de Fixes #11938: Adding array getter method to jQuery.fn.css 2012-12-11 13:58:14 -05:00
Oleg
d41b983259 Fix #10417. setTimeout w/o 2nd arg is jQuery.later! Close gh-1065. 2012-12-10 20:51:49 -05:00
Rick Waldron
3c7f2af81d Be specific about Firefox nodes-as-nodelist. Never assume that modern browsers will "get it right".
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-10 20:19:26 -05:00
Rick Waldron
07a7b3e4cf Fixes #13021. Normalization of core utility array like detection based on standard protocol by Richard Gibson <richard.gibson@gmail.com>. Closes gh-1064 2012-12-10 13:52:02 -05:00
Dave Methvin
282c044d64 Fix #13013. Move jQuery.buildFragment() to compat plugin. 2012-12-06 21:17:27 -05:00
Paul Ramos
13449a99b2 Fix #11989. Remove fragment cache, moving to jquery-compat. Close gh-1052. 2012-12-04 21:30:37 -05:00
Richard Gibson
0877d424e0 Fix #12959: Optimize library-wide patterns 2012-11-27 01:59:22 +01:00
Dave Methvin
67df705bf5 Fix #12191. jQuery.type should return "error" for Error objects. 2012-11-24 17:22:14 -05:00
Richard Gibson
e889134058 Fix #11795, #10470: keep scripts in DOM; execute only on first insertion. Close gh-864. 2012-11-19 09:50:19 -05:00
Dave Methvin
6b14cef7a8 Remove APIs now in jquery-compat 2012-11-07 20:12:03 -05:00
Richard Gibson
0ee9415902 Restore jQuery.access parameter mistakenly removed in 80d45a69 2012-11-06 09:53:00 -05:00
Richard Gibson
80d45a69ea Fix #12840: remove undocumented parameter "pass" from .attr. Close gh-1017. 2012-11-05 17:21:24 -05:00
Oleg
f651bf8893 Follow-up for .selector property removal 2012-11-01 21:31:55 -04:00
Dave Methvin
69e2f068fe Fix #9469. Remove semi-functional .selector property. Close gh-1006.
Saved 65 bytes.
2012-10-24 22:36:20 -04:00
Marcel Greter
de9ff7cd17 Fix #12107. Let .proxy() curry args without overwriting context. Close gh-866. 2012-10-20 22:10:06 -04:00
Rick Waldron
8076a33bd8 Don't expose jQuery.deletedIds. Close gh-889. 2012-10-20 21:02:21 -04:00
Richard Gibson
b5084b4bf2 Fix #4262: faster .eq(), closes gh-1000. 2012-10-19 22:32:25 -04:00
James Huston
ee9687d441 Fix #12751. Ensure parseJson throws in the same situations as JSON.parse. Close gh-993. 2012-10-17 16:28:55 -04:00
Mike Sherov
16d996ba0c no ticket: remove and enforce unused vars in jshint 2012-10-17 12:52:12 -04:00
Dave Methvin
1450305402 Use the correct escape for BOM; add build code to detect non-ASCII. 2012-10-11 10:25:43 -04:00
Dave Methvin
798a7a7ea2 Use Uglify's ascii_only to avoid converting UTF-8 escapes.
Thanks @curiousdannii!
2012-10-11 09:39:21 -04:00
Dave Methvin
a60fed4dec Fix #12690. Avoid use of UTF-8 chars in final files. 2012-10-10 13:00:45 -04:00