app.js 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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. import './js/addCollectionVanilla'
  21. const sv = switchView("#switchview");
  22. const se = switchEtat ('[data-fonction="switch"]');
  23. jQuery(function() {
  24. //$('.add-another-collection-widget').addCollection();
  25. //$('[data-fonction="switch"]').switchEtat();
  26. $('[data-toggle="star-filter"]').filtreParNote();
  27. //$('#switchview').switchView();
  28. })