code: function(items, settings) {
              // Param mapping
              if (typeof settings === 'undefined' && $.isPlainObject(items)) {
                  // (settings)
                  settings = items;
                  items = null;
              }
  
              this.settings = $.extend({}, Garnish.BaseDrag.defaults, settings);
  
              this.$items = $();
              this._ = {};
  
              if (items) {
                  this.addItems(items);
              }
          }
docs: Constructor
  
  @param {object} items    Elements that should be draggable right away. (Can be skipped.)
  @param {object} settings Any settings that should override the defaults.