aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes/val.js
Commit message (Collapse)AuthorAgeFilesLines
* Docs: Replace `#NUMBER` Trac issue references with `trac-NUMBER`Michał Gołębiowski-Owczarek2022-01-121-2/+2
| | | | | | | | | | | | | | | | | This is a version of gh-4993 for the `3.x-stable` branch. The GitHub UI treats `#NUMBER` as referring to its own issues which is confusing when in jQuery source it's usually referring to the old deprecated Trac instance at https://bugs.jquery.com. This change replaces all such Trac references with `trac-NUMBER`. A few of the references came with the Sizzle integration and referred to the Sizzle GitHub bug tracker. Those have been replaced with full links instead. A new entry describing issue reference conventions has been added to README. Closes gh-4994 Ref gh-4993 Ref 5d5ea015114092c157311c4948f7cc3d8c8e7f8a
* Core: deprecate jQuery.isFunctionJason Bedard2018-01-151-4/+5
| | | | Fixes gh-3609
* Build: fix tests in AMD modeTimmy Willison2017-03-061-2/+3
| | | | - nodeName was included at the wrong spot in dependency lists
* Core: Deprecate jQuery.nodeNamekaran-962017-03-011-3/+4
| | | | | Fixes gh-3475 Closes gh-3505
* Core: Deprecate jQuery.isArrayManoj Kumar2016-11-301-2/+2
| | | | | Fixes gh-2961 Closes gh-3278
* Core: rnotwhite -> rhtmlnotwhite and jQuery.trim -> stripAndCollapseTimmy Willison2016-09-151-4/+4
| | | | | | | | | | | | - Renames and changes rnotwhite to focus on HTML whitespace chars - Change internal use of jQuery.trim to more accurate strip and collapse - Adds tests to ensure HTML space characters are retained where valid - Doesn't add tests where the difference is inconsequential and existing tests are adequate. Fixes gh-3003 Fixes gh-3072 Close gh-3316
* Build: Update eslint config and fix associated errorsOleg Gaidarenko2016-07-151-11/+15
|
* Build: ESLint detailsOleg Gaidarenko2016-06-111-0/+5
| | | | | | Use eslint pragmas, fix new errors, etc Closes gh-3148
* Build: Put all AMD modules in "src/" in strict modeMichał Gołębiowski2016-04-251-0/+2
| | | | Fixes gh-3073
* Docs: Update support comments related to IEMichał Gołębiowski2016-03-301-1/+1
| | | | All support comments were checked for Edge applicability.
* Docs:Tests: Remove legacy code & add support comments where neededMichał Gołębiowski2016-03-301-0/+1
| | | | | | | | This commits backports some changes done in the patch to the then-existing compat branch that removed support for old browsers and added some support comments. Refs 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278
* Attributes: strip/collapse whitespace for set values on selectsTimmy Willison2016-03-171-5/+12
| | | | | Fixes gh-2978 Close gh-3002
* Attributes: return empty array for select-multiple with no valuesTimmy Willison2015-11-051-1/+1
| | | | | Fixes gh-2562 Close gh-2689
* Ajax:Attributes:CSS:Manipulation: Reduce Android 2.3 supportMichał Gołębiowski2015-09-141-2/+1
| | | | | | | | Drop non-critical workarounds for Android 2.3. Fixes gh-2483 Fixes gh-2505 Closes gh-2581
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-19/+27
| | | | Fixes gh-2056
* Core: Standardize indexOf comparisonsRichard Gibson2015-01-101-2/+2
| | | | | | | | not present: `< 0` present: `> -1` at index: `=== N` Closes gh-1984
* Attributes: Use the option val hook in select val hook and simplify itMichał Gołębiowski2014-12-081-7/+5
| | | | | | | | | The hook is still defined; not using it could cause issues in IE<11. Also, IE10 no longer throws when value not set but it still doesn't trim the value. IE11 has all those issues fixed; support comments are updated. Fixes gh-1902 Closes gh-1901
* Misc: Adjust comments & docs to dropping IE<8 in jQuery CompatMichał Gołębiowski2014-11-041-1/+1
|
* Build: update grunt-jscs-checker and pass with the new rulesTimmy Willison2014-07-171-3/+6
|
* Support: clean up comments and Support notationDave Methvin2014-06-101-5/+3
| | | | Closes gh-1577
* Attributes: Trim whitespace from option text when returned as a valueJohn Hoven2014-03-201-0/+10
| | | | | | | | | | Fixes #14858 Ref #14686 Closes gh-1531 (cherry picked from commit 9ec429cf6270e455aba4eba85f4db80e633806b6) Conflicts: src/attributes/val.js
* Attrs: Simplify an option hookOleg2014-02-051-1/+1
| | | | | | | Since getter was removed in fdd78fad19ea3390cd96971cd29430e36378d137 there is no longer a need to wrap option element in order to get its value Fixes #14756
* Attrs: Remove outdated valHook for option elementOleg2014-01-161-8/+0
| | | | | | | This hook was relevant for BlackBerry 4.7 which is no longer supported. But this code path now raises error in IE10-11 (#14686) in 1.x-master branch. So to just to be safe, also add test for IE issue to this branch too.
* No ticket: fix code style inconsistencies. Closes gh-1361Oleg2013-09-131-1/+3
|
* Flip the switch on checkOnTimmy Willison2013-09-111-1/+1
|
* Separate jQuery.fn.init into its own module (for lighter core dependencies ↵Timmy Willison2013-09-091-1/+2
| | | | across all modules)
* Fix #10814. Make support tests lazy and broken out to components.Michał Gołębiowski2013-09-061-4/+4
|
* Specify support as a dependency wherever it is used. Optimize module order ↵Timmy Willison2013-08-151-1/+2
| | | | to save 15 bytes.
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-151-0/+157