Added Twitter Bootstrap source

We're going to build a custom version
This commit is contained in:
Jeremy Ruston
2012-06-24 13:14:40 +01:00
parent 94c622a40f
commit f30a7cc61d
167 changed files with 56142 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
$(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')
})
})