app.js 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. import $ from 'jquery';
  2. global.$ = $;
  3. import './styles/app.scss';
  4. import 'bootstrap';
  5. import './bootstrap';
  6. import 'font-awesome/css/font-awesome.css';
  7. import 'jquery-ui/themes/base/all.css';
  8. import 'jquery-ui/ui/widgets/autocomplete';
  9. import 'bootstrap-star-rating';
  10. import 'bootstrap-star-rating/locales/fr'
  11. import 'bootstrap-star-rating/js/locales/fr'
  12. import 'bootstrap-star-rating/css/star-rating.css';
  13. import 'bootstrap-star-rating/themes/krajee-fa/theme';
  14. import 'bootstrap-star-rating/themes/krajee-fa/theme.css';
  15. import './js/addCollectionWidget';
  16. import './js/filtre';
  17. import './js/colorModeBootstrap'
  18. import { switchView } from './js/switchViewVanilla';
  19. import { switchEtat } from './js/switchEtat';
  20. const sv = switchView("#switchview");
  21. const se = switchEtat ('[data-fonction="switch"]');
  22. jQuery(function() {
  23. $('.add-another-collection-widget').addCollection();
  24. //$('[data-fonction="switch"]').switchEtat();
  25. $('[data-toggle="star-filter"]').filtreParNote();
  26. //$('#switchview').switchView();
  27. })