Commit Graph

5 Commits

Author SHA1 Message Date
Sukka d82847f541
style/chore(eslint): enforce new rules (#8040)
* style: prefer object shorthand syntax
* refactor: prefer Array#map over Array#forEach
* style: prefer arrow callback
* chore(eslint): update rules
* style: auto fix by eslint
2021-08-17 22:23:23 +08:00
hillerliao 32ea59134c feat: 8btc newsflash && xuangubao subject (#3059) 2019-09-15 12:50:14 +08:00
DIYgod a34b9ae542
feat: remove addNoReferrer 2019-08-28 14:33:05 +08:00
Henry Wang d09affa703 feat: add addNoReferrer in common-utils (#2571)
* fix: no-referrer tag

* chore: merge qdaily routes

* feat: add addNoReferrer in common-utils

This adds no-referrer attribute to images.
Parameters:

- add no-referrer attribute to images
- $: cheerio selector
- source: source selector, string
- target: target attribute name, typically for lazyload imgs, string
- srcPrefix: prefix for src, string
- removeAttr: attributes to remove, array: ['attrA','attrB']

* test: add test case

* doc: update
2019-07-08 11:45:02 +08:00
Cloud 990dac8eee feat: add 8btc (#2462)
* feat: add 8btc

* feat: add 8btc

* feat: add 8btc

* Update other.md
2019-06-22 16:46:45 +08:00