mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-23 18:40:03 +00:00
Re-indent test files.
This commit is contained in:
parent
accc95ccd6
commit
895b0006b9
@ -8,6 +8,7 @@
|
||||
"eqeqeq" : false,
|
||||
"eqnull" : true,
|
||||
"expr" : true,
|
||||
"indent" : 2,
|
||||
"laxbreak" : true,
|
||||
"quotmark" : "single",
|
||||
"validthis": true
|
||||
|
@ -17,7 +17,7 @@ $(function () {
|
||||
})
|
||||
|
||||
test('should switch active class on scroll', function () {
|
||||
var sectionHTML = '<div id="masthead"></div>'
|
||||
var sectionHTML = '<div id="masthead"></div>',
|
||||
$section = $(sectionHTML).append('#qunit-fixture'),
|
||||
topbarHTML = '<div class="topbar">' +
|
||||
'<div class="topbar-inner">' +
|
||||
|
@ -358,8 +358,7 @@ $(function () {
|
||||
test('tooltip title test #1', function () {
|
||||
var tooltip = $('<a href="#" rel="tooltip" title="Simple tooltip" style="display: inline-block; position: absolute; top: 0; left: 0;"></a>')
|
||||
.appendTo('#qunit-fixture')
|
||||
.tooltip({
|
||||
})
|
||||
.tooltip({})
|
||||
.tooltip('show')
|
||||
equal($('.tooltip').children('.tooltip-inner').text(), 'Simple tooltip', 'title from title attribute is set')
|
||||
tooltip.tooltip('hide')
|
||||
@ -398,7 +397,8 @@ $(function () {
|
||||
'position' : 'absolute',
|
||||
'top' : 0,
|
||||
'left' : 0,
|
||||
'width' : 600})
|
||||
'width' : 600
|
||||
})
|
||||
.appendTo('body')
|
||||
|
||||
var topTooltip = $('<div style="display: inline-block; position: absolute; left: 0; top: 0;" rel="tooltip" title="Top tooltip">Top Dynamic Tooltip</div>')
|
||||
|
Loading…
x
Reference in New Issue
Block a user