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
4c8ecdfc
Commit
4c8ecdfc
authored
Jan 19, 2013
by
miripiruni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JSDOc: shower.scrollToSlide return only Boolean
parent
75686e01
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
shower.js
shower.js
+3
-3
No files found.
shower.js
View file @
4c8ecdfc
...
@@ -342,11 +342,11 @@ window.shower = (function(window, document, undefined) {
...
@@ -342,11 +342,11 @@ window.shower = (function(window, document, undefined) {
/**
/**
* Scroll to slide.
* Scroll to slide.
* @param {Number} slideNumber slide number (sic!)
* @param {Number} slideNumber slide number (sic!)
* @returns {
Undefined|
Boolean}
* @returns {Boolean}
*/
*/
shower
.
scrollToSlide
=
function
(
slideNumber
)
{
shower
.
scrollToSlide
=
function
(
slideNumber
)
{
var
currentSlide
,
var
currentSlide
,
ret
;
ret
=
false
;
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!'
);
...
@@ -358,7 +358,7 @@ window.shower = (function(window, document, undefined) {
...
@@ -358,7 +358,7 @@ window.shower = (function(window, document, undefined) {
// @TODO: WTF?
// @TODO: WTF?
if
(
-
1
===
slideNumber
)
{
if
(
-
1
===
slideNumber
)
{
return
;
return
ret
;
}
}
if
(
slideList
[
slideNumber
])
{
if
(
slideList
[
slideNumber
])
{
...
...
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