🌐 AI搜索 & 代理 主页
Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
188 commits
Select commit Hold shift + click to select a range
744be7b
jQuery.parseHTML: Mitigate XSS vulnerability
fhemberger Jan 31, 2014
b617d19
jQuery.parseHTML: Check existance of document.implementation.createHT…
fhemberger Jan 31, 2014
0bc190c
jQuery.parseHTML: Make XSS test conditional
fhemberger Feb 2, 2014
b78b93b
Remove jshint:laxbeak, use Globals.register for test
fhemberger Feb 2, 2014
b32dd62
Core: Remove special case try/catch in isPlainObject
rwaldron Feb 2, 2014
326677d
Build: Switch to explicit dependencies versions in bower.json
mgol Feb 2, 2014
5d06053
Attrs: Simplify an option hook
markelog Feb 5, 2014
5d58724
Selector: update Sizzle
mgol Feb 5, 2014
f4edd4d
Build: Upgrade QUnit to 1.14.0
mgol Feb 2, 2014
d99ca61
Docs: Change raises to throws in README test assertions
mgol Feb 5, 2014
234ec01
Support: Document box-sizing was unprefixed in Firefox 29
mgol Feb 5, 2014
463ca36
Tests: remove all the empty line whitespace
rwaldron Feb 11, 2014
3c9697b
Core: Fix trim in Android<4.1
mgol Feb 13, 2014
0a2a43b
Css: Don't check fill-opacity in Android 2.3, it's not supported
mgol Feb 13, 2014
3d124a4
Event: Blacklist the onbeforeunload test in Android 2.3
mgol Feb 14, 2014
ec1c185
Effects: Don't check fill-opacity in Android 2.3, it's not supported
mgol Feb 14, 2014
5eda862
Support: Skip style-based tests when element.style is undefined
gibson042 Feb 14, 2014
4943766
Support: Reduce size
gibson042 Feb 14, 2014
159f51a
Bower: add main property, move Sizzle to devDependencies, add license…
timmywil Feb 19, 2014
0341645
Bower: stop ignoring yourself, bower
timmywil Feb 19, 2014
11f157e
Core: Remove native String#trim usage to save size
mgol Mar 4, 2014
ff9a183
Core: Arrays like [42] should fail .isNumeric()
dmethvin Mar 4, 2014
32f06e3
Ajax: .load() should trim its selector
dmethvin Mar 4, 2014
0078ad6
Event: Allow triggerHandler(beforeunload)
dmethvin Mar 4, 2014
2049395
CSS: Return values should be numbers
dmethvin Mar 4, 2014
7248181
Core: Do not run window.onready when ready
dmethvin Mar 4, 2014
13379be
Build: Fix AMD option for custom builds
timmywil Mar 7, 2014
9919c81
Manipulation: don't use Object.keys for consistency
mgol Mar 9, 2014
eda3398
Ajax, Effects: Disable Chrome 31 workarounds
mgol Mar 10, 2014
43972cf
Css: Revert 24e587929f62428e1959b10aace6dc4fd65ab397
mgol Mar 9, 2014
ba92557
Css: Fix tests
mgol Mar 10, 2014
d2246a1
Build: Make it possible to change browserSets in the testswarm task
mgol Mar 10, 2014
3d5d5ce
Build: Allow to specify timeout in the testswarm task
mgol Mar 11, 2014
29007ac
Build: Fix testswarm task, use API correctly
jzaefferer Mar 12, 2014
b64295f
Support: Make the support matrix for iOS 6 match iOS 7 as well
mgol Mar 13, 2014
fc46d6b
Event: Call underlying stopImmediatePropagation when present
dmethvin Mar 6, 2014
afb01fc
Core: Bump timeouts to stabilize doc ready test
mgol Mar 13, 2014
65bfd30
AMD: Note on AMD best practices
sheppard Jan 9, 2014
8336fb2
Readme: updating QUnit information
leobalter Jan 22, 2014
6ae02d3
CSS: Add flex-grow and flex-shrink to cssNumber
silverwind Mar 10, 2014
3cc4c1c
Build: Refactor testswarm Grunt task options
mgol Mar 16, 2014
d6feaf5
Readme: Fix subsection titles and grammar, thanks @robgraeber
dmethvin Mar 13, 2014
41081ce
Event: Treat Pointer events like mouse events, #14741
louisremi Jan 30, 2014
6eae719
Event: Unit test for #14741 fix
dmethvin Mar 16, 2014
7a8a55b
Core: Blacklist the ready test on async-loaded jQuery in iOS7
mgol Mar 17, 2014
c3fe216
Build: Change the timeout for the weekly job from 4h to 1h
mgol Mar 18, 2014
01760fd
Core: Change the sleep time in dont_return.php to a sane value
mgol Mar 18, 2014
3ea6d87
Event: Don't test stopImmediatePropagation in Android 2.3
mgol Mar 18, 2014
af25c4c
Event: Simplify the logic behind blacklisting Android 2.3 on one test
mgol Mar 18, 2014
4770d83
Core: Change the sleep time in dont_return.php from 100s to 30s
mgol Mar 19, 2014
624a4b3
Package: Sort devDependencies
jzaefferer Feb 21, 2014
810b4e2
Build: Add commitplease for commit msg checking
jzaefferer Feb 21, 2014
9f85693
Tests: Remove obsolete speed directory
dmethvin Mar 20, 2014
832c882
Core: Fix comments for .get() method
benjycui Mar 18, 2014
ec04c2a
CSS: window.getDefaultComputedStyle may return null
rosenfeld Jan 28, 2014
a61bd70
Attributes: Trim whitespace from option text when returned as a value
johnhoven Mar 6, 2014
572054a
Manipulation: Change support test to be WWA-friendly
jonathansampson Mar 11, 2014
4f5ae9c
CSS: jQuery#hide should always save display value
markelog Feb 5, 2014
9feca38
Effects: Don't overwrite display:none when .hide()ing hidden elements
gibson042 Mar 20, 2014
1b3dad4
Event: Fix isDefaultPrevented for bubbled events in Android 2.3
mgol Mar 18, 2014
7d4de61
Selector: Use Element.matches in selector-native if available
foolip Feb 21, 2014
ec4c2d2
Build: Update release script for new jquery-release API
scottgonzalez Mar 18, 2014
b02178c
Support: Add Android support tests results
mgol Mar 31, 2014
981387e
Build: change .gitattributes; use system line ends for non-JS files
mgol Apr 4, 2014
fd9de8c
Build: use browserSets from config file; allow to override
mgol Apr 15, 2014
d51471b
Build: set default testswarm timeout to 15 minutes
mgol Apr 15, 2014
c633202
Tests: Simplify "testTimeout" option
markelog Jan 27, 2014
7a021d3
Tests: Remove uselss "keys" helper
markelog Jan 27, 2014
2a52951
Tests: Remove QUnit start hook
markelog Jan 27, 2014
114ce37
Tests: Simplify globals cleanup
markelog Jan 27, 2014
b1d231a
Tests: Remove Sizzle intergration tests
markelog Feb 18, 2014
36ea7d1
Tests: More improvments for testrunner
markelog Feb 18, 2014
5b8fc11
Build: Use jscs to check test helpers
markelog Feb 18, 2014
849d6d9
Build: Add lint task
markelog Feb 18, 2014
fb5370c
Tests: Correct logic of a broken assertion
markelog Feb 18, 2014
a8b7012
Tests: Improve jsonp tests
markelog Feb 18, 2014
e5ae900
Tests: Do global clean up in teardown function
markelog Feb 18, 2014
ceeed53
Tests: Move some of the Sizzle tests to selector
markelog Feb 24, 2014
5afabcc
Tests: Copy Sizzle.contains tests
markelog Feb 26, 2014
718102f
Tests: Copy Sizzle.uniqueSort tests
markelog Feb 26, 2014
5b02d06
Tests: Add test for selectors with commas
markelog Feb 26, 2014
f4e0ff4
Tests: Add more tests for Sizzle attributes
markelog Feb 26, 2014
2f98d9e
Tests: Copy some Sizzle combinators tests
markelog Feb 26, 2014
9b683d0
Tests: Remove unused variables
markelog Feb 26, 2014
a0e4722
Tests: Bring back some of the clean-up logic
markelog Apr 5, 2014
ef59f10
Tests: Fix failing ajax tests in oldIE
markelog Apr 4, 2014
9e6b753
Build: Fix code style issue
markelog Apr 15, 2014
77ee597
Build: Update jscsrc
markelog Apr 15, 2014
0326fb7
Build: Remove Sizzle from run names passed to the testswarm task
mgol Apr 15, 2014
0b15b30
Build: Update version from pre to -pre
scottgonzalez Apr 17, 2014
d830337
Dimensions: Reverse a check to avoid potential reflows
ckosmowski Apr 14, 2014
81661cd
Css: Use only positive integers as values for widows/orphans
mgol Apr 18, 2014
1081452
Selector: Update Sizzle to 1.10.19
gibson042 Apr 18, 2014
5cee3c1
Build: Remove json check for jscs config
markelog Apr 23, 2014
58bab7b
Build: Add "browser" keyword for npm
dmethvin Apr 23, 2014
5054e1d
Build: Spaces vs tabs
markelog Apr 24, 2014
0e0feb2
Effects: Respect display value on inline elements
markelog Apr 26, 2014
13fa443
Data: Work around IE11 bug with onpageshow attribute
dmethvin Apr 30, 2014
b69cd52
Build: Updating the master version to 2.1.2-pre.
dmethvin May 1, 2014
6aabe2b
Bower: Update project version to 2.1.2-pre
dmethvin May 1, 2014
6173ea7
Core: Remove repeated test
poppinlp May 1, 2014
cc16e61
Core: Correct the number of expected tests
mgol May 2, 2014
204f950
Ajax, Manipulation: don't test cross-document manip in Android 2.3
mgol May 5, 2014
3b901fc
Effects: Remove needless operations in tests
markelog May 9, 2014
2d547b2
Build: update AUTHORS.txt
timmywil May 23, 2014
5550efc
Build: run jshint and jscs on release scripts
timmywil May 23, 2014
d1ac9d7
Release: ensure Sizzle is the latest tag
timmywil May 23, 2014
245687a
Selector: Fix test iframe submission for firefox
markelog May 29, 2014
8ae8663
Selector: Use jQuery reference not Sizzle
markelog May 29, 2014
80cc976
Ajax: move ajax event aliases to their own file
timmywil Jun 2, 2014
94de385
Ajax: Support usage without jQuery.event
tjvantoll May 30, 2014
7c530ee
Wrap: Declare a dependency on the manipulation module
tjvantoll May 30, 2014
4d5dd18
Core: Work around loss of precision from parseFloat
gibson042 Jun 7, 2014
66fc94e
Tests: Clean up isNumeric tests
gibson042 Jun 7, 2014
200df9b
Support: clean up comments and Support notation
dmethvin Apr 25, 2014
211abd4
CSS: Do not throw on frame elements in FF
markelog May 18, 2014
b08e102
Ajax: Always use script injection in globalEval
markelog Nov 29, 2013
919a1ed
Effects: Reintroduce use of requestAnimationFrame
markelog May 9, 2014
b2387a2
Effects: Improve raf logic
markelog May 12, 2014
f17cdfd
Build: Move test to appropriate module
markelog Jun 14, 2014
3b67c5d
Build: Update commitplease dev dependency
markelog Jun 15, 2014
8b4284d
Build: Upgrade to grunt-bowercopy 1.0.0
scottgonzalez Jun 10, 2014
499b1a5
Build: Remove unused Sizzle test files
scottgonzalez Jun 10, 2014
f8c7d83
Build: Move all external libraries to external directory
scottgonzalez Jun 10, 2014
483fe30
Build: ignore test dependencies for npm install
timmywil Jun 24, 2014
4440d00
Build: update Sizzle to 1.11.1 and include license
timmywil Jun 25, 2014
6abd3da
Build: update grunt-bowercopy
timmywil Jun 25, 2014
d62ceba
Build: Update license
scottgonzalez May 27, 2014
a759b42
Selector: Remove "#" exception for identifier tokens
mgol Jun 30, 2014
3fc5cbd
Build: update Sizzle to 2.0.0
timmywil Jul 1, 2014
642486e
Core: Consistently use local reference to access()
Krinkle Jun 24, 2014
5937e84
Readme: Fix punctuation in tile
upisfree Jun 29, 2014
4cd4a56
Ajax: Remove workaround for IE6/7
ChrisAntaki Jun 13, 2014
60d2feb
Build: drop bower; use npm for front-end deps
timmywil Jul 17, 2014
c2a658a
Build: update front-end dependencies
timmywil Jul 17, 2014
623af2d
Build: update node dependencies barring jscs
timmywil Jul 17, 2014
2263b90
Build: update grunt-jscs-checker and pass with the new rules
timmywil Jul 17, 2014
55c4419
Build: update source map options for the new grunt jshint
timmywil Jul 17, 2014
2d77e09
CSS: elements are hidden when either offsetWidth or offsetHeight is zero
timmywil Jul 17, 2014
ad7a942
Css: Fix the "sanity check" test
mgol Jul 28, 2014
6e915f0
CSS: Removed redundant "to the number" in comment
AurelioDeRosa Jun 10, 2014
f9a5915
Core: Drop strundefined variable
ChrisAntaki Jul 25, 2014
59f2955
Offset: Simplified a conditional
ChrisAntaki Jul 25, 2014
a9098a1
Build: Moved JSHint directives to .jshintrc file
ChrisAntaki Jul 25, 2014
55c9e7c
Attr: Use typeof check for getAttribute method
markelog Sep 2, 2014
3918dd2
CSS: Remove use of getDefaultComputedStyle
nazar-pc Sep 1, 2014
0042ab3
CSS: Use pre-defined displays for html and body
markelog Sep 2, 2014
514c942
CSS: Correct typo in the comment
markelog Sep 2, 2014
41f0e5e
CONTRIBUTING: Close parenthesis
amitmerchant1990 Sep 3, 2014
ff4b84a
Manipulation: Tolerate XMLNode host object input to getAll
gibson042 Jun 17, 2014
26d2677
Event: Restore the `constructor` property on jQuery.Event prototype
dcherman May 15, 2014
710dc92
Data: avoid non-alphanumeric chars in expando properties
jbedard Sep 23, 2014
c4b6700
README: Improve build instructions
markelog Sep 23, 2014
aaa350a
Readme: Fix minor style issues. Thanks @MightyBranch!
dmethvin Oct 6, 2014
d8651d4
Ajax: remove event dependency from the ajax module
markelog Oct 10, 2014
a7b3b77
Misc: Need for speed removed by 9ad6e7e
dmethvin Oct 19, 2014
24d137a
Misc: Update all references to bugs.jquery.com
arthurvr Oct 17, 2014
d9c675e
Build: Upgrade to commitplease 2.0.0
jzaefferer Oct 22, 2014
1996e26
Deprecated: Drop size and andSelf methods
mgol Oct 30, 2014
c7f06d1
README: Update the description of the deprecated module
mgol Oct 30, 2014
eb5fd91
Change broken url to wayback one
arthurvr Oct 25, 2014
35b67b8
Ajax: Fix for request aborted in ajaxSend
Jul 13, 2014
472cc1b
Build: update version to 3.0.0-pre
timmywil Nov 3, 2014
c786437
Docs: 1.x-master branch -> compat branch; 2.x branch -> master branch
timmywil Nov 3, 2014
945015d
Misc: Drop support for older browsers; update support comments
mgol Oct 27, 2014
1b8c7eb
Misc: Remove leftover -moz-box-sizing in tests
mgol Nov 3, 2014
b97f585
Misc: Adjust comments & docs to dropping IE<8 in jQuery Compat
mgol Nov 4, 2014
a0906fc
Manipulation: Check state lost if the name is set for Android 4.0-4.3
mgol Nov 5, 2014
1024f1c
Build: Fix various typos
markelog Nov 7, 2014
ff1c1cf
Docs: correct grunt command in README.md
markelog Nov 10, 2014
0a9327a
Dimensions: allow modification of coordinates argument
markelog Nov 11, 2014
6e1da66
CSS: Clean up memory leak in reliableMarginRight
dmethvin Dec 1, 2014
b1b49d5
Manipulation: support data-URI scripts insertion
rhyzx Nov 28, 2014
03b2275
README: Add selector-native.js link. Thanks @randsonjs!
dmethvin Dec 3, 2014
b0aa8e9
Core: Throw an error on $("#") rather than returning 0-length collection
dmethvin Dec 3, 2014
856ae06
Event: Copy detail property to jQuery.Event on native events
dmethvin Dec 3, 2014
4c38087
CONTRIBUTING: Condense info and add directions to other resources
dmethvin Dec 4, 2014
1925555
Build: Remove empty define({}) from build output
dcorb May 1, 2014
e8c8365
Tests: Update QUnit
gibson042 Dec 5, 2014
e0aae1f
Tests: Minor updates for QUnit 1.16 compatibility
gibson042 Dec 5, 2014
1c529c6
Tests: Accommodate page changes from the QUnit HTML reporter
gibson042 Dec 6, 2014
f8b8d2c
Tests: Tilt at a few style guide windmills
gibson042 Dec 6, 2014
6530c50
Callbacks: Disabling a callback should prevent firing
dmethvin Dec 8, 2014
d11f8be
Event: Fully clean up events in unit test
grimalschi Oct 8, 2014
bd60848
Manipulation: improve test for data-URI
markelog Dec 7, 2014
b502ba9
Attributes: Use the option val hook in select val hook and simplify it
mgol Dec 4, 2014
adec44f
Core: Simplify and speed up .each
danielhusar Feb 7, 2014
6a4672c
Core: Remove inline check for createHTMLDocument, add to 'support'
fhemberger Dec 9, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Attrs: Simplify an option hook
Since getter was removed in fdd78fa
there is no longer a need to wrap option element in order to get its value

Fixes #14756
  • Loading branch information
markelog authored and fhemberger committed Dec 9, 2014
commit 5d060534c0e8f289cc9de8f27f055daca873e614
2 changes: 1 addition & 1 deletion src/attributes/val.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jQuery.extend({

while ( i-- ) {
option = options[ i ];
if ( (option.selected = jQuery.inArray( jQuery(option).val(), values ) >= 0) ) {
if ( (option.selected = jQuery.inArray( option.value, values ) >= 0) ) {
optionSet = true;
}
}
Expand Down