HomePhabricator

Create CitoidService object

Authored by Mvolz.

Description

Create CitoidService object

In server.js, create new CitoidService
object and pass it the CitoidConfig objects
and the logger.

Move logic of citoid requests from server.js
into lib/CitoidService.js

Merge lib/requests.js into CitoidService.js
and convert functions into prototype functions

Merge lib/distinguish into CitoidService.js
and convert into prototype function.

Bug: T89968
Change-Id: I59f15059a83f8df2ed08ef3aab29ff5c65609b68

Details

Committed
MvolzFeb 24 2015, 4:15 PM
Parents
rGCIT5367b522973a: Use html-metadata library
Branches
Unknown
Tags
Unknown
References
refs/changes/84/192084/8
ChangeId
I59f15059a83f8df2ed08ef3aab29ff5c65609b68