Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
my-cucumbers-ru-github-io
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Лотуга Данила Сергеевич
my-cucumbers-ru-github-io
Commits
4e6e4be7
Commit
4e6e4be7
authored
Jan 20, 2013
by
Vadim Makeev
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #110 from miripiruni/master
Rename shower.runSlideshowIfPresented()
parents
49b842b3
f65f61be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
shower.js
shower.js
+4
-4
No files found.
shower.js
View file @
4e6e4be7
...
@@ -263,7 +263,7 @@ window.shower = (function(window, document, undefined) {
...
@@ -263,7 +263,7 @@ window.shower = (function(window, document, undefined) {
shower
.
updateProgress
(
currentSlideNumber
);
shower
.
updateProgress
(
currentSlideNumber
);
shower
.
updateCurrentAndPassedSlides
(
currentSlideNumber
);
shower
.
updateCurrentAndPassedSlides
(
currentSlideNumber
);
shower
.
run
SlideshowIfPresented
(
currentSlideNumber
);
shower
.
run
InnerNavigation
(
currentSlideNumber
);
if
(
typeof
(
callback
)
===
'function'
)
{
if
(
typeof
(
callback
)
===
'function'
)
{
callback
();
callback
();
...
@@ -511,7 +511,7 @@ window.shower = (function(window, document, undefined) {
...
@@ -511,7 +511,7 @@ window.shower = (function(window, document, undefined) {
* @param {Number} slideNumber
* @param {Number} slideNumber
* @returns {Boolean}
* @returns {Boolean}
*/
*/
shower
.
run
SlideshowIfPresented
=
function
(
slideNumber
)
{
shower
.
run
InnerNavigation
=
function
(
slideNumber
)
{
if
(
!
shower
.
_isNumber
(
slideNumber
))
{
if
(
!
shower
.
_isNumber
(
slideNumber
))
{
throw
new
Error
(
'Gimme slide number as Number, baby!'
);
throw
new
Error
(
'Gimme slide number as Number, baby!'
);
}
}
...
@@ -528,7 +528,7 @@ window.shower = (function(window, document, undefined) {
...
@@ -528,7 +528,7 @@ window.shower = (function(window, document, undefined) {
timer
=
setTimeout
(
function
()
{
timer
=
setTimeout
(
function
()
{
shower
.
go
(
slideNumber
+
1
);
shower
.
go
(
slideNumber
+
1
);
shower
.
run
SlideshowIfPresented
(
slideNumber
+
1
);
shower
.
run
InnerNavigation
(
slideNumber
+
1
);
},
},
timing
);
timing
);
}
}
...
@@ -658,7 +658,7 @@ window.shower = (function(window, document, undefined) {
...
@@ -658,7 +658,7 @@ window.shower = (function(window, document, undefined) {
shower
.
go
(
currentSlideNumber
);
shower
.
go
(
currentSlideNumber
);
// We must run slideshow only in full mode
// We must run slideshow only in full mode
if
(
shower
.
isSlideMode
())
{
if
(
shower
.
isSlideMode
())
{
shower
.
run
SlideshowIfPresented
(
currentSlideNumber
);
shower
.
run
InnerNavigation
(
currentSlideNumber
);
}
}
}
}
break
;
break
;
...
...
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