index.js 997 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*!
  2. * Flickity v2.2.1
  3. * Touch, responsive, flickable carousels
  4. *
  5. * Licensed GPLv3 for open source use
  6. * or Flickity Commercial License for commercial use
  7. *
  8. * https://flickity.metafizzy.co
  9. * Copyright 2015-2019 Metafizzy
  10. */
  11. ( function( window, factory ) {
  12. // universal module definition
  13. /* jshint strict: false */
  14. if ( typeof define == 'function' && define.amd ) {
  15. // AMD
  16. define( [
  17. './flickity',
  18. './drag',
  19. './prev-next-button',
  20. './page-dots',
  21. './player',
  22. './add-remove-cell',
  23. './lazyload'
  24. ], factory );
  25. } else if ( typeof module == 'object' && module.exports ) {
  26. // CommonJS
  27. module.exports = factory(
  28. require('./flickity'),
  29. require('./drag'),
  30. require('./prev-next-button'),
  31. require('./page-dots'),
  32. require('./player'),
  33. require('./add-remove-cell'),
  34. require('./lazyload')
  35. );
  36. }
  37. })( window, function factory( Flickity ) {
  38. /*jshint strict: false*/
  39. return Flickity;
  40. });