app.js 885 B

123456789101112131415161718192021222324252627282930
  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. jQuery(function() {
  21. $('.add-another-collection-widget').addCollection();
  22. $('[data-fonction="switch"]').switchEtat();
  23. $('[data-toggle="star-filter"]').filtreParNote();
  24. $('#switchview').switchView();
  25. })