code: function ($el) {
        // Detect if completely empty.
        if (!$el || $el.length === 0) {
          return "<EMPTY OBJECT>";
        }
  
        var name = "";
        var id = $el.attr("id");
        var cls = $el.attr("class") || "";
  
        // Try CSS selector id.
        if (id) {
          name += "#" + id;
        }
        if (cls) {
          name += "." + cls.split(" ").join(".");
        }
        if (name) {
          return "'" + name + "'";
        }
  
        // Give up.
        return $el;
      }
docs: ------------------------------------------------------------------------ Helpers ------------------------------------------------------------------------ /*!
  Give a more useful element name.