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,
|
"eqeqeq" : false,
|
||||||
"eqnull" : true,
|
"eqnull" : true,
|
||||||
"expr" : true,
|
"expr" : true,
|
||||||
|
"indent" : 2,
|
||||||
"laxbreak" : true,
|
"laxbreak" : true,
|
||||||
"quotmark" : "single",
|
"quotmark" : "single",
|
||||||
"validthis": true
|
"validthis": true
|
||||||
|
@ -17,7 +17,7 @@ $(function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
test('should switch active class on scroll', 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'),
|
$section = $(sectionHTML).append('#qunit-fixture'),
|
||||||
topbarHTML = '<div class="topbar">' +
|
topbarHTML = '<div class="topbar">' +
|
||||||
'<div class="topbar-inner">' +
|
'<div class="topbar-inner">' +
|
||||||
|
@ -358,8 +358,7 @@ $(function () {
|
|||||||
test('tooltip title test #1', 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>')
|
var tooltip = $('<a href="#" rel="tooltip" title="Simple tooltip" style="display: inline-block; position: absolute; top: 0; left: 0;"></a>')
|
||||||
.appendTo('#qunit-fixture')
|
.appendTo('#qunit-fixture')
|
||||||
.tooltip({
|
.tooltip({})
|
||||||
})
|
|
||||||
.tooltip('show')
|
.tooltip('show')
|
||||||
equal($('.tooltip').children('.tooltip-inner').text(), 'Simple tooltip', 'title from title attribute is set')
|
equal($('.tooltip').children('.tooltip-inner').text(), 'Simple tooltip', 'title from title attribute is set')
|
||||||
tooltip.tooltip('hide')
|
tooltip.tooltip('hide')
|
||||||
@ -398,7 +397,8 @@ $(function () {
|
|||||||
'position' : 'absolute',
|
'position' : 'absolute',
|
||||||
'top' : 0,
|
'top' : 0,
|
||||||
'left' : 0,
|
'left' : 0,
|
||||||
'width' : 600})
|
'width' : 600
|
||||||
|
})
|
||||||
.appendTo('body')
|
.appendTo('body')
|
||||||
|
|
||||||
var topTooltip = $('<div style="display: inline-block; position: absolute; left: 0; top: 0;" rel="tooltip" title="Top tooltip">Top Dynamic Tooltip</div>')
|
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