Oleg Gaidarenko
20ddbe4f59
Build: Update jscs and lint files
...
Ref 10fdad742a
Fixes gh-2056
2015-09-07 20:14:50 +03:00
Michał Gołębiowski
04ec688e80
Core: Support non-browser environments
...
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 842958e7ae
2015-08-16 22:29:42 +02:00
Gilad Peleg
f2bcf87c25
Attributes: fix IE8 issues
...
Follow-up for d0388e9e80
2015-06-25 03:07:24 +03:00
Gilad Peleg
d0388e9e80
Core: organize prop & attr code to be similar
...
Ref 5153b5334e
Closes gh-2426
2015-06-23 17:44:25 +03:00
Timmy Willison
b5b0d72774
Attributes: add SVG class manipulation
...
- 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
2015-05-12 10:24:42 -04:00
Bastian Buchholz
0de798d6c2
Attributes: remove unnecessary element null check
...
Close gh-2201
2015-04-20 15:06:54 -04:00
Timmy Willison
7bce5b0ee1
Attributes: revert returning null for non-existant attributes
...
Ref https://github.com/jquery/jquery/issues/2118
2015-03-30 15:30:21 -04:00
Timmy Willison
a403655491
Attributes: revert returning null for non-elements
2015-03-16 14:12:00 -04:00
Timmy Willison
17bd6e9cf9
Attributes: fix failing test for new return value
2015-03-16 11:54:43 -04:00
Winston Howes
afca031826
Attributes: return null when attribute does not exist
...
Fixes gh-2118
Close gh-2129
Conflicts:
test/unit/attributes.js
2015-03-16 11:54:33 -04:00
Richard Gibson
6ae222a54f
Core: Standardize indexOf comparisons
...
not present: `< 0`
present: `> -1`
at index: `=== N`
(cherry picked from commit 53aa87f3bf )
Closes gh-1985
2015-01-10 23:56:39 -05:00
Michał Gołębiowski
aec41a5c41
Attributes: Simplify the option val hook; backport a test from master
...
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 f6302b0b53 )
Fixes gh-1902
Closes gh-1901
2014-12-08 22:51:55 +01:00
Michał Gołębiowski
90d7cc1d8b
Misc: Drop support for older browsers; update support comments
...
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
2014-12-08 21:12:33 +01:00
Chris Antaki
835e8c4ae3
Core: Drop strundefined variable
...
Ref 29838b6cab
Closes gh-1628
2014-09-02 20:35:49 +04:00
Timmy Willison
91e06e9aeb
Build: update grunt-jscs-checker and pass with the new rules
...
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
2014-07-17 11:08:37 -07:00
John Hoven
9ec429cf62
Attributes: Trim whitespace from option text when returned as a value
...
Fixes #14858
Ref #14686
Closes gh-1531
2014-03-20 15:44:09 -04:00
Richard Gibson
b96522acfe
Support: Reduce size via code consolidation and minification awareness
...
Ref badcd1b6f3
Closes gh-1518
2014-03-04 17:00:38 -05:00
Oleg
f601dd4d23
Attrs: Restore ability to pass array to jQuery#val
...
Thanks @gibson042
2014-01-16 06:55:56 +04:00
Oleg
9fe051d57e
Attrs: Force reflow in select value setter
...
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
2014-01-16 04:56:32 +04:00
Oleg
92cbf5362c
Attrs: Fix valHook for option element
...
Fixes #14686
2014-01-16 03:21:25 +04:00
Oleg
22120cea66
Fix some code style inconsistencies
2013-11-07 22:09:33 +01:00
Timmy Willison
1a9f8d9bb1
Fix more support tests (support.input should only be false in IE8 and checkClone as it is now used is fine in IE)
2013-09-11 17:23:17 -05:00
Timmy Willison
2f627494f2
Separate jQuery.fn.init into its own module (for lighter core dependencies across all modules). Restore proper support property for effects.
...
Conflicts:
src/attributes/classes.js
src/core.js
src/manipulation.js
src/traversing.js
2013-09-09 22:51:11 -05:00
Timmy Willison
2063d6c189
Break jQuery.access out into its own module to separate it from core; Adjust 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
2013-09-09 12:04:03 -04:00
Michał Gołębiowski
badcd1b6f3
Fix #10814 . Fix #14084 . Make support tests lazy and broken out to components.
2013-09-06 03:40:49 +02:00
Timmy Willison
05d907d1b1
Fix for custom attr handles duck-punching the boolean attr handle
2013-08-28 12:12:37 -04:00
Timmy Willison
6e19d2a094
Make the attr handles a little more readable (+4 bytes)
2013-08-26 23:53:45 -04:00
Timmy Willison
dc0d3b42c9
Fix most of the broken tests in oldIE. Build order issue.
...
- attr requires val for attaching to the nodeHook as a valHook for buttons
2013-08-26 23:29:33 -04:00
Jeremy Dunck
7dfe0ad191
Fix #14164 : assign className in addClass/removeClass only if changed. Close gh-1331. (cherry-picked from c418b94eb4)
2013-08-19 17:58:00 +02:00
Timmy Willison
7315861813
Specify support as a dependency wherever it is used. Optimize module order to save 15 bytes.
...
Conflicts:
src/css.js
src/manipulation.js
src/offset.js
src/support.js
2013-08-15 20:41:43 -04:00
Timmy Willison
217cbb7109
AMD-ify jQuery sourcegit s! Woo! Fixes #14113 , #14163 .
...
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
2013-08-15 15:49:49 -04:00