11/*!
2- * Smooth Scroll - v1.4.10 - 2013-02-20
2+ * Smooth Scroll - v1.4.10 - 2013-03-02
33 * https://github.com/kswedberg/jquery-smooth-scroll
44 * Copyright (c) 2013 Karl Swedberg
5- * Licensed MIT (/blob/master/LICENSE-MIT)
5+ * Licensed MIT (https://github.com/kswedberg/jquery-smooth-scroll /blob/master/LICENSE-MIT)
66 */
77
88( function ( $ ) {
@@ -12,15 +12,29 @@ var version = '1.4.10',
1212 exclude : [ ] ,
1313 excludeWithin :[ ] ,
1414 offset : 0 ,
15- direction : 'top' , // one of 'top' or 'left'
16- scrollElement : null , // jQuery set of elements you wish to scroll (for $.smoothScroll).
17- // if null (default), $('html, body').firstScrollable() is used.
18- scrollTarget : null , // only use if you want to override default behavior
19- beforeScroll : function ( ) { } , // fn(opts) function to be called before scrolling occurs. "this" is the element(s) being scrolled
20- afterScroll : function ( ) { } , // fn(opts) function to be called after scrolling occurs. "this" is the triggering element
15+
16+ // one of 'top' or 'left'
17+ direction : 'top' ,
18+
19+ // jQuery set of elements you wish to scroll (for $.smoothScroll).
20+ // if null (default), $('html, body').firstScrollable() is used.
21+ scrollElement : null ,
22+
23+ // only use if you want to override default behavior
24+ scrollTarget : null ,
25+
26+ // fn(opts) function to be called before scrolling occurs.
27+ // `this` is the element(s) being scrolled
28+ beforeScroll : function ( ) { } ,
29+
30+ // fn(opts) function to be called after scrolling occurs.
31+ // `this` is the triggering element
32+ afterScroll : function ( ) { } ,
2133 easing : 'swing' ,
2234 speed : 400 ,
23- autoCoefficent : 2 // coefficient for "auto" speed
35+
36+ // coefficient for "auto" speed
37+ autoCoefficent : 2
2438 } ,
2539
2640 getScrollable = function ( opts ) {
0 commit comments