- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
var DatePicker = function () {
...
return {
init: function(options) {...},
showPicker: function() {...},
hidePicker: function() {...},
setDate: function(date, shiftTo) {...},
getDate: function(formated) {...},
clear: function() {...},
fixLayout: function() {...}
};
}();
$.fn.extend({
DatePicker: DatePicker.init,
DatePickerHide: DatePicker.hidePicker,
DatePickerShow: DatePicker.showPicker,
DatePickerSetDate: DatePicker.setDate,
DatePickerGetDate: DatePicker.getDate,
DatePickerClear: DatePicker.clear,
DatePickerLayout: DatePicker.fixLayout
});
wmmorgun 08.02.2011 15:30 # 0
Lure Of Chaos 08.02.2011 16:13 # 0
wmmorgun 08.02.2011 16:14 # +1
Ну это жООП!
Lure Of Chaos 08.02.2011 16:46 # 0