chore: moved content scoring out of utils, removed no-longer-necessary utils
parent
7ec0ed0d31
commit
9906bd36a4
@ -1,4 +1,4 @@
|
||||
import { NON_TOP_CANDIDATE_TAGS_RE } from '../constants'
|
||||
import { NON_TOP_CANDIDATE_TAGS_RE } from './constants'
|
||||
import { getScore } from './index'
|
||||
import {
|
||||
textLength,
|
@ -1,7 +1,7 @@
|
||||
import assert from 'assert'
|
||||
import cheerio from 'cheerio'
|
||||
|
||||
import HTML from '../fixtures/html'
|
||||
import HTML from './fixtures/get-weight'
|
||||
import {
|
||||
getWeight
|
||||
} from './index'
|
@ -1,4 +1,4 @@
|
||||
import { HNEWS_CONTENT_SELECTORS } from '../constants'
|
||||
import { HNEWS_CONTENT_SELECTORS } from './constants'
|
||||
|
||||
import {
|
||||
scoreNode,
|
@ -1,5 +0,0 @@
|
||||
// DOM manipulation
|
||||
export * from './dom'
|
||||
|
||||
// Scoring
|
||||
export * from './scoring'
|
Loading…
Reference in New Issue