Skip to content

Commit

Permalink
Add more comments to explain assets
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 committed May 1, 2021
1 parent aad4fdb commit 27577f2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import '../scss/app.scss';

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

// jQuery scrollTo is not directly used in SonataAdmin
// but it is used on other Sonata packages like SonataPageBundle
import 'jquery.scrollto';

// Only using sortable widget from jQuery UI library
Expand All @@ -23,6 +26,9 @@ import 'moment';
// Eonasdan Bootstrap DateTimePicker in its version 3 does not
// 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.
//
// Eonasdan Bootstrap DateTimePicker is not directly used in SonataAdmin
// but it is used on form-extensions package
import '../vendor/bootstrap-datetimepicker.min';
import 'jquery-form';

Expand All @@ -34,6 +40,8 @@ import 'x-editable/dist/bootstrap3-editable/js/bootstrap-editable';
import 'select2/dist/js/select2.full';
import 'admin-lte';
import 'icheck';

// jQuery SlimScroll is used in AdminLTE v2
import 'jquery-slimscroll';

// No Framework Waypoints version and sticky shortcut
Expand Down

0 comments on commit 27577f2

Please sign in to comment.