lib/utils/elements.spec-helper.js
function createSliderElement(slidesCount) {
  var sliderElement = createElement('div', Layout.SLIDER);
  for (var i = 0; i < slidesCount; ++i) {
    sliderElement.appendChild(createElement('div', Layout.SLIDE));
  }
  return sliderElement;
}
function createSliderElement(slidesCount) {
  var sliderElement = createElement('div', Layout.SLIDER);
  for (var i = 0; i < slidesCount; ++i) {
    sliderElement.appendChild(createElement('div', Layout.SLIDE));
  }
  return sliderElement;
}
function createSliderElement ( slidesCount ) { var sliderElement = createElement ( 'div' , Layout . SLIDER ) ; for ( var i = 0 ; i < slidesCount ; ++ i ) { sliderElement . appendChild ( createElement ( 'div' , Layout . SLIDE ) ) ; } return sliderElement ; }
Creates valid slider element containing slides of given count.
Creates valid slider element containing slides of given count .