citp / news-disinformation-study

A research project on how web users consume, are exposed to, and share news online.
8 stars 2 forks source link

Implement a subscription wrapper for browser.runtime.onMessage to avoid repetition in message type checking #49

Closed jonathanmayer closed 4 years ago

jonathanmayer commented 4 years ago

See: https://github.com/citp/web-science/pull/43#discussion_r357494712

jonathanmayer commented 4 years ago

Done in https://github.com/citp/web-science/commit/5b71ee875392b4c7bb0b81071001b65c08aaa3ea.