Skip to content

Commit 46990bc

Browse files
committed
Fixed @returns annotations of the jQuery methods
1 parent 78dc86e commit 46990bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/scrollwatch.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ var Shira;
518518
*
519519
* @param {Function} callback function to call when the focus changes
520520
* @param {Object} options watcher option map
521-
* @returns {ScrollWatch.Watcher|Boolean} false if no sections were matched
521+
* @returns {jQuery}
522522
*/
523523
$.fn.scrollWatch = function (callback, options) {
524524
if (this.length > 0) {
@@ -535,6 +535,7 @@ var Shira;
535535
* @param {Array|jQuery|String} items array of DOM elements, jQuery object or a selector
536536
* @param {String} activeClass name to add to the active item
537537
* @param {Object} options watcher option map
538+
* @returns {jQuery}
538539
*/
539540
$.fn.scrollWatchMapTo = function(items, activeClass, options) {
540541
if (this.length > 0) {

0 commit comments

Comments
 (0)