whole_func_string: function createBadge(text) {
  	    if (is$1.empty(text)) {
  	      return null;
  	    }
  
  	    var badge = createElement('span', {
  	      class: this.config.classNames.menu.value
  	    });
  	    badge.appendChild(createElement('span', {
  	      class: this.config.classNames.menu.badge
  	    }, text));
  	    return badge;
  	  }
func_code_string: function createBadge(text) {
  	    if (is$1.empty(text)) {
  	      return null;
  	    }
  
  	    var badge = createElement('span', {
  	      class: this.config.classNames.menu.value
  	    });
  	    badge.appendChild(createElement('span', {
  	      class: this.config.classNames.menu.badge
  	    }, text));
  	    return badge;
  	  }
func_documentation_string: Create a badge