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
a866a51a
Commit
a866a51a
authored
Feb 05, 2013
by
fat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clear interval in cycle + rebuild
parent
566380b2
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
15 deletions
+19
-15
docs/assets/js/bootstrap-carousel.js
docs/assets/js/bootstrap-carousel.js
+1
-0
docs/assets/js/bootstrap-dropdown.js
docs/assets/js/bootstrap-dropdown.js
+6
-6
docs/assets/js/bootstrap-tooltip.js
docs/assets/js/bootstrap-tooltip.js
+1
-1
docs/assets/js/bootstrap.js
docs/assets/js/bootstrap.js
+9
-7
docs/assets/js/bootstrap.min.js
docs/assets/js/bootstrap.min.js
+1
-1
js/bootstrap-carousel.js
js/bootstrap-carousel.js
+1
-0
No files found.
docs/assets/js/bootstrap-carousel.js
View file @
a866a51a
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
cycle
:
function
(
e
)
{
cycle
:
function
(
e
)
{
if
(
!
e
)
this
.
paused
=
false
if
(
!
e
)
this
.
paused
=
false
if
(
this
.
interval
)
clearInterval
(
this
.
interval
);
this
.
options
.
interval
this
.
options
.
interval
&&
!
this
.
paused
&&
!
this
.
paused
&&
(
this
.
interval
=
setInterval
(
$
.
proxy
(
this
.
next
,
this
),
this
.
options
.
interval
))
&&
(
this
.
interval
=
setInterval
(
$
.
proxy
(
this
.
next
,
this
),
this
.
options
.
interval
))
...
...
docs/assets/js/bootstrap-dropdown.js
View file @
a866a51a
...
@@ -156,10 +156,10 @@
...
@@ -156,10 +156,10 @@
* =================================== */
* =================================== */
$
(
document
)
$
(
document
)
.
on
(
'
click.dropdown.data-api
touchstart.dropdown.data-api
'
,
clearMenus
)
.
on
(
'
click.dropdown.data-api
'
,
clearMenus
)
.
on
(
'
click.dropdown.data-api
touchstart.dropdown.data-api
'
,
'
.dropdown form
'
,
function
(
e
)
{
e
.
stopPropagation
()
})
.
on
(
'
click.dropdown.data-api
'
,
'
.dropdown form
'
,
function
(
e
)
{
e
.
stopPropagation
()
})
.
on
(
'
touchstart.dropdown.data-api
'
,
'
.dropdown-menu
'
,
function
(
e
)
{
e
.
stopPropagation
()
})
.
on
(
'
.dropdown-menu
'
,
function
(
e
)
{
e
.
stopPropagation
()
})
.
on
(
'
click.dropdown.data-api
touchstart.dropdown.data-api
'
,
toggle
,
Dropdown
.
prototype
.
toggle
)
.
on
(
'
click.dropdown.data-api
'
,
toggle
,
Dropdown
.
prototype
.
toggle
)
.
on
(
'
keydown.dropdown.data-api
touchstart.dropdown.data-api
'
,
toggle
+
'
, [role=menu]
'
,
Dropdown
.
prototype
.
keydown
)
.
on
(
'
keydown.dropdown.data-api
'
,
toggle
+
'
, [role=menu]
'
,
Dropdown
.
prototype
.
keydown
)
}(
window
.
jQuery
);
}(
window
.
jQuery
);
docs/assets/js/bootstrap-tooltip.js
View file @
a866a51a
...
@@ -212,7 +212,7 @@
...
@@ -212,7 +212,7 @@
,
getPosition
:
function
()
{
,
getPosition
:
function
()
{
var
el
=
this
.
$element
[
0
]
var
el
=
this
.
$element
[
0
]
return
$
.
extend
({},
el
.
getBoundingClientRect
?
el
.
getBoundingClientRect
()
:
{
return
$
.
extend
({},
(
typeof
el
.
getBoundingClientRect
==
'
function
'
)
?
el
.
getBoundingClientRect
()
:
{
width
:
el
.
offsetWidth
width
:
el
.
offsetWidth
,
height
:
el
.
offsetHeight
,
height
:
el
.
offsetHeight
},
this
.
$element
.
offset
())
},
this
.
$element
.
offset
())
...
...
docs/assets/js/bootstrap.js
View file @
a866a51a
...
@@ -300,6 +300,7 @@
...
@@ -300,6 +300,7 @@
cycle
:
function
(
e
)
{
cycle
:
function
(
e
)
{
if
(
!
e
)
this
.
paused
=
false
if
(
!
e
)
this
.
paused
=
false
if
(
this
.
interval
)
clearInterval
(
this
.
interval
);
this
.
options
.
interval
this
.
options
.
interval
&&
!
this
.
paused
&&
!
this
.
paused
&&
(
this
.
interval
=
setInterval
(
$
.
proxy
(
this
.
next
,
this
),
this
.
options
.
interval
))
&&
(
this
.
interval
=
setInterval
(
$
.
proxy
(
this
.
next
,
this
),
this
.
options
.
interval
))
...
@@ -788,13 +789,14 @@
...
@@ -788,13 +789,14 @@
* =================================== */
* =================================== */
$
(
document
)
$
(
document
)
.
on
(
'
click.dropdown.data-api
touchstart.dropdown.data-api
'
,
clearMenus
)
.
on
(
'
click.dropdown.data-api
'
,
clearMenus
)
.
on
(
'
click.dropdown.data-api
touchstart.dropdown.data-api
'
,
'
.dropdown form
'
,
function
(
e
)
{
e
.
stopPropagation
()
})
.
on
(
'
click.dropdown.data-api
'
,
'
.dropdown form
'
,
function
(
e
)
{
e
.
stopPropagation
()
})
.
on
(
'
touchstart.dropdown.data-api
'
,
'
.dropdown-menu
'
,
function
(
e
)
{
e
.
stopPropagation
()
})
.
on
(
'
.dropdown-menu
'
,
function
(
e
)
{
e
.
stopPropagation
()
})
.
on
(
'
click.dropdown.data-api
touchstart.dropdown.data-api
'
,
toggle
,
Dropdown
.
prototype
.
toggle
)
.
on
(
'
click.dropdown.data-api
'
,
toggle
,
Dropdown
.
prototype
.
toggle
)
.
on
(
'
keydown.dropdown.data-api
touchstart.dropdown.data-api
'
,
toggle
+
'
, [role=menu]
'
,
Dropdown
.
prototype
.
keydown
)
.
on
(
'
keydown.dropdown.data-api
'
,
toggle
+
'
, [role=menu]
'
,
Dropdown
.
prototype
.
keydown
)
}(
window
.
jQuery
);
/* =========================================================
}(
window
.
jQuery
);
/* =========================================================
* bootstrap-modal.js v2.3.0
* bootstrap-modal.js v2.3.0
* http://twitter.github.com/bootstrap/javascript.html#modals
* http://twitter.github.com/bootstrap/javascript.html#modals
* =========================================================
* =========================================================
...
@@ -1252,7 +1254,7 @@
...
@@ -1252,7 +1254,7 @@
,
getPosition
:
function
()
{
,
getPosition
:
function
()
{
var
el
=
this
.
$element
[
0
]
var
el
=
this
.
$element
[
0
]
return
$
.
extend
({},
el
.
getBoundingClientRect
?
el
.
getBoundingClientRect
()
:
{
return
$
.
extend
({},
(
typeof
el
.
getBoundingClientRect
==
'
function
'
)
?
el
.
getBoundingClientRect
()
:
{
width
:
el
.
offsetWidth
width
:
el
.
offsetWidth
,
height
:
el
.
offsetHeight
,
height
:
el
.
offsetHeight
},
this
.
$element
.
offset
())
},
this
.
$element
.
offset
())
...
...
docs/assets/js/bootstrap.min.js
View file @
a866a51a
This diff is collapsed.
Click to expand it.
js/bootstrap-carousel.js
View file @
a866a51a
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
cycle
:
function
(
e
)
{
cycle
:
function
(
e
)
{
if
(
!
e
)
this
.
paused
=
false
if
(
!
e
)
this
.
paused
=
false
if
(
this
.
interval
)
clearInterval
(
this
.
interval
);
this
.
options
.
interval
this
.
options
.
interval
&&
!
this
.
paused
&&
!
this
.
paused
&&
(
this
.
interval
=
setInterval
(
$
.
proxy
(
this
.
next
,
this
),
this
.
options
.
interval
))
&&
(
this
.
interval
=
setInterval
(
$
.
proxy
(
this
.
next
,
this
),
this
.
options
.
interval
))
...
...
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