mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-17 11:00:56 +02:00
Merge pull request #12720 from twbs/reident-test-files
Reindent test files
This commit is contained in:
@@ -7,6 +7,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>')
|
||||
|
Reference in New Issue
Block a user