-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.datepicker.lite.js
55 lines (50 loc) · 1.06 KB
/
ui.datepicker.lite.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
* jQuery UI Datepicker Lite
*
* Copyright 2010 Marc Grabanski
* Licensed under the MIT license
*
*
* Depends:
* jquery.ui.core.js
* jquery.ui.widget.js
* jquery.ui.position.js
* jquery.ui.button.js
* jquery.date.js
* jquery.tmpl.js
* jquery.ui.datepicker.html
*/
(function( $, undefined ) {
// production version will have the default template compiled into a string
// then if you want to override the template you will be able to supply selector to get the template
var templates;
$.get("../ui.datepicker.lite.html", function(data){
templates = data;
});
$.widget( "ui.datepicker", {
options: {
},
_create: function() {
var self = this;
self.element
.bind( "mousedown.datepicker", function( event ) {
})
.bind( "keydown.datepicker", function( event ) {
});
},
_setOption: function( key, value ) {
$.Widget.prototype._setOption.apply( this, arguments );
if ( key === "" ) {
}
},
open: function( event ) {
},
close: function( event ) {
},
destroy: function() {
},
widget: function() {
return this.element;
}
});
}( jQuery ));