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
Michał Gołębiowski
a022da7056
Build: Update grunt-contrib-jshint
...
JSON needed to be added to JSHint globals as it's not implied by the es3
setting and yet all our supported browsers have it implemented.
(cherry-picked from 1556c4661a
)
2015-06-13 23:24:01 +02:00
Stephen Edgar
9edd95ffd7
Build: remove deprecated JSHint options
...
(cherry-picked from 34da7d5529
)
JSHint no longer supports `onevar`, `smarttabs` or `trailing` options.
Closes gh-2029
2015-03-08 06:30:41 +03:00
Michał Gołębiowski
345a598653
Build: Upgrade QUnit to 1.14.0
...
(cherry-picked from 95b21c6ec2
)
2014-02-05 15:47:20 +01:00
John Paul
2d6da2da6c
Effects: Integrate sinon fake timers into tests
...
(cherry picked from commit b407bddea2
)
Closes gh-1377
2014-01-09 22:03:24 -05: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
3774ee49e0
No ticket: Fix subproject iframe tests
...
(cherry picked from commit 13d58a9bec
)
2013-10-11 15:08:58 -04:00
Timmy Willison
be1e4eee60
Convert testrunner to an AMD module and ensure jQuery is on the page when executing the testrunner (another race condition amplified by swarm)
...
Conflicts:
test/data/testinit.js
test/data/testrunner.js
2013-09-06 17:23:45 -04: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
Timmy Willison
8e6e239256
Pass all tests (and load Sizzle fixture correctly) when loading with AMD
...
Conflicts:
src/css.js
2013-08-29 16:25:44 -04:00
Michał Gołębiowski
4b7a0d4e0a
Update devDependencies, adjust .jshintrc to jsHint 2.x, use .jshintignore. Close gh-1283.
...
Conflicts:
src/.jshintrc
test/.jshintrc
2013-07-11 12:59:44 -04:00
Michał Gołębiowski
a19c831b38
Correct spacing
2013-04-15 19:13:08 +02: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
Timo Tijhof
5dd8a90f73
Make compatible with jshint, lint test/data. Close gh-1043.
2012-12-06 13:46:37 -05:00
jaubourg
b7ece8c620
Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore."
...
This reverts commit 228ab3ddae
.
2012-12-05 14:54:14 +01:00
jaubourg
6df2900d3a
Revert "Fixes spacing"
...
This reverts commit 2a419a7e8f
.
2012-12-05 14:54:10 +01:00
jaubourg
2a419a7e8f
Fixes spacing
2012-12-04 07:45:30 +01:00
jaubourg
228ab3ddae
Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore.
2012-12-04 07:40:12 +01:00
Richard Gibson
5b9bf13439
No ticket: improve global variable/ajax request tracking
2012-12-02 23:32:16 -05:00
jaubourg
d31cef38f2
Total revamping of the ajax unit tests
2012-11-26 03:31:19 +01:00
Dave Methvin
a8887e937a
Remove trailing comma to fix test lint.
2012-11-01 19:47:59 -04:00
Richard Gibson
3f51504580
No ticket: remove test suite external dependencies
2012-11-01 17:32:08 -04:00
Sai Wong
2b0e720406
Fix #12048 . Set attributes for XML fragments. Close gh-965.
2012-10-20 15:27:43 -04:00
Mike Sherov
fcaef88968
Clean up jshintrc configs. Close gh-983.
2012-10-16 11:28:11 -04:00
Mike Sherov
ed9e34482a
enforce double quotes via JSHint. Closes gh-975
2012-10-16 10:17:14 -04:00
Chad Killingsworth
de9bed319e
Make unit tests friendly to Closure Compiler. Closes gh-845.
...
Conflicts:
test/unit/effects.js
test/unit/offset.js
2012-07-05 15:52:42 -04:00
Rick Waldron
96246332f7
Adds .jshintrc files for: grunt (default set), src, tests; Adapts jQuery-UI loading method
2012-06-25 10:49:21 -04:00