Commit Graph

20 Commits

Author SHA1 Message Date
Michał Gołębiowski-Owczarek
70dae67b73
Build: Migrate from JSHint & JSCS to ESLint
Fixes #15393
Closes gh-1958
2021-06-07 00:58:12 +02:00
Michał Gołębiowski-Owczarek
effa323f15
Position: Make sure of is treated as a CSS selector
Closes gh-1955
2021-05-04 13:31:39 +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
Scott González
efb1fee02b Position: Increase scrollbar test div to handle larger scrollbars
Fixes #15106
Closes gh-1811
2017-05-04 11:00:59 -04:00
Scott González
586d572ad2 Position: Remove fractional pixel detection
Hooray for newer browsers.

Closes gh-1739
2016-08-31 17:00:19 -04:00
Alexander Schmitz
de4cbdab98 Position: Fix line length issues
Ref gh-1690
2016-04-13 11:32:01 -04:00
Jörn Zaefferer
cb69f0025f All: Fix manifest issues for categories and CSS dependencies
Collapses "UI Core" and "Core" into just "Core".

Fixes bad paths for CSS dependencies. Regressed when moving widgets
into the widgets subfolder.
2015-10-23 09:09:51 -04:00
Alexander Schmitz
8e28f474e5 Position: Style updates
Ref #14246
Ref gh-1588
2015-08-21 08:06:24 -04:00
Alexander Schmitz
3d71fb83fe Core: Move version and creation of the ui namespace into its own module
Ref #9647
2015-08-08 00:29:35 -04:00
Alexander Schmitz
b3a9b13a21 Position: Guard against passing window to offset
Starting in jQuery 3.0 this will throw an error

Fixes #13493
Closes gh-1565
2015-07-08 00:15:34 -04:00
Scott González
3970e8c681 Position: Simplify fraction support test
Also makes the test lazy to avoid any potential layouts/recalculations during
initialization.

Fixes #9898
Ref #9899
2015-03-18 10:55:53 -04:00
Jörn Zaefferer
6b34ae952b Position: Fix style issues
Closes gh-1499
2015-03-18 12:34:46 +01: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
Thomas Meyer
ebaaca7206 Position: Restore old flip collision handling
This reverts commit 7f808b2047.

Fixes #8710
Ref gh-1071
2015-01-09 15:09:57 -05: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
b5f1ffdea4 Build: Remove manifest files; move metadata to source files
Closes gh-1379
2014-11-10 13:19:03 -05:00
Scott González
9bb51d308e Position: Support positioning within document with jQuery 1.6.x
Fixes #10071
Closes gh-1294
2014-07-24 16:05:18 -04:00
Scott González
baf6bc5c27 Position: Don't create $.support.offsetFractions 2014-04-03 10:54:52 -04:00
TJ VanToll
83b3d67175 All: Updating copyright year to 2014 2014-01-28 22:25:02 -05:00
Rafael Xavier de Souza
21154cfa2e All: Rename all files, removing the "jquery.ui." prefix;
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271;

Fixes #9464
Closes gh-1029
2014-01-24 18:22:49 -02:00