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
82267d48
Commit
82267d48
authored
Apr 14, 2012
by
Jacob Thornton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
calling pause on a slide should actually pause it - even when hovering
parent
34132f0e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
9 deletions
+16
-9
docs/assets/bootstrap.zip
docs/assets/bootstrap.zip
+0
-0
docs/assets/js/bootstrap-carousel.js
docs/assets/js/bootstrap-carousel.js
+5
-2
js/.jshintrc
js/.jshintrc
+6
-5
js/bootstrap-carousel.js
js/bootstrap-carousel.js
+5
-2
No files found.
docs/assets/bootstrap.zip
View file @
82267d48
No preview for this file type
docs/assets/js/bootstrap-carousel.js
View file @
82267d48
...
...
@@ -37,8 +37,10 @@
Carousel
.
prototype
=
{
cycle
:
function
()
{
cycle
:
function
(
e
)
{
if
(
!
e
)
this
.
paused
=
false
this
.
options
.
interval
&&
!
this
.
paused
&&
(
this
.
interval
=
setInterval
(
$
.
proxy
(
this
.
next
,
this
),
this
.
options
.
interval
))
return
this
}
...
...
@@ -64,7 +66,8 @@
return
this
.
slide
(
pos
>
activePos
?
'
next
'
:
'
prev
'
,
$
(
children
[
pos
]))
}
,
pause
:
function
()
{
,
pause
:
function
(
e
)
{
if
(
!
e
)
this
.
paused
=
true
clearInterval
(
this
.
interval
)
this
.
interval
=
null
return
this
...
...
js/.jshintrc
View file @
82267d48
{
"
browser"
: true,
"
expr"
: true,
"
validthis"
: true,
"
laxcomma"
: true,
"laxbreak" : true,
"browser" : true,
"debug" : true,
"boss" : true,
"asi" : true,
"laxcomma" : true,
"validthis": true
"expr" : true,
"asi" : true
}
\ No newline at end of file
js/bootstrap-carousel.js
View file @
82267d48
...
...
@@ -37,8 +37,10 @@
Carousel
.
prototype
=
{
cycle
:
function
()
{
cycle
:
function
(
e
)
{
if
(
!
e
)
this
.
paused
=
false
this
.
options
.
interval
&&
!
this
.
paused
&&
(
this
.
interval
=
setInterval
(
$
.
proxy
(
this
.
next
,
this
),
this
.
options
.
interval
))
return
this
}
...
...
@@ -64,7 +66,8 @@
return
this
.
slide
(
pos
>
activePos
?
'
next
'
:
'
prev
'
,
$
(
children
[
pos
]))
}
,
pause
:
function
()
{
,
pause
:
function
(
e
)
{
if
(
!
e
)
this
.
paused
=
true
clearInterval
(
this
.
interval
)
this
.
interval
=
null
return
this
...
...
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