app.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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/suivifilms2';
  16. import './js/addCollectionWidget';
  17. import './js/filtre';
  18. //import './js/switchView';
  19. import './js/colorModeBootstrap'
  20. import { switchView } from './js/switchViewVanilla';
  21. import { switchEtat } from './js/switchEtat';
  22. const sv = switchView("#switchview");
  23. const se = switchEtat ('[data-fonction="switch"]');
  24. jQuery(function() {
  25. $('.add-another-collection-widget').addCollection();
  26. //$('[data-fonction="switch"]').switchEtat();
  27. $('[data-toggle="star-filter"]').filtreParNote();
  28. //$('#switchview').switchView();
  29. })