Sha256: 80cc2369f32e89355a53873bca8259b9fbd19b765f35edada3cf96a041e9211f

Contents?: true

Size: 374 Bytes

Versions: 2

Compression:

Stored size: 374 Bytes

Contents

jQuery.fn.dropkick = function () {
  var args = Array.prototype.slice.call( arguments );
  return jQuery( this ).each(function() {
    if ( !args[0] || typeof args[0] === 'object' ) {
      new Dropkick( this, args[0] || {} );
    } else if ( typeof args[0] === 'string' ) {
      Dropkick.prototype[ args[0] ].apply( new Dropkick( this ), args.slice( 1 ) );
    }
  });
};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
app_kit-0.0.2 app/assets/javascripts/app_kit/dropkick.jquery.js
app_kit-0.0.1 app/assets/javascripts/app_kit/dropkick.jquery.js