1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 21:09:06 +02:00

giant refactor - all spec passing again...

This commit is contained in:
Jacob Thornton
2011-12-20 18:02:47 -08:00
parent 7df0d1c7d1
commit 1ef5fa7d6b
27 changed files with 9618 additions and 390 deletions

View File

@@ -31,7 +31,7 @@
this.selector = (this.$scrollElement.attr('data-target')
|| this.$scrollElement.attr('href')
|| '') + ' .nav li > a'
this.$body = $('body').delegate(this.selector, 'click.scroll.data-api', process)
this.$body = $('body').on('click.scroll.data-api', this.selector, process)
this.refresh()
this.process()
@@ -111,4 +111,4 @@
$(function () { $('[data-spy="scroll"]').scrollspy() })
}( window.jQuery || window.ender )
}( window.jQuery )