Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
895b0006
Commit
895b0006
authored
Feb 13, 2014
by
XhmikosR
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-indent test files.
parent
accc95cc
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
1471 additions
and
1470 deletions
+1471
-1470
js/.jshintrc
js/.jshintrc
+1
-0
js/tests/unit/affix.js
js/tests/unit/affix.js
+45
-45
js/tests/unit/alert.js
js/tests/unit/alert.js
+56
-56
js/tests/unit/button.js
js/tests/unit/button.js
+118
-118
js/tests/unit/carousel.js
js/tests/unit/carousel.js
+92
-92
js/tests/unit/collapse.js
js/tests/unit/collapse.js
+125
-125
js/tests/unit/dropdown.js
js/tests/unit/dropdown.js
+208
-208
js/tests/unit/modal.js
js/tests/unit/modal.js
+189
-189
js/tests/unit/popover.js
js/tests/unit/popover.js
+124
-124
js/tests/unit/scrollspy.js
js/tests/unit/scrollspy.js
+27
-27
js/tests/unit/tab.js
js/tests/unit/tab.js
+67
-67
js/tests/unit/tooltip.js
js/tests/unit/tooltip.js
+419
-419
No files found.
js/.jshintrc
View file @
895b0006
...
...
@@ -8,6 +8,7 @@
"eqeqeq" : false,
"eqnull" : true,
"expr" : true,
"indent" : 2,
"laxbreak" : true,
"quotmark" : "single",
"validthis": true
...
...
js/tests/unit/affix.js
View file @
895b0006
js/tests/unit/alert.js
View file @
895b0006
js/tests/unit/button.js
View file @
895b0006
js/tests/unit/carousel.js
View file @
895b0006
js/tests/unit/collapse.js
View file @
895b0006
js/tests/unit/dropdown.js
View file @
895b0006
js/tests/unit/modal.js
View file @
895b0006
js/tests/unit/popover.js
View file @
895b0006
js/tests/unit/scrollspy.js
View file @
895b0006
...
...
@@ -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">
'
+
...
...
js/tests/unit/tab.js
View file @
895b0006
js/tests/unit/tooltip.js
View file @
895b0006
...
...
@@ -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>
'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment