Commit Graph

86 Commits

Author SHA1 Message Date
Michał Gołębiowski-Owczarek
b61b16b5a8
All: Drop support for jQuery 1.7
Closes gh-1923
2020-07-22 16:04:47 +02:00
Michał Gołębiowski-Owczarek
d37ebc624d
Build: Add jQuery 3.5.0 & 3.5.1
Closes gh-1915
2020-05-16 08:27:27 +02:00
Michał Gołębiowski-Owczarek
512cbbf4d9
Build: Update jQuery Simulate, jQuery Migrate & jQuery Color
The jQuery Simulate & jQuery Color updates are needed for compatibility
with jQuery master, a future jQuery 4.

Closes gh-1914
2020-05-16 08:26:48 +02:00
Michał Gołębiowski-Owczarek
98b539171b All: Migrate away from deprecated/removed Core APIs
Summary of the changes:

* Build: Add jQuery 3.2.0-3.4.1 to versions UI can be tested against
* Build: Load jQuery & Migrate via HTTPS
* Build: Add package-lock.json to .gitignore
* Build: Update jQuery Migrate from 3.0.0 to 3.1.0
* Build: Allow to run tests against jQuery 3.x-git
* Build: Fix formatting according to JSCS rules
* Build: Disable JSCS for the inlined jQuery Color
* All: Switch from $.isArray to Array.isArray (jQuery.isArray will be
  removed in jQuery 4.0)
* All: Switch from `$.isFunction( x )` to `typeof x === "function"`
  (jQuery.isFunction will be removed in jQuery 4.0)
* All: Inline jQuery.isWindow as it'll be removed in jQuery 4.0
* Effects: Fix a timing issue in a variable declaration. Previously,
  a jQuery object was created, chained & assigned to a variable that
  was then accessed in a callback used inside of this chained
  definition. Due to a timing difference in when the callback fired for
  the first time in latest jQuery master, it was being called before
  the variable was defined.
* Tests: Make dialog & draggable unit tests less strict (newest jQuery
  returns fractional results in some cases, making comparisons fail when
  there's a tiny difference)
* All: Migrate from $.trim to bare String.prototype.trim (jQuery.trim
  will be deprecated in jQuery 3.5)

Closes gh-1901
2019-12-08 22:23:08 +01:00
Eirik Sletteberg
4fa0267edc Qunit: Add bootstrap config for running tests with jQuery Migrate
Closes gh-1774
2017-02-06 08:23:18 -05:00
Michał Gołębiowski
4673c8808b Build: Add jQuery 3.1.1
Closes gh-1766
2016-11-02 12:52:22 -04:00
Scott González
c218bee80d Build: Fix list of source files
Fixes #15052
Closes gh-1751
2016-09-27 08:41:33 -04:00
Scott González
ea44d84975 Build: Add jQuery 3.1.0 2016-07-08 13:02:10 -04:00
Alexander Schmitz
71b93ed247 Build: Add jQuery 3.0 for testing 2016-07-06 09:45:29 -04:00
Scott González
23d1db5845 Build: Adjust author info for Dan Strohl 2016-06-30 11:07:44 -04:00
Michał Gołębiowski
468f1e3abe Build: Add jQuery 1.12/2.2 to the test configuration
Ref gh-1706
2016-05-25 16:42:06 -04:00
Alexander Schmitz
63448148a2 Build: Remove maxLineLength execption in .jscsrc
Also seperates tests into a seperate task because they still have many errors

Closes gh-1690
2016-04-13 11:32:22 -04:00
Scott González
48257cd9ca Build: Adjust author info for Dan Strohl 2016-04-06 13:06:40 -04:00
Scott González
6c6ec87516 Build: Upgrade grunt-git-authors to 3.1.0
Ref gh-1670
2016-02-09 14:18:37 -05:00
Scott González
e20cec37cf Build: Remove grunt-esformatter
Ref gh-1670
2016-02-09 14:18:34 -05:00
Scott González
0046553065 Build: Add grunt jenkins task 2015-10-17 21:14:39 -04:00
Scott González
e6b9b7cc02 Build: Fix requirejs task and add CSS concat task back in 2015-10-17 16:28:14 -04:00
Jörn Zaefferer
b698f809de Tests: Use demo bootstrap for visual tests
Adds a data-composite option and fixes paths for effects. Otherwise
just applies the same conversion as already applied to demos, sometimes
moving a <style> element to the right place.
2015-09-30 17:55:20 +02:00
Alexander Schmitz
ffcb27c0c7 Build: update grunt file for .jscsrc
Closes gh-1589
2015-09-11 09:32:27 -04:00
Alexander Schmitz
3cf1df12c6 Build: Remove requireCamelCaseOrUpperCaseIdentifiers: null from jscs 2015-09-11 08:36:41 -04:00
Alexander Schmitz
3d43f0d7a4 Build: Style updates
Ref #14246
2015-09-11 08:36:41 -04:00
Alexander Schmitz
8d4157f4e3 Build: Style updates
Fixes #14246
Closes gh-1588
2015-08-21 08:06:24 -04:00
Alexander Schmitz
7cb0a2ba89 Build: Remove grunt concat task its no longer used
This task was only used to create the combined js file for sizer
and for creating the combined files for the NPM package. The
npm package is no longer maintained so there is no need for this any more.
2015-08-08 00:29:39 -04:00
Alexander Schmitz
a4869031e0 Build: Add requirejs build task
This more closely emulates what you get from the builder in terms of file order
it also will error on any dependency issues.
2015-08-08 00:29:39 -04:00
Alexander Schmitz
919828dfbe Build: Add demos to jscs and jshint 2015-07-21 11:00:40 -04:00
Alexander Schmitz
7336a5869c Demos: Add new infrastructure using a require.js bootstrap
Fixes #10119
Closes gh-1557
2015-07-21 11:00:40 -04:00
Scott González
ae25cdb688 Build: Upgrade to jQuery 1.11.3 2015-05-14 08:25:16 -04:00
Scott González
6231b161b9 Tests: Fix AMD loading in IE8
It appears that we must load require.js via a standard script tag in order
for it to work properly in IE8.
2015-04-17 12:13:38 -04:00
Scott González
4bf80d209a Tests: Use the qunit-assert-close module
Moved QUnit assertion dependencies from `lib/bootstrap` to `lib/qunit`.

Corrected bad draggable assertions.

Ref gh-1528
2015-04-09 09:28:25 -04:00
Scott González
7c896ddb85 Tests: Change test infrastructure to use AMD and reduce boilerplate
Ref #10119
Ref gh-1528

* Adds RequireJS and relies on AMD for loading dependencies.
* Updates to grunt-contrib-qunit 0.6.0.
* Convert `domEqual()` to a proper QUnit assertion.
* Introduces two bootstrap files (JS and CSS) which use `data-` attributes to
reduce the amount of boilerplate needed in each test
2015-04-09 09:21:06 -04:00
Scott González
500f6b4992 Tests: Switch to the new qunit-composite module
This module was created from our existing implementation.

Closes gh-1532
2015-04-07 09:03:36 -04:00
Jörn Zaefferer
868e8c70e3 Effects: Fix style issues in individual effects
Skipping ui/effect.js since embedded jquery-color has many issues.

Closes gh-1510
2015-03-18 15:42:55 +01:00
Jörn Zaefferer
8bcd363ae6 Build: Menu and Tabs now pass all jscs rules 2015-03-18 15:00:20 +01:00
Jörn Zaefferer
4e6e27d073 Build: Increase htmllint coverage by testing all files, ignoring errors
Also formats jscsBad array and sorts it alphabetically.

Closes gh-1507
2015-03-18 14:18:34 +01:00
Jörn Zaefferer
62620a3fdb Build: Update grunt-jscs to latest, use exceptions to improve coverage
Closes gh-1506
2015-03-18 13:50:56 +01:00
Alexander Schmitz
4959c81d80 Build: Add qunit-assert-classes plug-in for classes tests 2015-03-11 14:55:44 -04:00
Scott González
47a32fb5b3 Build: Don't use .min.js extension for individual source files
We don't actually use these files for anything other than size comparisons,
but having the .min.js extension means that AMD is broken.

Note: If you're using AMD with the minified files, just run a build instead.

Fixes #10674
Closes gh-1466
2015-03-05 09:11:53 -05:00
Scott González
8fdfea5fe9 Build: Upgrade to jQuery 1.11.2
Adds jQuery 1.11.0, 1.11.1, 1.11.2, 2.1.0, 2.1.1, 2.1.2, 2.1.3
2015-02-23 14:01:03 -05:00
Jörn Zaefferer
9d0f44fd7b All: Drop support for jQuery 1.6.x
Affects core, effects, position and widget. Only position has unit tests
that fail with jQuery 1.6 without the workaround.

Drops the 1.6.x copies jQuery of jQuery and removes them from the select
in the testsuites.

Fixes #10723
Closes gh-1422
2015-01-13 15:05:54 +01:00
Anne-Gaelle Colom
c89cb74893 Build: Remove dates from copyright notice
Closes gh-1403
2015-01-02 09:02:12 -05:00
Scott González
068254455f Build: Upgrade to grunt-git-authors 2.0.0 and add update-authors task
Closes gh-1378
2014-10-24 09:40:55 -04:00
Mike Sherov
aa425ab95d Build: Pull in jquery.simulate.js from Bower
Fixes #10563
2014-08-22 17:01:50 -04:00
Mike Sherov
0ad31ca469 Resizable: fix JSCS violations 2014-08-11 09:51:45 -04:00
Scott González
1071346aea Build: Upgrade to jquery-mousewheel 3.1.12 2014-07-22 12:13:59 -04:00
Scott González
a0fea7d849 Bower: Change jquery dependency to >=1.6 (don't limit max version)
Fixes #10110
Closes gh-1266
2014-06-24 22:45:54 -04:00
Scott González
19dfa2dc1b Test: Get all jQuery versions from Bower
Ref gh-1266
2014-06-24 22:45:44 -04:00
Scott González
6df127a0b5 Build: Reorganize external directory
Put each external library into its own directory.
Move jquery.js to external.

Ref gh-1266
2014-06-24 22:45:32 -04:00
David Petersen
9a93a06fbd Tests: Add widget option
Allows running qunit tests for a single widget

Closes gh-1254
2014-05-26 10:58:08 -05:00
Jörn Zaefferer
919d9185f2 External: Update mousewheel plugin, copy only main file 2014-04-14 18:08:18 +02:00
TJ VanToll
a69ccd68e4 Build: Include draggable.css and sortable.css in the CSS concat step 2014-04-14 09:45:34 -04:00