function listlangs (ul) {
  var langs = []
  if (ul.tagName !== 'UL') return []
  forAllLinks(ul.children, function (c) {
    if (/^Paradigms for /.test(c.innerText)) {
      langs.push({
        href: c.href,
        text: c.innerText.substr(14),
        full: c.innerText
      })
    }
  })
  return langs
}
// Extract the links to the paradigm sections for all the languages
Extract the links to the paradigm sections for all the languages
Extract the links to the paradigm sections for all the languages
function listlangs (ul) {
  var langs = []
  if (ul.tagName !== 'UL') return []
  forAllLinks(ul.children, function (c) {
    if (/^Paradigms for /.test(c.innerText)) {
      langs.push({
        href: c.href,
        text: c.innerText.substr(14),
        full: c.innerText
      })
    }
  })
  return langs
}
function listlangs ( ul ) { var langs = [ ] if ( ul . tagName !== 'UL' ) return [ ] forAllLinks ( ul . children , function ( c ) { if ( / ^Paradigms for  / . test ( c . innerText ) ) { langs . push ( { href : c . href , text : c . innerText . substr ( 14 ) , full : c . innerText } ) } } ) return langs }
Extract the links to the paradigm sections for all the languages
Extract the links to the paradigm sections for all the languages