File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 48
48
scrollToToday : true
49
49
} ;
50
50
51
+ /**
52
+ * Extend options with default values
53
+ */
54
+ if ( options ) {
55
+ $ . extend ( settings , options ) ;
56
+ }
57
+
58
+ // can't use cookie if don't have `$.cookie`
59
+ settings . useCookie = settings . useCookie && $ . isFunction ( $ . cookie ) ;
60
+
51
61
// custom selector `:findday` used to match on specified day in ms.
52
62
//
53
63
// The selector is passed a date in ms and elements are added to the
1694
1704
1695
1705
1696
1706
this . each ( function ( ) {
1697
- /**
1698
- * Extend options with default values
1699
- */
1700
- if ( options ) {
1701
- $ . extend ( settings , options ) ;
1702
- }
1703
-
1704
1707
this . data = null ; // Received data
1705
1708
this . pageNum = 0 ; // Current page number
1706
1709
this . pageCount = 0 ; // Available pages count
You can’t perform that action at this time.
0 commit comments