jaubourg
03e0029761
@mikesherov said: no need for an else if!
2012-05-07 19:14:00 +02:00
Scott González
95a4a776cf
Simplify jQuery( html, props ), closes gh-765.
2012-05-06 21:24:46 -04:00
jaubourg
e3cf0e220c
Transform $.bindReady into $.ready.promise. It is now possible to use $.ready.promise or $.when( $.ready ) to get the ready promise. Costs *1* byte min/gzipped. Unit test added.
2012-05-06 01:05:03 +02:00
Mike Sherov
714b8ffd2b
reduce complexity of ready further, and try manipulating DOM to make sure we're really ready
2012-05-04 13:31:35 -04:00
Mike Sherov
f925c7a1c9
remove jQuery.quickReady, save bytes, style nits in tests
2012-05-04 10:17:30 -04:00
Mike Sherov
54fab3174c
Fix #10067 . Create jQuery.quickReady; closes gh-736.
...
Allows us to get to the ready state sooner by not waiting for iframes to load. If that causes backcompat pain, use `jQuery.quickReady = false` as prescribed by your developer.
2012-04-23 15:44:27 -04:00
Dave Methvin
9ebc27db54
Remove $("body") case; $(document.body) is 2x faster.
2012-04-18 13:04:44 -04:00
Oleg
abd2a07498
Fix #8894 . Ensure .appendTo
creates a new set in oldIE.
2012-04-16 21:57:41 -04:00
Sindre Sorhus
d5ee856a44
Remove moot second argument from slice.call()
...
The zeroes were added to fix http://bugs.jquery.com/ticket/4942 but those browsers are no longer supported.
2012-04-04 23:22:15 -04:00
Richard Gibson
22ad8723ce
Fix #11325 : smaller/stronger domManip/buildFragment/clean
2012-04-04 23:03:34 -04:00
jaubourg
d30859eb6b
Makes parseXML act like parseJSON when given an empty or non-string input: now returns null rather than throwing an exception. Incidently fixes #10527 . Unit tests added.
2012-03-07 17:37:14 +01:00
RafaC3ABl Blais Masson
0fcfac7568
Refine the jQuery.isWindow check.
2011-12-06 16:17:09 -05:00
Richard Gibson
6c2a501de4
Fix #5571 . Setters should treat undefined
as a no-op and be chainable.
2011-12-06 15:25:38 -05:00
timmywil
1eb1ad6160
Remove rdigit now that it is no longer necessary
2011-11-18 11:45:12 -05:00
jrburke
8bc60bab5d
Landing pull request 586. Create exports.js for exporting jQuery to window and AMD. Fixes #10687 .
...
More Details:
- https://github.com/jquery/jquery/pull/586
- http://bugs.jquery.com/ticket/10687
2011-11-14 12:13:25 -05:00
Daniel Herman
654930de21
Removing .unbind in favor of .off in jQuery.ready
2011-11-09 20:30:08 -05:00
Dave Methvin
8d2655d20c
Fix #10646 . Throw an Error object from .error()
for IE's sake.
2011-11-07 11:40:39 -05:00
Dave Methvin
795583d293
Fix #10690 . Make sure .isNumeric()
can't get a Date
.
...
Also add tests for custom objects with a `.toString()` method.
2011-11-07 11:25:51 -05:00
Matt Mueller
a211ea27d2
Removed irrelevant comment.
2011-11-06 17:34:49 -05:00
Rick Waldron
7cbd7a640f
Coerce eq() argument all the time. Fixes #10616
2011-11-06 16:17:59 -05:00
Rick Waldron
da062c54f4
Cleanup spacing in core.js. Fixes #10601
2011-10-27 15:25:30 -04:00
Dave Methvin
83c08ffa1f
Fix #10478 . Replace jQuery.isNaN with jQuery.isNumeric.
...
Thanks to Christian C. Salvadó for the unit tests!
2011-10-11 21:04:22 -04:00
jrburke
bba3d610c7
Landing pull request 331. Add support for registering jQuery as an AMD module. Fixes #7102 .
...
More Details:
- https://github.com/jquery/jquery/pull/331
- http://bugs.jquery.com/ticket/7102
2011-09-19 16:37:22 -04:00
timmywil
29c52b0f6c
Add sparse array performance improvement for inArray. Thanks rwaldron, rkatic, and jdalton
2011-09-19 15:42:32 -04:00
timmywil
b7ebbb9142
Fix inArray for positive start indices
2011-09-19 15:42:32 -04:00
timmywil
2e0c9bfd36
Allow second argument to be passed to array.indexOf. Fixes #9453 .
2011-09-19 15:42:30 -04:00
jaubourg
4092e3d275
$.Callbacks, $.Topic and notify/progress on $.Deferred.
2011-09-19 15:42:30 -04:00
timmywil
2a045f8269
Revert "Begrudgingly adds chrome detection to jQuery.browser (1.7). Fixes #9385 "
...
This reverts commit dd93d0eb32
.
2011-08-26 10:10:35 -04:00
Dave Methvin
e57057739b
Merge pull request #445 from rwldrn/9897
...
Fixes #9897 . Wrap obj.constructor test in try/catch to avoid problems with host objects. Thanks to bkrausz.
2011-08-25 12:25:58 -07:00
Dave Methvin
a839af034d
Merge pull request #465 from anton-ryzhov/master
...
Fixes #10076 . $.inArray crashes IE6 and Chrome if second argument is `null` or `undefined` (Thanks anton-ryzhov!)
2011-08-25 12:22:47 -07:00
Dave Methvin
749dbad981
Prioritize #id over <tag> to avoid XSS via location.hash ( #9521 )
2011-08-23 08:25:11 -04:00
dmethvin
1a738cb72f
Landing pull request 463. Fixes #9572 . Don't camelize the -ms-
prefix because Microsoft didn't. A Fixes #9572 .
...
More Details:
- https://github.com/jquery/jquery/pull/463
- http://bugs.jquery.com/ticket/9572
2011-08-17 17:34:09 -04:00
Anton Ryzhov
190136cf61
Unit test for this case
...
Codestyle fixes
2011-08-17 18:56:21 +04:00
Anton Ryzhov
9c18eb2c15
$.inArray doesn't crush IE6 and Chrome if second argument is null
or undefined
2011-08-17 15:30:12 +04:00
Rick Waldron
e7af6a296b
Improves support for arbitrary numbers in data keys. Fixes #9318
2011-08-05 10:17:24 -04:00
Dave Methvin
5417a2cf6b
Merge pull request #417 from rwldrn/9385
...
Begrudgingly adds chrome detection to jQuery.browser (1.7). Fixes #9385
2011-08-04 14:31:56 -07:00
Rick Waldron
ad16db370e
Wrap obj.constructor test in try/catch. Thanks to bkrausz. Fixes #9897
2011-07-25 17:06:38 -04:00
jaubourg
27291ff06d
Fixes #9255 : xml parsing error in $.parseXML is now properly detected for all browsers. Unit test added.
2011-07-23 03:26:36 +02:00
rwldrn
dd93d0eb32
Begrudgingly adds chrome detection to jQuery.browser (1.7). Fixes #9385
2011-06-20 09:57:26 -04:00
Schalk Neethling
8a532d1575
Landing pull request 378. Comment typo in core.js.
...
More Details:
- https://github.com/jquery/jquery/pull/378
2011-06-14 16:01:50 -04:00
Greg Hazel
13ceb0f56b
Landing pull request 410. Moves jQuery attachment comment to outro.
...
More Details:
- https://github.com/jquery/jquery/pull/410
2011-06-14 15:51:03 -04:00
rwldrn
408c98fb4b
Landing pull request 383. Relocating jQuery.camelCase to core; Fixes #9368 .
...
More Details:
- https://github.com/jquery/jquery/pull/383
- http://bugs.jquery.com/ticket/9368
2011-05-25 15:10:49 -04:00
John Resig
ca338dc749
Check for #8984 wasn't strong enough, enhanced.
2011-05-02 13:31:23 -04:00
John Resig
6c449fd5df
Make sure that empty nodelists continue to map properly. Fixes #8993 .
2011-05-02 13:25:53 -04:00
John Resig
86aa764f0b
Change check for skipping the initial quickExpr RegExp check. Fixes #8984 .
2011-05-02 13:14:13 -04:00
timmywil
d274b7b9f7
Landing pull request 332. Appending disconnected radio or checkbox inputs and keeping checked setting Fixes #8060 , #8500 .
...
More Details:
- https://github.com/jquery/jquery/pull/332
- http://bugs.jquery.com/ticket/8060
- http://bugs.jquery.com/ticket/8500
2011-04-21 21:51:23 -04:00
John Resig
15da298f72
Remove unnecessary usage of Function.prototype.bind ( #7783 ) but maintain API. Also fix bug with proxy failing when a name is provided. Fixes #8893 .
2011-04-17 18:17:31 -04:00
jrburke
0b1c2e642a
Add support for registering jQuery as an AMD module. Only does so if the AMD loader indicates it has special allowances for multiple versions of jQuery being loaded in a page.
2011-04-16 20:35:18 -07:00
John Resig
122514a8da
Merge branch 'master' of https://github.com/jclain/jquery into jclain-master
2011-04-12 16:26:41 -04:00
John Resig
978c065555
Merge branch 'Sub_Naming' of https://github.com/timmywil/jquery into timmywil-Sub_Naming
...
Conflicts:
src/core.js
src/css.js
src/event.js
2011-04-12 16:05:40 -04:00