aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes
Commit message (Collapse)AuthorAgeFilesLines
* Attributes: strip/collapse whitespace for set values on selectsTimmy Willison2016-03-171-3/+6
| | | | | Fixes gh-2978 Close gh-3002
* Attributes: fix setting selected on an option in IE<=11Timmy Willison2016-03-071-2/+15
| | | | | Fixes gh-2732 Close gh-2840
* Attributes: fix toggleClass(boolean) in ie6/7Timmy Willison2016-01-071-7/+5
|
* Revert "Attributes: Remove undocumented .toggleClass( boolean ) signature"Timmy Willison2016-01-071-16/+50
| | | | This reverts commit f24726daa3760014b7283ad14a13117c72dd9474.
* Attributes: fix IE6-7 classesTimmy Willison2016-01-061-3/+3
|
* Revert "Misc: Drop support for older browsers; update support comments"Timmy Willison2016-01-064-22/+152
| | | | This reverts commit 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278.
* Revert "Attributes: do not set properties to false when removing booleans"Oleg Gaidarenko2015-12-221-1/+18
| | | | This reverts commit 5c086c3782459307c44397549fef15a87c8b90c4.
* Attributes: do not set properties to false when removing booleansTimmy Willison2015-10-261-18/+1
| | | | | | | | | Fixes gh-1759 (cherry picked from commit 47ccf3daadc4b312f850502300129952e70f9d9d) Conflicts: src/attributes/attr.js
* Attributes: removeClass() -> attr("class", "")Thomas Tortorini2015-10-251-24/+22
| | | | | | | | | | | - Classes simpliciation Close gh-2465 (cherry picked from commit 5db1e053098af747330044d5740e5379f2834402) Conflicts: src/attributes/classes.js
* Attributes: Use simpler boolean check vs a function callDave Methvin2015-10-251-5/+2
| | | | | | Ref gh-2491 (cherry picked from commit 4bf1a09522955eb52de1fafb4ee1ecc5982b7a3e)
* Attributes: Remove undocumented .toggleClass( boolean ) signatureDave Methvin2015-10-251-52/+21
| | | | | | | | | | Fixes gh-2491 Close gh-2618 (cherry picked from commit 53f798cf4d783bb813b4d1ba97411bc752b275f3) Conflicts: src/attributes/classes.js
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-075-60/+75
| | | | | Ref 10fdad742a2a6aa9f0e00b3e04fc5264797c53c7 Fixes gh-2056
* Core: Support non-browser environmentsMichał Gołębiowski2015-08-161-10/+14
| | | | | | | | | | | | Fixes gh-2133 Fixes gh-2501 Closes gh-2504 Refs gh-1950 Refs gh-1949 Refs gh-2397 Refs gh-1537 Refs gh-2504 Refs 842958e7aecd0d75a7ee9e2aaec83457701aa2f3
* Attributes: fix IE8 issuesGilad Peleg2015-06-252-24/+105
| | | | Follow-up for d0388e9e806ca3b30e7bbaaa1c336b7c98dc5f88
* Core: organize prop & attr code to be similarGilad Peleg2015-06-232-154/+81
| | | | | Ref 5153b5334eb2c8317372b46209bd9d092a91afdc Closes gh-2426
* Attributes: add SVG class manipulationTimmy Willison2015-05-121-33/+47
| | | | | | | | | - Note: support for SVG is limited in jQuery, but this is one area where the cost vs benefit ratio was acceptable. Fixes gh-2199 Close gh-2268
* Attributes: remove unnecessary element null checkBastian Buchholz2015-04-201-1/+1
| | | | Close gh-2201
* Attributes: revert returning null for non-existant attributesTimmy Willison2015-03-301-1/+6
| | | | Ref https://github.com/jquery/jquery/issues/2118
* Attributes: revert returning null for non-elementsTimmy Willison2015-03-161-1/+1
|
* Attributes: fix failing test for new return valueTimmy Willison2015-03-161-1/+1
|
* Attributes: return null when attribute does not existWinston Howes2015-03-161-6/+1
| | | | | | | | Fixes gh-2118 Close gh-2129 Conflicts: test/unit/attributes.js
* Core: Standardize indexOf comparisonsRichard Gibson2015-01-102-4/+4
| | | | | | | | | | not present: `< 0` present: `> -1` at index: `=== N` (cherry picked from commit 53aa87f3bf4284763405f3eb8affff296e55ba4f) Closes gh-1985
* Attributes: Simplify the option val hook; backport a test from masterMichał Gołębiowski2014-12-081-6/+3
| | | | | | | | | | | | | The hook is still defined; not using it could cause issues in IE<11. Backport the test from the master branch. 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. (cherry-picked from f6302b0b53d61dfe1adbfaf6612be5cbced5bbc1) Fixes gh-1902 Closes gh-1901
* Misc: Drop support for older browsers; update support commentsMichał Gołębiowski2014-12-084-144/+20
| | | | | | | | | | That includes IE<8, Opera 12.x, Firefox<29, Safari<6.0 and some hacks for old Blackberry. Fixes gh-1836 Fixes gh-1701 Refs gh-1815 Refs gh-1820
* Core: Drop strundefined variableChris Antaki2014-09-022-6/+4
| | | | | Ref 29838b6cab6f2e508f3e9692f32918c72b1a504b Closes gh-1628
* Build: update grunt-jscs-checker and pass with the new rulesTimmy Willison2014-07-175-16/+32
| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: build/tasks/build.js src/ajax/xhr.js src/attributes/classes.js src/attributes/prop.js src/attributes/val.js src/core/init.js src/core/ready.js src/css.js src/css/curCSS.js src/css/defaultDisplay.js src/data.js src/data/var/dataPriv.js src/data/var/dataUser.js src/dimensions.js src/effects.js src/event.js src/manipulation.js src/offset.js src/queue.js src/selector-native.js test/data/testrunner.js
* Attributes: Trim whitespace from option text when returned as a valueJohn Hoven2014-03-201-1/+3
| | | | | | Fixes #14858 Ref #14686 Closes gh-1531
* Support: Reduce size via code consolidation and minification awarenessRichard Gibson2014-03-041-5/+3
| | | | | Ref badcd1b6f301e6253405f17759c1270549a34e12 Closes gh-1518
* Attrs: Restore ability to pass array to jQuery#valOleg2014-01-161-1/+2
| | | | Thanks @gibson042
* Attrs: Force reflow in select value setterOleg2014-01-161-5/+21
| | | | | | | | | When new option element is added to select box we need to force reflow of newly added node in order to workaround delay of initialization props. try...catch statment is required for bug isolation Fixes #2252
* Attrs: Fix valHook for option elementOleg2014-01-161-2/+1
| | | | Fixes #14686
* Fix some code style inconsistenciesOleg2013-11-072-2/+2
|
* Fix more support tests (support.input should only be false in IE8 and ↵Timmy Willison2013-09-111-1/+2
| | | | checkClone as it is now used is fine in IE)
* Separate jQuery.fn.init into its own module (for lighter core dependencies ↵Timmy Willison2013-09-092-2/+4
| | | | | | | | | | across all modules). Restore proper support property for effects. Conflicts: src/attributes/classes.js src/core.js src/manipulation.js src/traversing.js
* Break jQuery.access out into its own module to separate it from core; Adjust ↵Timmy Willison2013-09-092-4/+6
| | | | | | | | | | | | | CommonJS+AMD build support to include non-var dependencies. Convert modules with more than a few dependencies to use CJS+AMD syntax. Conflicts: src/core.js src/css.js src/data.js src/effects.js src/event.js src/manipulation.js src/traversing.js
* Fix #10814. Fix #14084. Make support tests lazy and broken out to components.Michał Gołębiowski2013-09-064-16/+79
|
* Fix for custom attr handles duck-punching the boolean attr handleTimmy Willison2013-08-281-4/+6
|
* Make the attr handles a little more readable (+4 bytes)Timmy Willison2013-08-261-25/+25
|
* Fix most of the broken tests in oldIE. Build order issue.Timmy Willison2013-08-261-0/+1
| | | | - attr requires val for attaching to the nodeHook as a valHook for buttons
* Fix #14164: assign className in addClass/removeClass only if changed. Close ↵Jeremy Dunck2013-08-191-4/+13
| | | | gh-1331. (cherry-picked from c418b94eb48188cd9329519ae5e030a52dd81cc9)
* Specify support as a dependency wherever it is used. Optimize module order ↵Timmy Willison2013-08-153-3/+6
| | | | | | | | | | to save 15 bytes. Conflicts: src/css.js src/manipulation.js src/offset.js src/support.js
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-154-0/+703
Conflicts: Gruntfile.js README.md src/ajax.js src/ajax/xhr.js src/attributes.js src/core.js src/css.js src/data.js src/effects.js src/event.js src/manipulation.js src/offset.js src/selector-native.js src/traversing.js test/unit/core.js test/unit/data.js