Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
fe38d12f
Commit
fe38d12f
authored
12 years ago
by
Jacob Thornton
Browse files
Options
Download
Email Patches
Plain Diff
rebuild - fix missing (
parent
667179f4
5 merge requests
!5565
Boostraptest
,
!5450
Fixed copy and paste caused typo in CAROUSEL DATA-API
,
!5326
Replace watchr with node-supervisor
,
!5277
Please delete
,
!5042
Pagination Javascript Component
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docs/assets/js/bootstrap-typeahead.js
+10
-1
docs/assets/js/bootstrap-typeahead.js
docs/assets/js/bootstrap.js
+10
-1
docs/assets/js/bootstrap.js
docs/assets/js/bootstrap.min.js
+1
-1
docs/assets/js/bootstrap.min.js
js/tests/unit/bootstrap-popover.js
+1
-1
js/tests/unit/bootstrap-popover.js
with
22 additions
and
4 deletions
+22
-4
docs/assets/js/bootstrap-typeahead.js
+
10
-
1
View file @
fe38d12f
...
...
@@ -174,7 +174,7 @@
.
on
(
'
keypress
'
,
$
.
proxy
(
this
.
keypress
,
this
))
.
on
(
'
keyup
'
,
$
.
proxy
(
this
.
keyup
,
this
))
if
(
$
.
browser
.
chrome
||
$
.
browser
.
webkit
||
$
.
browser
.
msie
)
{
if
(
this
.
eventSupported
(
'
keydown
'
)
)
{
this
.
$element
.
on
(
'
keydown
'
,
$
.
proxy
(
this
.
keydown
,
this
))
}
...
...
@@ -183,6 +183,15 @@
.
on
(
'
mouseenter
'
,
'
li
'
,
$
.
proxy
(
this
.
mouseenter
,
this
))
}
,
eventSupported
:
function
(
eventName
)
{
var
isSupported
=
eventName
in
this
.
$element
if
(
!
isSupported
)
{
this
.
$element
.
setAttribute
(
eventName
,
'
return;
'
)
isSupported
=
typeof
this
.
$element
[
eventName
]
===
'
function
'
}
return
isSupported
}
,
move
:
function
(
e
)
{
if
(
!
this
.
shown
)
return
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.js
+
10
-
1
View file @
fe38d12f
...
...
@@ -1797,7 +1797,7 @@
.
on
(
'
keypress
'
,
$
.
proxy
(
this
.
keypress
,
this
))
.
on
(
'
keyup
'
,
$
.
proxy
(
this
.
keyup
,
this
))
if
(
$
.
browser
.
chrome
||
$
.
browser
.
webkit
||
$
.
browser
.
msie
)
{
if
(
this
.
eventSupported
(
'
keydown
'
)
)
{
this
.
$element
.
on
(
'
keydown
'
,
$
.
proxy
(
this
.
keydown
,
this
))
}
...
...
@@ -1806,6 +1806,15 @@
.
on
(
'
mouseenter
'
,
'
li
'
,
$
.
proxy
(
this
.
mouseenter
,
this
))
}
,
eventSupported
:
function
(
eventName
)
{
var
isSupported
=
eventName
in
this
.
$element
if
(
!
isSupported
)
{
this
.
$element
.
setAttribute
(
eventName
,
'
return;
'
)
isSupported
=
typeof
this
.
$element
[
eventName
]
===
'
function
'
}
return
isSupported
}
,
move
:
function
(
e
)
{
if
(
!
this
.
shown
)
return
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.min.js
+
1
-
1
View file @
fe38d12f
This diff is collapsed.
Click to expand it.
js/tests/unit/bootstrap-popover.js
+
1
-
1
View file @
fe38d12f
...
...
@@ -95,7 +95,7 @@ $(function () {
var
popover
=
$
(
'
<div/>
'
).
popover
({
trigger
:
'
hover
'
}).
on
(
'
click.foo
'
,
function
(){})
ok
(
popover
.
data
(
'
popover
'
),
'
popover has data
'
)
ok
(
$
.
_data
(
popover
[
0
],
'
events
'
).
mouseover
&&
$
.
_data
(
popover
[
0
],
'
events
'
).
mouseout
,
'
popover has hover event
'
)
ok
(
$
.
_data
(
(
popover
[
0
],
'
events
'
).
click
[
0
].
namespace
==
'
foo
'
,
'
popover has extra click.foo event
'
)
ok
(
$
.
_data
(
popover
[
0
],
'
events
'
).
click
[
0
].
namespace
==
'
foo
'
,
'
popover has extra click.foo event
'
)
popover
.
popover
(
'
show
'
)
popover
.
popover
(
'
destroy
'
)
ok
(
!
popover
.
hasClass
(
'
in
'
),
'
popover is hidden
'
)
...
...
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
Menu
Explore
Projects
Groups
Snippets