search_modules/search-express.js
// Takes cheerio/jquery object and return an express method object
Takes cheerio/jquery object and return an express method object
Takes cheerio / jquery object and return an express method object
function parseExpressSection($el) {
  return {
      name : $el.children('h3').first().text(),
      shortName: $el.children('h3').first().text().split('(')[0],
      detail : $el.html(),
      link : $el.children('h3').first().text().split('(')[0].split('.').join("")
  };
}
function parseExpressSection ( $el ) { return { name : $el . children ( 'h3' ) . first ( ) . text ( ) , shortName : $el . children ( 'h3' ) . first ( ) . text ( ) . split ( '(' ) [ 0 ] , detail : $el . html ( ) , link : $el . children ( 'h3' ) . first ( ) . text ( ) . split ( '(' ) [ 0 ] . split ( '.' ) . join ( "" ) } ; }
Takes cheerio/jquery object and return an express method object
Takes cheerio / jquery object and return an express method object