function Plugin(option) {
    return this.each(function () {
      var $this = $(this);
      var data  = $this.data(DataKey);

      if (!data) {
        $this.data(DataKey, (data = new DirectChat($this)));
      }

      if (typeof option == 'string') data.toggle($this);
    });
  }
function Plugin(option) {
    return this.each(function () {
      var $this = $(this);
      var data  = $this.data(DataKey);

      if (!data) {
        $this.data(DataKey, (data = new DirectChat($this)));
      }

      if (typeof option == 'string') data.toggle($this);
    });
  }
function Plugin ( option ) { return this . each ( function ( ) { var $this = $ ( this ) ; var data = $this . data ( DataKey ) ; if ( ! data ) { $this . data ( DataKey , ( data = new DirectChat ( $this ) ) ) ; } if ( typeof option == 'string' ) data . toggle ( $this ) ; } ) ; }
Plugin Definition =================
Plugin Definition =================
Plugin constructor.