Sha256: adc2c44871ca4b9514a57b5062553b9bcd0bb53225fa0f4875c7419f174a754b
Contents?: true
Size: 745 Bytes
Versions: 65
Compression:
Stored size: 745 Bytes
Contents
$(function () { module("bootstrap-carousel") test("should be defined on jquery object", function () { ok($(document.body).carousel, 'carousel method is defined') }) test("should return element", function () { ok($(document.body).carousel()[0] == document.body, 'document.body returned') }) test("should not fire sliden when slide is prevented", function () { $.support.transition = false stop(); $('<div class="carousel"/>') .bind('slide', function (e) { e.preventDefault(); ok(true); start(); }) .bind('slid', function () { ok(false); }) .carousel('next') }) })
Version data entries
65 entries across 65 versions & 4 rubygems