Forked from
Eclipse Foundation / IT / Websites / sparkplug.eclipse.org
105 commits behind the upstream repository.
-
Christopher Guindon authored
* update js Signed-off-by:
Christopher Guindon <chris.guindon@eclipse-foundation.org> * update js Signed-off-by:
Christopher Guindon <chris.guindon@eclipse-foundation.org> * Update _index.md
Christopher Guindon authored* update js Signed-off-by:
Christopher Guindon <chris.guindon@eclipse-foundation.org> * update js Signed-off-by:
Christopher Guindon <chris.guindon@eclipse-foundation.org> * Update _index.md
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
main.js 939 B
/*!
* Copyright (c) 2019 Eclipse Foundation, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* Contributors:
* Christopher Guindon <chris.guindon@eclipse-foundation.org>
*
* SPDX-License-Identifier: EPL-2.0
*/
import 'eclipsefdn-solstice-assets';
import 'jquery';
(function ($) {
$('.solstice-slider').each(function () {
var $t = $(this);
$t.owlCarousel({
responsive: {
0: {
items: $t.data('slider-xs-count') || 1,
},
768: {
items: $t.data('slider-sm-count') || 1,
},
992: {
items: $t.data('slider-md-count') || 1,
},
1170: {
items: $t.data('slider-lg-count') || 1,
},
},
pagination: true,
responsiveRefreshRate: 100,
});
});
})(jQuery);