Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
4eaeea81
Commit
4eaeea81
authored
12 years ago
by
Jacob Thornton
Browse files
Options
Download
Email Patches
Plain Diff
rebuild and fix test
parent
bcd5097c
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
docs/assets/css/bootstrap.css
+4
-4
docs/assets/css/bootstrap.css
docs/assets/js/bootstrap-tooltip.js
+2
-2
docs/assets/js/bootstrap-tooltip.js
docs/assets/js/bootstrap.js
+3
-2
docs/assets/js/bootstrap.js
docs/assets/js/bootstrap.min.js
+1
-1
docs/assets/js/bootstrap.min.js
js/tests/unit/bootstrap-tooltip.js
+5
-5
js/tests/unit/bootstrap-tooltip.js
with
15 additions
and
14 deletions
+15
-14
docs/assets/css/bootstrap.css
+
4
-
4
View file @
4eaeea81
...
...
@@ -4674,15 +4674,15 @@ a.badge:hover {
-webkit-box-shadow
:
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
0.15
);
-moz-box-shadow
:
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
0.15
);
box-shadow
:
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
0.15
);
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
-ms-box-sizing
:
border-box
;
box-sizing
:
border-box
;
-webkit-transition
:
width
0.6s
ease
;
-moz-transition
:
width
0.6s
ease
;
-ms-transition
:
width
0.6s
ease
;
-o-transition
:
width
0.6s
ease
;
transition
:
width
0.6s
ease
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
-ms-box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
.progress-striped
.bar
{
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap-tooltip.js
+
2
-
2
View file @
4eaeea81
...
...
@@ -84,9 +84,9 @@
,
leave
:
function
(
e
)
{
var
self
=
$
(
e
.
currentTarget
)[
this
.
type
](
this
.
_options
).
data
(
this
.
type
)
if
(
this
.
timeout
)
clearTimeout
(
this
.
timeout
)
if
(
!
self
.
options
.
delay
||
!
self
.
options
.
delay
.
hide
)
return
self
.
hide
()
clearTimeout
(
this
.
timeout
)
self
.
hoverState
=
'
out
'
this
.
timeout
=
setTimeout
(
function
()
{
if
(
self
.
hoverState
==
'
out
'
)
self
.
hide
()
...
...
@@ -272,4 +272,4 @@
,
delay
:
0
}
}(
window
.
jQuery
);
\ No newline at end of file
}(
window
.
jQuery
);
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.js
+
3
-
2
View file @
4eaeea81
...
...
@@ -968,9 +968,9 @@
,
leave
:
function
(
e
)
{
var
self
=
$
(
e
.
currentTarget
)[
this
.
type
](
this
.
_options
).
data
(
this
.
type
)
if
(
this
.
timeout
)
clearTimeout
(
this
.
timeout
)
if
(
!
self
.
options
.
delay
||
!
self
.
options
.
delay
.
hide
)
return
self
.
hide
()
clearTimeout
(
this
.
timeout
)
self
.
hoverState
=
'
out
'
this
.
timeout
=
setTimeout
(
function
()
{
if
(
self
.
hoverState
==
'
out
'
)
self
.
hide
()
...
...
@@ -1156,7 +1156,8 @@
,
delay
:
0
}
}(
window
.
jQuery
);
/* ===========================================================
}(
window
.
jQuery
);
/* ===========================================================
* bootstrap-popover.js v2.0.3
* http://twitter.github.com/bootstrap/javascript.html#popovers
* ===========================================================
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.min.js
+
1
-
1
View file @
4eaeea81
This diff is collapsed.
Click to expand it.
js/tests/unit/bootstrap-tooltip.js
+
5
-
5
View file @
4eaeea81
...
...
@@ -116,16 +116,16 @@ $(function () {
test
(
"
should show tooltip if leave event hasn't occured before delay expires
"
,
function
()
{
var
tooltip
=
$
(
'
<a href="#" rel="tooltip" title="Another tooltip"></a>
'
)
.
appendTo
(
'
#qunit-fixture
'
)
.
tooltip
({
delay
:
20
0
})
.
tooltip
({
delay
:
15
0
})
stop
()
tooltip
.
trigger
(
'
mouseenter
'
)
setTimeout
(
function
()
{
ok
(
!
$
(
"
.tooltip
"
).
is
(
'
.fade.in
'
),
'
tooltip is not faded in
'
)
setTimeout
(
function
()
{
ok
(
!
$
(
"
.tooltip
"
).
is
(
'
.fade.in
'
),
'
tooltip has faded in
'
)
start
()
},
200
)
},
100
)
setTimeout
(
function
()
{
ok
(
$
(
"
.tooltip
"
).
is
(
'
.fade.in
'
),
'
tooltip has faded in
'
)
start
()
},
200
)
})
test
(
"
should detect if title string is html or text: foo
"
,
function
()
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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