Michał Gołębiowski
2fa3bac7eb
Core: Make jQuery objects iterable
...
Make iterating over jQuery objects possible using ES 2015 for-of:
for ( node of $( "<div id=narwhal>" ) ) {
console.log( node.id ); // "narwhal"
}
(partially cherry-picked from bb026fc12c
)
Fixes gh-1693
2015-06-13 23:31:27 +02:00
Timmy Willison
dc49f62f22
Offset: allow offset setter to throw for disconnected elements
...
Fixes gh-2114
2015-05-05 09:00:41 -07:00
Timmy Willison
a254f22d7b
Data: do not include digits when camelCasing
...
Fixes gh-1751
2015-05-04 10:41:43 -04:00
Richard Gibson
fb25bacf9b
Manipulation: Make an HTML interception point
...
Fixes gh-1747
Closes gh-2203
(cherry picked from commit 225bde37c9
)
Conflicts:
src/manipulation.js
test/unit/manipulation.js
2015-04-30 13:16:28 -04:00
Timmy Willison
1e7a2f3674
Core: add workaround for iOS JIT error in isArrayLike
...
Fixes gh-2145
2015-04-29 18:03:32 -04:00
Oleg Gaidarenko
889bb1e3ee
Core: simplify "each" stylesheet iteration test
...
(cherry-picked from fcb6c4d1d6
)
Closes gh-2089
2015-02-15 01:16:52 +03:00
Timo Tijhof
61bb61279c
Core: Return empty array instead of null for parseHTML("")
...
Fixes gh-1997
Close gh-1998
Conflicts:
test/unit/core.js
2015-01-19 11:41:32 -05:00
Leonardo Braga
f19595cef4
Core: add support to tag-hyphenated elements
...
Ref #1987
Ref 534f13025a
2015-01-13 07:48:33 +03:00
Dave Methvin
e2ec5da2a7
Core: Remove deprecated context and selector properties
...
Fixes gh-1908
Closes gh-2000
(cherry picked from commit 0ea8c32863
)
2015-01-11 21:14:22 -05:00
Timmy Willison
57652eecd9
Build: fix tests in AMD mode
2014-12-10 10:18:59 -05:00
Timmy Willison
828a718aa0
Core: introduce createHTMLDocument in parseHTML; Safari 8/IE8 left out
...
Close gh-1506
2014-12-10 10:08:04 -05:00
Dave Methvin
93f95c9663
Core: Throw an error on $("#") rather than returning 0-length collection
...
Closes gh-1682
Thanks @goob for the issue report!
(cherry picked from commit 80022c81ce
)
2014-12-03 14:55:33 -05:00
Oleg Gaidarenko
9953ae4c88
Build: Move test to appropriate module
...
Ref fbdbb6fd43
2014-06-16 03:21:58 +04:00
Oleg Gaidarenko
37f0f7f42c
Ajax: Always use script injection in globalEval
...
Fixes #14757
Ref bbdfbb4ee8
2014-06-16 03:21:39 +04:00
Richard Gibson
d05f4bda1c
Tests: Clean up isNumeric tests
2014-06-07 14:33:36 -04:00
Richard Gibson
b6e99eb43c
Core: Work around loss of precision from parseFloat
...
Fixes #15100
2014-06-07 14:22:49 -04:00
Michał Gołębiowski
6738117383
Core: Correct the number of expected tests
...
(cherry-picked from da148f158f
)
2014-05-02 16:04:46 +02:00
Liang Peng
7cf9ceaebc
Core: Remove repeated test
...
(cherry-picked from 69d4a48ff6
)
Closes gh-1570
2014-05-02 15:50:31 +02:00
Michał Gołębiowski
835d64e81a
Core: Blacklist the ready test on async-loaded jQuery in iOS7
...
(cherry-picked from 551578eb36
)
Fixes #14882
2014-03-17 18:13:49 +01:00
Michał Gołębiowski
725cdebd39
Core: Add test for jQuery.ready.promise fallback load
...
Fix #13655
Close gh-1209
Ref 32b066d380
2014-03-13 02:18:29 +01:00
Dave Methvin
80e3dfa6ba
Core: Do not run window.onready when ready
...
Fixes #14802
(cherry picked from commit 2df1aad6a1
)
2014-03-04 21:50:43 -05:00
Dave Methvin
c93b174b92
Core: Arrays like [42] should fail .isNumeric()
...
Fixes #14179
(cherry picked from commit 10efa1f5b4
)
2014-03-04 21:50:39 -05:00
Michał Gołębiowski
345a598653
Build: Upgrade QUnit to 1.14.0
...
(cherry-picked from 95b21c6ec2
)
2014-02-05 15:47:20 +01:00
cjqed
305eefe6ab
Tests: Avoid use of QUnit.reset() in tests by splitting them
...
Closes gh-1470
Ref #1457
2014-01-03 08:01:46 +04:00
Michał Gołębiowski
62cebacdcb
Add es3: true to test/.jshintrc. Make tests conform to that jsHint setting.
2013-11-15 12:54:40 +01:00
Richard Gibson
60a6178131
Fix #14492 : More correct jQuery.parseJSON. Close gh-1419.
2013-11-12 00:07:28 -05:00
Michał Gołębiowski
b349731e57
No ticket. Restore some parsing tests in core. (cherry-picked from 650f325d8e
)
2013-11-10 21:15:07 +01:00
Richard Gibson
126d596b56
Fix #14074 : element id="nodeName". Close gh-1389.
2013-11-07 11:37:52 -05:00
Amey Sakhadeo
b61a64224b
Add unit tests for jQuery.grep. Close gh-1345.
2013-09-12 11:23:21 -05:00
Richard Gibson
6a6604b785
No ticket: Hide the testing-support jQuery from tests
...
(cherry picked from commit 0c18520923
)
Conflicts:
test/data/testrunner.js
2013-09-03 11:13:20 -04:00
Amey Sakhadeo
ceb5b4c9a3
Ref #14313 : Optimize 1.x jQuery.merge for size.
...
(cherry picked from commits c75c9a8ebb
f66d53c856
)
2013-09-03 02:02:45 -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
Dave Methvin
00eafdf028
Fix #13223 . Re-allow leading space in HTML. Close gh-1264.
2013-05-09 14:07:19 -04:00
Michał Gołębiowski
0db70aa1fa
Fix #13741 . Make wrap/unwrap methods optional; close gh-1236.
...
move size() test to unit/deprecated;
don't use size() in other tests;
make 2 unit tests actually fire;
code cleanup
2013-04-17 23:06:33 -04:00
Timmy Willison
d2435ead36
Update jshintrc to conform to new style guide. Conform to onevar and unused in tests. Fixes #13755 .
...
Conflicts:
src/.jshintrc
src/data.js
test/unit/attributes.js
test/unit/core.js
test/unit/data.js
test/unit/event.js
test/unit/manipulation.js
test/unit/queue.js
test/unit/traversing.js
test/unit/wrap.js
2013-04-09 12:21:54 -04:00
Brandon Johnson
58b8535d5d
Fix #12199 . Handle iteration over inherited properties in oldIE. Close
...
gh-1196.
2013-04-04 10:14:05 -04:00
dmitrygusev
a13cadadf6
Fix typos. Close gh-1186.
2013-02-28 15:55:55 -05:00
Richard Gibson
1f76536650
No ticket: Revise unit tests in anticipation of Sizzle-free builds
...
(cherry picked from commit 59f5adb622
)
2013-02-22 20:33:00 -05:00
Dave Methvin
24e7624554
Fix #12656 . Make event shorthands excludable.
2013-01-27 00:35:42 -05:00
Richard Gibson
ac93559eb9
Fix #13274 : Wrap sourceMap directive in multiline comments. Close gh-1143.
2013-01-25 10:03:53 -05:00
Dave Methvin
0ed497b045
Resurrect buildFragment and sacrifice jQuery.clean. See gh-1117.
2013-01-08 03:27:10 +00:00
Sebi Burkhard
5eec75e582
Fix #13075 . Optimize $.type by preferring typeof
. Close gh-1089.
...
Also fixes browsers where `typeof RegExp === "function"`.
2012-12-23 15:41:56 -05:00
timmywil
05531fc408
Adjust jQuery('html') detection to only match when html starts with '<' (not counting space characters). Fixes #11290 .
2012-12-13 15:31:02 -05:00
Richard Gibson
f42e1e654f
Fix IE failures from 55313d32
2012-12-11 16:12:23 -05:00
Rick Waldron
3c7f2af81d
Be specific about Firefox nodes-as-nodelist. Never assume that modern browsers will "get it right".
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-10 20:19:26 -05:00
Rick Waldron
07a7b3e4cf
Fixes #13021 . Normalization of core utility array like detection based on standard protocol by Richard Gibson <richard.gibson@gmail.com>. Closes gh-1064
2012-12-10 13:52:02 -05:00
Richard Gibson
747600b157
Don't test what ain't there no more
2012-12-06 17:01:36 -05:00
Richard Gibson
5b9bf13439
No ticket: improve global variable/ajax request tracking
2012-12-02 23:32:16 -05:00
Dave Methvin
67df705bf5
Fix #12191 . jQuery.type should return "error" for Error objects.
2012-11-24 17:22:14 -05:00
Richard Gibson
81b094b2c1
No ticket: update test suite to pass QUnit globals check in most environments. Close gh-1016.
2012-11-05 17:24:03 -05:00