Sha256: eedbcc5b040704584061ad1fa01d05d897349eb1d1f857452b7a269d07e0716c

Contents?: true

Size: 477 Bytes

Versions: 2

Compression:

Stored size: 477 Bytes

Contents

var dashboard = (function(){
  // Cache DOM
  var $owl_your_projects = $('#owl-your-projects');
  var $owl_projects_you_support = $('#owl-projects-you-support')

  // Functions
  function projectsCarousel() {
    $owl_your_projects.owlCarousel({
      autoPlay: true,
      stopOnHover: true,
      items: 3
    });

    $owl_projects_you_support.owlCarousel({
      autoPlay: true,
      stopOnHover: true,
      items: 3
    });
  }

  projectsCarousel();

  return {};
})();

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hatchy-0.0.6.pre app/assets/javascripts/hatchy/dashboard.js
hatchy-0.0.5.pre app/assets/javascripts/hatchy/dashboard.js