Matthias Jäggli
227c49a459
Fix #12411 , .removeClass(undefined) is a chaining no-op. Close gh-913.
...
.removeClass() //removes all classes, as documented
.removeClass(window.nonExistentVariable) // removes nothing
2012-10-21 21:06:41 -04:00
Dave Methvin
d0015ecd2f
Missing semicolon.
2012-10-21 20:19:51 -04:00
Oleg
696c553053
Fix failing tests for beforeunload in Safari 5.0. Close gh-1002.
2012-10-21 20:14:05 -04:00
Oleg
9dd0b01017
Fix #12061 . Avoid window.onbeforeunload to permit multiple handlers. Close gh-894.
2012-10-20 22:29:18 -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
Sai Wong
2b0e720406
Fix #12048 . Set attributes for XML fragments. Close gh-965.
2012-10-20 15:27:43 -04:00
Jonathan Sampson
144b8bfead
Fix attribute names in aliased form property test. Close gh-951.
...
Test expects input elements having name='id', name='name', and name='target'. Additionally, these should have id='id', id='name', and id='target' respectively. No element was provided with id='id' or name='id', but rather one element had two name attributes (illegal) with the values 'id' and 'name' respectively.
2012-10-20 14:58:19 -04:00
Richard Gibson
b5084b4bf2
Fix #4262 : faster .eq(), closes gh-1000.
2012-10-19 22:32:25 -04:00
Dave Methvin
32051e97c1
Combine parseJSON tests and fix style.
...
We only care about the result of parseJSON so there's no reason to feature detect the entire test.
2012-10-19 21:59:45 -04:00
Dave Methvin
3144163f61
Followup for #12751 , only test on browsers with JSON.parse
2012-10-19 17:18:33 -04:00
Allen J Schmidt Jr
c6cf30a56e
Fix #12739 . Keep namespace when triggering with an Event. Close gh-972.
2012-10-19 16:42:13 -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
Richard Gibson
c31539c8a2
no ticket: fix jQuery suite failure on Android
2012-10-17 15:20:50 -04:00
Mike Sherov
fad0e22181
fix failing offset tests
2012-10-17 14:52:16 -04:00
Merrifield, Jay
425272aea1
Fixes #12749 , correctly detect position() for position:fixed elements, closes gh-991
2012-10-17 13:41:49 -04:00
Erick Ruiz de Chavez
d1ad6c7eb5
Style nit in test/unit/callbacks.js. Closes gh-992
2012-10-16 17:25:20 -04:00
Sai Wong
0c1cea3761
Refactored before/after/replaceWith to not pushStack. Fixes #12664 , closes gh-987
2012-10-16 16:50:40 -04:00
Erick Ruiz de Chavez
e2ff2b1120
Enforce style in test/unit/callbacks.js. https://github.com/jquery/2012-dev-summit/issues/56
2012-10-16 16:43:44 -04:00
Dave Methvin
947acfc32e
Merge branch 'master' of github.com:jquery/jquery
2012-10-16 15:15:00 -04:00
Daniel Galvez
ef7bce7e5c
Fix #11280 . IE6-8 need name attribute to parse param. Close gh-914.
2012-10-16 15:07:44 -04:00
Greg Lavallee
e83bc970f2
Fixes #12736 . Move hover event hack to deprecated.js for removal in 1.9. Closes gh-982.
...
Signed-off-by: Timmy Willison <timmywillisn@gmail.com>
2012-10-16 14:47:11 -04:00
Rick Waldron
fd5facf1d1
Convert all jQuery.removeData(foo, bar, true) calls to jQuery._remove(foo, bar)
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-10-16 14:14:37 -04:00
Mike Petrovich
861476eb3f
Fixes #11635 , Explicit overflow:auto is overridden by inline overflow:hidden during animation, closes gh-981
2012-10-16 12:30:28 -04:00
Erick Ruiz de Chavez
69ce829dfe
Enforce style guide in test/unit/attributes.js. Closes gh-985
2012-10-16 12:29:21 -04:00
Timmy Willison
420dcc5842
Update Sizzle: allows disconnected sorting. Change add to always sort with added nodes, even when disconnected.
2012-10-16 11:54:54 -04:00
Ben Truyman
ce5784a480
Handle a falsy URL in the settings object for jQuery.ajax. Fixes #10093 , Closes gh-979
2012-10-16 11:37:15 -04:00
Mike Sherov
fcaef88968
Clean up jshintrc configs. Close gh-983.
2012-10-16 11:28:11 -04:00
carldanley
08e134548f
Create private methods for processing data/removeData requests. Fixes #12519 , Closes gh-976
2012-10-16 11:15:41 -04:00
MORGAN
4bb46f413a
Return correct index for no-arg index() calls. Fixes #10977 . Closes gh-971
2012-10-16 10:25:08 -04:00
Mike Sherov
ed9e34482a
enforce double quotes via JSHint. Closes gh-975
2012-10-16 10:17:14 -04:00
jaubourg
6ba563887a
fixes problematic JSONP test (gotta learn to count)
2012-10-16 10:03:17 -04:00
Akintayo Akinwunmi
78617f067a
Moved attrFN to deprecated. Close gh-977.
2012-10-16 10:01:18 -04:00
jaubourg
6eacf67e30
Merge branch 'master' of github.com:jquery/jquery
2012-10-16 09:41:15 -04:00
jaubourg
7d2e99fb64
comments out some problematic JSONP test until we figure out what the problem is
2012-10-16 09:39:33 -04:00
Erick Ruiz de Chavez
efc2d8b1a6
Fixing style for deferred.js unit tests. Close gh-973.
...
Close jquery/2012-dev-summit/#56
2012-10-16 08:24:18 -04:00
Rick Waldron
87bd3b5ada
Fix style nit: indent inside if statement
2012-10-15 17:21:18 -04:00
David Bonner
9104a3d5f2
Deprecate fn toggle Closes gh-970 https://github.com/jquery/2012-dev-summit/issues/24
2012-10-15 17:20:33 -04:00
Rick Waldron
d6c84c5bb5
Breakout JSONP domain-related tests
2012-10-15 17:11:21 -04:00
Timmy Willison
cc172a862b
Move deprecated.js to the bottom of the build to ensure nothing depends on a deprecated feature
2012-10-15 16:51:16 -04:00
Rick Waldron
e092b64195
Don't try to be dynamic, just get the damn job done. Expects = 30.
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-10-15 16:04:02 -04:00
Rick Waldron
a0cbf60192
Split failing cross domain tests into two separate test bodies.
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-10-15 16:00:50 -04:00
Erick Ruiz
be1f1d7b5b
Fixing style for test unit ajax.js. https://github.com/jquery/2012-dev-summit/issues/56
2012-10-15 15:53:39 -04:00
Rick Waldron
f3323901f9
Adds missing expect() call in test/unit/support.js, fixes failing IE tests
2012-10-15 14:09:03 -04:00
Rick Waldron
8a4dc3657e
Adds missing expect() call, fixes failing IE tests
2012-10-15 14:04:58 -04:00
James Huston
b36d58d4e8
Enforce expects in ajax.js ( https://github.com/jquery/2012-dev-summit/issues/53 ) Closes gh-964
2012-10-15 12:37:02 -04:00
Rick Waldron
611d7660cd
Remove duplicate expect. Add QUnit.config.requireExpects to testrunner.js QUnit configurations.
2012-10-15 12:31:27 -04:00
James Huston
0c44743496
Enforce expects in manipulation.js ( https://github.com/jquery/2012-dev-summit/issues/53 ) Closes gh-963
2012-10-15 12:19:20 -04:00
James Huston
435fbe1793
Enforce expects in events.js ( https://github.com/jquery/2012-dev-summit/issues/53 ) Closes gh-962
2012-10-15 12:18:14 -04:00
James Huston
6ac8716789
Enforce expects in events.js ( https://github.com/jquery/2012-dev-summit/issues/53 ) Closes gh-961
2012-10-15 12:16:49 -04:00
James Huston
57aa7977dd
Enforce expects in effects.js ( https://github.com/jquery/2012-dev-summit/issues/53 ) Closes gh-960
2012-10-15 12:14:54 -04:00