app.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. import $ from 'jquery';
  2. global.$ = $;
  3. import '../css/app.scss';
  4. import 'bootstrap';
  5. import 'font-awesome/css/font-awesome.css';
  6. import 'jquery-ui/themes/base/all.css';
  7. import 'jquery-ui/ui/widgets/autocomplete';
  8. import 'bootstrap-notify/bootstrap-notify';
  9. import 'animate.css/animate.css';
  10. import 'bootstrap-star-rating';
  11. import 'bootstrap-star-rating/css/star-rating.css';
  12. import 'bootstrap-star-rating/themes/krajee-fa/theme';
  13. import 'bootstrap-star-rating/themes/krajee-fa/theme.css';
  14. $(document).ready(function() {
  15. $(function() {
  16. $('[data-toggle="tooltip"]').tooltip();
  17. $('[data-toggle="notify"]').each(function() {
  18. $.notify({
  19. message: $(this).data('message')
  20. },{
  21. type: $(this).data('type'),
  22. animate: {
  23. enter: 'animated fadeInRight',
  24. exit: 'animated fadeOutRight'
  25. },
  26. delay: 4000,
  27. offset: {
  28. x: 15,
  29. y: 70
  30. }
  31. })
  32. })
  33. })
  34. })