code: function(target, options, settings) {
              this.$target = $(target);
  
              // Is this already a context menu target?
              if (this.$target.data('contextmenu')) {
                  Garnish.log('Double-instantiating a context menu on an element');
                  this.$target.data('contextmenu').destroy();
              }
  
              this.$target.data('contextmenu', this);
  
              this.options = options;
              this.setSettings(settings, Garnish.ContextMenu.defaults);
  
              Garnish.ContextMenu.counter++;
  
              this.enable();
          }
docs: Constructor