UNPKG
ineed
Version:
latest (1.1.0)
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
Web scraping and HTML-reprocessing. The easy way.
inikulin.github.io/ineed/
inikulin/ineed
ineed
/
lib
/
plugins
/
reprocessing
/
comments.js
13 lines
(10 loc)
•
230 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
module
.
exports
= {
name
:
'comments'
,
extends
:
'reprocess'
,
init
:
function
(
ctx, replacer
) {
this
.
replacer
= replacer; },
onComment
:
function
(
comment
) {
return
this
.
replacer
(comment) } };