I didn't send you that request yet. I just send you a little new method.

What you saw is a work in progress to follow Jquery best practices as it is
said on Jquery documentation page.

I copied that code from there, where the example is a tool tip.

If you want I can send you that pull request with the message fixed, but
the documentation need to be fixed too.

I'll do it later today, after my office hours.
On Apr 24, 2013 3:19 AM, "Julian Pustkuchen" <notifications@github.com>
wrote:

> In jquery.webks-responsive-table.js:
>
> >      }
> > -    var $this = $(this);
> > -    if (!$this.is('table')) {
> > -      throw 'The selected DOM element may only be a table!';
> > +
> > +
> > +    // Method calling logic
> > +    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 jQuery.tooltip' );
>
> You may have copied this from jquery.tooltip. See the error message.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/JPustkuchen/jquery.webks-responsive-table/pull/5/files#r3931250>
> .
>