Colin Snover
|
e199ead4cb
|
More unit tests and a $.hasData that works for JS objects too.
|
2010-12-22 15:03:01 -06:00 |
|
Colin Snover
|
f5d4bf8920
|
Update jQuery.hasData to always return a boolean, with unit tests.
|
2010-12-22 14:54:37 -06:00 |
|
Colin Snover
|
445fdf720c
|
Remove code for ticket #7717 which has been marked WONTFIX to match existing $.data functionality and to prevent infinite loops caused by circular references.
|
2010-12-22 14:43:17 -06:00 |
|
scottjehl
|
18fa1fd9da
|
Getting window dimensions currently fails in Nokia browsers, causing JS 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.
|
2010-12-22 15:24:07 -05:00 |
|
Colin Snover
|
2a47ceae5b
|
Fix a potential error in the previous commit caused by the use of a separate index variable. Thanks to dmethvin for the review.
|
2010-12-22 09:16:30 -06:00 |
|
Colin Snover
|
5607bd8d53
|
Fix a potential error in the previous commit caused by the use of a separate index variable. Thanks to dmethvin for the review.
|
2010-12-22 09:14:53 -06:00 |
|
Colin Snover
|
7f617e0c9f
|
Fix a potential error in the previous commit caused by the use of a separate index variable.
|
2010-12-22 09:13:28 -06:00 |
|
jaubourg
|
c810c62a67
|
Removed NFE to make old Safari happy and avoid leaks in IE (as per David Murdoch's warning).
|
2010-12-21 17:04:07 +01:00 |
|
jaubourg
|
1db2f02cc7
|
Rewrote the data conversion logic in ajax. Should be cleaner and faster.
|
2010-12-21 16:58:52 +01:00 |
|
Dave Methvin
|
acab4ab0e5
|
Use for loop instead of for/in loop to protect sanctity of Array.prototype. Fixes #7817. Test case for this commit is shared with the fix for #6355, https://github.com/jquery/jquery/pull/140 .
|
2010-12-21 10:00:49 -05:00 |
|
jaubourg
|
91d32e8f96
|
Renamed jQuery.xhr.bindTransport as jQuery.xhr.transport. Generalized the implementation and made prefilters use the same logic. Cleaned up code and removed as many loops and each as possible.
|
2010-12-21 13:06:41 +01:00 |
|
Dave Methvin
|
4424bda377
|
Use a for loop rather than for/in loop when copying events, so that code will work with an augmented Array.prototype. Fixes 7809.
|
2010-12-20 22:23:59 -05:00 |
|
jaubourg
|
9e3f053c65
|
Fixed a loop that only worked in webkit.
|
2010-12-21 00:56:00 +01:00 |
|
jaubourg
|
88d97deb77
|
Added deferred to core. Used internally for DOM readyness and ajax callbacks.
|
2010-12-20 19:09:15 +01:00 |
|
Colin Snover
|
faefbb1ad0
|
Fix #7717 and #7165. Thanks to dmethvin and iliakan for their help fixing these issues.
|
2010-12-19 15:33:53 -06:00 |
|
Colin Snover
|
291b1edf44
|
Address some code style issues in the clone fix.
|
2010-12-16 01:29:06 -06:00 |
|
Colin Snover
|
2defa4863a
|
Fixes #7397.
|
2010-12-14 00:40:28 -06:00 |
|
Colin Snover
|
efcf1a7921
|
Merge branch 'bug_7397' of https://github.com/rwldrn/jquery into rwldrn-bug_7397
|
2010-12-14 00:37:11 -06:00 |
|
Colin Snover
|
c9c9057c4d
|
More specific version numbers.
|
2010-12-12 20:01:47 -06:00 |
|
Colin Snover
|
1a3fd3329d
|
Speed up & compatibility improvements for new clone mechanism in IE.
|
2010-12-12 19:23:22 -06:00 |
|
Colin Snover
|
8b33e23ea0
|
Return test comments to ASCII space
|
2010-12-12 13:37:00 -06:00 |
|
Colin Snover
|
4fae75d575
|
Merge branch 'bug5566' into csnover-bug5566. Fixes #4386, #5566, #6997.
Conflicts:
src/manipulation.js
test/unit/manipulation.js
|
2010-12-12 02:39:06 -06:00 |
|
Colin Snover
|
7481a3645a
|
Fix the clone method to be a little less insane in IE, which fixes the new event-cloning clone() as well as probably a bunch of IE-related clone bugs.
|
2010-12-12 02:20:31 -06:00 |
|
jaubourg
|
974637d639
|
Simplified headers tests: removed multiline headers (support is far too servers & browsers dependant) and made all the tests in a single request.
|
2010-12-11 02:41:39 +01:00 |
|
jaubourg
|
0b0889ceaa
|
Tweaked the headers test to be apache independent and actually work.
|
2010-12-11 02:21:54 +01:00 |
|
jaubourg
|
9d3a4a2b40
|
Removed bind/unbind from xhr emulation: success/error/complete are deferred not events so these methods didn't really make sense in the first place.
|
2010-12-11 02:04:13 +01:00 |
|
jaubourg
|
8ab5e1e45c
|
Added the regexp to remove module closures to the ant build file to be on par with the Makefile.
|
2010-12-11 01:56:29 +01:00 |
|
jaubourg
|
2e129759b4
|
More variable renaming to avoid conflicts when module closures are removed.
|
2010-12-11 01:35:46 +01:00 |
|
jaubourg
|
9fa9a57076
|
Changed document.location to window.location per Ben Alman advice.
|
2010-12-10 07:00:06 +01:00 |
|
jaubourg
|
a500d33c5d
|
Renamed variables to avoid conflicts when Makefile removes internal closures.
|
2010-12-10 04:16:56 +01:00 |
|
jaubourg
|
ab74d8e6a0
|
Fix the closure in ajax.js too.
|
2010-12-10 03:16:50 +01:00 |
|
jaubourg
|
3c641bd134
|
Fixed function closures so that Makefile can do its magic.
|
2010-12-10 03:14:03 +01:00 |
|
jaubourg
|
ac80ca2883
|
Replaced spaces with a tab in Makefile.
|
2010-12-10 02:55:43 +01:00 |
|
jaubourg
|
9b9d270e3d
|
Removed non-standard (and not that useful) xhr emulation methods & reworked the headers test as a consequence.
|
2010-12-10 02:45:08 +01:00 |
|
jaubourg
|
317888464d
|
Added xhr.js and transports/*.js to Rakefile and build.xml (in sync with Makefile).
|
2010-12-10 02:43:41 +01:00 |
|
jaubourg
|
ab3ba4a812
|
Rewrite of the Ajax module by Julian Aubourg. Some (dated) details can be found here: http://oksoclap.com/6Y26bm1ZsB more details are forthcoming. Fixes #7195.
|
2010-12-09 13:34:28 -05:00 |
|
jeresig
|
29616e60c8
|
Backing out cec68e2b00 , was causing serialize tests to fail. Un-fixes #5566.
|
2010-12-09 13:27:52 -05:00 |
|
jeresig
|
b4bb6e1126
|
Backing out fb6c038bf0 , was causing jQuery.param tests to fail - unfixes #7413.
|
2010-12-09 13:07:44 -05:00 |
|
jeresig
|
bc05cb9d80
|
Merge branch 'explain-map-concat' of https://github.com/ajpiano/jquery into ajpiano-explain-map-concat
|
2010-12-09 12:51:14 -05:00 |
|
rwldrn
|
a59bb30d0a
|
Whitespace correction
|
2010-12-09 12:50:01 -05:00 |
|
rwldrn
|
1cdd9f8cab
|
Whitespace correction
|
2010-12-09 12:48:52 -05:00 |
|
rwldrn
|
5b2408147b
|
Whitespace correction
|
2010-12-09 12:47:53 -05:00 |
|
rwldrn
|
00f1dfdd57
|
Reorders condition at L65 for efficiency
|
2010-12-09 12:44:52 -05:00 |
|
jeresig
|
cec68e2b00
|
Merge branch 'bug5566' of https://github.com/csnover/jquery into csnover-bug5566
|
2010-12-09 12:44:30 -05:00 |
|
jeresig
|
b2ea79c401
|
Merge branch 'attrFollowupFix' of https://github.com/jitter/jquery into jitter-attrFollowupFix
|
2010-12-09 12:43:10 -05:00 |
|
jeresig
|
a13089d5b4
|
Merge branch 'rfxnum' of https://github.com/lrbabe/jquery into lrbabe-rfxnum
|
2010-12-09 12:37:30 -05:00 |
|
jeresig
|
b67154fd10
|
Merge branch 'support_6897' of https://github.com/rwldrn/jquery into rwldrn-support_6897
|
2010-12-09 12:33:26 -05:00 |
|
jeresig
|
fb6c038bf0
|
Merge branch 'bug_7413' of https://github.com/rwldrn/jquery into rwldrn-bug_7413
|
2010-12-09 12:32:15 -05:00 |
|
louisremi
|
796d25cf07
|
Precising the unit part of rfxnum regex
|
2010-12-09 10:23:45 +01:00 |
|
Anton M
|
cc9dbd06e5
|
Fix attr() problems in IE with attribute nodes. Followup to commit b50f41a2 .
IE can't add properties on an attribute-node element, thus we handle it
like text-/comment-nodes.
|
2010-12-07 03:17:42 +01:00 |
|