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
eece1947
Commit
eece1947
authored
Mar 19, 2015
by
Bootstrap's Grunt bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
automatic `grunt dist`
parent
9aad9a41
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
6 deletions
+14
-6
dist/js/bootstrap.js
dist/js/bootstrap.js
+6
-2
dist/js/bootstrap.min.js
dist/js/bootstrap.min.js
+1
-1
docs/dist/js/bootstrap.js
docs/dist/js/bootstrap.js
+6
-2
docs/dist/js/bootstrap.min.js
docs/dist/js/bootstrap.min.js
+1
-1
No files found.
dist/js/bootstrap.js
View file @
eece1947
...
@@ -774,7 +774,10 @@ if (typeof jQuery === 'undefined') {
...
@@ -774,7 +774,10 @@ if (typeof jQuery === 'undefined') {
if
(
!
isActive
)
{
if
(
!
isActive
)
{
if
(
'
ontouchstart
'
in
document
.
documentElement
&&
!
$parent
.
closest
(
'
.navbar-nav
'
).
length
)
{
if
(
'
ontouchstart
'
in
document
.
documentElement
&&
!
$parent
.
closest
(
'
.navbar-nav
'
).
length
)
{
// if mobile we use a backdrop because click events don't delegate
// if mobile we use a backdrop because click events don't delegate
$
(
'
<div class="dropdown-backdrop"/>
'
).
insertAfter
(
$
(
this
)).
on
(
'
click
'
,
clearMenus
)
$
(
document
.
createElement
(
'
div
'
))
.
addClass
(
'
dropdown-backdrop
'
)
.
insertAfter
(
$
(
this
))
.
on
(
'
click
'
,
clearMenus
)
}
}
var
relatedTarget
=
{
relatedTarget
:
this
}
var
relatedTarget
=
{
relatedTarget
:
this
}
...
@@ -1092,7 +1095,8 @@ if (typeof jQuery === 'undefined') {
...
@@ -1092,7 +1095,8 @@ if (typeof jQuery === 'undefined') {
if
(
this
.
isShown
&&
this
.
options
.
backdrop
)
{
if
(
this
.
isShown
&&
this
.
options
.
backdrop
)
{
var
doAnimate
=
$
.
support
.
transition
&&
animate
var
doAnimate
=
$
.
support
.
transition
&&
animate
this
.
$backdrop
=
$
(
'
<div class="modal-backdrop
'
+
animate
+
'
" />
'
)
this
.
$backdrop
=
$
(
document
.
createElement
(
'
div
'
))
.
addClass
(
'
modal-backdrop
'
+
animate
)
.
appendTo
(
this
.
$body
)
.
appendTo
(
this
.
$body
)
this
.
$element
.
on
(
'
click.dismiss.bs.modal
'
,
$
.
proxy
(
function
(
e
)
{
this
.
$element
.
on
(
'
click.dismiss.bs.modal
'
,
$
.
proxy
(
function
(
e
)
{
...
...
dist/js/bootstrap.min.js
View file @
eece1947
This diff is collapsed.
Click to expand it.
docs/dist/js/bootstrap.js
View file @
eece1947
...
@@ -774,7 +774,10 @@ if (typeof jQuery === 'undefined') {
...
@@ -774,7 +774,10 @@ if (typeof jQuery === 'undefined') {
if
(
!
isActive
)
{
if
(
!
isActive
)
{
if
(
'
ontouchstart
'
in
document
.
documentElement
&&
!
$parent
.
closest
(
'
.navbar-nav
'
).
length
)
{
if
(
'
ontouchstart
'
in
document
.
documentElement
&&
!
$parent
.
closest
(
'
.navbar-nav
'
).
length
)
{
// if mobile we use a backdrop because click events don't delegate
// if mobile we use a backdrop because click events don't delegate
$
(
'
<div class="dropdown-backdrop"/>
'
).
insertAfter
(
$
(
this
)).
on
(
'
click
'
,
clearMenus
)
$
(
document
.
createElement
(
'
div
'
))
.
addClass
(
'
dropdown-backdrop
'
)
.
insertAfter
(
$
(
this
))
.
on
(
'
click
'
,
clearMenus
)
}
}
var
relatedTarget
=
{
relatedTarget
:
this
}
var
relatedTarget
=
{
relatedTarget
:
this
}
...
@@ -1092,7 +1095,8 @@ if (typeof jQuery === 'undefined') {
...
@@ -1092,7 +1095,8 @@ if (typeof jQuery === 'undefined') {
if
(
this
.
isShown
&&
this
.
options
.
backdrop
)
{
if
(
this
.
isShown
&&
this
.
options
.
backdrop
)
{
var
doAnimate
=
$
.
support
.
transition
&&
animate
var
doAnimate
=
$
.
support
.
transition
&&
animate
this
.
$backdrop
=
$
(
'
<div class="modal-backdrop
'
+
animate
+
'
" />
'
)
this
.
$backdrop
=
$
(
document
.
createElement
(
'
div
'
))
.
addClass
(
'
modal-backdrop
'
+
animate
)
.
appendTo
(
this
.
$body
)
.
appendTo
(
this
.
$body
)
this
.
$element
.
on
(
'
click.dismiss.bs.modal
'
,
$
.
proxy
(
function
(
e
)
{
this
.
$element
.
on
(
'
click.dismiss.bs.modal
'
,
$
.
proxy
(
function
(
e
)
{
...
...
docs/dist/js/bootstrap.min.js
View file @
eece1947
This diff is collapsed.
Click to expand it.
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