Rick Waldron
8d1c42296f
Fixes #13571 . jQuery.isPlainObject 1.9.x compatibility
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-03-06 14:42:24 -05:00
Rick Waldron
692afbcc5f
Fixes #13551 . Guard against illegal data access by undefined elem-owner
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-03-03 19:40:33 -05:00
Rick Waldron
91824bd292
Simplify data-* attr lookup with camelKey
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-03-02 14:09:39 -05:00
Michał Gołębiowski
761b96c301
Fixes #13550 . .data should not miss attr() set data-* with hyphenated property names. Closes gh-1189
2013-03-02 13:04:48 -05:00
Rick Waldron
8f7218198d
Remove dup camelKey path
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-03-01 19:33:12 -05:00
Rick Waldron
3212a29369
Fixes #13548 . .data should not miss attr() set data-* with hyphenated property names
2013-03-01 19:02:57 -05:00
jrburke
34c4e122a3
Remove the define.amd.jQuery check, ref gh-1150.
2013-02-28 17:21:18 -05:00
Richard Gibson
3f05afbd8d
Ref #13353 , gh-1183: Capture onlyHandlers in jQuery.Event.isTrigger.
2013-02-28 16:59:12 -05:00
Oleg
22a4e5bd0a
Squeeze support module. Close gh-1165.
2013-02-28 16:18:12 -05:00
jaubourg
eebc77849c
Fixes #11151 , #13388 . Minor refactor of response conversion and when/where
...
responseXXX fields are set on the jqXHR. Close gh-1164.
(Cherry-picked from 69b3d5ce0f
)
2013-02-28 15:01:10 -05:00
Dave Methvin
8be9cd1ce7
Add warnings and ignore the built Sizzle file.
2013-02-27 22:45:55 -05:00
Richard Gibson
1083f82d1e
Fix #13434 : native-API selector module
...
What's out:
* 6 KB
* attribute not equal selector
* positional selectors (:first; :eq(n); :odd; etc.)
* type selectors (:input; :checkbox; :button; etc.)
* state-based selectors (:animated; :visible; :hidden; etc.)
* :has(selector)
* custom selectors
* leading combinators (e.g., $collection.find("> *"))
* reliable functionality on XML fragments
* requiring all parts of a selector to match elements under context (e.g., $div.find("div > *") now matches children of $div)
* matching against non-elements
* reliable sorting of disconnected nodes
2013-02-27 22:45:55 -05:00
jaubourg
0618710913
Properly resets firingLength when emptying the list. Fixes #13517
2013-02-27 16:15:32 +01:00
Richard Gibson
1b6be73721
No ticket: Squeeze data
2013-02-26 23:41:57 -05:00
Nguyen Phuc Lam
8bc7bdebef
Ref #13283 , move .andSelf() to deprecated.js. Close gh-1170.
2013-02-26 22:57:12 -05:00
Richard Gibson
85f1985f24
Fix #13494 : Fallback defineProperties to jQuery.extend. Close gh-1182.
...
Android<4 (ancient WebKit) doesn't have full ES5 support.
2013-02-26 22:38:06 -05:00
Scott González
b55bfb140f
Whitespace.
2013-02-26 13:06:58 -05:00
Dave Methvin
2bbc3d5860
Fix #13471 . $().on(".xyz"...) should avoid later crash.
...
If the event type is an empty string we end up hanging in .off() which makes for
mighty hard debugging. Instead treat it as a no-op. Docs seem clear this is not
allowed.
2013-02-26 12:19:09 -05:00
Timo Tijhof
31478b9012
Optimisation: Use String instead of window.String. Close gh-1176.
...
Follows-up 22e28b01e6
.
2013-02-26 10:17:54 -05:00
Richard Gibson
6d188186d4
No ticket: move jQuery.expando to core
2013-02-25 15:48:22 -05:00
Richard Gibson
972de58990
No ticket: reduce support.js
2013-02-25 15:33:13 -05:00
Richard Gibson
6256c614fd
Fix #13505 : Yet another detached add patch
2013-02-24 23:24:28 -05:00
Richard Gibson
2129c233e9
No ticket: Restore support for Android<4.0
2013-02-23 21:16:28 -05:00
Richard Gibson
7d36c0fb6e
Fix #13499 : selector with leading ID matching only a name
...
(cherry picked from commit 5c4ab97a64
)
2013-02-22 21:30:10 -05:00
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
Rick Waldron
a464d75005
Adds module to jshintrc
2013-02-21 09:56:20 -05:00
isaacs
a128355b25
Support node-like module loaders. Closes gh-1103
2013-02-20 21:31:06 -05:00
Richard Gibson
0f977e6d03
No ticket: Update Sizzle
2013-02-17 23:12:44 -05:00
Rick Waldron
93043d002a
Refactor: Data.prototype.access. Thanks to @RubyLouvre and @gibson042. Closes #1167
2013-02-13 12:14:20 -05:00
Richard Gibson
b734666f4d
Fix #13265 #13332 : traversing methods with text nodes. Close gh-1145.
2013-02-13 22:03:37 -05:00
Rick Waldron
1d5d959ee0
Optimized Data rewrite
2013-02-11 12:39:44 -05:00
Mark Raddatz
6a0ee2d9ed
Fix #13401 : replaceWith(""). Close gh-1163.
2013-02-08 09:49:14 -05:00
Richard Gibson
363299ac24
Ref #13316 : Sync all documents on full vs. minified source. Close gh-1147.
2013-02-07 15:16:28 -05:00
Oleg
f3db084f7c
Fix #13310 . Get the right display value for disconnected nodes. Close gh-1156.
2013-02-04 15:22:07 -05:00
Richard Gibson
a5b456edff
Ref fd43865c
: restore correct logic
2013-02-04 09:35:33 -05:00
Rick Waldron
cf260fe285
Match the codebase standard, .split(" ") => .match( core_rnotwhite ) || []… no matter how awful it is >:|
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-02-03 18:09:49 -05:00
Rick Waldron
f50680898b
Standardize on a.indexOf(b) === -1, per @gibson042 review notes
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-02-03 18:04:53 -05:00
Rick Waldron
fd43865c6d
Reduce hasData per @gibson042 review notes.
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-02-03 17:55:28 -05:00
Rick Waldron
64630eaf85
Reduce Data.prototype.add by using the returned length value of this.owners.push(owner)
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-02-03 15:31:23 -05:00
Rick Waldron
7f94a5cc3a
2.0: Rewrite data.js (Incl. event, manipulation, tests)
2013-02-03 15:27:55 -05:00
Timmy Willison
21c7a056e2
Update Sizzle: detached node sorting in Webkit. Fixes #13331 .
2013-02-01 18:06:02 -05:00
Dave Methvin
0e2977583c
Fix #13335 . Remove "use strict".
2013-02-01 17:17:39 -05:00
Andrew Plummer
d654914fd0
event: Stricter type checking in trigger - Fixes #13360 - Closes gh-1153
...
Squashed commit of the following:
commit 5935a362c7
Author: Andrew Plummer <plummer.andrew@gmail.com>
Date: Fri Feb 1 02:40:42 2013 +0900
Using "hasOwnProperty" to check for direct properties "type" and
"namespace" on events before triggering.
(cherry picked from commit f005af54e4
)
2013-01-31 12:04:32 -06:00
Timmy Willison
f3ce0e696d
Revert change to visible/hidden selectors until 1.10 and 2.1. Reopens #13132 , #10406 .
2013-01-30 20:37:13 -05:00
Timmy Willison
f5110cdec0
Minor updates. All parameters of an internal function are for internal use only.
2013-01-30 20:36:58 -05:00
Dave Methvin
a5c33fe1f7
Fix #13349 . No need to sort simple .find() cases.
2013-01-29 20:48:48 -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
adamcoulombe
54fc5fdfa2
Fix #13150 , .has() w/o args checks for any callbacks. Close gh-1111.
2013-01-27 13:35: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
6f7b6915bf
Fix #12656 . Make event shorthands excludable.
2013-01-27 09:07:00 -05:00
Dave Methvin
a6c358d046
Fix #12846 . Restore overflow when animation is stopped.
2013-01-26 22:02:15 -05:00
Dave Methvin
c4b1da4007
Fix #13291 , no longer need the functionish-regex guard.
2013-01-26 20:31:37 -05:00
Richard Gibson
fb0f295292
Fix #13282 : QtWebKit (e.g., phantomjs) can only apply Arrays
2013-01-24 23:45:44 -05:00
Richard Gibson
f39ca223e0
Fix #13281 : update Sizzle
2013-01-24 23:11:47 -05:00
byroot
bfc61b879e
Don't try and convert data for 204 No Content responses. Fixes #13292 . Fixes #13261 .
2013-01-24 02:34:02 +01:00
Timmy Willison
caac041fcc
Ignore file inputs when serializing forms. File input serialization is handled by plugins. Fixes #13306 .
2013-01-23 12:23:46 -05:00
Timmy Willison
b326225d90
Fix failing tests, add support for empty spans in Opera. Supplements #13132 , #10406 .
2013-01-21 18:03:07 -05:00
Timmy Willison
372e04e78e
Treat an element as hidden if either offsetWidth or offsetHeight is 0. Fixes #13132 , #10406 .
2013-01-21 17:12:31 -05:00
jaubourg
1c77259d06
Removes unnecessary call to .off()
as noted by @dcherman.
2013-01-21 03:05:03 +01:00
Oleg
cbe0c2ef90
2.0: Reduce offset module. Close gh-1139.
2013-01-20 18:36:43 -05:00
Oleg
19def21df4
Fix #13232 , fix jQuery.buildFragment for tables, close gh-1138.
2013-01-20 18:30:56 -05:00
Oleg
dbf4926e31
Consistently clean up after .ready() handler, close gh-1135.
2013-01-20 18:20:53 -05:00
jaubourg
1ad874f344
Further script transport cleanup, close gh-1123.
2013-01-20 18:10:07 -05:00
jaubourg
c373a499d3
Reduced script transport
2013-01-20 18:08:59 -05:00
Timmy Willison
7632711d5c
Update Sizzle: fixes native slice usage
2013-01-18 10:48:39 -05:00
Richard Gibson
8871218cdf
Fix jQuery #13251 : use slice instead of substring
...
(cherry picked from commit 37eb6125c0
)
2013-01-17 17:01:42 -05:00
Richard Gibson
50290b8ffb
Ref cc324abf
: use acceptData to determine when it is safe to add event handlers
2013-01-16 14:36:24 -05:00
danilsomsikov
cc324abf73
Fix #8335 : Avoid memory leak by never setting data on non-element non-document nodes. Close gh-1127.
2013-01-16 14:31:29 -05:00
Richard Gibson
a96aa9e270
Fix #13233 : re-allow .replaceWith of text nodes. Close gh-1137.
...
(cherry picked from commit 6b1b0a26b4
)
2013-01-16 13:57:00 -05:00
Richard Gibson
2f0756b534
Fix #13182 : update Sizzle
2013-01-16 00:18:04 -05:00
Mike Sherov
10cc33e27b
Fix #13183 : Wrong animation initial value calc. Ref gh-1136.
2013-01-15 23:34:22 -05:00
Oleg
eff59f97ac
Add a comment
2013-01-13 22:05:41 -05:00
Oleg
38ad408f82
Fixes #13200 - innerHTML in buildFragment need end tags
2013-01-13 22:05:37 -05:00
Richard Gibson
31b9579715
Fix #13203 : delegated events with selector matching Object.prototype property
2013-01-13 21:40:24 -05:00
Richard Gibson
b75b9ef8d0
Fix #13180 : don't delegate into SVG <use>
...
(cherry picked from commits 36457cb6afc12d4a755cf93442a502783a669517..f860e0bd2f7dd228a14704d78ed5208cbe870d01)
2013-01-13 20:00:03 -05:00
Richard Gibson
7767234364
No ticket: compress event.js
...
(cherry picked from commit 9cf812d7a2
)
2013-01-13 19:41:31 -05:00
Dave Methvin
c0c1bdde60
Update copyrights used in file headers.
2013-01-11 16:08:09 -05:00
Richard Gibson
bad229c53e
Update Sizzle
2013-01-11 13:01:56 -05:00
Richard Gibson
c1a59f78c2
Update Sizzle
2013-01-10 15:54:32 -05:00
Richard Gibson
ca49ef98d5
Ref gh-1117: Use native push for size and performance
2013-01-09 10:11:33 -05:00
Oleg
8e6c1ba92f
Ref gh-1117: Don't stop on a falsy value in buildFragment. Close gh-1124.
2013-01-09 09:52:01 -05:00
nanto
2f6b3f818f
Propagate context of returned deferred object in Deferred.then(). Fixes #13160 .
2013-01-08 16:37:50 +01:00
jaubourg
7cc629d097
Opera 12.0 still implements an older version of the DOM so cloneNode cannot be called without an argument
2013-01-08 11:15:36 +01:00
Oleg
57d9dcd4a0
Use while loop instead of for
2013-01-08 02:41:25 +00:00
Oleg
58b4994f56
Always use core_push in jQuery.buildFragment
2013-01-08 02:41:21 +00:00
Oleg
c9bf5c5e90
Bring back jQuery.buildFragment and remove jQuery.clean
2013-01-08 02:41:15 +00:00
Oleg
054daa20af
Ref #8908 . Update IE9 css clone fix. Close gh-1119.
2013-01-08 02:08:47 +00:00
Oleg
9434060722
Simplify .wrapAll() and fix style. Close gh-1116.
2013-01-08 01:35:55 +00:00
Corey Frang
b6abb31df4
Fix #13103 . Add .finish() method. Close gh-1118.
2013-01-08 01:19:25 +00:00
nanto_vi
412d910697
Eliminate redundancy of Deferred.then().
2013-01-08 01:03:38 +09:00
jaubourg
62acda819f
Adds the abort on unload trick back in since IE9 still exhibits the bug
2013-01-07 10:34:14 -05:00
jaubourg
f6df0301c8
Fixes comments per @rwldrn. Makes sure failing requests from local protocol yields status 404, not 0.
2013-01-07 10:34:11 -05:00
jaubourg
17049c73bc
2.0: reduced xhr transport
2013-01-07 10:34:07 -05:00
nanto_vi
e7fdda9819
Propagete context of returned deferred object in Deferred.then(). Fixes #13160
2013-01-07 02:49:15 +09:00
Dave Methvin
c61150427f
Fix #13143 . Event target cannot be a text node.
...
Check removed in the initial 2.0 refactor but Chrome still needs it. No effective way to unit test; see the test case in #13143 .
2013-01-06 10:25:02 -05:00
Dave Methvin
c0241a47e2
Ref #12945 , IE9/10 still needs safe .getAttribute check.
2013-01-04 22:29:27 -05:00
Dave Methvin
e9ab6a74d4
Fix #12945 . Check for .getAttribute so IE9 is happy.
2013-01-04 17:35:01 -05:00
Dave Methvin
1e5b14a131
Remove appendChecked detect and stranded markup.
2013-01-03 20:57:00 -05:00
Dave Methvin
9a32f12bdf
Remove oldIE styleFloat detect.
2013-01-03 20:56:02 -05:00
Dave Methvin
cef3450228
Remove noCloneEvent detects and white-box unit test.
2013-01-03 20:55:59 -05:00
Dave Methvin
4ee1b03c54
Remove oldIE submit/change bubble detects.
2013-01-03 20:55:56 -05:00
Dave Methvin
11e6a66002
Remove deleteExpando detect.
2013-01-03 20:55:52 -05:00
Dave Methvin
aa529696fb
Remove inlineBlockNeedsLayout and shrinkWrapBlocks.
2013-01-03 20:52:38 -05:00
Dave Methvin
02d7f9aee3
Remove support.reliableHiddenOffsets detect.
2013-01-03 20:52:35 -05:00
Dave Methvin
3d9edb32bc
Remove stranded support.js checks for oldIE.
2013-01-03 20:52:31 -05:00
Dave Methvin
445dbd9d95
Revert data.js rewrite.
...
Reverts the following commits:
commit f717226b3a
Author: Rick Waldron <waldron.rick@gmail.com>
Date: Mon Dec 31 18:06:38 2012 -0500
Only splice from internal arrays when item actually exists.
commit b9cdc4136b
Author: Rick Waldron <waldron.rick@gmail.com>
Date: Mon Dec 31 16:20:35 2012 -0500
Updates to data.js re-write to pass events and manipulation
commit d1de3000c6
Author: Rick Waldron <waldron.rick@gmail.com>
Date: Mon Dec 31 15:09:45 2012 -0500
2.0: Rewrite data.js
2013-01-03 20:43:01 -05:00
Dave Methvin
0d540c3750
Happy New Year! It's 2013.
2013-01-03 17:41:18 -05:00
Rick Waldron
f717226b3a
Only splice from internal arrays when item actually exists.
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-31 18:06:38 -05:00
Rick Waldron
b9cdc4136b
Updates to data.js re-write to pass events and manipulation (full pass in local test runs)
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-31 16:23:20 -05:00
Rick Waldron
d1de3000c6
2.0: Rewrite data.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-31 16:23:20 -05:00
Dave Methvin
e1dcf96b52
Use a fresh input for the value-lossage check.
2012-12-31 15:17:24 -05:00
Dave Methvin
f75c0627f2
Restore optSelected hack still needed by IE9/10
2012-12-31 14:32:58 -05:00
Rick Waldron
6d1080114d
Merge branch '2.0-core' of https://github.com/rwldrn/jquery
...
* '2.0-core' of https://github.com/rwldrn/jquery :
Explanations for each step of isPlainObject
obj === Object(obj) comparison is an unnecessary artifact from refactoring
Ensure that null/undefined args don't choke on native indexOf
Further reduction, thanks @dcherman
Straightforward support note
Straightforward support note
Remove setTimeout for body existance
2.0: Reduce globalEval
2.0: Reduced parseXML
2.0: Reduce isPlainObject
2.0: Remove isArray shim
2.0: Remove now shim
2.0: Remove inArray shim
2.0: Remove JSON.parse shim
2.0: Remove trim shim
2.0: Removes attachEvent paths for jQuery.ready()
2012-12-31 13:28:04 -05:00
Rick Waldron
57b268e60f
Merge branch 'event20' of https://github.com/dmethvin/jquery
...
* 'event20' of https://github.com/dmethvin/jquery :
Clean up comments, including browser support levels.
Remove try/catch around focus events needed by oldIE.
Remove obsolete event object fixups.
Remove oldIE proprietary event methods/properties.
Remove oldIE change and submit special-event code.
2012-12-31 13:26:28 -05:00
Rick Waldron
dc93f8cbb5
Merge branch '2.0-manipulation' of https://github.com/orkel/jquery
...
* '2.0-manipulation' of https://github.com/orkel/jquery : (51 commits)
Rename fixCloneNodeIssues helper to fixInput Move support comment
Add tests for th element
Add empty line
Add more tests for wrapMap
Add test for td append
wrapMap.col = wrapMap.tr
wrapMap.thead = wrapMap.tr Add support comments
Rewrite tests for colgroup, caption Add tests for thead, tbody, tfoot
Remove fix for #11280
Remove fieldset from wrapMap
Add comments for optgroup and option elements in wrapMap Add tests for optgroup element
Remove fix for #4484 , add more tests
Use tabs instead of spaces
Simplify getAll helper
Simplify check for non-Elements
Remove fix for object element
Save 43 bytes
Use common loop iteration idiom
Remove fix for #9587
Use correct comments
...
2012-12-31 13:26:28 -05:00
Rick Waldron
a205aac7f0
Merge branch '2.0-attributes-rebased'
...
* 2.0-attributes-rebased:
2.0: Remove getSetAttribute and getSetInput and oldIE attroperties hooks
Resolved conflict
2.0: Remove style->cssText attroproties fallback
Remove outdated support tests
2.0: Remove support.optSelected
2.0: Remove oldIE enctype propFix
2012-12-31 13:26:27 -05:00
Rick Waldron
7539ba5a1e
Merge branch 'css2' of https://github.com/dmethvin/jquery
...
* 'css2' of https://github.com/dmethvin/jquery :
2.0: Reduce css.js
2012-12-31 13:26:27 -05:00
Rick Waldron
5f5d2e55f7
Merge branch '2.0-traversing' of https://github.com/orkel/jquery
...
* '2.0-traversing' of https://github.com/orkel/jquery :
Code style
Reduce traversing module
2012-12-31 13:26:26 -05:00
Timmy Willison
3f66e928c8
2.0: Remove getSetAttribute and getSetInput and oldIE attroperties hooks
2012-12-31 13:23:32 -05:00
Rick Waldron
d50c18e61f
Resolved conflict
2012-12-31 13:23:26 -05:00
Timmy Willison
d96fa37666
2.0: Remove style->cssText attroproties fallback
2012-12-31 13:21:47 -05:00
Timmy Willison
0b91e836a3
2.0: Remove support.optSelected
2012-12-31 13:20:24 -05:00
Timmy Willison
049cc9d1eb
2.0: Remove oldIE enctype propFix
2012-12-31 13:20:24 -05:00
Mike Sherov
abead1c86b
Fixes #13088 : under IE8, $(selector).attr('style') always return lowercase string
2012-12-31 12:30:02 -05:00
Oleg
39e6792b5c
Rename fixCloneNodeIssues helper to fixInput
...
Move support comment
2012-12-28 23:41:31 +04:00
Oleg
1490afe693
Add empty line
2012-12-28 20:16:49 +04:00
Oleg
ecd106280a
wrapMap.col = wrapMap.tr
2012-12-28 19:59:55 +04:00
Oleg
9dbfbe5b9a
wrapMap.thead = wrapMap.tr
...
Add support comments
2012-12-28 19:50:22 +04:00
Oleg
6215840995
Remove fix for #11280
2012-12-28 19:16:22 +04:00
Oleg
378ab82865
Remove fieldset from wrapMap
2012-12-28 19:09:50 +04:00
Oleg
d3d8ed443c
Add comments for optgroup and option elements in wrapMap
...
Add tests for optgroup element
2012-12-28 18:56:29 +04:00
Oleg
f193acf3a1
Remove fix for #4484 , add more tests
2012-12-28 18:54:47 +04:00
Dave Methvin
e47dfc6309
Clean up comments, including browser support levels.
2012-12-26 18:38:21 -05:00
Dave Methvin
c228874db1
Remove try/catch around focus events needed by oldIE.
2012-12-26 17:52:04 -05:00
Dave Methvin
69bab50296
Remove obsolete event object fixups.
2012-12-26 17:35:55 -05:00
Dave Methvin
97fa97f0c1
Remove oldIE proprietary event methods/properties.
2012-12-26 16:47:31 -05:00
Dave Methvin
1c4297816d
Remove oldIE change and submit special-event code.
2012-12-26 16:06:16 -05: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
Oleg
25712d77c3
Simplify getAll helper
2012-12-24 04:29:41 +04:00
Oleg
fa3dad300f
Simplify check for non-Elements
2012-12-24 04:28:52 +04:00
Oleg
33be48acfd
Remove fix for object element
2012-12-24 04:16:17 +04:00
Oleg
5e64281a11
Save 43 bytes
2012-12-24 03:04:38 +04:00
Oleg
5f8e99b368
Use common loop iteration idiom
2012-12-24 03:04:37 +04:00
Oleg
f66c33d751
Remove fix for #9587
2012-12-24 03:04:30 +04:00
Oleg
87a7690afa
Use correct comments
2012-12-24 03:04:30 +04:00
Oleg
9256ba5380
Simplify check for empty set in jQuery#domManip
2012-12-24 03:04:30 +04:00
Oleg
9e703a2a19
Code style changes
...
Save one byte
2012-12-24 03:04:19 +04:00
Oleg
d41ac85ca3
Save one byte
2012-12-24 03:04:19 +04:00
Oleg
3c1b42805d
Take care of comments
2012-12-24 03:04:19 +04:00
Oleg
ec75705f88
Remove needless expression
2012-12-24 03:04:19 +04:00
Oleg
0d16158f69
Revert changes in support module
2012-12-24 03:04:18 +04:00
Oleg
3eb1f64966
Use GET method in jQuery#domManip
2012-12-24 03:04:18 +04:00
Oleg
a8b38b0e6b
Remove couple of spaces
2012-12-24 03:04:18 +04:00
Oleg
8958f7cd9d
More simplifications fore jQuery#html
2012-12-24 03:04:18 +04:00
Oleg
bc70e0c718
Speed up iteration in jQuery#domManip if it called with function inside first argument
2012-12-24 03:04:18 +04:00
Oleg
f07e6758ae
Simplify execution of script element if it processed without src attribute
2012-12-24 03:04:08 +04:00
Oleg
d086aa16b3
Use jQuery.merge only if it really necessary
2012-12-24 03:04:08 +04:00
Oleg
d552b94463
Simplify jQuery.expando
2012-12-24 03:04:08 +04:00
Oleg
c334878871
Simplify wrapMap
2012-12-24 03:04:08 +04:00
Oleg
1043fa8971
Move all helpers to the end of the module
2012-12-24 03:04:08 +04:00
Oleg
a10dd521df
Remove fixDefaultChecked helper
2012-12-24 03:03:28 +04:00
Oleg
61d01c8d35
Simplify getAll helper
2012-12-24 03:03:28 +04:00
Oleg
7a5000a39e
Simplify fixCloneNodeIssues helper
2012-12-24 03:03:28 +04:00
Oleg
329d5e1d03
Remove memory fix
2012-12-24 03:03:28 +04:00
Oleg
e9ea6679b2
Change "isFunc" variable to "isFunction"
2012-12-24 03:03:28 +04:00
Oleg
76bde01be8
Code style changes
2012-12-24 03:03:28 +04:00
Oleg
8c4b9f082b
Simplify jQuery#wrap
2012-12-24 03:03:28 +04:00
Oleg
2378438a97
Code style changes
2012-12-24 03:03:27 +04:00
Oleg
28f6fcb763
Remove unused variables
2012-12-24 03:03:19 +04:00
Oleg
eac4e8e251
Remove removal of container children through removeChild method
2012-12-24 03:03:19 +04:00
Oleg
7a2a82ba62
Remove tbody check
2012-12-24 03:03:19 +04:00
Oleg
c1c97b474e
Remove leading white space check
2012-12-24 03:03:19 +04:00
Oleg
fd2af63bca
Remove createSafeFragment helper
2012-12-24 03:03:19 +04: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
Richard Gibson
3e1589db32
Update Sizzle
2012-12-21 15:51:37 -05:00
Richard Gibson
1e7e541b8b
Fix 00bbbe20
test failures
2012-12-21 10:34:03 -05:00
Oleg
c8c6ab6924
Fix #12569 . Improve feature detect for event bubbling. Close gh-1076.
2012-12-20 22:08:32 -05:00
Richard Gibson
00bbbe2075
Fix #13070 : better unescaping logic in Sizzle
2012-12-20 21:56:53 -05:00
Oleg
5afc93c436
Fix #13094 . Pass index to .before(fn) fn as documented. Close gh-1093.
2012-12-20 20:55:30 -05:00
Oleg
38941579fc
Code style
2012-12-19 19:42:33 +04:00
Oleg
65bdfbf07f
Reduce traversing module
2012-12-19 19:42:33 +04:00