]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
delete this test for now - as affix is still heavily underdevelopment
authorJacob Thornton <jacobthornton@gmail.com>
Tue, 24 Jul 2012 01:17:43 +0000 (18:17 -0700)
committerJacob Thornton <jacobthornton@gmail.com>
Tue, 24 Jul 2012 01:17:43 +0000 (18:17 -0700)
js/bootstrap-affix.js
js/tests/unit/bootstrap-affix.js

index a1cd10933f06222e88155f7a597e2b66a8d9e2fb..7563029b14c8deabc59a975c934e51b8015cf928 100644 (file)
@@ -88,7 +88,7 @@
     $('[data-spy="affix"]').each(function () {
       var $spy = $(this)
         , data = $spy.data()
-  
+
       data.offset = data.offset || {}
 
       data.offsetX && (data.offset.x = data.offsetX)
index 2d4419def4e1faa6d1483b706b0d06d94765821b..bc25df99172ed9a2d8d229832386cc09d89e822f 100644 (file)
@@ -16,10 +16,4 @@ $(function () {
         ok(!$affix.hasClass('affix'), 'affix class was not added')
       })
 
-      test("should add affix class if scrolled to correct position", function () {
-        var $affix = $('<div></div>').appendTo('body').affix()
-        $('body').trigger('scroll')
-        ok($affix.hasClass('affix'), 'element has class affix')
-      })
-
 })
\ No newline at end of file