Sha256: 301ddb2208702db0dbaf789ec12658a052f25250662af4e7f29a34a1db23a42b

Contents?: true

Size: 556 Bytes

Versions: 5

Compression:

Stored size: 556 Bytes

Contents

"use strict";

(function () {
  function initSwipers() {
    var swiperVideos = new Swiper('.c-ls-slides--a', {
      slidesPerView: 'auto',
      nextButton: '.c-ls-slides--a__next',
      prevButton: '.c-ls-slides--a__prev',
      spaceBetween: 20
    });
    var swiperPosts = new Swiper('.c-ls-slides--l', {
      slidesPerView: 'auto',
      nextButton: '.c-ls-slides--l__next',
      prevButton: '.c-ls-slides--l__prev'
    });
  }

  window.initializeLeadership = function () {
    if (!$('.c-ls-hero').length) return;
    initSwipers();
  };
})();

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lcms-engine-0.1.4 app/assets/javascripts/lcms/engine/initializers/leadership.js
lcms-engine-0.1.3 app/assets/javascripts/lcms/engine/initializers/leadership.js
lcms-engine-0.2.0 app/assets/javascripts/lcms/engine/initializers/leadership.js
lcms-engine-0.1.2 app/assets/javascripts/lcms/engine/initializers/leadership.js
lcms-engine-0.1.0 app/assets/javascripts/lcms/engine/initializers/leadership.js