nl_tokens: Create a badge
pl_tokens: function createBadge ( text ) { if ( is$1 . empty ( text ) ) { return null ; } var badge = createElement ( 'span' , { class : this . config . classNames . menu . <mask> } ) ; badge . appendChild ( createElement ( 'span' , { class : this . config . classNames . menu . badge } , text ) ) ; return badge ; }