Created by: aaronxie7
the each
in Plugin function is unnecessary. the following code had do the job:
$('[data-ride="carousel"]').each(function () {
var $carousel = $(this)
Plugin.call($carousel, $carousel.data())
})
Created by: aaronxie7
the each
in Plugin function is unnecessary. the following code had do the job:
$('[data-ride="carousel"]').each(function () {
var $carousel = $(this)
Plugin.call($carousel, $carousel.data())
})