Skip to content

Commit

Permalink
All: Remove the deprecated ui/core.js file
Browse files Browse the repository at this point in the history
  • Loading branch information
mgol committed May 14, 2024
1 parent ac7059c commit 37c6c4c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 35 deletions.
3 changes: 1 addition & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ module.exports = function( grunt ) {

// files
const coreFiles = [
"core.js",
"widget.js",
"widgets/mouse.js",
"widgets/draggable.js",
Expand Down Expand Up @@ -167,7 +166,7 @@ grunt.initConfig( {
findNestedDependencies: true,
skipModuleInsertion: true,
exclude: [ "jquery" ],
include: expandFiles( [ "ui/**/*.js", "!ui/core.js", "!ui/i18n/*" ] ),
include: expandFiles( [ "ui/**/*.js", "!ui/i18n/*" ] ),
out: "dist/jquery-ui.js",
wrap: {
start: createBanner( uiFiles )
Expand Down
5 changes: 0 additions & 5 deletions demos/slider/multiple-vertical.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jQuery UI Slider - Multiple sliders</title>
<link rel="stylesheet" href="../../themes/base/all.css">
<script src="../../external/jquery/jquery.js"></script>
<script src="../../ui/core.js"></script>
<script src="../../ui/widget.js"></script>
<script src="../../ui/mouse.js"></script>
<script src="../../ui/slider.js"></script>
<link rel="stylesheet" href="../demos.css">
<style>
#eq > span {
Expand Down
14 changes: 4 additions & 10 deletions tests/visual/checkboxradio/checkboxradio.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@
<meta charset="utf-8">
<title>jQuery UI - Checkboxes</title>
<link rel="stylesheet" href="../../../themes/base/all.css">
<script src="../../../external/jquery/jquery.js"></script>
<script src="../../../ui/core.js"></script>
<script src="../../../ui/widget.js"></script>
<script src="../../../ui/button.js"></script>
<script src="../../../ui/checkboxradio.js"></script>
<script>
$(function() {
<script src="../../external/requirejs/require.js"></script>
<script src="../bootstrap.js">
var checkboxes = $( "form input" ).checkboxradio();

$( ".controls input, .controls select" ).on( "change keyup", function() {
Expand All @@ -23,15 +18,14 @@
if ( option != "label" || value !== "" ) {
checkboxes.checkboxradio( "option", option, value );
}
});
} );
$( ".controls > button" ).on( "click", function() {
if ( this.id !== "create" ) {
checkboxes.checkboxradio( this.id );
} else {
checkboxes.checkboxradio();
}
});
});
} );
</script>
<style>
#format { margin-top: 2em; }
Expand Down
18 changes: 0 additions & 18 deletions ui/core.js

This file was deleted.

0 comments on commit 37c6c4c

Please sign in to comment.