Sha256: b38a1c6caf4880244a16791eb45cbddfc84a7a2b5dedd750cf31a48c11e216c3
Contents?: true
Size: 572 Bytes
Versions: 19
Compression:
Stored size: 572 Bytes
Contents
/* dialog */ (function($) { var methods = { init: function(annotations) { this.modal({show: !!this.data('show')}); } }; $.fn.hjq_modal = 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_dialog' ); } }; })( jQuery );
Version data entries
19 entries across 19 versions & 1 rubygems