src/publish.js
function buildClasses (db) {
  const classes = data.findClasses(db).order('name')

  return classes.map(function (klass) {
    const fns = data
      .findChildFunctions(db, [klass])
      .order('name')
      .map(copyFunction)

    return copyClass(klass, fns)
  })
}
function buildClasses (db) {
  const classes = data.findClasses(db).order('name')

  return classes.map(function (klass) {
    const fns = data
      .findChildFunctions(db, [klass])
      .order('name')
      .map(copyFunction)

    return copyClass(klass, fns)
  })
}
function buildClasses ( db ) { const classes = data . findClasses ( db ) . order ( 'name' ) return classes . map ( function ( klass ) { const fns = data . findChildFunctions ( db , [ klass ] ) . order ( 'name' ) . map ( copyFunction ) return copyClass ( klass , fns ) } ) }
Builds the classes from the database object `db`.
Builds the classes from the database object db .