Oleg Gaidarenko
14eba98c8f
Build: code style fixes after all those reverts
2015-12-22 18:51:04 +03:00
Oleg Gaidarenko
c9546c6be5
Revert "Ajax: Always use script injection in globalEval"
...
This reverts commit 37f0f7f42c
.
2015-12-22 18:16:52 +03:00
Oleg Gaidarenko
0b5e8dba05
Revert "Core: Remove deprecated context and selector properties"
...
This reverts commit e2ec5da2a7
.
2015-12-22 18:00:00 +03:00
Oleg Gaidarenko
fd5858f542
Revert "Core: Throw an error on $("#") rather than returning 0-length collection"
...
This reverts commit 93f95c9663
.
2015-12-22 17:52:22 +03:00
Oleg Gaidarenko
3b573a59d9
Revert "Data: do not include digits when camelCasing"
...
This reverts commit a254f22d7b
.
2015-12-22 16:45:05 +03:00
Oleg Gaidarenko
c7641e1ffa
Revert "Offset: allow offset setter to throw for disconnected elements"
...
This reverts commit dc49f62f22
.
2015-12-22 16:06:04 +03:00
Oleg Gaidarenko
82d10848c6
Revert "Core: make isNumeric limited to strings and numbers"
...
This reverts commit ada073e9ac
.
2015-12-22 14:17:53 +03:00
Timmy Willison
ada073e9ac
Core: make isNumeric limited to strings and numbers
...
Fixes gh-2662
(cherry picked from commit 15ac848868
)
2015-10-25 15:15:59 -04:00
Liza Ramo
d846c25dca
Core: make isNumeric test work on Symbol
...
Ref #2645
Closes #2657
(cherry picked from commit 0703fd52ef
)
2015-10-25 14:12:53 -04:00
Liza Ramo
d3a2fdce97
Core: add unit test for isPlainObject(Symbol)
...
Fixes #2645
Closes #2661
(cherry picked from commit 9090d98439
)
2015-10-18 16:06:04 -04:00
Aurelio De Rosa
6e466af010
Tests: Account for array-like objects in jQuery.grep
...
Cherry-picked from 67b76f5986
Closes gh-2605
2015-10-13 03:48:55 +03:00
Oleg Gaidarenko
8cac6da55d
Tests: fix code style issues
...
Cherry-picked from 625bd303d9
Follow-up for c7cf28681e
2015-10-13 01:23:30 +03:00
Christian Grete
c7cf28681e
Core: Support Symbol wrapper objects in jQuery.type
...
In ECMAScript 2015 (ES6), the native typeof operator returns "symbol"
for Symbol primitives. As it is possible to wrap symbols using the
Object constructor, symbols can be objects as well as any other
primitive type in JavaScript and should be determined by jQuery.type.
Cherry-picked from 8a734344f2
Closes gh-2627
2015-10-13 01:18:39 +03:00
Oleg Gaidarenko
15f79201c4
Tests: Add .extend test for defined accessor properties
...
Ref 9748e436ad
Closes gh-2615
2015-10-12 17:28:48 +03:00
Oleg Gaidarenko
d8b7e7b0bd
Tests: more style corrections
...
Provocated by jscs-dev/node-jscs@2de68c0
Ref c161eecce0
2015-09-08 04:26:33 +03:00
Oleg Gaidarenko
2f0cedc997
Tests: further improvements QUnit 2.0 migration
...
* Remove QUnit jshint globals
* Extend QUnit.assert methods
* Use assert.async instead of start/stop/done
Ref b930d14ce6
Ref c8d15a2f9f
2015-09-08 04:15:54 +03:00
Oleg Gaidarenko
4543815eed
Tests: Partially use new qunit interface
...
http://qunitjs.com/upgrade-guide-2.x/
For most of the boring work was used
https://github.com/apsdehal/qunit-migrate package
However, it can't update local qunit helpers, plus in some places
old QUnit.asyncTest signature is still used
Ref b930d14ce6
Fixes gh-2540
2015-09-07 20:14:59 +03:00
Oleg Gaidarenko
20ddbe4f59
Build: Update jscs and lint files
...
Ref 10fdad742a
Fixes gh-2056
2015-09-07 20:14:50 +03:00
Oleg Gaidarenko
b8b111e337
Tests: don't use deprecated argument in test declaration
...
Ref aabe94edb4
2015-07-30 20:48:26 +03:00
Thomas Tortorini
15f48047bc
Core: .each/.map should accept an undefined/null value
...
(cherry-picked from bf48c21d22
)
Fixes gh-2267
Closes gh-2363
2015-07-27 20:02:54 +02:00
Timmy Willison
ee69e9c8b8
Revert "Offset: allow offset setter to throw for disconnected elements"
...
This reverts commit 0d11c1182f
.
2015-06-16 10:55:48 -04:00
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