Sha256: 5906ac721010f6924313ed664677892ce2b498f69771301abc13bd9dad92c998

Contents?: true

Size: 659 Bytes

Versions: 33

Compression:

Stored size: 659 Bytes

Contents

/* datepicker */
(function($) {
    var methods = {
        init: function(annotations) {
            if(!this.attr('disabled')) {
                this.datepicker(this.hjq('getOptions', annotations));
            }
        }
    };

    $.fn.hjq_datepicker = function( method ) {

        if ( methods[method] ) {
            return methods[method].apply( this, Array.prototype.slice.call( arguments, 1 ));
        } else if ( typeof method === 'object' || ! method ) {
            return methods.init.apply( this, arguments );
        } else {
            $.error( 'Method ' +  method + ' does not exist on hjq_datepicker' );
        }
    };

})( jQuery );

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
hobo_jquery_ui-2.2.6 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.2.5 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.2.4 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.2.3 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.2.2 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.2.1 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.2.0 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.1.2 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.1.1 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.1.0 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.1.0.pre4 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.1.0.pre3 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.1.0.pre2 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.1.0.pre1 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.0.1 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.0.0 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.0.0.pre10 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.0.0.pre9 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.0.0.pre8 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js
hobo_jquery_ui-2.0.0.pre7 vendor/assets/javascripts/hobo-jquery-ui/hjq-datepicker.js