]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
spelling fixes in Carousel unit tests
authorChris Rebert <code@rebertia.com>
Mon, 21 Apr 2014 20:08:16 +0000 (13:08 -0700)
committerChris Rebert <code@rebertia.com>
Mon, 21 Apr 2014 20:08:42 +0000 (13:08 -0700)
js/tests/unit/carousel.js

index 562e30255fd310d3dfdb8448e8524dcebbe55284..065354451f0f751ef93f96a7edd7f7face69f7b6 100644 (file)
@@ -4,11 +4,11 @@ $(function () {
 
   test('should provide no conflict', function () {
     var carousel = $.fn.carousel.noConflict()
-    ok(!$.fn.carousel, 'carousel was set back to undefined (org value)')
+    ok(!$.fn.carousel, 'carousel was set back to undefined (orig value)')
     $.fn.carousel = carousel
   })
 
-  test('should be defined on jquery object', function () {
+  test('should be defined on jQuery object', function () {
     ok($(document.body).carousel, 'carousel method is defined')
   })
 
@@ -98,7 +98,7 @@ $(function () {
     $('[data-slide]').first().click()
     $('#myCarousel').attr('data-interval', 1860)
     $('[data-slide]').first().click()
-    ok($('#myCarousel').data('bs.carousel').options.interval == 1814, 'attributes should be read only on intitialization')
+    ok($('#myCarousel').data('bs.carousel').options.interval == 1814, 'attributes should be read only on initialization')
     $('#myCarousel').remove()
 
     template.attr('data-interval', false)