Skip to content

Commit

Permalink
Unify js files
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 committed Apr 22, 2021
1 parent 46e5966 commit b1728b4
Show file tree
Hide file tree
Showing 273 changed files with 661 additions and 1,618 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
parser: '@babel/eslint-parser',
extends: ['eslint:recommended']
}
25 changes: 25 additions & 0 deletions assets/js/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import '../scss/app.scss'

// require jQuery normally
import $ from 'jquery';

// create global $ and jQuery variables
// eslint-disable-next-line
global.$ = global.jQuery = $;

import 'jquery.scrollto';
import 'jquery-ui/ui/widget';
import 'jquery-ui/ui/widgets/sortable';
import 'bootstrap';
import 'moment';
import '../vendor/bootstrap-datetimepicker.min';
import 'jquery-form';
import 'x-editable/dist/bootstrap3-editable/js/bootstrap-editable';
import 'select2/dist/js/select2.full';
import 'admin-lte';
import 'icheck';
import 'jquery-slimscroll';
import 'waypoints/lib/jquery.waypoints';
import 'waypoints/lib/shortcuts/sticky';
import 'readmore-js';
import 'masonry-layout';
4 changes: 3 additions & 1 deletion assets/scss/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
// provide the scss or plain css, it only provides the less version
// of its source files, that's why it is not included it via npm.
@import "../vendor/bootstrap-datetimepicker.css";
@import "../vendor/jquery-ui.css";
@import "~jquery-ui/themes/base/sortable.css";
@import "~select2/dist/css/select2.css";
@import "~select2-bootstrap-theme/dist/select2-bootstrap.css";
@import "~x-editable/dist/bootstrap3-editable/css/bootstrap-editable.css";

// SonataAdmin custom styles
@import "./styles";
@import "./layout";
@import "./tree";
Expand Down
3 changes: 2 additions & 1 deletion assets/vendor/bootstrap-datetimepicker.min.js

Large diffs are not rendered by default.

Binary file removed assets/vendor/images/animated-overlay.gif
Binary file not shown.
Binary file removed assets/vendor/images/ui-bg_flat_0_aaaaaa_40x100.png
Binary file not shown.
Binary file removed assets/vendor/images/ui-bg_flat_75_ffffff_40x100.png
Binary file not shown.
Binary file removed assets/vendor/images/ui-bg_glass_55_fbf9ee_1x400.png
Binary file not shown.
Binary file removed assets/vendor/images/ui-bg_glass_65_ffffff_1x400.png
Binary file not shown.
Binary file removed assets/vendor/images/ui-bg_glass_75_dadada_1x400.png
Binary file not shown.
Binary file removed assets/vendor/images/ui-bg_glass_75_e6e6e6_1x400.png
Binary file not shown.
Binary file removed assets/vendor/images/ui-bg_glass_95_fef1ec_1x400.png
Binary file not shown.
Binary file not shown.
Binary file removed assets/vendor/images/ui-icons_222222_256x240.png
Binary file not shown.
Binary file removed assets/vendor/images/ui-icons_2e83ff_256x240.png
Binary file not shown.
Binary file removed assets/vendor/images/ui-icons_454545_256x240.png
Binary file not shown.
Binary file removed assets/vendor/images/ui-icons_888888_256x240.png
Binary file not shown.
Binary file removed assets/vendor/images/ui-icons_cd0a0a_256x240.png
Binary file not shown.
7 changes: 0 additions & 7 deletions assets/vendor/jquery-ui-i18n.min.js

This file was deleted.

Loading

0 comments on commit b1728b4

Please sign in to comment.